~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_drizzle_build.m4

Removed many, many checks for functions that do not need to be checked.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
  PANDORA_CXX_CSTDINT
19
19
  PANDORA_CXX_CINTTYPES
20
20
 
21
 
  #--------------------------------------------------------------------
22
 
  # Check for system header files
23
 
  #--------------------------------------------------------------------
24
 
  
 
21
  AC_STRUCT_TM
 
22
 
 
23
  AC_FUNC_ALLOCA
 
24
  AC_FUNC_UTIME_NULL
 
25
  AC_FUNC_VPRINTF
 
26
 
 
27
  PANDORA_WORKING_FDATASYNC
 
28
 
 
29
  AC_CHECK_FUNCS(\
 
30
    gethrtime \
 
31
    setupterm \
 
32
    backtrace \
 
33
    backtrace_symbols \
 
34
    backtrace_symbols_fd)
 
35
 
 
36
  AC_HEADER_STAT
25
37
  AC_HEADER_DIRENT
26
38
  AC_HEADER_STDC
27
39
  AC_HEADER_SYS_WAIT
28
40
  AC_HEADER_STDBOOL
 
41
 
29
42
  AC_CHECK_HEADERS(fcntl.h float.h fpu_control.h ieeefp.h)
30
43
  AC_CHECK_HEADERS(limits.h pwd.h select.h linux/config.h)
31
44
  AC_CHECK_HEADERS(sys/fpu.h utime.h sys/utime.h )
32
45
  AC_CHECK_HEADERS(synch.h sys/mman.h sys/socket.h)
33
 
  AC_CHECK_HEADERS([curses.h term.h],[],[],[[
34
 
    #ifdef HAVE_CURSES_H
35
 
    # include <curses.h>
36
 
    #endif
37
 
  ]])
38
46
  AC_CHECK_HEADERS(termio.h termios.h sched.h alloca.h)
39
47
  AC_CHECK_HEADERS(sys/prctl.h ieeefp.h)
40
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)
 
53
 
41
54
  
42
55
  #--------------------------------------------------------------------
43
56
  # Check for system libraries. Adds the library to $LIBS
72
85
    #include <ieeefp.h>
73
86
  ])
74
87
 
75
 
  dnl Checks for header files.
76
 
  AC_CHECK_HEADERS(malloc.h)
77
 
 
78
 
  dnl Checks for library functions.
79
 
  AC_FUNC_ALLOCA
80
 
 
81
 
  AC_CHECK_FUNCS(issetugid)
82
 
 
83
 
  # Already-done: stdlib.h string.h unistd.h termios.h
84
 
  AC_CHECK_HEADERS(stdarg.h dirent.h locale.h ndir.h sys/dir.h \
85
 
   sys/ndir.h sys/select.h \
86
 
   sys/mman.h termcap.h termio.h asm/termbits.h grp.h \
87
 
   paths.h)
88
 
 
89
 
  # Already-done: strcasecmp
90
 
  AC_CHECK_FUNCS(lstat select)
91
 
 
92
 
  dnl Checks for library functions.
93
 
  AC_HEADER_STAT
94
 
  AC_FUNC_UTIME_NULL
95
 
  AC_FUNC_VPRINTF
96
 
 
97
 
  AC_STRUCT_TM
 
88
  AC_CHECK_HEADERS([curses.h term.h],[],[],[[
 
89
    #ifdef HAVE_CURSES_H
 
90
    # include <curses.h>
 
91
    #endif
 
92
  ]])
98
93
  AC_CHECK_TYPES([sigset_t, off_t], [], [], [#include <sys/types.h>])
99
 
  AC_CHECK_TYPES([uint, ulong])
 
94
  AC_CHECK_TYPES([ulong])
100
95
 
101
96
  AC_LANG_PUSH([C++])
102
97
  AC_CHECK_HEADERS(cxxabi.h)
113
108
  ])
114
109
 
115
110
 
116
 
  AC_CHECK_FUNCS( \
117
 
    localtime_r log log2 gethrtime gmtime_r \
118
 
    madvise \
119
 
    mkstemp mlockall poll pread mmap mmap64 \
120
 
    readlink \
121
 
    realpath rename setupterm \
122
 
    sigaction \
123
 
    sigthreadmask \
124
 
    snprintf strpbrk \
125
 
    tell tempnam \
126
 
    backtrace backtrace_symbols backtrace_symbols_fd)
127
 
 
128
 
  PANDORA_WORKING_FDATASYNC
129
 
 
130
111
])