/[path-sandbox]/trunk/configure.ac
Gentoo

Diff of /trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 412 Revision 435
1AC_PREREQ([2.61]) 1AC_PREREQ([2.61])
2AC_INIT([sandbox], [1.3.0], [sandbox@gentoo.org]) 2AC_INIT([sandbox], [1.3.1], [sandbox@gentoo.org])
3sb_configure_opts="$*"
3AM_INIT_AUTOMAKE 4AM_INIT_AUTOMAKE
4AC_CONFIG_HEADER([config.h]) 5AC_CONFIG_HEADER([config.h])
6
7AC_DEFINE_UNQUOTED([SANDBOX_CONFIGURE_OPTS], ["${sb_configure_opts}"], [Arguments given to ./configure])
5 8
6dnl Checks for programs. 9dnl Checks for programs.
7AC_PROG_CC 10AC_PROG_CC
8AM_PROG_CC_C_O 11AM_PROG_CC_C_O
9AC_ISC_POSIX 12AC_ISC_POSIX
21m4_undefine([AC_PROG_F77]) 24m4_undefine([AC_PROG_F77])
22m4_defun([AC_PROG_F77],[]) 25m4_defun([AC_PROG_F77],[])
23AC_PROG_LIBTOOL 26AC_PROG_LIBTOOL
24 27
25AC_PREFIX_DEFAULT([/usr]) 28AC_PREFIX_DEFAULT([/usr])
29
30dnl this test fills up the stack and then triggers a segfault ...
31dnl but it's hard to wrap things without a stack, so let's ignore
32dnl this test for now ...
33ac_cv_header_sigsegv_h=no
34ac_cv_lib_sigsegv_stackoverflow_install_handler=false
26 35
27dnl Checks for libraries. 36dnl Checks for libraries.
28dnl Checks for header files. 37dnl Checks for header files.
29AC_FUNC_ALLOCA 38AC_FUNC_ALLOCA
30AC_HEADER_DIRENT 39AC_HEADER_DIRENT
39 fcntl.h \ 48 fcntl.h \
40 libgen.h \ 49 libgen.h \
41 limits.h \ 50 limits.h \
42 memory.h \ 51 memory.h \
43 signal.h \ 52 signal.h \
53 sigsegv.h \
44 stdarg.h \ 54 stdarg.h \
45 stdbool.h \ 55 stdbool.h \
46 stddef.h \ 56 stddef.h \
47 stdio.h \ 57 stdio.h \
48 stdlib.h \ 58 stdlib.h \
83 memcpy \ 93 memcpy \
84 memset \ 94 memset \
85 mkdir \ 95 mkdir \
86 pathconf \ 96 pathconf \
87 realpath \ 97 realpath \
98 remove \
88 rmdir \ 99 rmdir \
89 setenv \ 100 setenv \
90 strcasecmp \ 101 strcasecmp \
91 strchr \ 102 strchr \
92 strdup \ 103 strdup \
95 strrchr \ 106 strrchr \
96 strspn \ 107 strspn \
97 strstr \ 108 strstr \
98 strtok_r \ 109 strtok_r \
99]) 110])
100dnl For librcutil 111AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler],
101AC_CHECK_FUNCS([remove]) 112 [HAVE_LIBSIGSEGV=true],
113 [HAVE_LIBSIGSEGV=false])
114AM_CONDITIONAL(HAVE_LIBSIGSEGV, $HAVE_LIBSIGSEGV)
102 115
103dnl Check if gcc provides va_copy or __va_copy (for librcutil) 116dnl Check if gcc provides va_copy or __va_copy (for librcutil)
104AC_MSG_CHECKING([for va_copy]) 117AC_MSG_CHECKING([for va_copy])
105AC_TRY_COMPILE([ 118AC_TRY_COMPILE([
106 #include <stdarg.h> 119 #include <stdarg.h>

Legend:
Removed from v.412  
changed lines
  Added in v.435

  ViewVC Help
Powered by ViewVC 1.1.20