>From beaae0c0ed5a9ed00cebf24e53273063dfac9be9 Mon Sep 17 00:00:00 2001 From: Jaap Eldering Date: Wed, 11 Aug 2010 15:05:42 +0200 Subject: [PATCH] Add check to see if any library is found. --- m4/ax_boost_asio.m4 | 3 +++ m4/ax_boost_date_time.m4 | 3 +++ m4/ax_boost_filesystem.m4 | 3 +++ m4/ax_boost_iostreams.m4 | 3 +++ m4/ax_boost_program_options.m4 | 3 +++ m4/ax_boost_regex.m4 | 3 +++ m4/ax_boost_serialization.m4 | 3 +++ m4/ax_boost_signals.m4 | 3 +++ m4/ax_boost_system.m4 | 3 +++ m4/ax_boost_test_exec_monitor.m4 | 3 +++ m4/ax_boost_thread.m4 | 3 +++ m4/ax_boost_unit_test_framework.m4 | 3 +++ m4/ax_boost_wave.m4 | 3 +++ m4/ax_boost_wserialization.m4 | 3 +++ 14 files changed, 42 insertions(+), 0 deletions(-) diff --git a/m4/ax_boost_asio.m4 b/m4/ax_boost_asio.m4 index 795fce8..7f10a32 100644 --- a/m4/ax_boost_asio.m4 +++ b/m4/ax_boost_asio.m4 @@ -97,6 +97,9 @@ AC_DEFUN([AX_BOOST_ASIO], done fi + if test "x$ax_lib" = "x"; then + AC_MSG_ERROR(Could not find a version of the library!) + fi if test "x$link_asio" = "xno"; then AC_MSG_ERROR(Could not link against $ax_lib !) fi diff --git a/m4/ax_boost_date_time.m4 b/m4/ax_boost_date_time.m4 index 1a01345..76bf42d 100644 --- a/m4/ax_boost_date_time.m4 +++ b/m4/ax_boost_date_time.m4 @@ -99,6 +99,9 @@ AC_DEFUN([AX_BOOST_DATE_TIME], done fi + if test "x$ax_lib" = "x"; then + AC_MSG_ERROR(Could not find a version of the library!) + fi if test "x$link_date_time" != "xyes"; then AC_MSG_ERROR(Could not link against $ax_lib !) fi diff --git a/m4/ax_boost_filesystem.m4 b/m4/ax_boost_filesystem.m4 index 009e300..f253a61 100644 --- a/m4/ax_boost_filesystem.m4 +++ b/m4/ax_boost_filesystem.m4 @@ -103,6 +103,9 @@ AC_DEFUN([AX_BOOST_FILESYSTEM], done fi + if test "x$ax_lib" = "x"; then + AC_MSG_ERROR(Could not find a version of the library!) + fi if test "x$link_filesystem" != "xyes"; then AC_MSG_ERROR(Could not link against $ax_lib !) fi diff --git a/m4/ax_boost_iostreams.m4 b/m4/ax_boost_iostreams.m4 index 227d464..5ad5b68 100644 --- a/m4/ax_boost_iostreams.m4 +++ b/m4/ax_boost_iostreams.m4 @@ -102,6 +102,9 @@ AC_DEFUN([AX_BOOST_IOSTREAMS], done fi + if test "x$ax_lib" = "x"; then + AC_MSG_ERROR(Could not find a version of the library!) + fi if test "x$link_iostreams" != "xyes"; then AC_MSG_ERROR(Could not link against $ax_lib !) fi diff --git a/m4/ax_boost_program_options.m4 b/m4/ax_boost_program_options.m4 index b53e58c..39c9246 100644 --- a/m4/ax_boost_program_options.m4 +++ b/m4/ax_boost_program_options.m4 @@ -95,6 +95,9 @@ AC_DEFUN([AX_BOOST_PROGRAM_OPTIONS], [link_program_options="no"]) done fi + if test "x$ax_lib" = "x"; then + AC_MSG_ERROR(Could not find a version of the library!) + fi if test "x$link_program_options" != "xyes"; then AC_MSG_ERROR([Could not link against [$ax_lib] !]) fi diff --git a/m4/ax_boost_regex.m4 b/m4/ax_boost_regex.m4 index 45b35a9..3f1bfea 100644 --- a/m4/ax_boost_regex.m4 +++ b/m4/ax_boost_regex.m4 @@ -97,6 +97,9 @@ AC_DEFUN([AX_BOOST_REGEX], [link_regex="no"]) done fi + if test "x$ax_lib" = "x"; then + AC_MSG_ERROR(Could not find a version of the library!) + fi if test "x$link_regex" != "xyes"; then AC_MSG_ERROR(Could not link against $ax_lib !) fi diff --git a/m4/ax_boost_serialization.m4 b/m4/ax_boost_serialization.m4 index 5d9b8af..5091dc5 100644 --- a/m4/ax_boost_serialization.m4 +++ b/m4/ax_boost_serialization.m4 @@ -103,6 +103,9 @@ AC_DEFUN([AX_BOOST_SERIALIZATION], done fi + if test "x$ax_lib" = "x"; then + AC_MSG_ERROR(Could not find a version of the library!) + fi if test "x$link_serialization" != "xyes"; then AC_MSG_ERROR(Could not link against $ax_lib !) fi diff --git a/m4/ax_boost_signals.m4 b/m4/ax_boost_signals.m4 index 37e4277..0592f60 100644 --- a/m4/ax_boost_signals.m4 +++ b/m4/ax_boost_signals.m4 @@ -100,6 +100,9 @@ AC_DEFUN([AX_BOOST_SIGNALS], done fi + if test "x$ax_lib" = "x"; then + AC_MSG_ERROR(Could not find a version of the library!) + fi if test "x$link_signals" != "xyes"; then AC_MSG_ERROR(Could not link against $ax_lib !) fi diff --git a/m4/ax_boost_system.m4 b/m4/ax_boost_system.m4 index 57de714..f6aef46 100644 --- a/m4/ax_boost_system.m4 +++ b/m4/ax_boost_system.m4 @@ -106,6 +106,9 @@ AC_DEFUN([AX_BOOST_SYSTEM], done fi + if test "x$ax_lib" = "x"; then + AC_MSG_ERROR(Could not find a version of the library!) + fi if test "x$link_system" = "xno"; then AC_MSG_ERROR(Could not link against $ax_lib !) fi diff --git a/m4/ax_boost_test_exec_monitor.m4 b/m4/ax_boost_test_exec_monitor.m4 index 0c54cdc..d6b2ecf 100644 --- a/m4/ax_boost_test_exec_monitor.m4 +++ b/m4/ax_boost_test_exec_monitor.m4 @@ -125,6 +125,9 @@ AC_DEFUN([AX_BOOST_TEST_EXEC_MONITOR], done done fi + if test "x$ax_lib" = "x"; then + AC_MSG_ERROR(Could not find a version of the library!) + fi if test "x$link_test_exec_monitor" != "xyes"; then AC_MSG_ERROR(Could not link against $ax_lib !) fi diff --git a/m4/ax_boost_thread.m4 b/m4/ax_boost_thread.m4 index ef3a68e..3c9109a 100644 --- a/m4/ax_boost_thread.m4 +++ b/m4/ax_boost_thread.m4 @@ -127,6 +127,9 @@ AC_DEFUN([AX_BOOST_THREAD], done fi + if test "x$ax_lib" = "x"; then + AC_MSG_ERROR(Could not find a version of the library!) + fi if test "x$link_thread" = "xno"; then AC_MSG_ERROR(Could not link against $ax_lib !) else diff --git a/m4/ax_boost_unit_test_framework.m4 b/m4/ax_boost_unit_test_framework.m4 index 31ebf8a..d6ae13f 100644 --- a/m4/ax_boost_unit_test_framework.m4 +++ b/m4/ax_boost_unit_test_framework.m4 @@ -123,6 +123,9 @@ AC_DEFUN([AX_BOOST_UNIT_TEST_FRAMEWORK], done done fi + if test "x$ax_lib" = "x"; then + AC_MSG_ERROR(Could not find a version of the library!) + fi if test "x$link_unit_test_framework" != "xyes"; then AC_MSG_ERROR(Could not link against $ax_lib !) fi diff --git a/m4/ax_boost_wave.m4 b/m4/ax_boost_wave.m4 index 3c34853..5b2525d 100644 --- a/m4/ax_boost_wave.m4 +++ b/m4/ax_boost_wave.m4 @@ -103,6 +103,9 @@ AC_DEFUN([AX_BOOST_WAVE], [link_wave="no"]) done fi + if test "x$ax_lib" = "x"; then + AC_MSG_ERROR(Could not find a version of the library!) + fi if test "x$link_wave" != "xyes"; then AC_MSG_ERROR(Could not link against $ax_lib !) fi diff --git a/m4/ax_boost_wserialization.m4 b/m4/ax_boost_wserialization.m4 index 7aa5dd1..211b643 100644 --- a/m4/ax_boost_wserialization.m4 +++ b/m4/ax_boost_wserialization.m4 @@ -102,6 +102,9 @@ AC_DEFUN([AX_BOOST_WSERIALIZATION], done fi + if test "x$ax_lib" = "x"; then + AC_MSG_ERROR(Could not find a version of the library!) + fi if test "x$link_wserialization" != "xyes"; then AC_MSG_ERROR(Could not link against $ax_lib !) fi -- 1.5.6.5