From 080ce2ef7db9e8fd1598dc49701e025813537b2d Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Tue, 12 Jan 1999 01:20:57 +0000 Subject: [PATCH] 1999-01-11 Miguel de Icaza * configure.in (REGEX_O): Always include regex.o as the code we are using in gmc is not using regcomp/regexec, but the internal Emacs API. * src/regex.c: Do not compile the POSIX compatibility code, as we do not use it. --- ChangeLog | 9 +++++++++ configure.in | 5 ----- src/regex.c | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index bcc177716..79c8e9c74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +1999-01-11 Miguel de Icaza + + * configure.in (REGEX_O): Always include regex.o as the code we + are using in gmc is not using regcomp/regexec, but the internal + Emacs API. + + * src/regex.c: Do not compile the POSIX compatibility code, as we + do not use it. + Tue Dec 29 15:49:45 1998 Norbert Warmuth * doc/mc.sgml, mc1.in (Color section): minor polishing diff --git a/configure.in b/configure.in index 4e0e2cec5..64d80cb0e 100644 --- a/configure.in +++ b/configure.in @@ -154,11 +154,6 @@ Let me check for an incompatible regcomp in HP-UX before making this the default REGEX_O="regex.o" -AC_CHECK_FUNCS(regcomp) -if test x$ac_cv_func_regcomp = xyes; then - REGEX_O="" -fi - AC_SUBST(REGEX_O) dnl Missing structure components diff --git a/src/regex.c b/src/regex.c index bb80ea016..20b28d144 100644 --- a/src/regex.c +++ b/src/regex.c @@ -5168,7 +5168,7 @@ re_exec (s) /* POSIX.2 functions. Don't define these for Emacs. */ -#ifndef emacs +#if 0 /* regcomp takes a regular expression as a string and compiles it.