diff options
Diffstat (limited to 'ltmain.sh')
-rwxr-xr-x | ltmain.sh | 45 |
1 files changed, 19 insertions, 26 deletions
@@ -1,6 +1,6 @@ | |||
1 | # Generated from ltmain.m4sh. | 1 | # Generated from ltmain.m4sh. |
2 | 2 | ||
3 | # ltmain.sh (GNU libtool) 2.2.6b | 3 | # ltmain.sh (GNU libtool) 2.2.6 |
4 | # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 | 4 | # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 |
5 | 5 | ||
6 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. | 6 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. |
@@ -65,7 +65,7 @@ | |||
65 | # compiler: $LTCC | 65 | # compiler: $LTCC |
66 | # compiler flags: $LTCFLAGS | 66 | # compiler flags: $LTCFLAGS |
67 | # linker: $LD (gnu? $with_gnu_ld) | 67 | # linker: $LD (gnu? $with_gnu_ld) |
68 | # $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2 | 68 | # $progname: (GNU libtool) 2.2.6 |
69 | # automake: $automake_version | 69 | # automake: $automake_version |
70 | # autoconf: $autoconf_version | 70 | # autoconf: $autoconf_version |
71 | # | 71 | # |
@@ -73,9 +73,9 @@ | |||
73 | 73 | ||
74 | PROGRAM=ltmain.sh | 74 | PROGRAM=ltmain.sh |
75 | PACKAGE=libtool | 75 | PACKAGE=libtool |
76 | VERSION="2.2.6b Debian-2.2.6b-2" | 76 | VERSION=2.2.6 |
77 | TIMESTAMP="" | 77 | TIMESTAMP="" |
78 | package_revision=1.3017 | 78 | package_revision=1.3012 |
79 | 79 | ||
80 | # Be Bourne compatible | 80 | # Be Bourne compatible |
81 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 81 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
@@ -116,15 +116,15 @@ $lt_unset CDPATH | |||
116 | 116 | ||
117 | : ${CP="cp -f"} | 117 | : ${CP="cp -f"} |
118 | : ${ECHO="echo"} | 118 | : ${ECHO="echo"} |
119 | : ${EGREP="/bin/grep -E"} | 119 | : ${EGREP="/usr/bin/grep -E"} |
120 | : ${FGREP="/bin/grep -F"} | 120 | : ${FGREP="/usr/bin/grep -F"} |
121 | : ${GREP="/bin/grep"} | 121 | : ${GREP="/usr/bin/grep"} |
122 | : ${LN_S="ln -s"} | 122 | : ${LN_S="ln -s"} |
123 | : ${MAKE="make"} | 123 | : ${MAKE="make"} |
124 | : ${MKDIR="mkdir"} | 124 | : ${MKDIR="mkdir"} |
125 | : ${MV="mv -f"} | 125 | : ${MV="mv -f"} |
126 | : ${RM="rm -f"} | 126 | : ${RM="rm -f"} |
127 | : ${SED="/bin/sed"} | 127 | : ${SED="/opt/local/bin/gsed"} |
128 | : ${SHELL="${CONFIG_SHELL-/bin/sh}"} | 128 | : ${SHELL="${CONFIG_SHELL-/bin/sh}"} |
129 | : ${Xsed="$SED -e 1s/^X//"} | 129 | : ${Xsed="$SED -e 1s/^X//"} |
130 | 130 | ||
@@ -5033,10 +5033,7 @@ func_mode_link () | |||
5033 | case $pass in | 5033 | case $pass in |
5034 | dlopen) libs="$dlfiles" ;; | 5034 | dlopen) libs="$dlfiles" ;; |
5035 | dlpreopen) libs="$dlprefiles" ;; | 5035 | dlpreopen) libs="$dlprefiles" ;; |
5036 | link) | 5036 | link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; |
5037 | libs="$deplibs %DEPLIBS%" | ||
5038 | test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" | ||
5039 | ;; | ||
5040 | esac | 5037 | esac |
5041 | fi | 5038 | fi |
5042 | if test "$linkmode,$pass" = "lib,dlpreopen"; then | 5039 | if test "$linkmode,$pass" = "lib,dlpreopen"; then |
@@ -5347,19 +5344,19 @@ func_mode_link () | |||
5347 | # It is a libtool convenience library, so add in its objects. | 5344 | # It is a libtool convenience library, so add in its objects. |
5348 | convenience="$convenience $ladir/$objdir/$old_library" | 5345 | convenience="$convenience $ladir/$objdir/$old_library" |
5349 | old_convenience="$old_convenience $ladir/$objdir/$old_library" | 5346 | old_convenience="$old_convenience $ladir/$objdir/$old_library" |
5350 | tmp_libs= | ||
5351 | for deplib in $dependency_libs; do | ||
5352 | deplibs="$deplib $deplibs" | ||
5353 | if $opt_duplicate_deps ; then | ||
5354 | case "$tmp_libs " in | ||
5355 | *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; | ||
5356 | esac | ||
5357 | fi | ||
5358 | tmp_libs="$tmp_libs $deplib" | ||
5359 | done | ||
5360 | elif test "$linkmode" != prog && test "$linkmode" != lib; then | 5347 | elif test "$linkmode" != prog && test "$linkmode" != lib; then |
5361 | func_fatal_error "\`$lib' is not a convenience library" | 5348 | func_fatal_error "\`$lib' is not a convenience library" |
5362 | fi | 5349 | fi |
5350 | tmp_libs= | ||
5351 | for deplib in $dependency_libs; do | ||
5352 | deplibs="$deplib $deplibs" | ||
5353 | if $opt_duplicate_deps ; then | ||
5354 | case "$tmp_libs " in | ||
5355 | *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; | ||
5356 | esac | ||
5357 | fi | ||
5358 | tmp_libs="$tmp_libs $deplib" | ||
5359 | done | ||
5363 | continue | 5360 | continue |
5364 | fi # $pass = conv | 5361 | fi # $pass = conv |
5365 | 5362 | ||
@@ -5896,7 +5893,6 @@ func_mode_link () | |||
5896 | if test "$link_all_deplibs" != no; then | 5893 | if test "$link_all_deplibs" != no; then |
5897 | # Add the search paths of all dependency libraries | 5894 | # Add the search paths of all dependency libraries |
5898 | for deplib in $dependency_libs; do | 5895 | for deplib in $dependency_libs; do |
5899 | path= | ||
5900 | case $deplib in | 5896 | case $deplib in |
5901 | -L*) path="$deplib" ;; | 5897 | -L*) path="$deplib" ;; |
5902 | *.la) | 5898 | *.la) |
@@ -6210,9 +6206,6 @@ func_mode_link () | |||
6210 | revision="$number_minor" | 6206 | revision="$number_minor" |
6211 | lt_irix_increment=no | 6207 | lt_irix_increment=no |
6212 | ;; | 6208 | ;; |
6213 | *) | ||
6214 | func_fatal_configuration "$modename: unknown library version type \`$version_type'" | ||
6215 | ;; | ||
6216 | esac | 6209 | esac |
6217 | ;; | 6210 | ;; |
6218 | no) | 6211 | no) |