summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf14
1 files changed, 7 insertions, 7 deletions
diff --git a/buildconf b/buildconf
index e5f8926cc..ba5a8a138 100755
--- a/buildconf
+++ b/buildconf
@@ -54,14 +54,14 @@ if test "$1" = "1"; then
if [ -f libtool.m4 ]; then
ltfile=`pwd`/libtool.m4
else
- ltfindcmd="`sed -n \"/=[^\\\`]/p;/libtool_m4=/{s/.*=/echo /p;q;}\" \
+ ltfindcmd="`sed -n \"/=[^\\\`]/p;/libtool_m4=/{s/.*=/echo /p;q;}\" \
< $libtoolize`"
- ltfile=${LIBTOOL_M4-`eval "$ltfindcmd"`}
- # Expecting the code above to be very portable, but just in case...
- if [ -z "$ltfile" -o ! -f "$ltfile" ]; then
- ltpath=`dirname $libtoolize`
- ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4
- fi
+ ltfile=${LIBTOOL_M4-`eval "$ltfindcmd"`}
+ # Expecting the code above to be very portable, but just in case...
+ if [ -z "$ltfile" -o ! -f "$ltfile" ]; then
+ ltpath=`dirname $libtoolize`
+ ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4
+ fi
fi
if [ ! -f $ltfile ]; then
echo "$ltfile not found"