From: Adam Dickmeiss Date: Fri, 14 Oct 2005 13:22:31 +0000 (+0000) Subject: Added autoconf check for libboost-program-options-dev. X-Git-Tag: YP2.0.0.2~209 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=91be390b283ac28b8daacfd62cf138727e68945c;p=metaproxy-moved-to-github.git Added autoconf check for libboost-program-options-dev. Use two lines rather than one if boost lib is missing. --- diff --git a/configure.ac b/configure.ac index cefe52f..6520799 100644 --- a/configure.ac +++ b/configure.ac @@ -28,11 +28,18 @@ AC_LANG(C++) # Checks for libraries. AC_CHECK_LIB(boost_thread, main, [],[ - AC_MSG_ERROR([boost thread library not found. Install libboost-thread-dev (or similar)]) + AC_MSG_NOTICE([boost thread library not found.]) + AC_MSG_ERROR([Install libboost-thread-dev (or similar)]) ]) AC_CHECK_LIB(boost_date_time, main, [],[ - AC_MSG_ERROR([boost date_time library not found. Install libboost-date-time-dev (or similar)]) + AC_MSG_NOTICE([boost date_time library not found.]) + AC_MSG_ERROR([Install libboost-date-time-dev (or similar)]) +]) + +AC_CHECK_LIB(boost_program_options, main, [],[ + AC_MSG_NOTICE([boost program options library not found.]) + AC_MSG_ERROR([Install libboost-program-options-dev (or similar)]) ]) AC_MSG_CHECKING([for boost_unit_test_framework presence])