summaryrefslogtreecommitdiff
path: root/libtoolize.in
diff options
context:
space:
mode:
authorThomas Tanner <tanner@gmx.de>1999-01-17 11:19:40 +0000
committerThomas Tanner <tanner@gmx.de>1999-01-17 11:19:40 +0000
commit6b7c38b36cb8e7626e2870279f69bb490c9aa672 (patch)
tree2bbcaa746f7e6a0608a42818eb786ee8403b6bac /libtoolize.in
parent9f6e865761541d1a239e23e7d42c36f64679eed5 (diff)
downloadlibtool-6b7c38b36cb8e7626e2870279f69bb490c9aa672.tar.gz
*** empty log message ***
Diffstat (limited to 'libtoolize.in')
-rw-r--r--libtoolize.in14
1 files changed, 11 insertions, 3 deletions
diff --git a/libtoolize.in b/libtoolize.in
index b98cfabb..0652c9d3 100644
--- a/libtoolize.in
+++ b/libtoolize.in
@@ -140,8 +140,8 @@ if test ! -f configure.in; then
fi
-if (cd $pkgdatadir && ls); then :
-else
+files=`cd $pkgdatadir && ls`
+if test -z "$files"; then
echo "$progname: cannot list files in \`$pkgdatadir'" 1>&2
exit 1
fi
@@ -212,7 +212,7 @@ if test -z "$automake"; then
test -z "$localserial" && localserial=0
if test "$localserial" -lt "$instserial"; then
- echo "You should $updatemsg."
+ echo "You should $updatemsg."
elif test "$localserial" -gt "$instserial"; then
echo "$progname: \`$libtool_m4' is serial $instserial, less than $localserial in \`aclocal.m4'" 1>&2
if test -z "$force"; then
@@ -250,6 +250,14 @@ for file in $files; do
fi
done
+if test "x$ltdl" = xyes; then
+ if tar xzf $pkgdatadir/libltdl.tar.gz; then :
+ else
+ echo "$progname: cannot unpack libltdl.tar.gz" 1>&2
+ status=1
+ fi
+fi
+
exit $status
# Local Variables: