aboutsummaryrefslogtreecommitdiff
path: root/build/configure
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-01-07 13:50:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-01-07 13:50:11 +0200
commit76d23e639004517db8f9469d64ac1789f8449365 (patch)
treedbafc8c4e31a97f74046c98af19d0fe76f360001 /build/configure
parentc30caae30bc64974eeaa1e81aa2abdc203f5120d (diff)
Add support for ISO-8859-1 as application encoding
New runtime configuration parameter, XSDE_ENCODING. New option, --char-encoding. New test, tests/cxx/hybrid/iso8859-1.
Diffstat (limited to 'build/configure')
-rwxr-xr-xbuild/configure10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/configure b/build/configure
index e49a7c5..8295e76 100755
--- a/build/configure
+++ b/build/configure
@@ -39,6 +39,15 @@ else
fi
$echo
+$echo "Please select the application character encoding:"
+$echo
+$echo "(1) UTF-8"
+$echo "(2) ISO-8859-1"
+$echo
+
+encoding=`read_option "utf8 iso8859-1" "utf8"`
+
+$echo
$echo "Would you like the generated code and runtime to use STL?"
$echo
@@ -166,6 +175,7 @@ fi
echo "xsde_arch_width := $arch_width" >$1
echo "xsde_byteorder := $byteorder" >>$1
+echo "xsde_encoding := $encoding" >>$1
echo "xsde_stl := $stl" >>$1
echo "xsde_stl_iterator := $stl_iter" >>$1
echo "xsde_iostream := $iostream" >>$1