From 972c40c819bb1e6ea8c78eb2e067f014713adf86 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Wed, 23 Mar 2011 23:00:32 -0400 Subject: fail if no lex program is found (i think) --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 56f08147..b323576f 100644 --- a/configure.ac +++ b/configure.ac @@ -3,6 +3,9 @@ AM_INIT_AUTOMAKE(cdec,0.1) AC_CONFIG_HEADERS(config.h) AC_PROG_LIBTOOL AC_PROG_LEX +case $LEX in +:) AC_MSG_ERROR([No lex (Flex, lex, etc.) program found]);; +esac AC_PROG_CC AC_PROG_CXX AC_LANG_CPLUSPLUS -- cgit v1.2.3 From a580faa8177331cf51138a2208e276b703470934 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Wed, 23 Mar 2011 23:12:31 -0400 Subject: remove dependency on boost thread library --- configure.ac | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b323576f..da66c3fb 100644 --- a/configure.ac +++ b/configure.ac @@ -11,10 +11,12 @@ AC_PROG_CXX AC_LANG_CPLUSPLUS BOOST_REQUIRE BOOST_PROGRAM_OPTIONS -BOOST_THREADS +#BOOST_THREADS CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" -LDFLAGS="$LDFLAGS $BOOST_PROGRAM_OPTIONS_LDFLAGS $BOOST_THREAD_LDFLAGS" -LIBS="$LIBS $BOOST_PROGRAM_OPTIONS_LIBS $BOOST_THREAD_LIBS" +LDFLAGS="$LDFLAGS $BOOST_PROGRAM_OPTIONS_LDFLAGS" +# $BOOST_THREAD_LDFLAGS" +LIBS="$LIBS $BOOST_PROGRAM_OPTIONS_LIBS" +# $BOOST_THREAD_LIBS" AC_CHECK_HEADER(boost/math/special_functions/digamma.hpp, [AC_DEFINE([HAVE_BOOST_DIGAMMA], [], [flag for boost::math::digamma])]) -- cgit v1.2.3