1
0
Fork 0

Enable release builds using the --without-logging option to the configure

script.  Also a couple log message cleanups, plus some C to C++ comment
conversion.
This commit is contained in:
curt 1998-11-07 19:06:59 +00:00
parent 7faf98d917
commit 35b96f914e
2 changed files with 13 additions and 0 deletions

View file

@ -45,6 +45,10 @@
/* Define if you have <dirent.h>. */
#undef DIRENT
/* Define to eliminate all trace of debugging messages such as for a
release build */
#undef FG_NDEBUG
/* Define to the type of elements in the array set by `getgroups'.
Usually this is either `int' or `gid_t'. */
#undef GETGROUPS_T

View file

@ -28,6 +28,15 @@ dnl AC_ISC_POSIX
dnl Check to see if this `configure' is being run in the `Cygwin32' environment
dnl AM_CYGWIN32
dnl Specify if we want logging (testing build) or not (release build)
# set logging default value
# with_logging=yes
AC_ARG_WITH(logging, [ --with-logging Include logging output (default)])
if test "x$with_logging" = "xno" ; then
AC_DEFINE(FG_NDEBUG)
fi
dnl specify if we are building with "checker"
AC_ARG_WITH(efence, [ --with-efence Specify if we are building with "electric-fence"])