And use #error if we get past configure...
authorJim Jagielski <jim@apache.org>
Wed, 19 Mar 2014 15:45:42 +0000 (15:45 +0000)
committerJim Jagielski <jim@apache.org>
Wed, 19 Mar 2014 15:45:42 +0000 (15:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1579267 13f79535-47bb-0310-9956-ffa450edef68

server/util_pcre.c

index c2039b13c50b08f34012499016987bd0c7c694d1..e90408e0c9367f6186f1aa378008ee21e23adc43 100644 (file)
@@ -129,7 +129,7 @@ AP_DECLARE(int) ap_regcomp(ap_regex_t * preg, const char *pattern, int cflags)
 #ifdef PCRE_DUPNAMES
     int options = PCRE_DUPNAMES;
 #else
-    int options = 0;
+#error PCRE_DUPNAMES does not exist in this PCRE implementation; too old.
 #endif
 
     if ((cflags & AP_REG_ICASE) != 0)