From 3be923c77842570d811990e726c591b11133883e Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sat, 18 May 2013 15:40:32 +0200 Subject: [PATCH] configure proceeds if regex library isn't found --- libopts/m4/libopts.m4 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libopts/m4/libopts.m4 b/libopts/m4/libopts.m4 index 9d0c6ded..ec31728d 100644 --- a/libopts/m4/libopts.m4 +++ b/libopts/m4/libopts.m4 @@ -249,7 +249,10 @@ int main() { else CPPFLAGS="${libopts_save_CPPFLAGS}" LIBS="${libopts_save_LIBS}" - AC_MSG_ERROR([the regex library does not work]) + libopts_cv_with_libregex_root=no + libopts_cv_with_libregex_cflags=no + libopts_cv_with_libregex_libs=no + AC_MSG_RESULT([the regex library does not work and will not be used]) fi ]) # end of AC_DEFUN of LIBOPTS_WITHLIB_REGEX