Commit e881918b authored by incardon's avatar incardon

Fixing BOOST detection

parent f8e1079b
...@@ -103,10 +103,12 @@ AC_DEFUN([AX_BOOST_IOSTREAMS], ...@@ -103,10 +103,12 @@ AC_DEFUN([AX_BOOST_IOSTREAMS],
fi fi
if test "x$ax_lib" = "x"; then 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 fi
if test "x$link_iostreams" != "xyes"; then 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
fi fi
......
...@@ -96,10 +96,12 @@ AC_DEFUN([AX_BOOST_PROGRAM_OPTIONS], ...@@ -96,10 +96,12 @@ AC_DEFUN([AX_BOOST_PROGRAM_OPTIONS],
done done
fi fi
if test "x$ax_lib" = "x"; then 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 fi
if test "x$link_program_options" != "xyes"; then 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
fi fi
CPPFLAGS="$CPPFLAGS_SAVED" CPPFLAGS="$CPPFLAGS_SAVED"
......
...@@ -124,10 +124,12 @@ AC_DEFUN([AX_BOOST_UNIT_TEST_FRAMEWORK], ...@@ -124,10 +124,12 @@ AC_DEFUN([AX_BOOST_UNIT_TEST_FRAMEWORK],
done done
fi fi
if test "x$ax_lib" = "x"; then 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 fi
if test "x$link_unit_test_framework" != "xyes"; then 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
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment