.
authorJim Meyering <jim@meyering.net>
Sat, 4 Jul 1998 00:05:23 +0000 (00:05 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 4 Jul 1998 00:05:23 +0000 (00:05 +0000)
m4/regex.m4 [new file with mode: 0644]

diff --git a/m4/regex.m4 b/m4/regex.m4
new file mode 100644 (file)
index 0000000..2a7bfe0
--- /dev/null
@@ -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"
+  ]
+)