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 | c5ffcf5dda7a7f3fa651f5132c44ffc5f07d1da8 (patch) | |
tree | 56255f616cab7317efad83228616a41d980c8ddd | |
parent | 8aa235fc47cd0b12fe3e68e93a5bb4207c8f03d0 (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) |