summaryrefslogtreecommitdiff
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
commit75bff8e374f3cdcf3dc141f8b7b37858d0611234 (patch)
tree3378b83291af8fc7e25bd5db84fa563275c5cdf9
parent38a5bee71f6b49515cd105a9467ff602ff9dee64 (diff)
cmph configuration option fix
-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