diff options
author | Greg McGary <greg@mcgary.org> | 1999-03-28 09:05:19 +0000 |
---|---|---|
committer | Greg McGary <greg@mcgary.org> | 1999-03-28 09:05:19 +0000 |
commit | 04887a9480b5cc52d50225ac0f66f46cd2f6b7d3 (patch) | |
tree | f814661fb6839af68c151ca4d211cf4ceb8b3782 | |
parent | 79cda246d1dad732c4da0fcd9fcbb051cb0b8ee3 (diff) | |
download | idutils-04887a9480b5cc52d50225ac0f66f46cd2f6b7d3.tar.gz idutils-04887a9480b5cc52d50225ac0f66f46cd2f6b7d3.tar.bz2 idutils-04887a9480b5cc52d50225ac0f66f46cd2f6b7d3.zip |
* config.h.in (WITH_REGEX): Remove.
* configure.in (AM_WITH_REGEX): Remove.
* src/lid.c (rx.h): Remove #include.
-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)); |