Author: tschoening
Date: Fri Feb 14 12:22:26 2014
New Revision: 1568254

URL: http://svn.apache.org/r1568254
Log:
Added default value "auto" for with-ODBC because with "no" only we can't 
distinguish between a default value on Windows and explicitly not using ODBC 
anymore. This is more readable than using a condition within the property 
statements to set default values anyways and things like is-windows are not 
available yet.

Modified:
    incubator/log4cxx/trunk/build.xml

Modified: incubator/log4cxx/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/log4cxx/trunk/build.xml?rev=1568254&r1=1568253&r2=1568254&view=diff
==============================================================================
--- incubator/log4cxx/trunk/build.xml (original)
+++ incubator/log4cxx/trunk/build.xml Fri Feb 14 12:22:26 2014
@@ -173,7 +173,7 @@
                                value="no"
        />
        <property       name="with-ODBC"
-                               value="no"
+                               value="auto"
        />
        <property       name="svnsite.url"
                                
value="https://svn.apache.org/repos/asf/logging/site/trunk/docs/log4cxx";
@@ -238,7 +238,7 @@
                        -Dwith-apr=APRPATH
                        -Dwith-apr-util=PATH
                        -Dwith-SMTP=[libesmtp, no] (default no)
-                       -Dwith-ODBC=[unixODBC, iODBC, Microsoft, no] 
(default=no on Unix, Microsoft on Windows)
+                       -Dwith-ODBC=[auto, unixODBC, iODBC, Microsoft, no] 
(default=auto resulting in no on Unix, Microsoft on Windows)
                </echo>
        </target>
 


Reply via email to