aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2010-10-20 16:01:17 +1000
committerSteve Bennett <steveb@workware.net.au>2010-11-17 07:57:37 +1000
commit9f6ad73686d6dc1fc8628be60a0d42a6ee20817c (patch)
tree455e400d7d49937b5814d824ff40461aee93b8ff /configure
parentabac7fb5ee7d37150951b9618ba6a0ee57d98085 (diff)
downloadjimtcl-9f6ad73686d6dc1fc8628be60a0d42a6ee20817c.zip
jimtcl-9f6ad73686d6dc1fc8628be60a0d42a6ee20817c.tar.gz
jimtcl-9f6ad73686d6dc1fc8628be60a0d42a6ee20817c.tar.bz2
Add UTF-8 support to Jim
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure b/configure
index bd5ae81..6dffda6 100755
--- a/configure
+++ b/configure
@@ -683,6 +683,7 @@ enable_option_checking
enable_fork
enable_math
enable_ipv6
+enable_utf8
with_jim_ext
with_out_jim_ext
with_jim_extmod
@@ -1318,6 +1319,7 @@ Optional Features:
--disable-fork do not use fork (no exec, etc.)
--enable-math include support for math functions
--enable-ipv6 include ipv6 support in the aio extension
+ --enable-utf8 include support for utf8-encoded strings
--enable-shared build a shared library instead of a static library
--enable-static build a static library instead of a shared library
@@ -3637,6 +3639,16 @@ if test "${enable_ipv6+set}" = set; then :
fi
+# Check whether --enable-utf8 was given.
+if test "${enable_utf8+set}" = set; then :
+ enableval=$enable_utf8;
+ if test "x$enableval" = "xyes" ; then
+ EXTRA_CFLAGS="$EXTRA_CFLAGS -DJIM_UTF8"
+ fi
+
+
+fi
+
# Is $1 in list $2?
in_list()