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

Diff of /trunk/configure.ac

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

Revision 396 Revision 412
3AM_INIT_AUTOMAKE 3AM_INIT_AUTOMAKE
4AC_CONFIG_HEADER([config.h]) 4AC_CONFIG_HEADER([config.h])
5 5
6dnl Checks for programs. 6dnl Checks for programs.
7AC_PROG_CC 7AC_PROG_CC
8AM_PROG_CC_C_O
8AC_ISC_POSIX 9AC_ISC_POSIX
9AC_PROG_INSTALL 10AC_PROG_INSTALL
10AC_PROG_MAKE_SET 11AC_PROG_MAKE_SET
11AC_PROG_AWK 12AC_PROG_AWK
12AC_CHECK_PROGS([READELF], [readelf eu-readelf], [false]) 13AC_CHECK_PROGS([READELF], [readelf eu-readelf], [false])
14AM_MISSING_PROG([AUTOM4TE], [autom4te])
13 15
14AC_ENABLE_SHARED 16AC_ENABLE_SHARED
15AC_DISABLE_STATIC 17AC_DISABLE_STATIC
16dnl Next four lines is a hack to prevent libtool checking for CXX/F77 18dnl Next four lines is a hack to prevent libtool checking for CXX/F77
17m4_undefine([AC_PROG_CXX]) 19m4_undefine([AC_PROG_CXX])
44 stddef.h \ 46 stddef.h \
45 stdio.h \ 47 stdio.h \
46 stdlib.h \ 48 stdlib.h \
47 string.h \ 49 string.h \
48 strings.h \ 50 strings.h \
51 syscall.h \
49 unistd.h \ 52 unistd.h \
50 utime.h \ 53 utime.h \
51 sys/file.h \ 54 sys/file.h \
52 sys/mman.h \ 55 sys/mman.h \
53 sys/param.h \ 56 sys/param.h \
230dnl so we dont have to worry about fully expanding all of 233dnl so we dont have to worry about fully expanding all of
231dnl the variables ($sysconfdir defaults to "$prefix/etc") 234dnl the variables ($sysconfdir defaults to "$prefix/etc")
232SANDBOX_DEFINES='-DETCDIR="\"$(sysconfdir)\"" -DLIBSANDBOX_PATH="\"$(libdir)\"" -DSANDBOX_BASHRC_PATH="\"$(pkgdatadir)\""' 235SANDBOX_DEFINES='-DETCDIR="\"$(sysconfdir)\"" -DLIBSANDBOX_PATH="\"$(libdir)\"" -DSANDBOX_BASHRC_PATH="\"$(pkgdatadir)\""'
233AC_SUBST([SANDBOX_DEFINES]) 236AC_SUBST([SANDBOX_DEFINES])
234 237
238CPPFLAGS="$CPPFLAGS -D_REENTRANT"
239if test "$GCC" = yes; then
240 CFLAGS="$CFLAGS -Wall"
241fi
242
243AC_CONFIG_TESTDIR([tests])
244
235AC_OUTPUT([ 245AC_OUTPUT([
236 Makefile 246 Makefile
237 scripts/Makefile 247 scripts/Makefile
238 etc/Makefile 248 etc/Makefile
239 data/Makefile 249 data/Makefile
240 libsbutil/Makefile 250 libsbutil/Makefile
241 libsandbox/Makefile 251 libsandbox/Makefile
242 src/Makefile 252 src/Makefile
253 tests/atlocal
254 tests/Makefile
255 tests/package.m4
243]) 256])

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

  ViewVC Help
Powered by ViewVC 1.1.20