From 91be390b283ac28b8daacfd62cf138727e68945c Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 14 Oct 2005 13:22:31 +0000 Subject: [PATCH] Added autoconf check for libboost-program-options-dev. Use two lines rather than one if boost lib is missing. --- configure.ac | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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]) -- 1.7.10.4