OSSP CVS Repository

ossp - Difference in ossp-pkg/js/configure.ac versions 1.19 and 1.20
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/js/configure.ac 1.19 -> 1.20

--- 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)

CVSTrac 2.0.1