Changeset 1771 for box/chris/merge/configure.ac
- Timestamp:
- 26/07/2007 23:05:56 (5 years ago)
- File:
-
- 1 edited
-
box/chris/merge/configure.ac (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/chris/merge/configure.ac
r1545 r1771 113 113 if test "$have_regex_h" = "yes"; then 114 114 AC_DEFINE([HAVE_REGEX_H], [1], [Define to 1 if regex.h is available]) 115 AC_SEARCH_LIBS([regcomp], ["pcreposix -lpcre"]) 115 else 116 AC_CHECK_HEADER([pcreposix.h], [have_pcreposix_h=yes]) 117 fi 118 119 if test "$have_pcreposix_h" = "yes"; then 120 AC_SEARCH_LIBS([regcomp], ["pcreposix -lpcre"],,[have_pcreposix_h=no_regcomp]) 121 fi 122 123 if test "$have_pcreposix_h" = "yes"; then 124 AC_DEFINE([HAVE_PCREPOSIX_H], [1], [Define to 1 if pcreposix.h is available]) 125 fi 126 127 if test "$have_regex_h" = "yes" -o "$have_pcreposix_h" = "yes"; then 128 have_regex_support=yes 129 AC_DEFINE([HAVE_REGEX_SUPPORT], [1], [Define to 1 if regular expressions are supported]) 130 else 131 have_regex_support=no 116 132 fi 117 133 … … 275 291 to the documentation for more information on each feature. 276 292 277 Regular expressions: $have_regex_ h293 Regular expressions: $have_regex_support 278 294 Large files: $have_large_file_support 279 295 Berkeley DB: $ax_path_bdb_ok
Note: See TracChangeset
for help on using the changeset viewer.
