Changeset 2086 for swish-e/trunk/aclocal.m4
- Timestamp:
- 03/13/08 21:42:13 (9 months ago)
- Files:
-
- swish-e/trunk/aclocal.m4 (modified) (113 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
swish-e/trunk/aclocal.m4
r2084 r2086 1 # generated automatically by aclocal 1. 10-*- Autoconf -*-1 # generated automatically by aclocal 1.9.6 -*- Autoconf -*- 2 2 3 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 4 # 2005 , 2006Free Software Foundation, Inc.4 # 2005 Free Software Foundation, Inc. 5 5 # This file is free software; the Free Software Foundation 6 6 # gives unlimited permission to copy and/or distribute it, … … 12 12 # PARTICULAR PURPOSE. 13 13 14 m4_if(m4_PACKAGE_VERSION, [2.61],,15 [m4_fatal([this file was generated for autoconf 2.61.16 You have another version of autoconf. If you want to use that,17 you should regenerate the build system entirely.], [63])])18 19 14 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 20 15 21 # serial 51AC_PROG_LIBTOOL16 # serial 48 AC_PROG_LIBTOOL 22 17 23 18 … … 182 177 183 178 # Determine commands to create old-style static archives. 184 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs '179 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' 185 180 old_postinstall_cmds='chmod 644 $oldlib' 186 181 old_postuninstall_cmds= … … 269 264 # the simple compiler test code. 270 265 AC_DEFUN([_LT_COMPILER_BOILERPLATE], 271 [AC_REQUIRE([LT_AC_PROG_SED])dnl 272 ac_outfile=conftest.$ac_objext 273 echo "$lt_simple_compile_test_code" >conftest.$ac_ext 266 [ac_outfile=conftest.$ac_objext 267 printf "$lt_simple_compile_test_code" >conftest.$ac_ext 274 268 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 275 269 _lt_compiler_boilerplate=`cat conftest.err` … … 283 277 # the simple link test code. 284 278 AC_DEFUN([_LT_LINKER_BOILERPLATE], 285 [AC_REQUIRE([LT_AC_PROG_SED])dnl 286 ac_outfile=conftest.$ac_objext 287 echo "$lt_simple_link_test_code" >conftest.$ac_ext 279 [ac_outfile=conftest.$ac_objext 280 printf "$lt_simple_link_test_code" >conftest.$ac_ext 288 281 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 289 282 _lt_linker_boilerplate=`cat conftest.err` … … 301 294 # to the aix ld manual. 302 295 AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], 303 [AC_REQUIRE([LT_AC_PROG_SED])dnl 304 AC_LINK_IFELSE(AC_LANG_PROGRAM,[ 305 lt_aix_libpath_sed=' 306 /Import File Strings/,/^$/ { 307 /^0/ { 308 s/^0 *\(.*\)$/\1/ 309 p 310 } 311 }' 312 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 296 [AC_LINK_IFELSE(AC_LANG_PROGRAM,[ 297 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 298 }'` 313 299 # Check for a 64-bit object if we didn't find anything. 314 if test -z "$aix_libpath"; then 315 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 316 fi],[]) 300 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; } 301 }'`; fi],[]) 317 302 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 318 303 ])# _LT_AC_SYS_LIBPATH_AIX … … 545 530 ;; 546 531 547 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 548 s390*-*linux*|sparc*-*linux*) 532 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 549 533 # Find out which ABI we are using. 550 534 echo 'int i;' > conftest.$ac_ext … … 553 537 *32-bit*) 554 538 case $host in 555 x86_64-*kfreebsd*-gnu)556 LD="${LD-ld} -m elf_i386_fbsd"557 ;;558 539 x86_64-*linux*) 559 540 LD="${LD-ld} -m elf_i386" … … 572 553 *64-bit*) 573 554 case $host in 574 x86_64-*kfreebsd*-gnu)575 LD="${LD-ld} -m elf_x86_64_fbsd"576 ;;577 555 x86_64-*linux*) 578 556 LD="${LD-ld} -m elf_x86_64" … … 646 624 [$2=no 647 625 ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) 648 echo"$lt_simple_compile_test_code" > conftest.$ac_ext626 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 649 627 lt_compiler_flag="$3" 650 628 # Insert the option either (1) after the last *FLAGS variable, or … … 687 665 # Check whether the given compiler option works 688 666 AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], 689 [AC_REQUIRE([LT_AC_PROG_SED])dnl 690 AC_CACHE_CHECK([$1], [$2], 667 [AC_CACHE_CHECK([$1], [$2], 691 668 [$2=no 692 669 save_LDFLAGS="$LDFLAGS" 693 670 LDFLAGS="$LDFLAGS $3" 694 echo"$lt_simple_link_test_code" > conftest.$ac_ext671 printf "$lt_simple_link_test_code" > conftest.$ac_ext 695 672 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 696 673 # The linker can only warn and ignore the option if not recognized … … 806 783 ;; 807 784 *) 808 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 809 if test -n "$lt_cv_sys_max_cmd_len"; then 810 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 811 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 812 else 813 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 814 while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 785 # If test is not a shell built-in, we'll probably end up computing a 786 # maximum length that is only half of the actual maximum length, but 787 # we can't tell. 788 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 789 while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 815 790 = "XX$teststring") >/dev/null 2>&1 && 816 new_result=`expr "X$teststring" : ".*" 2>&1` && 817 lt_cv_sys_max_cmd_len=$new_result && 818 test $i != 17 # 1/2 MB should be enough 819 do 820 i=`expr $i + 1` 821 teststring=$teststring$teststring 822 done 823 teststring= 824 # Add a significant safety factor because C++ compilers can tack on massive 825 # amounts of additional arguments before passing them to the linker. 826 # It appears as though 1/2 is a usable value. 827 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 828 fi 791 new_result=`expr "X$teststring" : ".*" 2>&1` && 792 lt_cv_sys_max_cmd_len=$new_result && 793 test $i != 17 # 1/2 MB should be enough 794 do 795 i=`expr $i + 1` 796 teststring=$teststring$teststring 797 done 798 teststring= 799 # Add a significant safety factor because C++ compilers can tack on massive 800 # amounts of additional arguments before passing them to the linker. 801 # It appears as though 1/2 is a usable value. 802 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 829 803 ;; 830 804 esac … … 1053 1027 # Check to see if options -c and -o are simultaneously supported by compiler 1054 1028 AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], 1055 [AC_REQUIRE([LT_AC_PROG_SED])dnl 1056 AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 1029 [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 1057 1030 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], 1058 1031 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], … … 1062 1035 cd conftest 1063 1036 mkdir out 1064 echo"$lt_simple_compile_test_code" > conftest.$ac_ext1037 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 1065 1038 1066 1039 lt_compiler_flag="-o out/conftest2.$ac_objext" … … 1202 1175 if test -n "$STRIP" ; then 1203 1176 striplib="$STRIP -x" 1204 old_striplib="$STRIP -S"1205 1177 AC_MSG_RESULT([yes]) 1206 1178 else … … 1220 1192 # PORTME Fill in your ld.so characteristics 1221 1193 AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], 1222 [AC_REQUIRE([LT_AC_PROG_SED])dnl 1223 AC_MSG_CHECKING([dynamic linker characteristics]) 1194 [AC_MSG_CHECKING([dynamic linker characteristics]) 1224 1195 library_names_spec= 1225 1196 libname_spec='lib$name' … … 1235 1206 dynamic_linker="$host_os ld.so" 1236 1207 sys_lib_dlsearch_path_spec="/lib /usr/lib" 1237 m4_if($1,[],[1238 1208 if test "$GCC" = yes; then 1239 case $host_os in 1240 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 1241 *) lt_awk_arg="/^libraries:/" ;; 1242 esac 1243 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 1244 if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then 1209 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 1210 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then 1245 1211 # if the path contains ";" then we assume it to be the separator 1246 1212 # otherwise default to the standard path separator (i.e. ":") - it is 1247 1213 # assumed that no part of a normal pathname contains ";" but that should 1248 1214 # okay in the real world where ";" in dirpaths is itself problematic. 1249 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`1215 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 1250 1216 else 1251 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`1217 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 1252 1218 fi 1253 # Ok, now we have the path, separated by spaces, we can step through it1254 # and add multilib dir if necessary.1255 lt_tmp_lt_search_path_spec=1256 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`1257 for lt_sys_path in $lt_search_path_spec; do1258 if test -d "$lt_sys_path/$lt_multi_os_dir"; then1259 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"1260 else1261 test -d "$lt_sys_path" && \1262 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"1263 fi1264 done1265 lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '1266 BEGIN {RS=" "; FS="/|\n";} {1267 lt_foo="";1268 lt_count=0;1269 for (lt_i = NF; lt_i > 0; lt_i--) {1270 if ($lt_i != "" && $lt_i != ".") {1271 if ($lt_i == "..") {1272 lt_count++;1273 } else {1274 if (lt_count == 0) {1275 lt_foo="/" $lt_i lt_foo;1276 } else {1277 lt_count--;1278 }1279 }1280 }1281 }1282 if (lt_foo != "") { lt_freq[[lt_foo]]++; }1283 if (lt_freq[[lt_foo]] == 1) { print lt_foo; }1284 }'`1285 sys_lib_search_path_spec=`echo $lt_search_path_spec`1286 1219 else 1287 1220 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 1288 fi ])1221 fi 1289 1222 need_lib_prefix=unknown 1290 1223 hardcode_into_libs=no … … 1443 1376 shlibpath_var=DYLD_LIBRARY_PATH 1444 1377 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 1445 m4_if([$1], [],[ 1446 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) 1378 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 1379 if test "$GCC" = yes; then 1380 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"` 1381 else 1382 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 1383 fi 1447 1384 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 1448 1385 ;; … … 1459 1396 freebsd1*) 1460 1397 dynamic_linker=no 1398 ;; 1399 1400 kfreebsd*-gnu) 1401 version_type=linux 1402 need_lib_prefix=no 1403 need_version=no 1404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 1405 soname_spec='${libname}${release}${shared_ext}$major' 1406 shlibpath_var=LD_LIBRARY_PATH 1407 shlibpath_overrides_runpath=no 1408 hardcode_into_libs=yes 1409 dynamic_linker='GNU ld.so' 1461 1410 ;; 1462 1411 … … 1498 1447 hardcode_into_libs=yes 1499 1448 ;; 1500 *) # from 4.6 on, and DragonFly1449 freebsd*) # from 4.6 on 1501 1450 shlibpath_overrides_runpath=yes 1502 1451 hardcode_into_libs=yes … … 1561 1510 ;; 1562 1511 1563 interix [[3-9]]*)1512 interix3*) 1564 1513 version_type=linux 1565 1514 need_lib_prefix=no … … 1616 1565 1617 1566 # This must be Linux ELF. 1618 linux* | k*bsd*-gnu)1567 linux*) 1619 1568 version_type=linux 1620 1569 need_lib_prefix=no … … 1630 1579 hardcode_into_libs=yes 1631 1580 1581 # find out which ABI we are using 1582 libsuff= 1583 case "$host_cpu" in 1584 x86_64*|s390x*|powerpc64*) 1585 echo '[#]line __oline__ "configure"' > conftest.$ac_ext 1586 if AC_TRY_EVAL(ac_compile); then 1587 case `/usr/bin/file conftest.$ac_objext` in 1588 *64-bit*) 1589 libsuff=64 1590 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 1591 ;; 1592 esac 1593 fi 1594 rm -rf conftest* 1595 ;; 1596 esac 1597 1632 1598 # Append ld.so.conf contents to the search path 1633 1599 if test -f /etc/ld.so.conf; then 1634 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' ' '`1635 sys_lib_dlsearch_path_spec="/lib /usr/lib$lt_ld_extra"1600 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 1601 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" 1636 1602 fi 1637 1603 … … 1643 1609 # assume the GNU/Linux dynamic linker is in use. 1644 1610 dynamic_linker='GNU/Linux ld.so' 1611 ;; 1612 1613 knetbsd*-gnu) 1614 version_type=linux 1615 need_lib_prefix=no 1616 need_version=no 1617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 1618 soname_spec='${libname}${release}${shared_ext}$major' 1619 shlibpath_var=LD_LIBRARY_PATH 1620 shlibpath_overrides_runpath=no 1621 hardcode_into_libs=yes 1622 dynamic_linker='GNU ld.so' 1645 1623 ;; 1646 1624 … … 1724 1702 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 1725 1703 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 1726 ;;1727 1728 rdos*)1729 dynamic_linker=no1730 1704 ;; 1731 1705 … … 1835 1809 # ---------------- 1836 1810 AC_DEFUN([_LT_AC_TAGCONFIG], 1837 [AC_REQUIRE([LT_AC_PROG_SED])dnl 1838 AC_ARG_WITH([tags], 1811 [AC_ARG_WITH([tags], 1839 1812 [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], 1840 1813 [include additional configurations @<:@automatic@:>@])], … … 2097 2070 # AC_PATH_TOOL_PREFIX 2098 2071 # ------------------- 2099 # find a file program which can recogni ze shared library2072 # find a file program which can recognise shared library 2100 2073 AC_DEFUN([AC_PATH_TOOL_PREFIX], 2101 2074 [AC_REQUIRE([AC_PROG_EGREP])dnl … … 2160 2133 # AC_PATH_MAGIC 2161 2134 # ------------- 2162 # find a file program which can recogni ze a shared library2135 # find a file program which can recognise a shared library 2163 2136 AC_DEFUN([AC_PATH_MAGIC], 2164 2137 [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) … … 2307 2280 # -- PORTME fill in with the dynamic library characteristics 2308 2281 AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], 2309 [AC_CACHE_CHECK([how to recogni ze dependent libraries],2282 [AC_CACHE_CHECK([how to recognise dependent libraries], 2310 2283 lt_cv_deplibs_check_method, 2311 2284 [lt_cv_file_magic_cmd='$MAGIC_CMD' … … 2346 2319 mingw* | pw32*) 2347 2320 # Base MSYS/MinGW do not provide the 'file' command needed by 2348 # func_win32_libid shell function, so use a weaker test based on 'objdump', 2349 # unless we find 'file', for example because we are cross-compiling. 2350 if ( file / ) >/dev/null 2>&1; then 2351 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 2352 lt_cv_file_magic_cmd='func_win32_libid' 2353 else 2354 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 2355 lt_cv_file_magic_cmd='$OBJDUMP -f' 2356 fi 2321 # func_win32_libid shell function, so use a weaker test based on 'objdump'. 2322 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 2323 lt_cv_file_magic_cmd='$OBJDUMP -f' 2357 2324 ;; 2358 2325 … … 2361 2328 ;; 2362 2329 2363 freebsd* | dragonfly*)2330 freebsd* | kfreebsd*-gnu | dragonfly*) 2364 2331 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 2365 2332 case $host_cpu in … … 2399 2366 ;; 2400 2367 2401 interix [[3-9]]*)2368 interix3*) 2402 2369 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 2403 2370 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' … … 2415 2382 2416 2383 # This must be Linux ELF. 2417 linux* | k*bsd*-gnu)2384 linux*) 2418 2385 lt_cv_deplibs_check_method=pass_all 2419 2386 ;; … … 2446 2413 2447 2414 osf3* | osf4* | osf5*) 2448 lt_cv_deplibs_check_method=pass_all2449 ;;2450 2451 rdos*)2452 2415 lt_cv_deplibs_check_method=pass_all 2453 2416 ;; … … 2505 2468 else 2506 2469 lt_nm_to_check="${ac_tool_prefix}nm" 2507 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 2470 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 2508 2471 lt_nm_to_check="$lt_nm_to_check nm" 2509 2472 fi … … 2721 2684 2722 2685 # Code to be used in simple compile tests 2723 lt_simple_compile_test_code="int some_variable = 0; "2686 lt_simple_compile_test_code="int some_variable = 0;\n" 2724 2687 2725 2688 # Code to be used in simple link tests 2726 lt_simple_link_test_code='int main(){return(0);} '2689 lt_simple_link_test_code='int main(){return(0);}\n' 2727 2690 2728 2691 _LT_AC_SYS_COMPILER … … 2826 2789 2827 2790 # Code to be used in simple compile tests 2828 lt_simple_compile_test_code="int some_variable = 0; "2791 lt_simple_compile_test_code="int some_variable = 0;\n" 2829 2792 2830 2793 # Code to be used in simple link tests 2831 lt_simple_link_test_code='int main(int, char *[[]]) { return(0); } '2794 lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n' 2832 2795 2833 2796 # ltmain only uses $CC for tagged configurations so make sure $CC is set. … … 2975 2938 then 2976 2939 # We have reworked collect2 2977 :2940 _LT_AC_TAGVAR(hardcode_direct, $1)=yes 2978 2941 else 2979 2942 # We have old collect2 … … 3134 3097 xlc*) 3135 3098 output_verbose_link_cmd='echo' 3136 _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'3099 _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' 3137 3100 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 3138 3101 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 3139 _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}'3102 _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}' 3140 3103 _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}' 3141 3104 ;; … … 3171 3134 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 3172 3135 ;; 3173 freebsd* | dragonfly*)3136 freebsd* | kfreebsd*-gnu | dragonfly*) 3174 3137 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 3175 3138 # conventions … … 3220 3183 3221 3184 case $host_cpu in 3222 hppa*64*|ia64*) ;; 3185 hppa*64*|ia64*) 3186 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' 3187 ;; 3223 3188 *) 3224 3189 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' … … 3288 3253 esac 3289 3254 ;; 3290 interix [[3-9]]*)3255 interix3*) 3291 3256 _LT_AC_TAGVAR(hardcode_direct, $1)=no 3292 3257 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no … … 3328 3293 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 3329 3294 ;; 3330 linux* | k*bsd*-gnu)3295 linux*) 3331 3296 case $cc_basename in 3332 3297 KCC*) … … 3408 3373 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' 3409 3374 ;; 3410 *)3411 case `$CC -V 2>&1 | sed 5q` in3412 *Sun\ C*)3413 # Sun C++ 5.93414 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'3415 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'3416 _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'3417 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'3418 _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'3419 3420 # Not sure whether something based on3421 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&13422 # would be better.3423 output_verbose_link_cmd='echo'3424 3425 # Archives containing C++ object files must be created using3426 # "CC -xar", where "CC" is the Sun C++ compiler. This is3427 # necessary to make sure instantiated templates are included3428 # in the archive.3429 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'3430 ;;3431 esac3432 ;;3433 3375 esac 3434 3376 ;; … … 3469 3411 ;; 3470 3412 openbsd*) 3471 if test -f /usr/libexec/ld.so; then 3472 _LT_AC_TAGVAR(hardcode_direct, $1)=yes 3473 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 3474 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 3475 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 3476 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 3477 _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' 3478 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 3479 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 3480 fi 3481 output_verbose_link_cmd='echo' 3482 else 3483 _LT_AC_TAGVAR(ld_shlibs, $1)=no 3413 _LT_AC_TAGVAR(hardcode_direct, $1)=yes 3414 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 3415 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 3416 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 3417 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 3418 _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' 3419 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 3420 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 3484 3421 fi 3422 output_verbose_link_cmd='echo' 3485 3423 ;; 3486 3424 osf3*) … … 3644 3582 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; 3645 3583 *) 3646 # The compiler driver will combine and reorder linker options, 3647 # but understands `-z linker_flag'. 3584 # The C++ compiler is used as linker so we must use $wl 3585 # flag to pass the commands to the underlying system 3586 # linker. We must also pass each convience library through 3587 # to the system linker between allextract/defaultextract. 3588 # The C++ compiler will combine linker options so we 3589 # cannot just pass the convience library names through 3590 # without $wl. 3648 3591 # Supported since Solaris 2.6 (maybe 2.5.1?) 3649 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' -z allextract$convenience -zdefaultextract'3592 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' 3650 3593 ;; 3651 3594 esac … … 3694 3637 3695 3638 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' 3696 case $host_os in3697 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;3698 *)3699 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'3700 ;;3701 esac3702 3639 fi 3703 3640 ;; … … 3943 3880 ifelse([$1],[CXX], 3944 3881 [case $host_os in 3945 interix [[3-9]]*)3882 interix3*) 3946 3883 # Interix 3.5 installs completely hosed .la files for C++, so rather than 3947 3884 # hack all around it, let's just trust "g++" to DTRT. … … 3951 3888 ;; 3952 3889 3953 linux*)3954 case `$CC -V 2>&1 | sed 5q` in3955 *Sun\ C*)3956 # Sun C++ 5.93957 #3958 # The more standards-conforming stlport4 library is3959 # incompatible with the Cstd library. Avoid specifying3960 # it if it's in CXXFLAGS. Ignore libCrun as3961 # -library=stlport4 depends on it.3962 case " $CXX $CXXFLAGS " in3963 *" -library=stlport4 "*)3964 solaris_use_stlport4=yes3965 ;;3966 esac3967 if test "$solaris_use_stlport4" != yes; then3968 _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'3969 fi3970 ;;3971 esac3972 ;;3973 3974 3890 solaris*) 3975 3891 case $cc_basename in 3976 3892 CC*) 3977 # The more standards-conforming stlport4 library is3978 # incompatible with the Cstd library. Avoid specifying3979 # it if it's in CXXFLAGS. Ignore libCrun as3980 # -library=stlport4 depends on it.3981 case " $CXX $CXXFLAGS " in3982 *" -library=stlport4 "*)3983 solaris_use_stlport4=yes3984 ;;3985 esac3986 3987 3893 # Adding this requires a known-good setup of shared libraries for 3988 3894 # Sun compiler versions before 5.6, else PIC objects from an old 3989 3895 # archive will be linked into the output, leading to subtle bugs. 3990 if test "$solaris_use_stlport4" != yes; then 3991 _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' 3992 fi 3896 _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun' 3993 3897 ;; 3994 3898 esac … … 4039 3943 4040 3944 # Code to be used in simple compile tests 4041 lt_simple_compile_test_code="\ 4042 subroutine t 4043 return 4044 end 4045 " 3945 lt_simple_compile_test_code=" subroutine t\n return\n end\n" 4046 3946 4047 3947 # Code to be used in simple link tests 4048 lt_simple_link_test_code="\ 4049 program t 4050 end 4051 " 3948 lt_simple_link_test_code=" program t\n end\n" 4052 3949 4053 3950 # ltmain only uses $CC for tagged configurations so make sure $CC is set. … … 4128 4025 4129 4026 # Code to be used in simple compile tests 4130 lt_simple_compile_test_code="class foo {} "4027 lt_simple_compile_test_code="class foo {}\n" 4131 4028 4132 4029 # Code to be used in simple link tests 4133 lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; } '4030 lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n' 4134 4031 4135 4032 # ltmain only uses $CC for tagged configurations so make sure $CC is set. … … 4184 4081 4185 4082 # Code to be used in simple compile tests 4186 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED } '4083 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' 4187 4084 4188 4085 # Code to be used in simple link tests … … 4273 4170 _LT_AC_TAGVAR(module_expsym_cmds, $1) \ 4274 4171 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \ 4275 _LT_AC_TAGVAR(fix_srcfile_path, $1) \4276 4172 _LT_AC_TAGVAR(exclude_expsyms, $1) \ 4277 4173 _LT_AC_TAGVAR(include_expsyms, $1); do … … 4320 4216 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 4321 4217 # 4322 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 , 2002, 2003, 2004, 2005, 2006, 20074218 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 4323 4219 # Free Software Foundation, Inc. 4324 4220 # … … 4410 4306 with_gcc=$_LT_AC_TAGVAR(GCC, $1) 4411 4307 4308 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` 4309 gcc_ver=\`gcc -dumpversion\` 4310 4412 4311 # An ERE matcher. 4413 4312 EGREP=$lt_EGREP … … 4543 4442 # Dependencies to place before the objects being linked to create a 4544 4443 # shared library. 4545 predep_objects= $lt_[]_LT_AC_TAGVAR(predep_objects, $1)4444 predep_objects=\`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` 4546 4445 4547 4446 # Dependencies to place after the objects being linked to create a 4548 4447 # shared library. 4549 postdep_objects= $lt_[]_LT_AC_TAGVAR(postdep_objects, $1)4448 postdep_objects=\`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` 4550 4449 4551 4450 # Dependencies to place before the objects being linked to create a … … 4559 4458 # The library search path used internally by the compiler when linking 4560 4459 # a shared library. 4561 compiler_lib_search_path= $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)4460 compiler_lib_search_path=\`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` 4562 4461 4563 4462 # Method to check whether dependent libraries are shared objects. … … 4639 4538 4640 4539 # Compile-time system search path for libraries 4641 sys_lib_search_path_spec= $lt_sys_lib_search_path_spec4540 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` 4642 4541 4643 4542 # Run-time system search path for libraries … … 4645 4544 4646 4545 # Fix the shell variable \$srcfile for the compiler. 4647 fix_srcfile_path= $lt_fix_srcfile_path4546 fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" 4648 4547 4649 4548 # Set to yes if exported symbols are required. … … 4728 4627 AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], 4729 4628 [AC_REQUIRE([AC_CANONICAL_HOST]) 4730 AC_REQUIRE([LT_AC_PROG_SED])4731 4629 AC_REQUIRE([AC_PROG_NM]) 4732 4630 AC_REQUIRE([AC_OBJEXT]) … … 4765 4663 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" 4766 4664 ;; 4767 linux* | k*bsd*-gnu)4665 linux*) 4768 4666 if test "$host_cpu" = ia64; then 4769 4667 symcode='[[ABCDGIRSTW]]' … … 4955 4853 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' 4956 4854 ;; 4957 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)4855 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 4958 4856 # PIC is the default for these OSes. 4959 4857 ;; 4960 mingw* | cygwin* |os2* | pw32*)4858 mingw* | os2* | pw32*) 4961 4859 # This hack is so that the source file can tell whether it is being 4962 4860 # built for inclusion in a dll (and should export symbols for example). 4963 # Although the cygwin gcc ignores -fPIC, still need this for old-style4964 # (--disable-auto-import) libraries4965 4861 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' 4966 4862 ;; … … 4974 4870 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= 4975 4871 ;; 4976 interix [[3-9]]*)4872 interix3*) 4977 4873 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 4978 4874 # Instead, we relocate shared libraries at runtime. … … 5040 4936 esac 5041 4937 ;; 5042 freebsd* | dragonfly*)4938 freebsd* | kfreebsd*-gnu | dragonfly*) 5043 4939 # FreeBSD uses GNU C++ 5044 4940 ;; … … 5083 4979 esac 5084 4980 ;; 5085 linux* | k*bsd*-gnu)4981 linux*) 5086 4982 case $cc_basename in 5087 4983 KCC*) … … 5110 5006 ;; 5111 5007 *) 5112 case `$CC -V 2>&1 | sed 5q` in5113 *Sun\ C*)5114 # Sun C++ 5.95115 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'5116 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'5117 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '5118 ;;5119 esac5120 5008 ;; 5121 5009 esac … … 5238 5126 ;; 5239 5127 5240 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)5128 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 5241 5129 # PIC is the default for these OSes. 5242 5130 ;; 5243 5131 5244 mingw* | cygwin* |pw32* | os2*)5132 mingw* | pw32* | os2*) 5245 5133 # This hack is so that the source file can tell whether it is being 5246 5134 # built for inclusion in a dll (and should export symbols for example). 5247 # Although the cygwin gcc ignores -fPIC, still need this for old-style5248 # (--disable-auto-import) libraries5249 5135 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' 5250 5136 ;; … … 5256 5142 ;; 5257 5143 5258 interix [[3-9]]*)5144 interix3*) 5259 5145 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 5260 5146 # Instead, we relocate shared libraries at runtime. … … 5314 5200 ;; 5315 5201 5316 mingw* | cygwin* |pw32* | os2*)5202 mingw* | pw32* | os2*) 5317 5203 # This hack is so that the source file can tell whether it is being 5318 5204 # built for inclusion in a dll (and should export symbols for example). … … 5347 5233 ;; 5348 5234 5349 linux* | k*bsd*-gnu)5235 linux*) 5350 5236 case $cc_basename in 5351 5237 icc* | ecc*) … … 5366 5252 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 5367 5253 ;; 5368 *)5369 case `$CC -V 2>&1 | sed 5q` in5370 *Sun\ C*)5371 # Sun C 5.95372 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'5373 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'5374 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'5375 ;;5376 *Sun\ F*)5377 # Sun Fortran 8.3 passes all unrecognized flags to the linker5378 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'5379 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'5380 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''5381 ;;5382 esac5383 ;;5384 5254 esac 5385 5255 ;; … … 5388 5258 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 5389 5259 # All OSF/1 code is PIC. 5390 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'5391 ;;5392 5393 rdos*)5394 5260 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 5395 5261 ;; … … 5489 5355 # See if the linker supports building shared libraries. 5490 5356 AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], 5491 [AC_REQUIRE([LT_AC_PROG_SED])dnl 5492 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) 5357 [AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) 5493 5358 ifelse([$1],[CXX],[ 5494 5359 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' … … 5507 5372 ;; 5508 5373 cygwin* | mingw*) 5509 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] [[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'5374 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' 5510 5375 ;; 5511 5376 *) … … 5646 5511 _LT_AC_TAGVAR(always_export_symbols, $1)=no 5647 5512 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes 5648 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] [[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'5513 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' 5649 5514 5650 5515 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then … … 5664 5529 ;; 5665 5530 5666 interix [[3-9]]*)5531 interix3*) 5667 5532 _LT_AC_TAGVAR(hardcode_direct, $1)=no 5668 5533 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no … … 5679 5544 ;; 5680 5545 5681 gnu* | linux* | k*bsd*-gnu)5546 linux*) 5682 5547 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 5683 5548 tmp_addflag= … … 5697 5562 tmp_addflag=' -nofor_main' ;; 5698 5563 esac 5699 case `$CC -V 2>&1 | sed 5q` in 5700 *Sun\ C*) # Sun C 5.9 5701 _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' 5702 tmp_sharedflag='-G' ;; 5703 *Sun\ F*) # Sun Fortran 8.3 5704 tmp_sharedflag='-G' ;; 5705 *) 5706 tmp_sharedflag='-shared' ;; 5707 esac 5708 _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 5564 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 5709 5565 5710 5566 if test $supports_anon_versioning = yes; then … … 5712 5568 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 5713 5569 $echo "local: *; };" >> $output_objdir/$libname.ver~ 5714 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'5570 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 5715 5571 fi 5716 5572 else … … 5752 5608 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 5753 5609 case `$LD -v 2>&1` in 5754 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) 5610 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) 5755 5611 _LT_AC_TAGVAR(ld_shlibs, $1)=no 5756 5612 cat <<_LT_EOF 1>&2 … … 5871 5727 then 5872 5728 # We have reworked collect2 5873 :5729 _LT_AC_TAGVAR(hardcode_direct, $1)=yes 5874 5730 else 5875 5731 # We have old collect2 … … 5964 5820 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' 5965 5821 # FIXME: Should let the user specify the lib program. 5966 _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'5822 _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' 5967 5823 _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' 5968 5824 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes … … 6006 5862 xlc*) 6007 5863 output_verbose_link_cmd='echo' 6008 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $ xlcverstring'5864 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' 6009 5865 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 6010 5866 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 6011 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $ xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'5867 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name
