]> git.sur5r.net Git - openldap/blobdiff - include/ac/regex.h
s/Id/OpenLDAP/ in RCSids
[openldap] / include / ac / regex.h
index 87033a8b7e1cfe342d086b00946e68d2d07a230c..897f7f5fd13023017fe4e9851f5bf4b4c9cd448f 100644 (file)
@@ -1,6 +1,5 @@
-/*
- * Generic Regex
- */
+/* Generic Regex */
+/* $OpenLDAP$ */
 /*
  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.
 
        For NT: http://people.delphi.com/gjc/hs_regex.html
 */
+#error "No POSIX REGEX available."
+
+#elif HAVE_GNUREGEX_H
+       /* system has GNU gnuregex.h */ 
+#      include <gnuregex.h>
 #else
        /* have regex.h, assume it's POSIX compliant */
 #      include <regex.h>