X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fac%2Fregex.h;h=cc21e66215d2650e3ca7092e22b07d7ac953032c;hb=43e6fc8e765445a93793e1f899efbd36e8c04f4e;hp=c646a08d9312a541cb6b708776b98e3bdf9472e6;hpb=c0f5c884297aac7b930afad98f601912c83e9e72;p=openldap diff --git a/include/ac/regex.h b/include/ac/regex.h index c646a08d93..cc21e66215 100644 --- a/include/ac/regex.h +++ b/include/ac/regex.h @@ -8,12 +8,16 @@ #include #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 -#else - /* no regex.h, use compatibility library */ -# include -#endif /* ! regex.h */ +#endif /* regex.h */ #endif /* _AC_REGEX_H_ */