diff options
author | Chris Dyer <redpony@gmail.com> | 2010-01-24 09:28:43 +0000 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2010-01-24 09:28:43 +0000 |
commit | 9670fcbc15419c04f9a03d2118c3c697ed1423a8 (patch) | |
tree | 4d74dae8969b85a37724dce9e4ffbb8567a5c449 /configure.ac | |
parent | 613ccc6ea2401e76099a97d3698f13b8ea283497 (diff) |
more autoconf fixes- use version of boost m4 macros which are much, much, much better
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 5 insertions, 3 deletions
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])]) |