diff options
-rw-r--r-- | config.h.in | 3 | ||||
-rw-r--r-- | configure.in | 1 | ||||
-rw-r--r-- | src/lid.c | 6 |
3 files changed, 1 insertions, 9 deletions
diff --git a/config.h.in b/config.h.in index 932fa02..7f0b2c9 100644 --- a/config.h.in +++ b/config.h.in @@ -268,9 +268,6 @@ /* Define if system has ptrdiff_t type */ #undef HAVE_PTRDIFF_T -/* Define if using GNU regex */ -#undef WITH_REGEX - /* Define if libc includes obstacks */ #undef HAVE_OBSTACK diff --git a/configure.in b/configure.in index 0d99117..0e7011c 100644 --- a/configure.in +++ b/configure.in @@ -97,7 +97,6 @@ AC_SUBST(LDFLAGS) ############################################################################## AC_FUNC_ALLOCA -AM_WITH_REGEX AC_FUNC_VPRINTF AM_FUNC_OBSTACK AC_CHECK_FUNCS(getwd getcwd link strerror isascii bcopy bzero memcpy) @@ -26,6 +26,7 @@ #include <sys/wait.h> #include <assert.h> #include <getopt.h> +#include <regex.h> #include "xstring.h" #include "xunistd.h" #include "xnls.h" @@ -38,11 +39,6 @@ #if HAVE_LIMITS_H # include <limits.h> #endif -#if WITH_REGEX -# include <regex.h> -#else -# include <rx.h> -#endif typedef void (*report_func_t) __P((char const *name, struct file_link **flinkv)); typedef int (*query_func_t) __P((char const *arg, report_func_t)); |