summaryrefslogtreecommitdiff
path: root/m4/ax_boost_regex.m4
diff options
context:
space:
mode:
authorJaap Eldering <eldering@A-Eskwadraat.nl>2010-08-11 15:05:42 +0200
committerPeter Simons <simons@cryp.to>2010-08-18 18:38:57 +0200
commitb145d7327023ead42d2625e64bc154db63987470 (patch)
tree7bb41765e918dd6db82b6a24fbe5e4e8f9d1bb0e /m4/ax_boost_regex.m4
parent329d839efa8d43e066ec7abd6af91650f5130145 (diff)
downloadautoconf-archive-b145d7327023ead42d2625e64bc154db63987470.tar.gz
Add check to see if any library is found.
Diffstat (limited to 'm4/ax_boost_regex.m4')
-rw-r--r--m4/ax_boost_regex.m43
1 files changed, 3 insertions, 0 deletions
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