summaryrefslogtreecommitdiff
path: root/m4/regex.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-07-04 00:05:23 +0000
committerJim Meyering <jim@meyering.net>1998-07-04 00:05:23 +0000
commit6c934891712c08121c0196d82c47bad1c7980499 (patch)
treec3b3ab3b6203e432000883218e8165c0946d6cae /m4/regex.m4
parent345c323ffd475f549fee3ec2ca86a2c4b4e3bd7e (diff)
downloadcoreutils-6c934891712c08121c0196d82c47bad1c7980499.tar.xz
.
Diffstat (limited to 'm4/regex.m4')
-rw-r--r--m4/regex.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/m4/regex.m4 b/m4/regex.m4
new file mode 100644
index 000000000..2a7bfe014
--- /dev/null
+++ b/m4/regex.m4
@@ -0,0 +1,14 @@
+#serial 1
+
+dnl From grep.
+
+AC_DEFUN(jm_WITH_REGEX,
+ [
+ AC_ARG_WITH(included-regex,
+ [ --without-included-regex don't compile regex],
+ USE_REGEX=$withval,
+ USE_REGEX=yes)
+
+ test "$USE_REGEX" = "yes" && LIBOBJS="$LIBOBJS regex.o"
+ ]
+)