diff options
-rw-r--r-- | m4/regex.m4 | 14 |
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" + ] +) |