aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2010-10-16 14:46:58 +1000
committerSteve Bennett <steveb@workware.net.au>2010-11-17 07:57:37 +1000
commitb98537c32b9e481fe8b0653efcfeab950f5a8e87 (patch)
treec8db7c70b469ff1c01b46b921ed2d08b0ed363b3 /configure
parentdf29b3100c77c73742db433308e9082ace9f852c (diff)
downloadjimtcl-b98537c32b9e481fe8b0653efcfeab950f5a8e87.zip
jimtcl-b98537c32b9e481fe8b0653efcfeab950f5a8e87.tar.gz
jimtcl-b98537c32b9e481fe8b0653efcfeab950f5a8e87.tar.bz2
POSIX-compatible regex interface
With some ARE extensions Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 14 insertions, 0 deletions
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`