From: Nikos Mavrogiannopoulos Date: Sat, 18 May 2013 13:39:56 +0000 (+0200) Subject: configure proceeds if regex library isn't found X-Git-Tag: gnutls_3_2_1~46 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=449a7a2fffe4dd20aa453f42928925c728067d8d;p=thirdparty%2Fgnutls.git configure proceeds if regex library isn't found --- diff --git a/src/libopts/m4/libopts.m4 b/src/libopts/m4/libopts.m4 index 9d0c6ded2a..ec31728de9 100644 --- a/src/libopts/m4/libopts.m4 +++ b/src/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