changeset 1403:e22d6722e033

.
author Jim Meyering <jim@meyering.net>
date Sat, 04 Jul 1998 00:05:23 +0000
parents bc1e554c0a15
children 96a4586772e8
files m4/regex.m4
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
new file mode 100644
--- /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"
+  ]
+)