git-svn: trunk@3412
aCaB authored on 2007/12/14 05:20:21... | ... |
@@ -4,7 +4,7 @@ |
4 | 4 |
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, |
5 | 5 |
# Inc. |
6 | 6 |
|
7 |
-timestamp='2006-07-02' |
|
7 |
+timestamp='2007-07-22' |
|
8 | 8 |
|
9 | 9 |
# This file is free software; you can redistribute it and/or modify it |
10 | 10 |
# under the terms of the GNU General Public License as published by |
... | ... |
@@ -161,6 +161,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in |
161 | 161 |
arm*) machine=arm-unknown ;; |
162 | 162 |
sh3el) machine=shl-unknown ;; |
163 | 163 |
sh3eb) machine=sh-unknown ;; |
164 |
+ sh5el) machine=sh5le-unknown ;; |
|
164 | 165 |
*) machine=${UNAME_MACHINE_ARCH}-unknown ;; |
165 | 166 |
esac |
166 | 167 |
# The Operating System including object format, if it has switched |
... | ... |
@@ -329,7 +330,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in |
329 | 329 |
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) |
330 | 330 |
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
331 | 331 |
exit ;; |
332 |
- i86pc:SunOS:5.*:*) |
|
332 |
+ i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) |
|
333 | 333 |
echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
334 | 334 |
exit ;; |
335 | 335 |
sun4*:SunOS:6*:*) |
... | ... |
@@ -780,7 +781,7 @@ EOF |
780 | 780 |
i*:CYGWIN*:*) |
781 | 781 |
echo ${UNAME_MACHINE}-pc-cygwin |
782 | 782 |
exit ;; |
783 |
- i*:MINGW*:*) |
|
783 |
+ *:MINGW*:*) |
|
784 | 784 |
echo ${UNAME_MACHINE}-pc-mingw32 |
785 | 785 |
exit ;; |
786 | 786 |
i*:windows32*:*) |
... | ... |
@@ -790,12 +791,15 @@ EOF |
790 | 790 |
i*:PW*:*) |
791 | 791 |
echo ${UNAME_MACHINE}-pc-pw32 |
792 | 792 |
exit ;; |
793 |
- x86:Interix*:[3456]*) |
|
794 |
- echo i586-pc-interix${UNAME_RELEASE} |
|
795 |
- exit ;; |
|
796 |
- EM64T:Interix*:[3456]*) |
|
797 |
- echo x86_64-unknown-interix${UNAME_RELEASE} |
|
798 |
- exit ;; |
|
793 |
+ *:Interix*:[3456]*) |
|
794 |
+ case ${UNAME_MACHINE} in |
|
795 |
+ x86) |
|
796 |
+ echo i586-pc-interix${UNAME_RELEASE} |
|
797 |
+ exit ;; |
|
798 |
+ EM64T | authenticamd) |
|
799 |
+ echo x86_64-unknown-interix${UNAME_RELEASE} |
|
800 |
+ exit ;; |
|
801 |
+ esac ;; |
|
799 | 802 |
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) |
800 | 803 |
echo i${UNAME_MACHINE}-pc-mks |
801 | 804 |
exit ;; |
... | ... |
@@ -950,6 +954,9 @@ EOF |
950 | 950 |
x86_64:Linux:*:*) |
951 | 951 |
echo x86_64-unknown-linux-gnu |
952 | 952 |
exit ;; |
953 |
+ xtensa:Linux:*:*) |
|
954 |
+ echo xtensa-unknown-linux-gnu |
|
955 |
+ exit ;; |
|
953 | 956 |
i*86:Linux:*:*) |
954 | 957 |
# The BFD linker knows what the default object file format is, so |
955 | 958 |
# first see if it will tell us. cd to the root directory to prevent |
... | ... |
@@ -1208,6 +1215,15 @@ EOF |
1208 | 1208 |
SX-6:SUPER-UX:*:*) |
1209 | 1209 |
echo sx6-nec-superux${UNAME_RELEASE} |
1210 | 1210 |
exit ;; |
1211 |
+ SX-7:SUPER-UX:*:*) |
|
1212 |
+ echo sx7-nec-superux${UNAME_RELEASE} |
|
1213 |
+ exit ;; |
|
1214 |
+ SX-8:SUPER-UX:*:*) |
|
1215 |
+ echo sx8-nec-superux${UNAME_RELEASE} |
|
1216 |
+ exit ;; |
|
1217 |
+ SX-8R:SUPER-UX:*:*) |
|
1218 |
+ echo sx8r-nec-superux${UNAME_RELEASE} |
|
1219 |
+ exit ;; |
|
1211 | 1220 |
Power*:Rhapsody:*:*) |
1212 | 1221 |
echo powerpc-apple-rhapsody${UNAME_RELEASE} |
1213 | 1222 |
exit ;; |
... | ... |
@@ -4,7 +4,7 @@ |
4 | 4 |
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, |
5 | 5 |
# Inc. |
6 | 6 |
|
7 |
-timestamp='2006-09-20' |
|
7 |
+timestamp='2007-06-28' |
|
8 | 8 |
|
9 | 9 |
# This file is (in principle) common to ALL GNU software. |
10 | 10 |
# The presence of a machine in this file suggests that SOME GNU software |
... | ... |
@@ -245,12 +245,12 @@ case $basic_machine in |
245 | 245 |
| bfin \ |
246 | 246 |
| c4x | clipper \ |
247 | 247 |
| d10v | d30v | dlx | dsp16xx \ |
248 |
- | fr30 | frv \ |
|
248 |
+ | fido | fr30 | frv \ |
|
249 | 249 |
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
250 | 250 |
| i370 | i860 | i960 | ia64 \ |
251 | 251 |
| ip2k | iq2000 \ |
252 | 252 |
| m32c | m32r | m32rle | m68000 | m68k | m88k \ |
253 |
- | maxq | mb | microblaze | mcore \ |
|
253 |
+ | maxq | mb | microblaze | mcore | mep \ |
|
254 | 254 |
| mips | mipsbe | mipseb | mipsel | mipsle \ |
255 | 255 |
| mips16 \ |
256 | 256 |
| mips64 | mips64el \ |
... | ... |
@@ -324,7 +324,7 @@ case $basic_machine in |
324 | 324 |
| clipper-* | craynv-* | cydra-* \ |
325 | 325 |
| d10v-* | d30v-* | dlx-* \ |
326 | 326 |
| elxsi-* \ |
327 |
- | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ |
|
327 |
+ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
|
328 | 328 |
| h8300-* | h8500-* \ |
329 | 329 |
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
330 | 330 |
| i*86-* | i860-* | i960-* | ia64-* \ |
... | ... |
@@ -475,8 +475,8 @@ case $basic_machine in |
475 | 475 |
basic_machine=craynv-cray |
476 | 476 |
os=-unicosmp |
477 | 477 |
;; |
478 |
- cr16c) |
|
479 |
- basic_machine=cr16c-unknown |
|
478 |
+ cr16) |
|
479 |
+ basic_machine=cr16-unknown |
|
480 | 480 |
os=-elf |
481 | 481 |
;; |
482 | 482 |
crds | unos) |
... | ... |
@@ -683,6 +683,10 @@ case $basic_machine in |
683 | 683 |
basic_machine=i386-pc |
684 | 684 |
os=-mingw32 |
685 | 685 |
;; |
686 |
+ mingw32ce) |
|
687 |
+ basic_machine=arm-unknown |
|
688 |
+ os=-mingw32ce |
|
689 |
+ ;; |
|
686 | 690 |
miniframe) |
687 | 691 |
basic_machine=m68000-convergent |
688 | 692 |
;; |
... | ... |
@@ -925,6 +929,9 @@ case $basic_machine in |
925 | 925 |
basic_machine=sh-hitachi |
926 | 926 |
os=-hms |
927 | 927 |
;; |
928 |
+ sh5el) |
|
929 |
+ basic_machine=sh5le-unknown |
|
930 |
+ ;; |
|
928 | 931 |
sh64) |
929 | 932 |
basic_machine=sh64-unknown |
930 | 933 |
;; |
... | ... |
@@ -1219,7 +1226,7 @@ case $os in |
1219 | 1219 |
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1220 | 1220 |
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1221 | 1221 |
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1222 |
- | -skyos* | -haiku* | -rdos* | -toppers*) |
|
1222 |
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) |
|
1223 | 1223 |
# Remember, each alternative MUST END IN *, to match a version number. |
1224 | 1224 |
;; |
1225 | 1225 |
-qnx*) |
... | ... |
@@ -1414,6 +1421,9 @@ case $basic_machine in |
1414 | 1414 |
m68*-cisco) |
1415 | 1415 |
os=-aout |
1416 | 1416 |
;; |
1417 |
+ mep-*) |
|
1418 |
+ os=-elf |
|
1419 |
+ ;; |
|
1417 | 1420 |
mips*-cisco) |
1418 | 1421 |
os=-elf |
1419 | 1422 |
;; |
... | ... |
@@ -21,7 +21,7 @@ SUBDIRS = lzma . |
21 | 21 |
INCLUDES = -I$(top_srcdir) -I@srcdir@/nsis -I@srcdir@/lzma |
22 | 22 |
|
23 | 23 |
if ENABLE_UNRAR |
24 |
-libclamav_la_LIBADD = @LIBCLAMAV_LIBS@ @THREAD_LIBS@ $(top_builddir)/libclamunrar_iface/libclamunrar_iface.la |
|
24 |
+libclamav_la_LIBADD = @LIBCLAMAV_LIBS@ @THREAD_LIBS@ lzma/liblzma.la $(top_builddir)/libclamunrar_iface/libclamunrar_iface.la |
|
25 | 25 |
else |
26 | 26 |
libclamav_la_LIBADD = @LIBCLAMAV_LIBS@ @THREAD_LIBS@ lzma/liblzma.la |
27 | 27 |
endif |
... | ... |
@@ -77,7 +77,8 @@ am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" |
77 | 77 |
libLTLIBRARIES_INSTALL = $(INSTALL) |
78 | 78 |
LTLIBRARIES = $(lib_LTLIBRARIES) |
79 | 79 |
@ENABLE_UNRAR_FALSE@libclamav_la_DEPENDENCIES = lzma/liblzma.la |
80 |
-@ENABLE_UNRAR_TRUE@libclamav_la_DEPENDENCIES = $(top_builddir)/libclamunrar_iface/libclamunrar_iface.la |
|
80 |
+@ENABLE_UNRAR_TRUE@libclamav_la_DEPENDENCIES = lzma/liblzma.la \ |
|
81 |
+@ENABLE_UNRAR_TRUE@ $(top_builddir)/libclamunrar_iface/libclamunrar_iface.la |
|
81 | 82 |
am_libclamav_la_OBJECTS = matcher-ac.lo matcher-bm.lo matcher.lo \ |
82 | 83 |
md5.lo others.lo readdb.lo cvd.lo dsig.lo str.lo scanners.lo \ |
83 | 84 |
filetypes.lo rtf.lo blob.lo mbox.lo message.lo snprintf.lo \ |
... | ... |
@@ -248,7 +249,7 @@ target_vendor = @target_vendor@ |
248 | 248 |
SUBDIRS = lzma . |
249 | 249 |
INCLUDES = -I$(top_srcdir) -I@srcdir@/nsis -I@srcdir@/lzma |
250 | 250 |
@ENABLE_UNRAR_FALSE@libclamav_la_LIBADD = @LIBCLAMAV_LIBS@ @THREAD_LIBS@ lzma/liblzma.la |
251 |
-@ENABLE_UNRAR_TRUE@libclamav_la_LIBADD = @LIBCLAMAV_LIBS@ @THREAD_LIBS@ $(top_builddir)/libclamunrar_iface/libclamunrar_iface.la |
|
251 |
+@ENABLE_UNRAR_TRUE@libclamav_la_LIBADD = @LIBCLAMAV_LIBS@ @THREAD_LIBS@ lzma/liblzma.la $(top_builddir)/libclamunrar_iface/libclamunrar_iface.la |
|
252 | 252 |
libclamav_la_LDFLAGS = @TH_SAFE@ -version-info @LIBCLAMAV_VERSION@ -no-undefined |
253 | 253 |
include_HEADERS = clamav.h |
254 | 254 |
libclamav_la_SOURCES = \ |
... | ... |
@@ -1652,7 +1652,7 @@ static int cli_scanraw(int desc, cli_ctx *ctx, cli_file_t type, uint8_t typercg) |
1652 | 1652 |
case CL_TYPE_ZIPSFX: |
1653 | 1653 |
if(SCAN_ARCHIVE && type == CL_TYPE_MSEXE && (DCONF_ARCH & ARCH_CONF_ZIP) && fpt->offset) { |
1654 | 1654 |
cli_dbgmsg("ZIP-SFX signature found at %u\n", (unsigned int) fpt->offset); |
1655 |
- nret = cli_unzip_single(desc, ctx, fpt->offset, &lastzip); |
|
1655 |
+ nret = cli_unzip_single(desc, ctx, fpt->offset); |
|
1656 | 1656 |
} |
1657 | 1657 |
break; |
1658 | 1658 |
|
... | ... |
@@ -1819,7 +1819,7 @@ int cli_magic_scandesc(int desc, cli_ctx *ctx) |
1819 | 1819 |
|
1820 | 1820 |
case CL_TYPE_ZIP: |
1821 | 1821 |
if(SCAN_ARCHIVE && (DCONF_ARCH & ARCH_CONF_ZIP)) |
1822 |
- ret = cli_unzip(desc, ctx, 0, NULL); |
|
1822 |
+ ret = cli_unzip(desc, ctx); |
|
1823 | 1823 |
break; |
1824 | 1824 |
|
1825 | 1825 |
case CL_TYPE_GZ: |
... | ... |
@@ -1,8 +1,8 @@ |
1 | 1 |
# ltmain.sh - Provide generalized library-building support services. |
2 | 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 |
|
5 |
-# Free Software Foundation, Inc. |
|
4 |
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, |
|
5 |
+# 2007 Free Software Foundation, Inc. |
|
6 | 6 |
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 |
7 | 7 |
# |
8 | 8 |
# This program is free software; you can redistribute it and/or modify |
... | ... |
@@ -43,14 +43,22 @@ EXIT_FAILURE=1 |
43 | 43 |
|
44 | 44 |
PROGRAM=ltmain.sh |
45 | 45 |
PACKAGE=libtool |
46 |
-VERSION="1.5.22 Debian 1.5.22-4" |
|
47 |
-TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)" |
|
48 |
- |
|
49 |
-# See if we are running on zsh, and set the options which allow our |
|
50 |
-# commands through without removal of \ escapes. |
|
51 |
-if test -n "${ZSH_VERSION+set}" ; then |
|
46 |
+VERSION="1.5.24 Debian 1.5.24-2" |
|
47 |
+TIMESTAMP=" (1.1220.2.456 2007/06/24 02:25:32)" |
|
48 |
+ |
|
49 |
+# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). |
|
50 |
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
51 |
+ emulate sh |
|
52 |
+ NULLCMD=: |
|
53 |
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|
54 |
+ # is contrary to our usage. Disable this feature. |
|
55 |
+ alias -g '${1+"$@"}'='"$@"' |
|
52 | 56 |
setopt NO_GLOB_SUBST |
57 |
+else |
|
58 |
+ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac |
|
53 | 59 |
fi |
60 |
+BIN_SH=xpg4; export BIN_SH # for Tru64 |
|
61 |
+DUALCASE=1; export DUALCASE # for MKS sh |
|
54 | 62 |
|
55 | 63 |
# Check that we have a working $echo. |
56 | 64 |
if test "X$1" = X--no-reexec; then |
... | ... |
@@ -105,12 +113,14 @@ esac |
105 | 105 |
# These must not be set unconditionally because not all systems understand |
106 | 106 |
# e.g. LANG=C (notably SCO). |
107 | 107 |
# We save the old values to restore during execute mode. |
108 |
-if test "${LC_ALL+set}" = set; then |
|
109 |
- save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL |
|
110 |
-fi |
|
111 |
-if test "${LANG+set}" = set; then |
|
112 |
- save_LANG="$LANG"; LANG=C; export LANG |
|
113 |
-fi |
|
108 |
+for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES |
|
109 |
+do |
|
110 |
+ eval "if test \"\${$lt_var+set}\" = set; then |
|
111 |
+ save_$lt_var=\$$lt_var |
|
112 |
+ $lt_var=C |
|
113 |
+ export $lt_var |
|
114 |
+ fi" |
|
115 |
+done |
|
114 | 116 |
|
115 | 117 |
# Make sure IFS has a sensible default |
116 | 118 |
lt_nl=' |
... | ... |
@@ -136,6 +146,8 @@ duplicate_deps=no |
136 | 136 |
preserve_args= |
137 | 137 |
lo2o="s/\\.lo\$/.${objext}/" |
138 | 138 |
o2lo="s/\\.${objext}\$/.lo/" |
139 |
+extracted_archives= |
|
140 |
+extracted_serial=0 |
|
139 | 141 |
|
140 | 142 |
##################################### |
141 | 143 |
# Shell function definitions: |
... | ... |
@@ -196,7 +208,13 @@ func_win32_libid () |
196 | 196 |
if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \ |
197 | 197 |
$EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then |
198 | 198 |
win32_nmres=`eval $NM -f posix -A $1 | \ |
199 |
- $SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'` |
|
199 |
+ $SED -n -e '1,100{ |
|
200 |
+ / I /{ |
|
201 |
+ s,.*,import, |
|
202 |
+ p |
|
203 |
+ q |
|
204 |
+ } |
|
205 |
+ }'` |
|
200 | 206 |
case $win32_nmres in |
201 | 207 |
import*) win32_libid_type="x86 archive import";; |
202 | 208 |
*) win32_libid_type="x86 archive static";; |
... | ... |
@@ -327,7 +345,17 @@ func_extract_archives () |
327 | 327 |
*) my_xabs=`pwd`"/$my_xlib" ;; |
328 | 328 |
esac |
329 | 329 |
my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'` |
330 |
- my_xdir="$my_gentop/$my_xlib" |
|
330 |
+ my_xlib_u=$my_xlib |
|
331 |
+ while :; do |
|
332 |
+ case " $extracted_archives " in |
|
333 |
+ *" $my_xlib_u "*) |
|
334 |
+ extracted_serial=`expr $extracted_serial + 1` |
|
335 |
+ my_xlib_u=lt$extracted_serial-$my_xlib ;; |
|
336 |
+ *) break ;; |
|
337 |
+ esac |
|
338 |
+ done |
|
339 |
+ extracted_archives="$extracted_archives $my_xlib_u" |
|
340 |
+ my_xdir="$my_gentop/$my_xlib_u" |
|
331 | 341 |
|
332 | 342 |
$show "${rm}r $my_xdir" |
333 | 343 |
$run ${rm}r "$my_xdir" |
... | ... |
@@ -454,11 +482,12 @@ do |
454 | 454 |
;; |
455 | 455 |
|
456 | 456 |
--version) |
457 |
- $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP" |
|
458 |
- $echo |
|
459 |
- $echo "Copyright (C) 2005 Free Software Foundation, Inc." |
|
460 |
- $echo "This is free software; see the source for copying conditions. There is NO" |
|
461 |
- $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
|
457 |
+ echo "\ |
|
458 |
+$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP |
|
459 |
+ |
|
460 |
+Copyright (C) 2007 Free Software Foundation, Inc. |
|
461 |
+This is free software; see the source for copying conditions. There is NO |
|
462 |
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
|
462 | 463 |
exit $? |
463 | 464 |
;; |
464 | 465 |
|
... | ... |
@@ -755,9 +784,10 @@ if test -z "$show_help"; then |
755 | 755 |
*.class) xform=class ;; |
756 | 756 |
*.cpp) xform=cpp ;; |
757 | 757 |
*.cxx) xform=cxx ;; |
758 |
- *.f90) xform=f90 ;; |
|
758 |
+ *.[fF][09]?) xform=[fF][09]. ;; |
|
759 | 759 |
*.for) xform=for ;; |
760 | 760 |
*.java) xform=java ;; |
761 |
+ *.obj) xform=obj ;; |
|
761 | 762 |
esac |
762 | 763 |
|
763 | 764 |
libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` |
... | ... |
@@ -1138,8 +1168,9 @@ EOF |
1138 | 1138 |
for arg |
1139 | 1139 |
do |
1140 | 1140 |
case $arg in |
1141 |
- -all-static | -static) |
|
1142 |
- if test "X$arg" = "X-all-static"; then |
|
1141 |
+ -all-static | -static | -static-libtool-libs) |
|
1142 |
+ case $arg in |
|
1143 |
+ -all-static) |
|
1143 | 1144 |
if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then |
1144 | 1145 |
$echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2 |
1145 | 1146 |
fi |
... | ... |
@@ -1147,12 +1178,20 @@ EOF |
1147 | 1147 |
dlopen_self=$dlopen_self_static |
1148 | 1148 |
fi |
1149 | 1149 |
prefer_static_libs=yes |
1150 |
- else |
|
1150 |
+ ;; |
|
1151 |
+ -static) |
|
1151 | 1152 |
if test -z "$pic_flag" && test -n "$link_static_flag"; then |
1152 | 1153 |
dlopen_self=$dlopen_self_static |
1153 | 1154 |
fi |
1154 | 1155 |
prefer_static_libs=built |
1155 |
- fi |
|
1156 |
+ ;; |
|
1157 |
+ -static-libtool-libs) |
|
1158 |
+ if test -z "$pic_flag" && test -n "$link_static_flag"; then |
|
1159 |
+ dlopen_self=$dlopen_self_static |
|
1160 |
+ fi |
|
1161 |
+ prefer_static_libs=yes |
|
1162 |
+ ;; |
|
1163 |
+ esac |
|
1156 | 1164 |
build_libtool_libs=no |
1157 | 1165 |
build_old_libs=yes |
1158 | 1166 |
break |
... | ... |
@@ -1600,7 +1639,7 @@ EOF |
1600 | 1600 |
continue |
1601 | 1601 |
;; |
1602 | 1602 |
|
1603 |
- -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) |
|
1603 |
+ -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) |
|
1604 | 1604 |
compiler_flags="$compiler_flags $arg" |
1605 | 1605 |
compile_command="$compile_command $arg" |
1606 | 1606 |
finalize_command="$finalize_command $arg" |
... | ... |
@@ -1620,10 +1659,11 @@ EOF |
1620 | 1620 |
# -m* pass through architecture-specific compiler args for GCC |
1621 | 1621 |
# -m*, -t[45]*, -txscale* pass through architecture-specific |
1622 | 1622 |
# compiler args for GCC |
1623 |
- # -pg pass through profiling flag for GCC |
|
1623 |
+ # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC |
|
1624 |
+ # -F/path gives path to uninstalled frameworks, gcc on darwin |
|
1624 | 1625 |
# @file GCC response files |
1625 |
- -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \ |
|
1626 |
- -t[45]*|-txscale*|@*) |
|
1626 |
+ -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ |
|
1627 |
+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) |
|
1627 | 1628 |
|
1628 | 1629 |
# Unknown arguments in both finalize_command and compile_command need |
1629 | 1630 |
# to be aesthetically quoted because they are evaled later. |
... | ... |
@@ -1651,9 +1691,9 @@ EOF |
1651 | 1651 |
|
1652 | 1652 |
-no-install) |
1653 | 1653 |
case $host in |
1654 |
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) |
|
1654 |
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*) |
|
1655 | 1655 |
# The PATH hackery in wrapper scripts is required on Windows |
1656 |
- # in order for the loader to find any dlls it needs. |
|
1656 |
+ # and Darwin in order for the loader to find any dlls it needs. |
|
1657 | 1657 |
$echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2 |
1658 | 1658 |
$echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2 |
1659 | 1659 |
fast_install=no |
... | ... |
@@ -1712,7 +1752,7 @@ EOF |
1712 | 1712 |
continue |
1713 | 1713 |
;; |
1714 | 1714 |
|
1715 |
- -static) |
|
1715 |
+ -static | -static-libtool-libs) |
|
1716 | 1716 |
# The effects of -static are defined in a previous loop. |
1717 | 1717 |
# We used to do the same as -all-static on platforms that |
1718 | 1718 |
# didn't have a PIC flag, but the assumption that the effects |
... | ... |
@@ -2097,7 +2137,7 @@ EOF |
2097 | 2097 |
lib= |
2098 | 2098 |
found=no |
2099 | 2099 |
case $deplib in |
2100 |
- -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) |
|
2100 |
+ -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) |
|
2101 | 2101 |
if test "$linkmode,$pass" = "prog,link"; then |
2102 | 2102 |
compile_deplibs="$deplib $compile_deplibs" |
2103 | 2103 |
finalize_deplibs="$deplib $finalize_deplibs" |
... | ... |
@@ -2493,7 +2533,9 @@ EOF |
2493 | 2493 |
|
2494 | 2494 |
if test "$linkmode,$pass" = "prog,link"; then |
2495 | 2495 |
if test -n "$library_names" && |
2496 |
- { test "$prefer_static_libs" = no || test -z "$old_library"; }; then |
|
2496 |
+ { { test "$prefer_static_libs" = no || |
|
2497 |
+ test "$prefer_static_libs,$installed" = "built,yes"; } || |
|
2498 |
+ test -z "$old_library"; }; then |
|
2497 | 2499 |
# We need to hardcode the library path |
2498 | 2500 |
if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then |
2499 | 2501 |
# Make sure the rpath contains only unique directories. |
... | ... |
@@ -3189,7 +3231,7 @@ EOF |
3189 | 3189 |
# which has an extra 1 added just for fun |
3190 | 3190 |
# |
3191 | 3191 |
case $version_type in |
3192 |
- darwin|linux|osf|windows) |
|
3192 |
+ darwin|linux|osf|windows|none) |
|
3193 | 3193 |
current=`expr $number_major + $number_minor` |
3194 | 3194 |
age="$number_minor" |
3195 | 3195 |
revision="$number_revision" |
... | ... |
@@ -3200,9 +3242,10 @@ EOF |
3200 | 3200 |
age="0" |
3201 | 3201 |
;; |
3202 | 3202 |
irix|nonstopux) |
3203 |
- current=`expr $number_major + $number_minor - 1` |
|
3203 |
+ current=`expr $number_major + $number_minor` |
|
3204 | 3204 |
age="$number_minor" |
3205 | 3205 |
revision="$number_minor" |
3206 |
+ lt_irix_increment=no |
|
3206 | 3207 |
;; |
3207 | 3208 |
*) |
3208 | 3209 |
$echo "$modename: unknown library version type \`$version_type'" 1>&2 |
... | ... |
@@ -3266,7 +3309,8 @@ EOF |
3266 | 3266 |
versuffix="$major.$age.$revision" |
3267 | 3267 |
# Darwin ld doesn't like 0 for these options... |
3268 | 3268 |
minor_current=`expr $current + 1` |
3269 |
- verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" |
|
3269 |
+ xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" |
|
3270 |
+ verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" |
|
3270 | 3271 |
;; |
3271 | 3272 |
|
3272 | 3273 |
freebsd-aout) |
... | ... |
@@ -3280,8 +3324,11 @@ EOF |
3280 | 3280 |
;; |
3281 | 3281 |
|
3282 | 3282 |
irix | nonstopux) |
3283 |
- major=`expr $current - $age + 1` |
|
3284 |
- |
|
3283 |
+ if test "X$lt_irix_increment" = "Xno"; then |
|
3284 |
+ major=`expr $current - $age` |
|
3285 |
+ else |
|
3286 |
+ major=`expr $current - $age + 1` |
|
3287 |
+ fi |
|
3285 | 3288 |
case $version_type in |
3286 | 3289 |
nonstopux) verstring_prefix=nonstopux ;; |
3287 | 3290 |
*) verstring_prefix=sgi ;; |
... | ... |
@@ -3418,11 +3465,11 @@ EOF |
3418 | 3418 |
fi |
3419 | 3419 |
|
3420 | 3420 |
# Eliminate all temporary directories. |
3421 |
- for path in $notinst_path; do |
|
3422 |
- lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"` |
|
3423 |
- deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"` |
|
3424 |
- dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"` |
|
3425 |
- done |
|
3421 |
+ #for path in $notinst_path; do |
|
3422 |
+ # lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"` |
|
3423 |
+ # deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"` |
|
3424 |
+ # dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"` |
|
3425 |
+ #done |
|
3426 | 3426 |
|
3427 | 3427 |
if test -n "$xrpath"; then |
3428 | 3428 |
# If the user specified any rpath flags, then add them. |
... | ... |
@@ -3523,13 +3570,12 @@ EOF |
3523 | 3523 |
int main() { return 0; } |
3524 | 3524 |
EOF |
3525 | 3525 |
$rm conftest |
3526 |
- $LTCC $LTCFLAGS -o conftest conftest.c $deplibs |
|
3527 |
- if test "$?" -eq 0 ; then |
|
3526 |
+ if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then |
|
3528 | 3527 |
ldd_output=`ldd conftest` |
3529 | 3528 |
for i in $deplibs; do |
3530 | 3529 |
name=`expr $i : '-l\(.*\)'` |
3531 | 3530 |
# If $name is empty we are operating on a -L argument. |
3532 |
- if test "$name" != "" && test "$name" -ne "0"; then |
|
3531 |
+ if test "$name" != "" && test "$name" != "0"; then |
|
3533 | 3532 |
if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then |
3534 | 3533 |
case " $predeps $postdeps " in |
3535 | 3534 |
*" $i "*) |
... | ... |
@@ -3568,9 +3614,7 @@ EOF |
3568 | 3568 |
# If $name is empty we are operating on a -L argument. |
3569 | 3569 |
if test "$name" != "" && test "$name" != "0"; then |
3570 | 3570 |
$rm conftest |
3571 |
- $LTCC $LTCFLAGS -o conftest conftest.c $i |
|
3572 |
- # Did it work? |
|
3573 |
- if test "$?" -eq 0 ; then |
|
3571 |
+ if $LTCC $LTCFLAGS -o conftest conftest.c $i; then |
|
3574 | 3572 |
ldd_output=`ldd conftest` |
3575 | 3573 |
if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then |
3576 | 3574 |
case " $predeps $postdeps " in |
... | ... |
@@ -3602,7 +3646,7 @@ EOF |
3602 | 3602 |
droppeddeps=yes |
3603 | 3603 |
$echo |
3604 | 3604 |
$echo "*** Warning! Library $i is needed by this library but I was not able to" |
3605 |
- $echo "*** make it link in! You will probably need to install it or some" |
|
3605 |
+ $echo "*** make it link in! You will probably need to install it or some" |
|
3606 | 3606 |
$echo "*** library that it depends on before this library will be fully" |
3607 | 3607 |
$echo "*** functional. Installing it before continuing would be even better." |
3608 | 3608 |
fi |
... | ... |
@@ -3888,7 +3932,10 @@ EOF |
3888 | 3888 |
test -n "$hardcode_libdirs"; then |
3889 | 3889 |
libdir="$hardcode_libdirs" |
3890 | 3890 |
if test -n "$hardcode_libdir_flag_spec_ld"; then |
3891 |
- eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" |
|
3891 |
+ case $archive_cmds in |
|
3892 |
+ *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;; |
|
3893 |
+ *) eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;; |
|
3894 |
+ esac |
|
3892 | 3895 |
else |
3893 | 3896 |
eval dep_rpath=\"$hardcode_libdir_flag_spec\" |
3894 | 3897 |
fi |
... | ... |
@@ -4247,12 +4294,14 @@ EOF |
4247 | 4247 |
reload_conv_objs= |
4248 | 4248 |
gentop= |
4249 | 4249 |
# reload_cmds runs $LD directly, so let us get rid of |
4250 |
- # -Wl from whole_archive_flag_spec |
|
4250 |
+ # -Wl from whole_archive_flag_spec and hope we can get by with |
|
4251 |
+ # turning comma into space.. |
|
4251 | 4252 |
wl= |
4252 | 4253 |
|
4253 | 4254 |
if test -n "$convenience"; then |
4254 | 4255 |
if test -n "$whole_archive_flag_spec"; then |
4255 |
- eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\" |
|
4256 |
+ eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" |
|
4257 |
+ reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` |
|
4256 | 4258 |
else |
4257 | 4259 |
gentop="$output_objdir/${obj}x" |
4258 | 4260 |
generated="$generated $gentop" |
... | ... |
@@ -4700,16 +4749,16 @@ static const void *lt_preloaded_setup() { |
4700 | 4700 |
case $host in |
4701 | 4701 |
*cygwin* | *mingw* ) |
4702 | 4702 |
if test -f "$output_objdir/${outputname}.def" ; then |
4703 |
- compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"` |
|
4704 |
- finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"` |
|
4703 |
+ compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` |
|
4704 |
+ finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` |
|
4705 | 4705 |
else |
4706 |
- compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` |
|
4707 |
- finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` |
|
4706 |
+ compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` |
|
4707 |
+ finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` |
|
4708 | 4708 |
fi |
4709 | 4709 |
;; |
4710 | 4710 |
* ) |
4711 |
- compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` |
|
4712 |
- finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` |
|
4711 |
+ compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` |
|
4712 |
+ finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` |
|
4713 | 4713 |
;; |
4714 | 4714 |
esac |
4715 | 4715 |
;; |
... | ... |
@@ -4724,13 +4773,13 @@ static const void *lt_preloaded_setup() { |
4724 | 4724 |
# really was required. |
4725 | 4725 |
|
4726 | 4726 |
# Nullify the symbol file. |
4727 |
- compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` |
|
4728 |
- finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` |
|
4727 |
+ compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` |
|
4728 |
+ finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` |
|
4729 | 4729 |
fi |
4730 | 4730 |
|
4731 | 4731 |
if test "$need_relink" = no || test "$build_libtool_libs" != yes; then |
4732 | 4732 |
# Replace the output file specification. |
4733 |
- compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` |
|
4733 |
+ compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP` |
|
4734 | 4734 |
link_command="$compile_command$compile_rpath" |
4735 | 4735 |
|
4736 | 4736 |
# We have no uninstalled library dependencies, so finalize right now. |
... | ... |
@@ -4817,7 +4866,7 @@ static const void *lt_preloaded_setup() { |
4817 | 4817 |
if test "$fast_install" != no; then |
4818 | 4818 |
link_command="$finalize_var$compile_command$finalize_rpath" |
4819 | 4819 |
if test "$fast_install" = yes; then |
4820 |
- relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` |
|
4820 |
+ relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP` |
|
4821 | 4821 |
else |
4822 | 4822 |
# fast_install is set to needless |
4823 | 4823 |
relink_command= |
... | ... |
@@ -4854,7 +4903,7 @@ static const void *lt_preloaded_setup() { |
4854 | 4854 |
fi |
4855 | 4855 |
done |
4856 | 4856 |
relink_command="(cd `pwd`; $relink_command)" |
4857 |
- relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` |
|
4857 |
+ relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` |
|
4858 | 4858 |
fi |
4859 | 4859 |
|
4860 | 4860 |
# Quote $echo for shipping. |
... | ... |
@@ -5261,6 +5310,20 @@ EOF |
5261 | 5261 |
Xsed='${SED} -e 1s/^X//' |
5262 | 5262 |
sed_quote_subst='$sed_quote_subst' |
5263 | 5263 |
|
5264 |
+# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). |
|
5265 |
+if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then |
|
5266 |
+ emulate sh |
|
5267 |
+ NULLCMD=: |
|
5268 |
+ # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which |
|
5269 |
+ # is contrary to our usage. Disable this feature. |
|
5270 |
+ alias -g '\${1+\"\$@\"}'='\"\$@\"' |
|
5271 |
+ setopt NO_GLOB_SUBST |
|
5272 |
+else |
|
5273 |
+ case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac |
|
5274 |
+fi |
|
5275 |
+BIN_SH=xpg4; export BIN_SH # for Tru64 |
|
5276 |
+DUALCASE=1; export DUALCASE # for MKS sh |
|
5277 |
+ |
|
5264 | 5278 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
5265 | 5279 |
# if CDPATH is set. |
5266 | 5280 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
... | ... |
@@ -5403,7 +5466,7 @@ else |
5403 | 5403 |
;; |
5404 | 5404 |
esac |
5405 | 5405 |
$echo >> $output "\ |
5406 |
- \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\" |
|
5406 |
+ \$echo \"\$0: cannot exec \$program \$*\" |
|
5407 | 5407 |
exit $EXIT_FAILURE |
5408 | 5408 |
fi |
5409 | 5409 |
else |
... | ... |
@@ -5589,7 +5652,7 @@ fi\ |
5589 | 5589 |
done |
5590 | 5590 |
# Quote the link command for shipping. |
5591 | 5591 |
relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" |
5592 |
- relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` |
|
5592 |
+ relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` |
|
5593 | 5593 |
if test "$hardcode_automatic" = yes ; then |
5594 | 5594 |
relink_command= |
5595 | 5595 |
fi |
... | ... |
@@ -5934,9 +5997,9 @@ relink_command=\"$relink_command\"" |
5934 | 5934 |
|
5935 | 5935 |
if test -n "$inst_prefix_dir"; then |
5936 | 5936 |
# Stick the inst_prefix_dir data into the link command. |
5937 |
- relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` |
|
5937 |
+ relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP` |
|
5938 | 5938 |
else |
5939 |
- relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"` |
|
5939 |
+ relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP` |
|
5940 | 5940 |
fi |
5941 | 5941 |
|
5942 | 5942 |
$echo "$modename: warning: relinking \`$file'" 1>&2 |
... | ... |
@@ -6145,7 +6208,7 @@ relink_command=\"$relink_command\"" |
6145 | 6145 |
file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` |
6146 | 6146 |
outputname="$tmpdir/$file" |
6147 | 6147 |
# Replace the output file specification. |
6148 |
- relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` |
|
6148 |
+ relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP` |
|
6149 | 6149 |
|
6150 | 6150 |
$show "$relink_command" |
6151 | 6151 |
if $run eval "$relink_command"; then : |
... | ... |
@@ -6356,8 +6419,10 @@ relink_command=\"$relink_command\"" |
6356 | 6356 |
if test -f "$dir/$objdir/$dlname"; then |
6357 | 6357 |
dir="$dir/$objdir" |
6358 | 6358 |
else |
6359 |
- $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2 |
|
6360 |
- exit $EXIT_FAILURE |
|
6359 |
+ if test ! -f "$dir/$dlname"; then |
|
6360 |
+ $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2 |
|
6361 |
+ exit $EXIT_FAILURE |
|
6362 |
+ fi |
|
6361 | 6363 |
fi |
6362 | 6364 |
;; |
6363 | 6365 |
|
... | ... |
@@ -6421,12 +6486,12 @@ relink_command=\"$relink_command\"" |
6421 | 6421 |
fi |
6422 | 6422 |
|
6423 | 6423 |
# Restore saved environment variables |
6424 |
- if test "${save_LC_ALL+set}" = set; then |
|
6425 |
- LC_ALL="$save_LC_ALL"; export LC_ALL |
|
6426 |
- fi |
|
6427 |
- if test "${save_LANG+set}" = set; then |
|
6428 |
- LANG="$save_LANG"; export LANG |
|
6429 |
- fi |
|
6424 |
+ for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES |
|
6425 |
+ do |
|
6426 |
+ eval "if test \"\${save_$lt_var+set}\" = set; then |
|
6427 |
+ $lt_var=\$save_$lt_var; export $lt_var |
|
6428 |
+ fi" |
|
6429 |
+ done |
|
6430 | 6430 |
|
6431 | 6431 |
# Now prepare to actually exec the command. |
6432 | 6432 |
exec_cmd="\$cmd$args" |
... | ... |
@@ -6783,9 +6848,9 @@ The following components of LINK-COMMAND are treated specially: |
6783 | 6783 |
-dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols |
6784 | 6784 |
-export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) |
6785 | 6785 |
-export-symbols SYMFILE |
6786 |
- try to export only the symbols listed in SYMFILE |
|
6786 |
+ try to export only the symbols listed in SYMFILE |
|
6787 | 6787 |
-export-symbols-regex REGEX |
6788 |
- try to export only the symbols matching REGEX |
|
6788 |
+ try to export only the symbols matching REGEX |
|
6789 | 6789 |
-LLIBDIR search LIBDIR for required installed libraries |
6790 | 6790 |
-lNAME OUTPUT-FILE requires the installed library libNAME |
6791 | 6791 |
-module build a library that can dlopened |
... | ... |
@@ -6799,9 +6864,11 @@ The following components of LINK-COMMAND are treated specially: |
6799 | 6799 |
-release RELEASE specify package release information |
6800 | 6800 |
-rpath LIBDIR the created library will eventually be installed in LIBDIR |
6801 | 6801 |
-R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries |
6802 |
- -static do not do any dynamic linking of libtool libraries |
|
6802 |
+ -static do not do any dynamic linking of uninstalled libtool libraries |
|
6803 |
+ -static-libtool-libs |
|
6804 |
+ do not do any dynamic linking of libtool libraries |
|
6803 | 6805 |
-version-info CURRENT[:REVISION[:AGE]] |
6804 |
- specify library version info [each variable defaults to 0] |
|
6806 |
+ specify library version info [each variable defaults to 0] |
|
6805 | 6807 |
|
6806 | 6808 |
All other options (arguments beginning with \`-') are ignored. |
6807 | 6809 |
|