summaryrefslogtreecommitdiff
path: root/m4/regex.m4
blob: 2a7bfe014332561c87ca2257b97cf0700edf3f4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"
  ]
)