From 9670fcbc15419c04f9a03d2118c3c697ed1423a8 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Sun, 24 Jan 2010 09:28:43 +0000 Subject: more autoconf fixes- use version of boost m4 macros which are much, much, much better --- configure.ac | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index efb32284..d06682f7 100644 --- a/configure.ac +++ b/configure.ac @@ -1,13 +1,15 @@ AC_INIT AM_INIT_AUTOMAKE(cdec,0.1) AC_CONFIG_HEADERS(config.h) -AC_PROG_RANLIB +AC_PROG_LIBTOOL AC_PROG_CC AC_PROG_CXX AC_LANG_CPLUSPLUS -AX_BOOST_BASE -AX_BOOST_PROGRAM_OPTIONS +BOOST_REQUIRE +BOOST_PROGRAM_OPTIONS CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" +LIBS="$LIBS $BOOST_PROGRAM_OPTIONS_LIBS" + AC_CHECK_HEADER(boost/math/special_functions/digamma.hpp, [AC_DEFINE([HAVE_BOOST_DIGAMMA], [], [flag for boost::math::digamma])]) -- cgit v1.2.3