Changeset 5474 for trunk/admin
- Timestamp:
- 09/30/07 01:58:12 (14 months ago)
- Location:
- trunk/admin
- Files:
-
- 4 modified
-
config.guess (modified) (7 diffs)
-
config.sub (modified) (8 diffs)
-
libtool.m4.in (modified) (76 diffs)
-
ltmain.sh (modified) (39 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/config.guess
r4665 r5474 5 5 # Inc. 6 6 7 timestamp='200 6-07-02'7 timestamp='2007-07-22' 8 8 9 9 # This file is free software; you can redistribute it and/or modify it … … 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 … … 330 331 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 331 332 exit ;; 332 i86pc:SunOS:5.*:* )333 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) 333 334 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 334 335 exit ;; … … 781 782 echo ${UNAME_MACHINE}-pc-cygwin 782 783 exit ;; 783 i*:MINGW*:*)784 *:MINGW*:*) 784 785 echo ${UNAME_MACHINE}-pc-mingw32 785 786 exit ;; … … 791 792 echo ${UNAME_MACHINE}-pc-pw32 792 793 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 ;; 794 *:Interix*:[3456]*) 795 case ${UNAME_MACHINE} in 796 x86) 797 echo i586-pc-interix${UNAME_RELEASE} 798 exit ;; 799 EM64T | authenticamd) 800 echo x86_64-unknown-interix${UNAME_RELEASE} 801 exit ;; 802 esac ;; 799 803 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) 800 804 echo i${UNAME_MACHINE}-pc-mks … … 950 954 x86_64:Linux:*:*) 951 955 echo x86_64-unknown-linux-gnu 956 exit ;; 957 xtensa:Linux:*:*) 958 echo xtensa-unknown-linux-gnu 952 959 exit ;; 953 960 i*86:Linux:*:*) … … 1209 1216 echo sx6-nec-superux${UNAME_RELEASE} 1210 1217 exit ;; 1218 SX-7:SUPER-UX:*:*) 1219 echo sx7-nec-superux${UNAME_RELEASE} 1220 exit ;; 1221 SX-8:SUPER-UX:*:*) 1222 echo sx8-nec-superux${UNAME_RELEASE} 1223 exit ;; 1224 SX-8R:SUPER-UX:*:*) 1225 echo sx8r-nec-superux${UNAME_RELEASE} 1226 exit ;; 1211 1227 Power*:Rhapsody:*:*) 1212 1228 echo powerpc-apple-rhapsody${UNAME_RELEASE} -
trunk/admin/config.sub
r4685 r5474 5 5 # Inc. 6 6 7 timestamp='200 6-09-20'7 timestamp='2007-06-28' 8 8 9 9 # This file is (in principle) common to ALL GNU software. … … 246 246 | c4x | clipper \ 247 247 | d10v | d30v | dlx | dsp16xx \ 248 | f r30 | 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 \ … … 325 325 | d10v-* | d30v-* | dlx-* \ 326 326 | elxsi-* \ 327 | f30[01]-* | f700-* | f r30-* | 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-* \ … … 476 476 os=-unicosmp 477 477 ;; 478 cr16 c)479 basic_machine=cr16 c-unknown478 cr16) 479 basic_machine=cr16-unknown 480 480 os=-elf 481 481 ;; … … 683 683 basic_machine=i386-pc 684 684 os=-mingw32 685 ;; 686 mingw32ce) 687 basic_machine=arm-unknown 688 os=-mingw32ce 685 689 ;; 686 690 miniframe) … … 925 929 basic_machine=sh-hitachi 926 930 os=-hms 931 ;; 932 sh5el) 933 basic_machine=sh5le-unknown 927 934 ;; 928 935 sh64) … … 1220 1227 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1221 1228 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1222 | -skyos* | -haiku* | -rdos* | -toppers* )1229 | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) 1223 1230 # Remember, each alternative MUST END IN *, to match a version number. 1224 1231 ;; … … 1415 1422 os=-aout 1416 1423 ;; 1424 mep-*) 1425 os=-elf 1426 ;; 1417 1427 mips*-cisco) 1418 1428 os=-elf -
trunk/admin/libtool.m4.in
r4665 r5474 1 1 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 2 ## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 2 ## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 3 3 ## Free Software Foundation, Inc. 4 4 ## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 … … 8 8 ## modifications, as long as this notice is preserved. 9 9 10 # serial 48 Debian 1.5.22-4AC_PROG_LIBTOOL10 # serial 51 Debian 1.5.24-1 AC_PROG_LIBTOOL 11 11 12 12 … … 171 171 172 172 # Determine commands to create old-style static archives. 173 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs $old_deplibs'173 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 174 174 old_postinstall_cmds='chmod 644 $oldlib' 175 175 old_postuninstall_cmds= … … 258 258 # the simple compiler test code. 259 259 AC_DEFUN([_LT_COMPILER_BOILERPLATE], 260 [ac_outfile=conftest.$ac_objext 261 printf "$lt_simple_compile_test_code" >conftest.$ac_ext 260 [AC_REQUIRE([LT_AC_PROG_SED])dnl 261 ac_outfile=conftest.$ac_objext 262 echo "$lt_simple_compile_test_code" >conftest.$ac_ext 262 263 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 263 264 _lt_compiler_boilerplate=`cat conftest.err` … … 271 272 # the simple link test code. 272 273 AC_DEFUN([_LT_LINKER_BOILERPLATE], 273 [ac_outfile=conftest.$ac_objext 274 printf "$lt_simple_link_test_code" >conftest.$ac_ext 274 [AC_REQUIRE([LT_AC_PROG_SED])dnl 275 ac_outfile=conftest.$ac_objext 276 echo "$lt_simple_link_test_code" >conftest.$ac_ext 275 277 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 276 278 _lt_linker_boilerplate=`cat conftest.err` … … 288 290 # to the aix ld manual. 289 291 AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], 290 [AC_LINK_IFELSE(AC_LANG_PROGRAM,[ 291 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 292 }'` 292 [AC_REQUIRE([LT_AC_PROG_SED])dnl 293 AC_LINK_IFELSE(AC_LANG_PROGRAM,[ 294 lt_aix_libpath_sed=' 295 /Import File Strings/,/^$/ { 296 /^0/ { 297 s/^0 *\(.*\)$/\1/ 298 p 299 } 300 }' 301 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 293 302 # Check for a 64-bit object if we didn't find anything. 294 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 295 }'`; fi],[]) 303 if test -z "$aix_libpath"; then 304 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 305 fi],[]) 296 306 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 297 307 ])# _LT_AC_SYS_LIBPATH_AIX … … 524 534 ;; 525 535 526 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 536 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 537 s390*-*linux*|sparc*-*linux*) 527 538 # Find out which ABI we are using. 528 539 echo 'int i;' > conftest.$ac_ext … … 531 542 *32-bit*) 532 543 case $host in 544 x86_64-*kfreebsd*-gnu) 545 LD="${LD-ld} -m elf_i386_fbsd" 546 ;; 533 547 x86_64-*linux*) 534 548 LD="${LD-ld} -m elf_i386" … … 547 561 *64-bit*) 548 562 case $host in 563 x86_64-*kfreebsd*-gnu) 564 LD="${LD-ld} -m elf_x86_64_fbsd" 565 ;; 549 566 x86_64-*linux*) 550 567 LD="${LD-ld} -m elf_x86_64" … … 618 635 [$2=no 619 636 ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) 620 printf"$lt_simple_compile_test_code" > conftest.$ac_ext637 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 621 638 lt_compiler_flag="$3" 622 639 # Insert the option either (1) after the last *FLAGS variable, or … … 659 676 # Check whether the given compiler option works 660 677 AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], 661 [AC_CACHE_CHECK([$1], [$2], 678 [AC_REQUIRE([LT_AC_PROG_SED])dnl 679 AC_CACHE_CHECK([$1], [$2], 662 680 [$2=no 663 681 save_LDFLAGS="$LDFLAGS" 664 682 LDFLAGS="$LDFLAGS $3" 665 printf"$lt_simple_link_test_code" > conftest.$ac_ext683 echo "$lt_simple_link_test_code" > conftest.$ac_ext 666 684 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 667 685 # The linker can only warn and ignore the option if not recognized … … 777 795 ;; 778 796 *) 779 # If test is not a shell built-in, we'll probably end up computing a 780 # maximum length that is only half of the actual maximum length, but 781 # we can't tell. 782 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 783 while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 797 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 798 if test -n "$lt_cv_sys_max_cmd_len"; then 799 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 800 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 801 else 802 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 803 while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 784 804 = "XX$teststring") >/dev/null 2>&1 && 785 new_result=`expr "X$teststring" : ".*" 2>&1` && 786 lt_cv_sys_max_cmd_len=$new_result && 787 test $i != 17 # 1/2 MB should be enough 788 do 789 i=`expr $i + 1` 790 teststring=$teststring$teststring 791 done 792 teststring= 793 # Add a significant safety factor because C++ compilers can tack on massive 794 # amounts of additional arguments before passing them to the linker. 795 # It appears as though 1/2 is a usable value. 796 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 805 new_result=`expr "X$teststring" : ".*" 2>&1` && 806 lt_cv_sys_max_cmd_len=$new_result && 807 test $i != 17 # 1/2 MB should be enough 808 do 809 i=`expr $i + 1` 810 teststring=$teststring$teststring 811 done 812 teststring= 813 # Add a significant safety factor because C++ compilers can tack on massive 814 # amounts of additional arguments before passing them to the linker. 815 # It appears as though 1/2 is a usable value. 816 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 817 fi 797 818 ;; 798 819 esac … … 1021 1042 # Check to see if options -c and -o are simultaneously supported by compiler 1022 1043 AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], 1023 [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 1044 [AC_REQUIRE([LT_AC_PROG_SED])dnl 1045 AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 1024 1046 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], 1025 1047 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], … … 1029 1051 cd conftest 1030 1052 mkdir out 1031 printf"$lt_simple_compile_test_code" > conftest.$ac_ext1053 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 1032 1054 1033 1055 lt_compiler_flag="-o out/conftest2.$ac_objext" … … 1169 1191 if test -n "$STRIP" ; then 1170 1192 striplib="$STRIP -x" 1193 old_striplib="$STRIP -S" 1171 1194 AC_MSG_RESULT([yes]) 1172 1195 else … … 1186 1209 # PORTME Fill in your ld.so characteristics 1187 1210 AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], 1188 [AC_MSG_CHECKING([dynamic linker characteristics]) 1211 [AC_REQUIRE([LT_AC_PROG_SED])dnl 1212 AC_MSG_CHECKING([dynamic linker characteristics]) 1189 1213 library_names_spec= 1190 1214 libname_spec='lib$name' … … 1200 1224 dynamic_linker="$host_os ld.so" 1201 1225 sys_lib_dlsearch_path_spec="/lib /usr/lib" 1226 m4_if($1,[],[ 1202 1227 if test "$GCC" = yes; then 1203 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 1204 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then 1228 case $host_os in 1229 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 1230 *) lt_awk_arg="/^libraries:/" ;; 1231 esac 1232 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 1233 if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then 1205 1234 # if the path contains ";" then we assume it to be the separator 1206 1235 # otherwise default to the standard path separator (i.e. ":") - it is 1207 1236 # assumed that no part of a normal pathname contains ";" but that should 1208 1237 # okay in the real world where ";" in dirpaths is itself problematic. 1209 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`1238 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` 1210 1239 else 1211 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`1240 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 1212 1241 fi 1242 # Ok, now we have the path, separated by spaces, we can step through it 1243 # and add multilib dir if necessary. 1244 lt_tmp_lt_search_path_spec= 1245 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 1246 for lt_sys_path in $lt_search_path_spec; do 1247 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 1248 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 1249 else 1250 test -d "$lt_sys_path" && \ 1251 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 1252 fi 1253 done 1254 lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' 1255 BEGIN {RS=" "; FS="/|\n";} { 1256 lt_foo=""; 1257 lt_count=0; 1258 for (lt_i = NF; lt_i > 0; lt_i--) { 1259 if ($lt_i != "" && $lt_i != ".") { 1260 if ($lt_i == "..") { 1261 lt_count++; 1262 } else { 1263 if (lt_count == 0) { 1264 lt_foo="/" $lt_i lt_foo; 1265 } else { 1266 lt_count--; 1267 } 1268 } 1269 } 1270 } 1271 if (lt_foo != "") { lt_freq[[lt_foo]]++; } 1272 if (lt_freq[[lt_foo]] == 1) { print lt_foo; } 1273 }'` 1274 sys_lib_search_path_spec=`echo $lt_search_path_spec` 1213 1275 else 1214 1276 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 1215 fi 1277 fi]) 1216 1278 need_lib_prefix=unknown 1217 1279 hardcode_into_libs=no … … 1370 1432 shlibpath_var=DYLD_LIBRARY_PATH 1371 1433 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 1372 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 1373 if test "$GCC" = yes; then 1374 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 1375 else 1376 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 1377 fi 1434 m4_if([$1], [],[ 1435 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) 1378 1436 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 1379 1437 ;; … … 1429 1487 hardcode_into_libs=yes 1430 1488 ;; 1431 freebsd*) # from 4.6 on1489 *) # from 4.6 on, and DragonFly 1432 1490 shlibpath_overrides_runpath=yes 1433 1491 hardcode_into_libs=yes … … 1492 1550 ;; 1493 1551 1494 interix 3*)1552 interix[[3-9]]*) 1495 1553 version_type=linux 1496 1554 need_lib_prefix=no … … 1563 1621 # Append ld.so.conf contents to the search path 1564 1622 if test -f /etc/ld.so.conf; then 1565 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s ", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`1623 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 1566 1624 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 1567 1625 fi … … 1667 1725 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 1668 1726 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 1727 ;; 1728 1729 rdos*) 1730 dynamic_linker=no 1669 1731 ;; 1670 1732 … … 1774 1836 # ---------------- 1775 1837 AC_DEFUN([_LT_AC_TAGCONFIG], 1776 [AC_ARG_WITH([tags], 1838 [AC_REQUIRE([LT_AC_PROG_SED])dnl 1839 AC_ARG_WITH([tags], 1777 1840 [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], 1778 1841 [include additional configurations @<:@automatic@:>@])], … … 2035 2098 # AC_PATH_TOOL_PREFIX 2036 2099 # ------------------- 2037 # find a file program which can recogni se shared library2100 # find a file program which can recognize shared library 2038 2101 AC_DEFUN([AC_PATH_TOOL_PREFIX], 2039 2102 [AC_REQUIRE([AC_PROG_EGREP])dnl … … 2098 2161 # AC_PATH_MAGIC 2099 2162 # ------------- 2100 # find a file program which can recogni se a shared library2163 # find a file program which can recognize a shared library 2101 2164 AC_DEFUN([AC_PATH_MAGIC], 2102 2165 [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) … … 2245 2308 # -- PORTME fill in with the dynamic library characteristics 2246 2309 AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], 2247 [AC_CACHE_CHECK([how to recogni se dependent libraries],2310 [AC_CACHE_CHECK([how to recognize dependent libraries], 2248 2311 lt_cv_deplibs_check_method, 2249 2312 [lt_cv_file_magic_cmd='$MAGIC_CMD' … … 2284 2347 mingw* | pw32*) 2285 2348 # Base MSYS/MinGW do not provide the 'file' command needed by 2286 # func_win32_libid shell function, so use a weaker test based on 'objdump'. 2287 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 2288 lt_cv_file_magic_cmd='$OBJDUMP -f' 2349 # func_win32_libid shell function, so use a weaker test based on 'objdump', 2350 # unless we find 'file', for example because we are cross-compiling. 2351 if ( file / ) >/dev/null 2>&1; then 2352 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 2353 lt_cv_file_magic_cmd='func_win32_libid' 2354 else 2355 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 2356 lt_cv_file_magic_cmd='$OBJDUMP -f' 2357 fi 2289 2358 ;; 2290 2359 … … 2331 2400 ;; 2332 2401 2333 interix 3*)2402 interix[[3-9]]*) 2334 2403 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 2335 2404 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' … … 2378 2447 2379 2448 osf3* | osf4* | osf5*) 2449 lt_cv_deplibs_check_method=pass_all 2450 ;; 2451 2452 rdos*) 2380 2453 lt_cv_deplibs_check_method=pass_all 2381 2454 ;; … … 2433 2506 else 2434 2507 lt_nm_to_check="${ac_tool_prefix}nm" 2435 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 2508 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 2436 2509 lt_nm_to_check="$lt_nm_to_check nm" 2437 2510 fi … … 2649 2722 2650 2723 # Code to be used in simple compile tests 2651 lt_simple_compile_test_code="int some_variable = 0; \n"2724 lt_simple_compile_test_code="int some_variable = 0;" 2652 2725 2653 2726 # Code to be used in simple link tests 2654 lt_simple_link_test_code='int main(){return(0);} \n'2727 lt_simple_link_test_code='int main(){return(0);}' 2655 2728 2656 2729 _LT_AC_SYS_COMPILER … … 2758 2831 2759 2832 # Code to be used in simple compile tests 2760 lt_simple_compile_test_code="int some_variable = 0; \n"2833 lt_simple_compile_test_code="int some_variable = 0;" 2761 2834 2762 2835 # Code to be used in simple link tests 2763 lt_simple_link_test_code='int main(int, char *[[]]) { return(0); } \n'2836 lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' 2764 2837 2765 2838 # ltmain only uses $CC for tagged configurations so make sure $CC is set. … … 2907 2980 then 2908 2981 # We have reworked collect2 2909 _LT_AC_TAGVAR(hardcode_direct, $1)=yes2982 : 2910 2983 else 2911 2984 # We have old collect2 … … 3066 3139 xlc*) 3067 3140 output_verbose_link_cmd='echo' 3068 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $ verstring'3141 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' 3069 3142 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 3070 3143 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 3071 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $ verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'3144 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 3072 3145 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 3073 3146 ;; … … 3152 3225 3153 3226 case $host_cpu in 3154 hppa*64*|ia64*) 3155 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' 3156 ;; 3227 hppa*64*|ia64*) ;; 3157 3228 *) 3158 3229 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' … … 3222 3293 esac 3223 3294 ;; 3224 interix 3*)3295 interix[[3-9]]*) 3225 3296 _LT_AC_TAGVAR(hardcode_direct, $1)=no 3226 3297 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no … … 3342 3413 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 3343 3414 ;; 3415 *) 3416 case `$CC -V 2>&1 | sed 5q` in 3417 *Sun\ C*) 3418 # Sun C++ 5.9 3419 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' 3420 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 3421 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' 3422 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 3423 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 3424 3425 # Not sure whether something based on 3426 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 3427 # would be better. 3428 output_verbose_link_cmd='echo' 3429 3430 # Archives containing C++ object files must be created using 3431 # "CC -xar", where "CC" is the Sun C++ compiler. This is 3432 # necessary to make sure instantiated templates are included 3433 # in the archive. 3434 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' 3435 ;; 3436 esac 3437 ;; 3344 3438 esac 3345 3439 ;; … … 3380 3474 ;; 3381 3475 openbsd*) 3382 _LT_AC_TAGVAR(hardcode_direct, $1)=yes 3383 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 3384 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 3385 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 3386 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 3387 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 3388 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 3389 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 3476 if test -f /usr/libexec/ld.so; then 3477 _LT_AC_TAGVAR(hardcode_direct, $1)=yes 3478  
