]> git.sur5r.net Git - openldap/blob - include/ac/regex.h
Delete ldap_build_filter(), it's broke.
[openldap] / include / ac / regex.h
1 /* Generic Regex */
2 /* $OpenLDAP$ */
3 /*
4  * Copyright 1998-2001 The OpenLDAP Foundation, Redwood City, California, USA
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted only as authorized by the OpenLDAP
9  * Public License.  A copy of this license is available at
10  * http://www.OpenLDAP.org/license.html or in file LICENSE in the
11  * top-level directory of the distribution.
12  */
13
14 #ifndef _AC_REGEX_H_
15 #define _AC_REGEX_H_
16
17 #ifdef HAVE_SYS_TYPES_H
18 #include <sys/types.h>
19 #endif
20
21 #ifndef HAVE_REGEX_H
22 /*      NO POSIX REGEX!!
23         you'll need to install a POSIX compatible REGEX library.
24         Either Henry Spencer's or GNU regex will do.
25
26         For NT: http://people.delphi.com/gjc/hs_regex.html
27 */
28 #error "No POSIX REGEX available."
29
30 #elif HAVE_GNUREGEX_H
31         /* system has GNU gnuregex.h */
32 #       include <gnuregex.h>
33 #else
34         /* have regex.h, assume it's POSIX compliant */
35 #       include <regex.h>
36 #endif /* regex.h */
37
38 #endif /* _AC_REGEX_H_ */