diff options
author | Keith Bostic <keith@wiredtiger.com> | 2008-11-24 02:12:55 +1100 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2008-11-24 02:12:55 +1100 |
commit | 479194fa480c5beb97075dd2bbc9cb08e39b61d2 (patch) | |
tree | 29c06c17d79505e2bd64408f3cf52611f9b3a6dc /build_posix/aclocal | |
parent | 7d847e02421d4b4075595be8c51c36b87c29a240 (diff) | |
download | mongo-479194fa480c5beb97075dd2bbc9cb08e39b61d2.tar.gz |
Remove --enable-debug option -- in the GNU build process, the correct
way to get -g (instead of the default -O2) is to specify CFLAGS as part
of the environment when bulding.
--HG--
branch : keith
Diffstat (limited to 'build_posix/aclocal')
-rw-r--r-- | build_posix/aclocal/options.m4 | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/build_posix/aclocal/options.m4 b/build_posix/aclocal/options.m4 index 442fbda1a8f..a7936cd9860 100644 --- a/build_posix/aclocal/options.m4 +++ b/build_posix/aclocal/options.m4 @@ -6,23 +6,23 @@ # Optional configuration. AC_DEFUN([AM_OPTIONS], [ -AH_TEMPLATE(HAVE_DEBUG, [Define to 1 if configuring debugging build.]) -AC_MSG_CHECKING(if --enable-debug option specified) -AC_ARG_ENABLE(debug, - [AC_HELP_STRING([--enable-debug], - [Configure a debug version.])], r=set, r=notset) +AH_TEMPLATE(HAVE_DIAGNOSTIC, [Define to 1 for diagnostic tests.]) +AC_MSG_CHECKING(if --enable-diagnostic option specified) +AC_ARG_ENABLE(diagnostic, + [AC_HELP_STRING([--enable-diagnostic], + [Configure for diagnostic tests.])], r=set, r=notset) case "$r" in -set) AC_DEFINE(HAVE_DEBUG) - db_cv_enable_debug=yes;; -notset) db_cv_enable_debug=no;; +set) AC_DEFINE(HAVE_DIAGNOSTIC) + db_cv_enable_diagnostic=yes;; +notset) db_cv_enable_diagnostic=no;; esac -AC_MSG_RESULT($db_cv_enable_debug) +AC_MSG_RESULT($db_cv_enable_diagnostic) -AH_TEMPLATE(HAVE_STATISTICS, [Define to 1 if configuring statistics support.]) +AH_TEMPLATE(HAVE_STATISTICS, [Define to 1 for statistics support.]) AC_MSG_CHECKING(if --disable-statistics option specified) AC_ARG_ENABLE(statistics, AC_HELP_STRING([--disable-statistics], - [Do not configure statistics support.]), r=set, r=notset) + [Do not configure for statistics support.]), r=set, r=notset) case "$r" in set) db_cv_disable_statistics=yes;; notset) AC_DEFINE(HAVE_STATISTICS) |