apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r190411 - /apr/apr/trunk/buildconf
Date Mon, 13 Jun 2005 14:38:15 GMT
Author: wrowe
Date: Mon Jun 13 07:38:14 2005
New Revision: 190411

URL: http://svn.apache.org/viewcvs?rev=190411&view=rev
Log:

  jfclere points out that I ment to test for zero string, not file.

  this test syntax may still be too complex.  perhaps -f is sufficient
  to verify the name is non-null?

Modified:
    apr/apr/trunk/buildconf

Modified: apr/apr/trunk/buildconf
URL: http://svn.apache.org/viewcvs/apr/apr/trunk/buildconf?rev=190411&r1=190410&r2=190411&view=diff
==============================================================================
--- apr/apr/trunk/buildconf (original)
+++ apr/apr/trunk/buildconf Mon Jun 13 07:38:14 2005
@@ -49,7 +49,7 @@
                    < $libtoolize`"
    ltfile=${LIBTOOL_M4-`eval "$ltfindcmd"`}
    # Expecting the code above to be very portable, but just in case...
-   if [ -e "$ltfile" -o ! -f "$ltfile" ]; then
+   if [ -z "$ltfile" -o ! -f "$ltfile" ]; then
      ltpath=`dirname $libtoolize`
      ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4
    fi



Mime
View raw message