summaryrefslogtreecommitdiff
path: root/m4/regex.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-02-08 15:08:26 +0000
committerJim Meyering <jim@meyering.net>2000-02-08 15:08:26 +0000
commitdfd37e9e592772e18956301438b7e2238e8c056d (patch)
tree584a0c33a234497650a1d1daaa92ebeda9a89ca8 /m4/regex.m4
parent58d3cbbc5ccea5bb90d2c8fb6606ac252d8299ff (diff)
downloadcoreutils-dfd37e9e592772e18956301438b7e2238e8c056d.tar.xz
(jm_INCLUDED_REGEX): Remove now-unnecessary uses of changequote.
Diffstat (limited to 'm4/regex.m4')
-rw-r--r--m4/regex.m410
1 files changed, 3 insertions, 7 deletions
diff --git a/m4/regex.m4 b/m4/regex.m4
index 3047d4d49..a039d710f 100644
--- a/m4/regex.m4
+++ b/m4/regex.m4
@@ -1,4 +1,4 @@
-#serial 5
+#serial 6
dnl Initially derived from code in GNU grep.
dnl Mostly written by Jim Meyering.
@@ -21,9 +21,7 @@ AC_DEFUN(jm_INCLUDED_REGEX,
AC_CACHE_CHECK([for working re_compile_pattern],
jm_cv_func_working_re_compile_pattern,
AC_TRY_RUN(
- changequote(<<, >>)dnl
- <<
-#include <stdio.h>
+[#include <stdio.h>
#include <regex.h>
int
main ()
@@ -37,9 +35,7 @@ AC_DEFUN(jm_INCLUDED_REGEX,
/* This should fail with _Invalid character class name_ error. */
exit (s ? 0 : 1);
}
- >>,
- changequote([, ])dnl
-
+ ],
jm_cv_func_working_re_compile_pattern=yes,
jm_cv_func_working_re_compile_pattern=no,
dnl When crosscompiling, assume it's broken.