summaryrefslogtreecommitdiff
path: root/libtoolize.in
diff options
context:
space:
mode:
authorThomas Tanner <tanner@gmx.de>1999-03-30 19:22:41 +0000
committerThomas Tanner <tanner@gmx.de>1999-03-30 19:22:41 +0000
commit3e89f4c492d3b70234ba4ba7a1fa18c8c589e307 (patch)
tree9828f9cd141dd24b6b1b2989cc72e0830bdddb46 /libtoolize.in
parenta1cfb2f41e615daa385b17d309896aee2e3387ff (diff)
downloadlibtool-3e89f4c492d3b70234ba4ba7a1fa18c8c589e307.tar.gz
* doc/libtool.texi: fixed a typo
* libtoolize.in: add the libtool scripts to libltdl.tar.gz * libtool.m4: don't AC_SUBST(USE_SYMBOL_UNDERSCORE), AC_CHECK_LIBM sets LIBM, AC_LIBLTDL_INSTALLABLE doesn't work when libltdl is already installed * *demo/Makefile.am: use LIBM * *demo/configure.in: AC_SUBST LIBM * libltdl/configure.in: use ac_cv_sys_symbol_underscore instead of USE_SYMBOL_UNDERSCORE * ltconfig.in: added link_all_deplibs variable * doc/libtool.texi: document it * ltmain.in: always search for libname.la - don't eval libname_spec, when linking libraries against static ones just print a warning and add them to dependency_libs, add -lc before deplibs, always link all dependencies of a static library or if link_all_deplibs is yes, hardcode library paths if hardcode_into_libs is no, don't link against dependency_libs that already are deplibs
Diffstat (limited to 'libtoolize.in')
-rw-r--r--libtoolize.in24
1 files changed, 22 insertions, 2 deletions
diff --git a/libtoolize.in b/libtoolize.in
index 342ba698..6c9ad0b3 100644
--- a/libtoolize.in
+++ b/libtoolize.in
@@ -251,11 +251,31 @@ done
if test "x$ltdl_tar" = x"yes"; then
if test "x$dry_run" = x"yes"; then
- echo "(cd $pkgdatadir > /dev/null && tar -cf - libltdl | gzip --best) > libltdl.tar.gz"
+ echo "tar -cf - libltdl | gzip --best > libltdl.tar.gz"
elif test -f libltdl.tar.gz && test -z "$force"; then
test -z "$automake" && echo "$progname: \`libltdl.tar.gz' exists: use \`--force' to overwrite" 1>&2
else
- (cd $pkgdatadir > /dev/null && tar -cf - libltdl | gzip --best) > libltdl.tar.gz
+ test -d libltdl && ${rm}r libltdl
+ $mkdir libltdl
+ ltdlfiles=`cd $pkgdatadir && ls libltdl/*`
+ for file in $ltdlfiles; do
+ if $cp $pkgdatadir/$file $file; then :
+ else
+ echo "$progname: cannot copy \`$pkgdatadir/$file' to \`$file'" 1>&2
+ status=1
+ break
+ fi
+ done
+ for file in $files; do
+ if $cp $pkgdatadir/$file libltdl/$file; then :
+ else
+ echo "$progname: cannot copy \`$pkgdatadir/$file' to \`libltdl/$file'" 1>&2
+ status=1
+ break
+ fi
+ done
+ tar -cf - libltdl | gzip --best > libltdl.tar.gz
+ ${rm}r libltdl
fi
fi