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

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

  ViewVC Help
Powered by ViewVC 1.1.20