diff options
author | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2014-09-08 01:54:45 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2014-09-08 01:54:45 -0400 |
commit | 0194054c4fe242cafe3c1586c3a1ae96b8fb3e8f (patch) | |
tree | 0c5bef5eb64a388a2245cbce0123e99a2e76090b | |
parent | 643a5d4431109b5f4b1266400406865bf0201d6f (diff) |
fix for some new strictness with new gcc
-rw-r--r-- | configure.ac | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index eae2f32e..c5575f14 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_CONFIG_MACRO_DIR([m4]) -AC_INIT([cdec],[2014-06-15]) +AC_INIT([cdec],[2014-09-08]) AC_CONFIG_SRCDIR([decoder/cdec.cc]) AM_INIT_AUTOMAKE AC_CONFIG_HEADERS(config.h) @@ -15,6 +15,7 @@ CXXFLAGS=$OLD_CXXFLAGS AX_CXX_COMPILE_STDCXX_11([],[mandatory]) AC_LANG_CPLUSPLUS AC_OPENMP +AC_CHECK_LIB(rt, clock_gettime) BOOST_REQUIRE([1.44]) BOOST_FILESYSTEM BOOST_PROGRAM_OPTIONS @@ -25,7 +26,6 @@ BOOST_TEST BOOST_THREADS AM_PATH_PYTHON AC_CHECK_HEADER(dlfcn.h,AC_DEFINE(HAVE_DLFCN_H)) -AC_CHECK_LIB(rt, clock_gettime) AC_CHECK_LIB(dl, dlopen) AC_CHECK_HEADERS(zlib.h, AC_CHECK_LIB(z, gzread,[ @@ -54,7 +54,8 @@ AM_CONDITIONAL([MPI], [test "x$mpi" = xyes]) if test "x$mpi" = xyes then AC_DEFINE([HAVE_MPI], [1], [flag for MPI]) - LIBS="$LIBS -lboost_mpi" + BOOST_MPI + #LIBS="$LIBS -lboost_mpi" fi AM_CONDITIONAL([HAVE_METEOR], false) |