OLD | NEW |
1 # ltmain.sh - Provide generalized library-building support services. | 1 # ltmain.sh - Provide generalized library-building support services. |
2 # NOTE: Changing this file will not affect anything until you rerun configure. | 2 # NOTE: Changing this file will not affect anything until you rerun configure. |
3 # | 3 # |
4 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, | 4 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, |
5 # 2007 Free Software Foundation, Inc. | 5 # 2007, 2008 Free Software Foundation, Inc. |
6 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 | 6 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 |
7 # | 7 # |
8 # This program is free software; you can redistribute it and/or modify | 8 # This program is free software; you can redistribute it and/or modify |
9 # it under the terms of the GNU General Public License as published by | 9 # it under the terms of the GNU General Public License as published by |
10 # the Free Software Foundation; either version 2 of the License, or | 10 # the Free Software Foundation; either version 2 of the License, or |
11 # (at your option) any later version. | 11 # (at your option) any later version. |
12 # | 12 # |
13 # This program is distributed in the hope that it will be useful, but | 13 # This program is distributed in the hope that it will be useful, but |
14 # WITHOUT ANY WARRANTY; without even the implied warranty of | 14 # WITHOUT ANY WARRANTY; without even the implied warranty of |
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
(...skipping 20 matching lines...) Expand all Loading... |
36 # The name of this program: | 36 # The name of this program: |
37 progname=`echo "$progpath" | $SED $basename` | 37 progname=`echo "$progpath" | $SED $basename` |
38 modename="$progname" | 38 modename="$progname" |
39 | 39 |
40 # Global variables: | 40 # Global variables: |
41 EXIT_SUCCESS=0 | 41 EXIT_SUCCESS=0 |
42 EXIT_FAILURE=1 | 42 EXIT_FAILURE=1 |
43 | 43 |
44 PROGRAM=ltmain.sh | 44 PROGRAM=ltmain.sh |
45 PACKAGE=libtool | 45 PACKAGE=libtool |
46 VERSION=1.5.24 | 46 VERSION=1.5.26 |
47 TIMESTAMP=" (1.1220.2.455 2007/06/24 02:13:29)" | 47 TIMESTAMP=" (1.1220.2.492 2008/01/30 06:40:56)" |
48 | 48 |
49 # Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). | 49 # Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). |
50 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 50 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
51 emulate sh | 51 emulate sh |
52 NULLCMD=: | 52 NULLCMD=: |
53 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 53 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
54 # is contrary to our usage. Disable this feature. | 54 # is contrary to our usage. Disable this feature. |
55 alias -g '${1+"$@"}'='"$@"' | 55 alias -g '${1+"$@"}'='"$@"' |
56 setopt NO_GLOB_SUBST | 56 setopt NO_GLOB_SUBST |
57 else | 57 else |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 SP2NL='tr \100 \n' | 106 SP2NL='tr \100 \n' |
107 NL2SP='tr \r\n \100\100' | 107 NL2SP='tr \r\n \100\100' |
108 ;; | 108 ;; |
109 esac | 109 esac |
110 | 110 |
111 # NLS nuisances. | 111 # NLS nuisances. |
112 # Only set LANG and LC_ALL to C if already set. | 112 # Only set LANG and LC_ALL to C if already set. |
113 # These must not be set unconditionally because not all systems understand | 113 # These must not be set unconditionally because not all systems understand |
114 # e.g. LANG=C (notably SCO). | 114 # e.g. LANG=C (notably SCO). |
115 # We save the old values to restore during execute mode. | 115 # We save the old values to restore during execute mode. |
116 for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES | 116 lt_env= |
| 117 for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES |
117 do | 118 do |
118 eval "if test \"\${$lt_var+set}\" = set; then | 119 eval "if test \"\${$lt_var+set}\" = set; then |
119 save_$lt_var=\$$lt_var | 120 save_$lt_var=\$$lt_var |
| 121 lt_env=\"$lt_var=\$$lt_var \$lt_env\" |
120 $lt_var=C | 122 $lt_var=C |
121 export $lt_var | 123 export $lt_var |
122 fi" | 124 fi" |
123 done | 125 done |
124 | 126 |
| 127 if test -n "$lt_env"; then |
| 128 lt_env="env $lt_env" |
| 129 fi |
| 130 |
125 # Make sure IFS has a sensible default | 131 # Make sure IFS has a sensible default |
126 lt_nl=' | 132 lt_nl=' |
127 ' | 133 ' |
128 IFS=" $lt_nl" | 134 IFS=" $lt_nl" |
129 | 135 |
130 if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then | 136 if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then |
131 $echo "$modename: not configured to build any kind of library" 1>&2 | 137 $echo "$modename: not configured to build any kind of library" 1>&2 |
132 $echo "Fatal configuration error. See the $PACKAGE docs for more information.
" 1>&2 | 138 $echo "Fatal configuration error. See the $PACKAGE docs for more information.
" 1>&2 |
133 exit $EXIT_FAILURE | 139 exit $EXIT_FAILURE |
134 fi | 140 fi |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 # Have we seen a non-optional argument yet? | 484 # Have we seen a non-optional argument yet? |
479 case $arg in | 485 case $arg in |
480 --help) | 486 --help) |
481 show_help=yes | 487 show_help=yes |
482 ;; | 488 ;; |
483 | 489 |
484 --version) | 490 --version) |
485 echo "\ | 491 echo "\ |
486 $PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP | 492 $PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP |
487 | 493 |
488 Copyright (C) 2007 Free Software Foundation, Inc. | 494 Copyright (C) 2008 Free Software Foundation, Inc. |
489 This is free software; see the source for copying conditions. There is NO | 495 This is free software; see the source for copying conditions. There is NO |
490 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | 496 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
491 exit $? | 497 exit $? |
492 ;; | 498 ;; |
493 | 499 |
494 --config) | 500 --config) |
495 ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/
,$d' $progpath | 501 ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/
,$d' $progpath |
496 # Now print the configurations for the tags. | 502 # Now print the configurations for the tags. |
497 for tagname in $taglist; do | 503 for tagname in $taglist; do |
498 ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIB
TOOL TAG CONFIG: $tagname$/p" < "$progpath" | 504 ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIB
TOOL TAG CONFIG: $tagname$/p" < "$progpath" |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 *.c++) xform=c++ ;; | 787 *.c++) xform=c++ ;; |
782 *.cc) xform=cc ;; | 788 *.cc) xform=cc ;; |
783 *.ii) xform=ii ;; | 789 *.ii) xform=ii ;; |
784 *.class) xform=class ;; | 790 *.class) xform=class ;; |
785 *.cpp) xform=cpp ;; | 791 *.cpp) xform=cpp ;; |
786 *.cxx) xform=cxx ;; | 792 *.cxx) xform=cxx ;; |
787 *.[fF][09]?) xform=[fF][09]. ;; | 793 *.[fF][09]?) xform=[fF][09]. ;; |
788 *.for) xform=for ;; | 794 *.for) xform=for ;; |
789 *.java) xform=java ;; | 795 *.java) xform=java ;; |
790 *.obj) xform=obj ;; | 796 *.obj) xform=obj ;; |
| 797 *.sx) xform=sx ;; |
791 esac | 798 esac |
792 | 799 |
793 libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` | 800 libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` |
794 | 801 |
795 case $libobj in | 802 case $libobj in |
796 *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;; | 803 *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;; |
797 *) | 804 *) |
798 $echo "$modename: cannot determine name of library object from \`$libobj'"
1>&2 | 805 $echo "$modename: cannot determine name of library object from \`$libobj'"
1>&2 |
799 exit $EXIT_FAILURE | 806 exit $EXIT_FAILURE |
800 ;; | 807 ;; |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
949 fi | 956 fi |
950 | 957 |
951 if test -z "$output_obj"; then | 958 if test -z "$output_obj"; then |
952 # Place PIC objects in $objdir | 959 # Place PIC objects in $objdir |
953 command="$command -o $lobj" | 960 command="$command -o $lobj" |
954 fi | 961 fi |
955 | 962 |
956 $run $rm "$lobj" "$output_obj" | 963 $run $rm "$lobj" "$output_obj" |
957 | 964 |
958 $show "$command" | 965 $show "$command" |
959 if $run eval "$command"; then : | 966 if $run eval $lt_env "$command"; then : |
960 else | 967 else |
961 test -n "$output_obj" && $run $rm $removelist | 968 test -n "$output_obj" && $run $rm $removelist |
962 exit $EXIT_FAILURE | 969 exit $EXIT_FAILURE |
963 fi | 970 fi |
964 | 971 |
965 if test "$need_locks" = warn && | 972 if test "$need_locks" = warn && |
966 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then | 973 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then |
967 $echo "\ | 974 $echo "\ |
968 *** ERROR, $lockfile contains: | 975 *** ERROR, $lockfile contains: |
969 `cat $lockfile 2>/dev/null` | 976 `cat $lockfile 2>/dev/null` |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1021 command="$base_compile $qsrcfile $pic_flag" | 1028 command="$base_compile $qsrcfile $pic_flag" |
1022 fi | 1029 fi |
1023 if test "$compiler_c_o" = yes; then | 1030 if test "$compiler_c_o" = yes; then |
1024 command="$command -o $obj" | 1031 command="$command -o $obj" |
1025 fi | 1032 fi |
1026 | 1033 |
1027 # Suppress compiler output if we already did a PIC compilation. | 1034 # Suppress compiler output if we already did a PIC compilation. |
1028 command="$command$suppress_output" | 1035 command="$command$suppress_output" |
1029 $run $rm "$obj" "$output_obj" | 1036 $run $rm "$obj" "$output_obj" |
1030 $show "$command" | 1037 $show "$command" |
1031 if $run eval "$command"; then : | 1038 if $run eval $lt_env "$command"; then : |
1032 else | 1039 else |
1033 $run $rm $removelist | 1040 $run $rm $removelist |
1034 exit $EXIT_FAILURE | 1041 exit $EXIT_FAILURE |
1035 fi | 1042 fi |
1036 | 1043 |
1037 if test "$need_locks" = warn && | 1044 if test "$need_locks" = warn && |
1038 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then | 1045 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then |
1039 $echo "\ | 1046 $echo "\ |
1040 *** ERROR, $lockfile contains: | 1047 *** ERROR, $lockfile contains: |
1041 `cat $lockfile 2>/dev/null` | 1048 `cat $lockfile 2>/dev/null` |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1154 prev= | 1161 prev= |
1155 prevarg= | 1162 prevarg= |
1156 release= | 1163 release= |
1157 rpath= | 1164 rpath= |
1158 xrpath= | 1165 xrpath= |
1159 perm_rpath= | 1166 perm_rpath= |
1160 temp_rpath= | 1167 temp_rpath= |
1161 thread_safe=no | 1168 thread_safe=no |
1162 vinfo= | 1169 vinfo= |
1163 vinfo_number=no | 1170 vinfo_number=no |
| 1171 single_module="${wl}-single_module" |
1164 | 1172 |
1165 func_infer_tag $base_compile | 1173 func_infer_tag $base_compile |
1166 | 1174 |
1167 # We need to know -static, to get the right output filenames. | 1175 # We need to know -static, to get the right output filenames. |
1168 for arg | 1176 for arg |
1169 do | 1177 do |
1170 case $arg in | 1178 case $arg in |
1171 -all-static | -static | -static-libtool-libs) | 1179 -all-static | -static | -static-libtool-libs) |
1172 case $arg in | 1180 case $arg in |
1173 -all-static) | 1181 -all-static) |
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1639 continue | 1647 continue |
1640 ;; | 1648 ;; |
1641 | 1649 |
1642 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) | 1650 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) |
1643 compiler_flags="$compiler_flags $arg" | 1651 compiler_flags="$compiler_flags $arg" |
1644 compile_command="$compile_command $arg" | 1652 compile_command="$compile_command $arg" |
1645 finalize_command="$finalize_command $arg" | 1653 finalize_command="$finalize_command $arg" |
1646 continue | 1654 continue |
1647 ;; | 1655 ;; |
1648 | 1656 |
| 1657 -multi_module) |
| 1658 single_module="${wl}-multi_module" |
| 1659 continue |
| 1660 ;; |
| 1661 |
1649 -module) | 1662 -module) |
1650 module=yes | 1663 module=yes |
1651 continue | 1664 continue |
1652 ;; | 1665 ;; |
1653 | 1666 |
1654 # -64, -mips[0-9] enable 64-bit mode on the SGI compiler | 1667 # -64, -mips[0-9] enable 64-bit mode on the SGI compiler |
1655 # -r[0-9][0-9]* specifies the processor on the SGI compiler | 1668 # -r[0-9][0-9]* specifies the processor on the SGI compiler |
1656 # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler | 1669 # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler |
1657 # +DA*, +DD* enable 64-bit mode on the HP compiler | 1670 # +DA*, +DD* enable 64-bit mode on the HP compiler |
1658 # -q* pass through compiler args for the IBM compiler | 1671 # -q* pass through compiler args for the IBM compiler |
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2142 compiler_flags="$compiler_flags $deplib" | 2155 compiler_flags="$compiler_flags $deplib" |
2143 fi | 2156 fi |
2144 continue | 2157 continue |
2145 ;; | 2158 ;; |
2146 -l*) | 2159 -l*) |
2147 if test "$linkmode" != lib && test "$linkmode" != prog; then | 2160 if test "$linkmode" != lib && test "$linkmode" != prog; then |
2148 $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>
&2 | 2161 $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>
&2 |
2149 continue | 2162 continue |
2150 fi | 2163 fi |
2151 name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` | 2164 name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` |
2152 » for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_
path $shlib_search_path; do | 2165 » if test "$linkmode" = lib; then |
| 2166 » searchdirs="$newlib_search_path $lib_search_path $compiler_lib_searc
h_dirs $sys_lib_search_path $shlib_search_path" |
| 2167 » else |
| 2168 » searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_pat
h $shlib_search_path" |
| 2169 » fi |
| 2170 » for searchdir in $searchdirs; do |
2153 for search_ext in .la $std_shrext .so .a; do | 2171 for search_ext in .la $std_shrext .so .a; do |
2154 # Search the libtool library | 2172 # Search the libtool library |
2155 lib="$searchdir/lib${name}${search_ext}" | 2173 lib="$searchdir/lib${name}${search_ext}" |
2156 if test -f "$lib"; then | 2174 if test -f "$lib"; then |
2157 if test "$search_ext" = ".la"; then | 2175 if test "$search_ext" = ".la"; then |
2158 found=yes | 2176 found=yes |
2159 else | 2177 else |
2160 found=no | 2178 found=no |
2161 fi | 2179 fi |
2162 break 2 | 2180 break 2 |
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2938 $echo "$modename: warning: \`$deplib' seems to be moved" 1>&
2 | 2956 $echo "$modename: warning: \`$deplib' seems to be moved" 1>&
2 |
2939 fi | 2957 fi |
2940 path="$absdir" | 2958 path="$absdir" |
2941 fi | 2959 fi |
2942 depdepl= | 2960 depdepl= |
2943 case $host in | 2961 case $host in |
2944 *-*-darwin*) | 2962 *-*-darwin*) |
2945 # we do not want to link against static libs, | 2963 # we do not want to link against static libs, |
2946 # but need to link against shared | 2964 # but need to link against shared |
2947 eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/
\1/p' $deplib` | 2965 eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/
\1/p' $deplib` |
| 2966 eval deplibdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` |
2948 if test -n "$deplibrary_names" ; then | 2967 if test -n "$deplibrary_names" ; then |
2949 for tmp in $deplibrary_names ; do | 2968 for tmp in $deplibrary_names ; do |
2950 depdepl=$tmp | 2969 depdepl=$tmp |
2951 done | 2970 done |
2952 » » if test -f "$path/$depdepl" ; then | 2971 » » if test -f "$deplibdir/$depdepl" ; then |
| 2972 » » depdepl="$deplibdir/$depdepl" |
| 2973 » » elif test -f "$path/$depdepl" ; then |
2953 depdepl="$path/$depdepl" | 2974 depdepl="$path/$depdepl" |
| 2975 else |
| 2976 # Can't find it, oh well... |
| 2977 depdepl= |
2954 fi | 2978 fi |
2955 # do not add paths which are already there | 2979 # do not add paths which are already there |
2956 case " $newlib_search_path " in | 2980 case " $newlib_search_path " in |
2957 *" $path "*) ;; | 2981 *" $path "*) ;; |
2958 *) newlib_search_path="$newlib_search_path $path";; | 2982 *) newlib_search_path="$newlib_search_path $path";; |
2959 esac | 2983 esac |
2960 fi | 2984 fi |
2961 path="" | 2985 path="" |
2962 ;; | 2986 ;; |
2963 *) | 2987 *) |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3091 done | 3115 done |
3092 dependency_libs=$tmp_libs | 3116 dependency_libs=$tmp_libs |
3093 done # for pass | 3117 done # for pass |
3094 if test "$linkmode" = prog; then | 3118 if test "$linkmode" = prog; then |
3095 dlfiles="$newdlfiles" | 3119 dlfiles="$newdlfiles" |
3096 dlprefiles="$newdlprefiles" | 3120 dlprefiles="$newdlprefiles" |
3097 fi | 3121 fi |
3098 | 3122 |
3099 case $linkmode in | 3123 case $linkmode in |
3100 oldlib) | 3124 oldlib) |
3101 if test -n "$deplibs"; then | 3125 case " $deplibs" in |
3102 » $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&
2 | 3126 *\ -l* | *\ -L*) |
3103 fi | 3127 » $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&
2 ;; |
| 3128 esac |
3104 | 3129 |
3105 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then | 3130 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then |
3106 $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2 | 3131 $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2 |
3107 fi | 3132 fi |
3108 | 3133 |
3109 if test -n "$rpath"; then | 3134 if test -n "$rpath"; then |
3110 $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2 | 3135 $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2 |
3111 fi | 3136 fi |
3112 | 3137 |
3113 if test -n "$xrpath"; then | 3138 if test -n "$xrpath"; then |
(...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4230 | 4255 |
4231 # If -module or -export-dynamic was specified, set the dlname. | 4256 # If -module or -export-dynamic was specified, set the dlname. |
4232 if test "$module" = yes || test "$export_dynamic" = yes; then | 4257 if test "$module" = yes || test "$export_dynamic" = yes; then |
4233 # On all known operating systems, these are identical. | 4258 # On all known operating systems, these are identical. |
4234 dlname="$soname" | 4259 dlname="$soname" |
4235 fi | 4260 fi |
4236 fi | 4261 fi |
4237 ;; | 4262 ;; |
4238 | 4263 |
4239 obj) | 4264 obj) |
4240 if test -n "$deplibs"; then | 4265 case " $deplibs" in |
4241 » $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 | 4266 *\ -l* | *\ -L*) |
4242 fi | 4267 » $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
;; |
| 4268 esac |
4243 | 4269 |
4244 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then | 4270 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then |
4245 $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2 | 4271 $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2 |
4246 fi | 4272 fi |
4247 | 4273 |
4248 if test -n "$rpath"; then | 4274 if test -n "$rpath"; then |
4249 $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2 | 4275 $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2 |
4250 fi | 4276 fi |
4251 | 4277 |
4252 if test -n "$xrpath"; then | 4278 if test -n "$xrpath"; then |
(...skipping 2218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6471 args="$args \"$file\"" | 6497 args="$args \"$file\"" |
6472 done | 6498 done |
6473 | 6499 |
6474 if test -z "$run"; then | 6500 if test -z "$run"; then |
6475 if test -n "$shlibpath_var"; then | 6501 if test -n "$shlibpath_var"; then |
6476 # Export the shlibpath_var. | 6502 # Export the shlibpath_var. |
6477 eval "export $shlibpath_var" | 6503 eval "export $shlibpath_var" |
6478 fi | 6504 fi |
6479 | 6505 |
6480 # Restore saved environment variables | 6506 # Restore saved environment variables |
6481 for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES | 6507 for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES |
6482 do | 6508 do |
6483 eval "if test \"\${save_$lt_var+set}\" = set; then | 6509 eval "if test \"\${save_$lt_var+set}\" = set; then |
6484 $lt_var=\$save_$lt_var; export $lt_var | 6510 $lt_var=\$save_$lt_var; export $lt_var |
6485 fi" | 6511 fi" |
6486 done | 6512 done |
6487 | 6513 |
6488 # Now prepare to actually exec the command. | 6514 # Now prepare to actually exec the command. |
6489 exec_cmd="\$cmd$args" | 6515 exec_cmd="\$cmd$args" |
6490 else | 6516 else |
6491 # Display what would be done. | 6517 # Display what would be done. |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6921 # ### END LIBTOOL TAG CONFIG: disable-shared | 6947 # ### END LIBTOOL TAG CONFIG: disable-shared |
6922 | 6948 |
6923 # ### BEGIN LIBTOOL TAG CONFIG: disable-static | 6949 # ### BEGIN LIBTOOL TAG CONFIG: disable-static |
6924 disable_libs=static | 6950 disable_libs=static |
6925 # ### END LIBTOOL TAG CONFIG: disable-static | 6951 # ### END LIBTOOL TAG CONFIG: disable-static |
6926 | 6952 |
6927 # Local Variables: | 6953 # Local Variables: |
6928 # mode:shell-script | 6954 # mode:shell-script |
6929 # sh-indentation:2 | 6955 # sh-indentation:2 |
6930 # End: | 6956 # End: |
OLD | NEW |