You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by ca...@apache.org on 2008/02/13 01:04:24 UTC

svn commit: r627193 - /logging/log4cxx/trunk/build.xml

Author: carnold
Date: Tue Feb 12 16:04:22 2008
New Revision: 627193

URL: http://svn.apache.org/viewvc?rev=627193&view=rev
Log:
LOGCXX-75: Configure LOG4CXX_HAS_FWIDE in Ant build

Modified:
    logging/log4cxx/trunk/build.xml

Modified: logging/log4cxx/trunk/build.xml
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/build.xml?rev=627193&r1=627192&r2=627193&view=diff
==============================================================================
--- logging/log4cxx/trunk/build.xml (original)
+++ logging/log4cxx/trunk/build.xml Tue Feb 12 16:04:22 2008
@@ -320,6 +320,13 @@
     <replaceregexp file="${include.dir}/log4cxx/private/log4cxx_private.tmp"
        match="@HAS_WCSTOMBS@"
        replace="1"/>
+    <condition property="has-fwide" value="0">
+        <isset property="is-cygwin"/>
+    </condition>
+    <property name="has-fwide" value="1"/>
+    <replaceregexp file="${include.dir}/log4cxx/private/log4cxx_private.tmp"
+       match="@HAS_FWIDE@"
+       replace="${has-fwide}"/>
 
     <condition property="has-libesmtp-value" value="1">
         <isset property="has-libesmtp"/>