2 AC_CONFIG_AUX_DIR(config)
3 AM_CONFIG_HEADER(include/libmemcached_config.h)
4 AM_INIT_AUTOMAKE("libmemcached", 0.8)
8 LIBTOOL="$LIBTOOL --preserve-dup-deps"
11 sinclude(config/debug.m4)
12 sinclude(config/dtrace.m4)
14 # We only support GCC and Sun's forte at the moment
15 if test "$GCC" = "yes"
17 if test "$ENABLE_DEBUG" = "yes"
19 CFLAGS="-Wall -ggdb -DHAVE_DEBUG"
24 CFLAGS="-Xa -xstrconst -mt -D_FORTEC_ -fast -m64"
25 LDFLAGS="-lsocket -lnsl"
31 AC_CHECK_HEADERS(limits.h syslimits.h)
32 AC_OUTPUT(Makefile src/Makefile tests/Makefile docs/Makefile lib/Makefile include/Makefile support/Makefile)