use $jm_with_regex, now $WITH_REGEX
[gnulib.git] / m4 / regex.m4
1 #serial 1
2
3 dnl From grep.
4
5 AC_DEFUN(jm_WITH_REGEX,
6   [
7     AC_ARG_WITH(included-regex,
8                 [  --without-included-regex don't compile regex],
9                 jm_with_regex=$withval,
10                 jm_with_regex=yes)
11
12     if test "$jm_with_regex" = yes; then
13       LIBOBJS="$LIBOBJS regex.o"
14     fi
15   ]
16 )