diff --git a/m4/ax_boost_iostreams.m4 b/m4/ax_boost_iostreams.m4 index 4ada3ee1f6b6fe787d2232e270aa4f8e66f7df82..b4e970be04bbba9e5c889ae21dcc6865ede0547b 100644 --- a/m4/ax_boost_iostreams.m4 +++ b/m4/ax_boost_iostreams.m4 @@ -103,10 +103,12 @@ AC_DEFUN([AX_BOOST_IOSTREAMS], fi if test "x$ax_lib" = "x"; then - AC_MSG_ERROR(Could not find a version of the library!) + echo "Could not find a version of the library!" + exit 202 fi if test "x$link_iostreams" != "xyes"; then - AC_MSG_ERROR(Could not link against $ax_lib !) + echo "Could not link against $ax_lib !" + exit 202 fi fi diff --git a/m4/ax_boost_program_options.m4 b/m4/ax_boost_program_options.m4 index 0f0022ef854642eb79b30097af6a9c2e784a2273..e508ea3783eb4b4eb3795e57a57cb45326c9f6dd 100644 --- a/m4/ax_boost_program_options.m4 +++ b/m4/ax_boost_program_options.m4 @@ -96,10 +96,12 @@ AC_DEFUN([AX_BOOST_PROGRAM_OPTIONS], done fi if test "x$ax_lib" = "x"; then - AC_MSG_ERROR(Could not find a version of the library!) + echo "Could not find a version of the library!" + exit 202 fi if test "x$link_program_options" != "xyes"; then - AC_MSG_ERROR([Could not link against [$ax_lib] !]) + echo "Could not link against [$ax_lib] !" + exit 202 fi fi CPPFLAGS="$CPPFLAGS_SAVED" diff --git a/m4/ax_boost_unit_test_framework.m4 b/m4/ax_boost_unit_test_framework.m4 index 4b809ccfba3f35c69d7507bb6512c6ef657dc6de..ff3e8b0f9ac309ab6c156e7bc5d48bb51a4ff886 100644 --- a/m4/ax_boost_unit_test_framework.m4 +++ b/m4/ax_boost_unit_test_framework.m4 @@ -124,14 +124,16 @@ AC_DEFUN([AX_BOOST_UNIT_TEST_FRAMEWORK], done fi if test "x$ax_lib" = "x"; then - AC_MSG_ERROR(Could not find a version of the library!) + echo "Could not find a version of the library!" + exit 202 fi if test "x$link_unit_test_framework" != "xyes"; then - AC_MSG_ERROR(Could not link against $ax_lib !) + echo "Could not link against $ax_lib !" + exit 202 fi fi CPPFLAGS="$CPPFLAGS_SAVED" LDFLAGS="$LDFLAGS_SAVED" fi -]) \ No newline at end of file +])