From 75bff8e374f3cdcf3dc141f8b7b37858d0611234 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Tue, 13 Sep 2011 15:02:36 +0100 Subject: cmph configuration option fix --- configure.ac | 8 ++------ 1 file 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 -- cgit v1.2.3