summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2011-09-13 15:02:36 +0100
committerChris Dyer <cdyer@cs.cmu.edu>2011-09-13 15:02:36 +0100
commit7fadd06330c015d7ebc51ebd50e30332d187acbb (patch)
tree77e1b9ad096010d602e89645e323032183b2aeb8 /configure.ac
parente7993fb83537105a56c274d78ed9d51a79a8a854 (diff)
cmph configuration option fix
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 2 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 6fa7b914..8e06bffd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,7 +25,7 @@ then
LIBS="$LIBS -lboost_mpi $BOOST_SERIALIZATION_LIBS"
fi
-AM_CONDITIONAL([CMPH], false)
+AM_CONDITIONAL([HAVE_CMPH], false)
AC_ARG_WITH(cmph,
[AC_HELP_STRING([--with-cmph=PATH], [(optional) path to cmph perfect hashing library])],
[with_cmph=$withval],
@@ -43,11 +43,7 @@ then
LDFLAGS="$LDFLAGS -L${with_cmph}/lib"
AC_CHECK_LIB(cmph, cmph_search)
-
- #LIB_CMPH="-lcmph"
- #LIBS="$LIBS $LIB_CMPH"
- #FMTLIBS="$FMTLIBS libcmph.a"
- AM_CONDITIONAL([CMPH], true)
+ AM_CONDITIONAL([HAVE_CMPH], true)
fi
#BOOST_THREADS