diff options
author | Thomas Tanner <tanner@gmx.de> | 1999-01-14 15:07:12 +0000 |
---|---|---|
committer | Thomas Tanner <tanner@gmx.de> | 1999-01-14 15:07:12 +0000 |
commit | 1f37f97bf1040825b68d65b40a64cbc70784691a (patch) | |
tree | faf2c0530f9a643bd6d35bd2b08eafff43a6f30f /libtoolize.in | |
parent | 3611ad0c44f660f207147675e62c318b7822701e (diff) | |
download | libtool-1f37f97bf1040825b68d65b40a64cbc70784691a.tar.gz |
*** empty log message ***
Diffstat (limited to 'libtoolize.in')
-rw-r--r-- | libtoolize.in | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/libtoolize.in b/libtoolize.in index 880b01eb..09510795 100644 --- a/libtoolize.in +++ b/libtoolize.in @@ -49,6 +49,8 @@ cp="cp -f" automake= copy= force= +ltdl= +ltdl_tar= status=0 for arg @@ -66,6 +68,8 @@ Prepare a package to use libtool. -n, --dry-run print commands rather than running them -f, --force replace existing files --help display this message and exit + --ltdl install libltdl in a subdirectory + --ltdl-tar install the libltdl tarball --version print version information and exit You must \`cd' to the top directory of your package before you run @@ -105,6 +109,16 @@ EOF force=yes ;; + --ltdl) + ltdl=yes + ltdl_tar= + ;; + + --ltdl-tar) + ltdl= + ltdl_tar=yes + ;; + -*) echo "$progname: unrecognized option \`$arg'" 1>&2 echo "$help" 1>&2 @@ -125,11 +139,14 @@ if test ! -f configure.in; then exit 1 fi -files=`cd $pkgdatadir && ls` -if test -z "$files"; then + +if cd $pkgdatadir && ls; then : +else echo "$progname: cannot list files in \`$pkgdatadir'" 1>&2 exit 1 fi +files='config.guess config.sub ltconfig ltmain.sh' +test "x$ltdl_tar" = xyes && files="$files libltdl.tar.gz" auxdir=. auxdirline=`egrep '^AC_CONFIG_AUX_DIR' configure.in 2>/dev/null` |