AC_DEFUN(jm_WITH_REGEX,
[
AC_ARG_WITH(included-regex,
- [ --without-included-regex don't compile regex],
- USE_REGEX=$withval,
- USE_REGEX=yes)
+ [ --without-included-regex don't compile regex],
+ jm_with_regex=$withval,
+ jm_with_regex=yes)
- test "$USE_REGEX" = "yes" && LIBOBJS="$LIBOBJS regex.o"
+ if test "$jm_with_regex" = yes; then
+ LIBOBJS="$LIBOBJS regex.o"
+ fi
]
)