summaryrefslogtreecommitdiff
path: root/build_posix
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2011-09-02 23:26:51 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2011-09-02 23:26:51 +1000
commit6d3806743ee99cf50c386687657aaac339b3ec2b (patch)
tree8172fe95947c054408a350681a70123a14ca2a18 /build_posix
parent9d306b3eded7713bfe30eda99419673af05e9f9e (diff)
downloadmongo-6d3806743ee99cf50c386687657aaac339b3ec2b.tar.gz
Fix a typo in the configuration of --enable-bzip2.
--HG-- extra : rebase_source : 1c509a08f0d04e38bec2fbda58fce05e7a0fed21
Diffstat (limited to 'build_posix')
-rw-r--r--build_posix/Make.base2
-rw-r--r--build_posix/aclocal/options.m44
2 files changed, 3 insertions, 3 deletions
diff --git a/build_posix/Make.base b/build_posix/Make.base
index 6ec55b6dad7..ceb4eecc3b2 100644
--- a/build_posix/Make.base
+++ b/build_posix/Make.base
@@ -1,6 +1,6 @@
ACLOCAL_AMFLAGS = -I build_posix/aclocal
-if HAVE_BZIP2
+if BZIP2
BZBUILD = ext/compressors/bzip2_compress
endif
if PYTHON
diff --git a/build_posix/aclocal/options.m4 b/build_posix/aclocal/options.m4
index 5ea3dae1ef7..6a9e6ce6789 100644
--- a/build_posix/aclocal/options.m4
+++ b/build_posix/aclocal/options.m4
@@ -17,7 +17,7 @@ esac
AC_MSG_RESULT($db_cv_enable_attach)
AC_MSG_CHECKING(if --enable-bzip2 option specified)
-AC_ARG_ENABLE(debug,
+AC_ARG_ENABLE(bzip2,
[AC_HELP_STRING([--enable-bzip2],
[Build the bzip2 compressor extention.])], r=$enableval, r=no)
case "$r" in
@@ -25,7 +25,7 @@ no) db_cv_enable_bzip2=no;;
*) db_cv_enable_bzip2=yes;;
esac
AC_MSG_RESULT($db_cv_enable_bzip2)
-AM_CONDITIONAL(HAVE_BZIP2, test x$db_cv_enable_bzip2 = xyes)
+AM_CONDITIONAL([BZIP2], [test x$db_cv_enable_bzip2 = xyes])
AC_MSG_CHECKING(if --enable-debug option specified)
AC_ARG_ENABLE(debug,