~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_drizzle_build.m4

Removed checks for things that are either defined ISO/POSIX standard, or that
we don't use/check for anyway.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
  AC_HEADER_SYS_WAIT
40
40
  AC_HEADER_STDBOOL
41
41
 
42
 
  AC_CHECK_HEADERS(fcntl.h float.h fpu_control.h ieeefp.h)
43
 
  AC_CHECK_HEADERS(limits.h pwd.h select.h linux/config.h)
44
 
  AC_CHECK_HEADERS(sys/fpu.h utime.h sys/utime.h )
 
42
  AC_CHECK_HEADERS(sys/fpu.h fpu_control.h ieeefp.h)
 
43
  AC_CHECK_HEADERS(select.h sys/select.h)
 
44
  AC_CHECK_HEADERS(utime.h sys/utime.h )
45
45
  AC_CHECK_HEADERS(synch.h sys/mman.h sys/socket.h)
46
 
  AC_CHECK_HEADERS(termio.h termios.h sched.h alloca.h)
47
 
  AC_CHECK_HEADERS(sys/prctl.h ieeefp.h)
 
46
  AC_CHECK_HEADERS(sched.h)
 
47
  AC_CHECK_HEADERS(sys/prctl.h)
48
48
  AC_CHECK_HEADERS(execinfo.h)
49
 
  AC_CHECK_HEADERS(stdarg.h dirent.h locale.h ndir.h sys/dir.h \
50
 
   sys/ndir.h sys/select.h \
51
 
   sys/mman.h termcap.h termio.h asm/termbits.h grp.h \
52
 
   paths.h)
 
49
  AC_CHECK_HEADERS(locale.h)
 
50
  AC_CHECK_HEADERS(termcap.h termio.h termios.h asm/termbits.h)
 
51
  AC_CHECK_HEADERS(paths.h)
53
52
 
54
53
  
55
54
  #--------------------------------------------------------------------
60
59
  AC_CHECK_LIB(m, floor, [], AC_CHECK_LIB(m, __infinity))
61
60
  
62
61
  AC_CHECK_FUNC(setsockopt, [], [AC_CHECK_LIB(socket, setsockopt)])
63
 
  AC_CHECK_FUNC(yp_get_default_domain, [],
64
 
    [AC_CHECK_LIB(nsl, yp_get_default_domain)])
65
 
  AC_CHECK_FUNC(p2open, [], [AC_CHECK_LIB(gen, p2open)])
66
62
  # This may get things to compile even if bind-8 is installed
67
63
  AC_CHECK_FUNC(bind, [], [AC_CHECK_LIB(bind, bind)])
68
 
  # Check if crypt() exists in libc or libcrypt, sets LIBS if needed
69
 
  AC_SEARCH_LIBS(crypt, crypt, AC_DEFINE(HAVE_CRYPT, 1, [crypt]))
70
 
  
71
 
  # Check rt for aio_read
72
 
  AC_CHECK_LIB(rt, aio_read)
73
64
  
74
65
  # For the sched_yield() function on Solaris
75
66
  AC_CHECK_FUNC(sched_yield, [],
80
71
    AC_CHECK_FUNC(gtty, [], [AC_CHECK_LIB(compat, gtty)])
81
72
  ])
82
73
  
83
 
  AC_CHECK_TYPES([fp_except], [], [], [
84
 
    #include <sys/types.h>
85
 
    #include <ieeefp.h>
86
 
  ])
87
 
 
88
74
  AC_CHECK_HEADERS([curses.h term.h],[],[],[[
89
75
    #ifdef HAVE_CURSES_H
90
76
    # include <curses.h>
91
77
    #endif
92
78
  ]])
93
 
  AC_CHECK_TYPES([sigset_t, off_t], [], [], [#include <sys/types.h>])
94
79
  AC_CHECK_TYPES([ulong])
95
80
 
96
81
  AC_LANG_PUSH([C++])