root/trunk/configure.ac

Revision 25, 0.8 kB (checked in by richdawe, 8 years ago)

sol_compat.h: Pull in <sys/time.h> for proto of gettimeofday (fixes warnings)

  • Property svn:eol-style set to native
Line 
1 AC_INIT([umem], [1.0], [], [umem])
2 AM_INIT_AUTOMAKE([dist-bzip2])
3
4 AC_ARG_ENABLE([malloc-replacement],
5               AS_HELP_STRING([--enable-malloc-replacement],
6                              [Include implementations of malloc/free/etc. in libumem (default is no)]),
7               [case "${enableval}" in
8                 yes) malloc_replacement=true ;;
9                 no)  malloc_replacement=false ;;
10                 *) AC_MSG_ERROR(bad value ${enableval} for --enable-malloc-replacement) ;;
11               esac],[malloc_replacement=false])
12 AM_CONDITIONAL(MALLOC_REPLACEMENT, test x$malloc_replacement = xtrue)
13
14 AC_PROG_CC
15 AM_PROG_AS
16 AC_PROG_LIBTOOL
17
18 AC_C_INLINE
19
20 AC_CHECK_HEADERS([sys/mman.h sys/sysmacros.h sys/time.h])
21
22 AC_CONFIG_HEADERS([config.h])
23 AC_CONFIG_FILES([Makefile Doxyfile umem.spec])
24
25 AC_OUTPUT
Note: See TracBrowser for help on using the browser.