apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r745127 - /apr/apr/trunk/configure.in
Date Tue, 17 Feb 2009 15:47:42 GMT
Author: mturk
Date: Tue Feb 17 15:47:41 2009
New Revision: 745127

URL: http://svn.apache.org/viewvc?rev=745127&view=rev
Log:
Oops. Fix r745119 by using enable instead disable as default

Modified:
    apr/apr/trunk/configure.in

Modified: apr/apr/trunk/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/configure.in?rev=745127&r1=745126&r2=745127&view=diff
==============================================================================
--- apr/apr/trunk/configure.in (original)
+++ apr/apr/trunk/configure.in Tue Feb 17 15:47:41 2009
@@ -202,17 +202,17 @@
 AC_SUBST(installbuilddir)
 
 AC_ARG_ENABLE(version,[  --disable-version           Disable library version info],
-[disable_version_info=$enableval], [disable_version_info=yes])
+[enable_version_info=$enableval], [enable_version_info=yes])
 
 AC_ARG_WITH(libtool, [  --without-libtool       avoid using libtool to link the library],
   [ use_libtool=$withval ], [ use_libtool="yes" ] )
 
 if test "x$use_libtool" = "xyes"; then
       lt_compile='$(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE) -o $@ -c $< &&
touch $@'
-      if test "x$disable_version_info" = "xyes"; then
-          LT_VERSION="-avoid-version"
-      else
+      if test "x$enable_version_info" = "xyes"; then
           LT_VERSION="-version-info `$get_version libtool $version_hdr APR`"
+      else
+          LT_VERSION="-avoid-version"
       fi
       link="\$(LIBTOOL) \$(LTFLAGS) --mode=link \$(LT_LDFLAGS) \$(COMPILE) \$(LT_VERSION)
\$(ALL_LDFLAGS) -o \$@"
       so_ext='lo'



Mime
View raw message