Index: ossp-pkg/js/ChangeLog RCS File: /v/ossp/cvs/ossp-pkg/js/ChangeLog,v rcsdiff -q -kk '-r1.30' '-r1.31' -u '/v/ossp/cvs/ossp-pkg/js/ChangeLog,v' 2>/dev/null --- ChangeLog 2006/08/03 13:25:31 1.30 +++ ChangeLog 2006/08/20 15:45:13 1.31 @@ -11,6 +11,13 @@ This is a list of all changes to OSSP js. + Changes between 1.6.20060803 and 1.6.20060820 (2006-08-03 to 2006-08-20) + + o Add support for UTF-8 C strings in the API and internally by + adding a --with-utf8 build-time options which builds the code + with JS_C_STRINGS_ARE_UTF8. + [Ralf S. Engelschall ] + Changes between 1.6.20060731 and 1.6.20060803 (2006-07-31 to 2006-08-03) o Add optional Dynamic Shared Object (DSO) support (see src/jsdso.[ch]). Index: ossp-pkg/js/configure.ac RCS File: /v/ossp/cvs/ossp-pkg/js/configure.ac,v rcsdiff -q -kk '-r1.19' '-r1.20' -u '/v/ossp/cvs/ossp-pkg/js/configure.ac,v' 2>/dev/null --- configure.ac 2006/08/03 13:19:20 1.19 +++ configure.ac 2006/08/20 15:45:13 1.20 @@ -151,6 +151,15 @@ CLI_LDFLAGS="$CLI_LDFLAGS -export-dynamic" fi +dnl # configure option --with-utf8 +AC_ARG_WITH([utf8], + AS_HELP_STRING([--with-utf8], [build with exclusive UTF-8 C strings (uses Unicode UTF-8 encoded C strings only)]), + [ac_cv_with_utf8=$withval], [ac_cv_with_utf8=no]) +AC_CACHE_CHECK([whether to build with exclusive UTF-8 C string], [ac_cv_with_utf8], [ac_cv_with_utf8=no]) +if test ".$ac_cv_with_utf8" = ".yes"; then + CPPFLAGS="$CPPFLAGS -DJS_C_STRINGS_ARE_UTF8" +fi + AC_SUBST(CLI_CFLAGS) AC_SUBST(CLI_CPPFLAGS) AC_SUBST(CLI_LDFLAGS)