]> git.sur5r.net Git - openldap/blobdiff - include/ac/regex.h
SLDAP compiles, needs LDBM work to link
[openldap] / include / ac / regex.h
index c646a08d9312a541cb6b708776b98e3bdf9472e6..cc21e66215d2650e3ca7092e22b07d7ac953032c 100644 (file)
@@ -8,12 +8,16 @@
 #include <sys/types.h>
 #endif
 
-#ifdef HAVE_REGEX_H
+#ifndef HAVE_REGEX_H
+/*     NO POSIX REGEX!!
+       you'll need to install a POSIX compatible REGEX library.
+       Either Henry Spencer's or GNU regex will do.
+
+       For NT: http://people.delphi.com/gjc/hs_regex.html
+*/
+#else
        /* have regex.h, assume it's POSIX compliant */
 #      include <regex.h>
-#else
-       /* no regex.h, use compatibility library */
-#      include <regex-compat.h>
-#endif /* ! regex.h */
+#endif /* regex.h */
 
 #endif /* _AC_REGEX_H_ */