summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2005-06-13 14:38:14 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2005-06-13 14:38:14 +0000
commit25fff6a0904b7fcaf44dc347692fcb6fab871fa4 (patch)
treedb7b1de2d81e1e1b28b4229999aa5e6f2e6cb883 /buildconf
parentee7bfeed1ef7aae34a9b67cbe346f60a7e8feaee (diff)
downloadlibapr-25fff6a0904b7fcaf44dc347692fcb6fab871fa4.tar.gz
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? git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@190411 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildconf b/buildconf
index 500a8ca8e..fe2f0be5a 100755
--- a/buildconf
+++ b/buildconf
@@ -49,7 +49,7 @@ else
< $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