Changeset 68
- Timestamp:
- 01/30/02 17:28:29 (7 years ago)
- Files:
-
- trunk/autogen.sh (modified) (1 diff)
- trunk/configure.ac (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/autogen.sh
r33 r68 69 69 autoconf 70 70 71 ./configure -- enable-debug"$@"71 ./configure --with-efence "$@" 72 72 73 73 echo trunk/configure.ac
r56 r68 17 17 AC_CHECK_LIB([gg], [gg_login],[],AC_MSG_ERROR("You need libgg (from ekg package) to compile this.")) 18 18 19 AC_ARG_ENABLE(debug, 20 AC_HELP_STRING([--enable-debug],[Enable debugging code]), 21 [DEBUG=yes],[DEBUG=no])19 AC_ARG_ENABLE(debug,AC_HELP_STRING([--disable-debug],[Disable debugging code])) 20 21 AC_ARG_WITH(efence,AC_HELP_STRING([--with-efence],[Link against ElectricFence library])) 22 22 23 23 AH_TEMPLATE([DEBUG],[Define to enable debugging code]) 24 if test "x$DEBUG" = "xyes" ; then 25 AC_DEFINE(DEBUG) 26 AC_CHECK_LIB([efence], [malloc]) 24 if test "x$enable_debug" != "xno" ; then 25 AC_DEFINE(DEBUG,1) 26 fi 27 28 if test "x$with_efence" != "xno" ; then 29 AC_CHECK_LIB([efence], [malloc]) 27 30 fi 28 31
