]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
configure proceeds if regex library isn't found
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 18 May 2013 13:39:56 +0000 (15:39 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 18 May 2013 13:41:00 +0000 (15:41 +0200)
src/libopts/m4/libopts.m4

index 9d0c6ded2ad3a6743ca9933a32b8f3e9da5f3332..ec31728de957b48baf593a578e4818c1f7e4ab27 100644 (file)
@@ -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