You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/09/19 09:02:55 UTC

svn commit: r816862 - /commons/sandbox/runtime/trunk/src/main/native/configure

Author: mturk
Date: Sat Sep 19 07:02:55 2009
New Revision: 816862

URL: http://svn.apache.org/viewvc?rev=816862&view=rev
Log:
Add --enable-unicode config option

Modified:
    commons/sandbox/runtime/trunk/src/main/native/configure

Modified: commons/sandbox/runtime/trunk/src/main/native/configure
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/configure?rev=816862&r1=816861&r2=816862&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/configure (original)
+++ commons/sandbox/runtime/trunk/src/main/native/configure Sat Sep 19 07:02:55 2009
@@ -92,7 +92,7 @@
 has_maintainer_mode=no
 has_native_threads=no
 has_sysv_mutex=no
-is_unix=true
+has_unicode=no
 
 has_openssl=no
 openssl_inc=""
@@ -465,7 +465,6 @@
         varadds ldflags psapi.lib shlwapi.lib wldap32.lib netapi32.lib iphlpapi.lib
         varadds shflags /NOLOGO /OPT:REF
         arflags=/NOLOGO
-        is_unix=false
         so=.dll
         exe=.exe
         lib=.lib
@@ -557,7 +556,8 @@
     varadds cppopts -D_FILE_OFFSET_BITS=64
 fi
 test -d "$topdir/include/arch/$host" && varadds includes "-I$topdir/include/arch/$host"
-test $is_unix && varadds includes "-I$topdir/include/arch/unix"
+test ".$host" != .windows && varadds includes "-I$topdir/include/arch/unix"
+test ".$has_unicode" = .yes && varadds cppopts -DUNICODE -D_UNICODE
 if [ ".$has_maintainer_mode" = .yes ]; then
     varadds cppopts -DDEBUG -D_DEBUG
 else