From 007751af33412ffe1c409fc272a371de276c4e03 Mon Sep 17 00:00:00 2001 From: Marc Cromme Date: Fri, 23 Feb 2007 19:53:15 +0000 Subject: [PATCH] found better way to set $LIBS with boost libs flags in a general way --- configure.ac | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index 2167645..593a1db 100644 --- a/configure.ac +++ b/configure.ac @@ -41,23 +41,21 @@ AX_BOOST_DATE_TIME(1.33) AX_BOOST_PROGRAM_OPTIONS(1.33) AX_BOOST_THREAD(1.33) AX_BOOST_UNIT_TEST_FRAMEWORK(1.33) + +LIBS="$LIBS\ +$BOOST_DATE_TIME_LIB $BOOST_PROGRAM_OPTIONS_LIB $BOOST_THREAD_LIB"; + if test "$ax_cv_boost_base" = "no"; then AC_MSG_ERROR([install libboost-dev or similar]) fi if test "$ax_cv_boost_date_time" = "no"; then AC_MSG_ERROR([install libboost-date-time-dev or similar]) -else - LIBS="$LIBS -lboost_date_time"; fi if test "$ax_cv_boost_program_options" = "no"; then AC_MSG_ERROR([install libboost-program-options-dev or similar]) -else - LIBS="$LIBS -lboost_program_options"; fi if test "$ax_cv_boost_thread" = "no"; then AC_MSG_ERROR([install libboost-thread-dev or similar]) -else - LIBS="$LIBS -lboost_thread"; fi if test "$ax_cv_boost_unit_test_framework" = "no"; then AC_MSG_ERROR([install libboost-test-dev or similar]) -- 1.7.10.4