From b98537c32b9e481fe8b0653efcfeab950f5a8e87 Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Sat, 16 Oct 2010 14:46:58 +1000 Subject: POSIX-compatible regex interface With some ARE extensions Signed-off-by: Steve Bennett --- configure | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 6dffda6..17ce442 100755 --- a/configure +++ b/configure @@ -690,6 +690,7 @@ with_jim_extmod with_jim_shared enable_shared enable_static +with_jim_regexp ' ac_precious_vars='build_alias host_alias @@ -1370,6 +1371,7 @@ Optional Packages: Note that not all extensions can be built as loadable modules. --with-jim-shared build a shared library instead of a static library + --with-jim-regexp use the built-in (Tcl-compatible) regexp, even if POSIX regex is available Some influential environment variables: CC C compiler command @@ -3737,6 +3739,18 @@ fi JIM_LIBTYPE=$JIM_LIBTYPE + +# Check whether --with-jim-regexp was given. +if test "${with_jim_regexp+set}" = set; then : + withval=$with_jim_regexp; + if test "x$withval" = "xyes" ; then + EXTRA_CFLAGS="$EXTRA_CFLAGS -DJIM_REGEXP" + fi + + +fi + + for ac_header in sys/un.h dlfcn.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -- cgit v1.1