Changeset 1970 for features/performance/aclocal.m4
- Timestamp:
- 04/09/08 09:36:23 (9 months ago)
- Files:
-
- 1 modified
-
features/performance/aclocal.m4 (modified) (96 diffs)
Legend:
- Unmodified
- Added
- Removed
-
features/performance/aclocal.m4
r1738 r1970 1 # generated automatically by aclocal 1.10 -*- Autoconf -*-1 # generated automatically by aclocal 1.10.1 -*- Autoconf -*- 2 2 3 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 4 # 2005, 2006 Free Software Foundation, Inc.4 # 2005, 2006, 2007, 2008 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])]) 14 m4_ifndef([AC_AUTOCONF_VERSION], 15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 16 m4_if(AC_AUTOCONF_VERSION, [2.61],, 17 [m4_warning([this file was generated for autoconf 2.61. 18 You have another version of autoconf. It may work, but is not guaranteed to. 19 If you have problems, you may need to regenerate the build system entirely. 20 To do so, use the procedure documented by the package, typically `autoreconf'.])]) 18 21 19 22 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 20 23 21 # serial 48AC_PROG_LIBTOOL24 # serial 51 AC_PROG_LIBTOOL 22 25 23 26 … … 182 185 183 186 # Determine commands to create old-style static archives. 184 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs $old_deplibs'187 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 185 188 old_postinstall_cmds='chmod 644 $oldlib' 186 189 old_postuninstall_cmds= … … 269 272 # the simple compiler test code. 270 273 AC_DEFUN([_LT_COMPILER_BOILERPLATE], 271 [ac_outfile=conftest.$ac_objext 272 printf "$lt_simple_compile_test_code" >conftest.$ac_ext 274 [AC_REQUIRE([LT_AC_PROG_SED])dnl 275 ac_outfile=conftest.$ac_objext 276 echo "$lt_simple_compile_test_code" >conftest.$ac_ext 273 277 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 274 278 _lt_compiler_boilerplate=`cat conftest.err` … … 282 286 # the simple link test code. 283 287 AC_DEFUN([_LT_LINKER_BOILERPLATE], 284 [ac_outfile=conftest.$ac_objext 285 printf "$lt_simple_link_test_code" >conftest.$ac_ext 288 [AC_REQUIRE([LT_AC_PROG_SED])dnl 289 ac_outfile=conftest.$ac_objext 290 echo "$lt_simple_link_test_code" >conftest.$ac_ext 286 291 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 287 292 _lt_linker_boilerplate=`cat conftest.err` … … 299 304 # to the aix ld manual. 300 305 AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], 301 [AC_LINK_IFELSE(AC_LANG_PROGRAM,[ 302 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 303 }'` 306 [AC_REQUIRE([LT_AC_PROG_SED])dnl 307 AC_LINK_IFELSE(AC_LANG_PROGRAM,[ 308 lt_aix_libpath_sed=' 309 /Import File Strings/,/^$/ { 310 /^0/ { 311 s/^0 *\(.*\)$/\1/ 312 p 313 } 314 }' 315 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 304 316 # Check for a 64-bit object if we didn't find anything. 305 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; } 306 }'`; fi],[]) 317 if test -z "$aix_libpath"; then 318 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 319 fi],[]) 307 320 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 308 321 ])# _LT_AC_SYS_LIBPATH_AIX … … 535 548 ;; 536 549 537 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 550 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 551 s390*-*linux*|sparc*-*linux*) 538 552 # Find out which ABI we are using. 539 553 echo 'int i;' > conftest.$ac_ext … … 542 556 *32-bit*) 543 557 case $host in 558 x86_64-*kfreebsd*-gnu) 559 LD="${LD-ld} -m elf_i386_fbsd" 560 ;; 544 561 x86_64-*linux*) 545 562 LD="${LD-ld} -m elf_i386" … … 558 575 *64-bit*) 559 576 case $host in 577 x86_64-*kfreebsd*-gnu) 578 LD="${LD-ld} -m elf_x86_64_fbsd" 579 ;; 560 580 x86_64-*linux*) 561 581 LD="${LD-ld} -m elf_x86_64" … … 629 649 [$2=no 630 650 ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) 631 printf"$lt_simple_compile_test_code" > conftest.$ac_ext651 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 632 652 lt_compiler_flag="$3" 633 653 # Insert the option either (1) after the last *FLAGS variable, or … … 670 690 # Check whether the given compiler option works 671 691 AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], 672 [AC_CACHE_CHECK([$1], [$2], 692 [AC_REQUIRE([LT_AC_PROG_SED])dnl 693 AC_CACHE_CHECK([$1], [$2], 673 694 [$2=no 674 695 save_LDFLAGS="$LDFLAGS" 675 696 LDFLAGS="$LDFLAGS $3" 676 printf"$lt_simple_link_test_code" > conftest.$ac_ext697 echo "$lt_simple_link_test_code" > conftest.$ac_ext 677 698 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 678 699 # The linker can only warn and ignore the option if not recognized … … 788 809 ;; 789 810 *) 790 # If test is not a shell built-in, we'll probably end up computing a 791 # maximum length that is only half of the actual maximum length, but 792 # we can't tell. 793 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 794 while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 811 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 812 if test -n "$lt_cv_sys_max_cmd_len"; then 813 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 814 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 815 else 816 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 817 while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 795 818 = "XX$teststring") >/dev/null 2>&1 && 796 new_result=`expr "X$teststring" : ".*" 2>&1` && 797 lt_cv_sys_max_cmd_len=$new_result && 798 test $i != 17 # 1/2 MB should be enough 799 do 800 i=`expr $i + 1` 801 teststring=$teststring$teststring 802 done 803 teststring= 804 # Add a significant safety factor because C++ compilers can tack on massive 805 # amounts of additional arguments before passing them to the linker. 806 # It appears as though 1/2 is a usable value. 807 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 819 new_result=`expr "X$teststring" : ".*" 2>&1` && 820 lt_cv_sys_max_cmd_len=$new_result && 821 test $i != 17 # 1/2 MB should be enough 822 do 823 i=`expr $i + 1` 824 teststring=$teststring$teststring 825 done 826 teststring= 827 # Add a significant safety factor because C++ compilers can tack on massive 828 # amounts of additional arguments before passing them to the linker. 829 # It appears as though 1/2 is a usable value. 830 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 831 fi 808 832 ;; 809 833 esac … … 1032 1056 # Check to see if options -c and -o are simultaneously supported by compiler 1033 1057 AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], 1034 [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 1058 [AC_REQUIRE([LT_AC_PROG_SED])dnl 1059 AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 1035 1060 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], 1036 1061 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], … … 1040 1065 cd conftest 1041 1066 mkdir out 1042 printf"$lt_simple_compile_test_code" > conftest.$ac_ext1067 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 1043 1068 1044 1069 lt_compiler_flag="-o out/conftest2.$ac_objext" … … 1180 1205 if test -n "$STRIP" ; then 1181 1206 striplib="$STRIP -x" 1207 old_striplib="$STRIP -S" 1182 1208 AC_MSG_RESULT([yes]) 1183 1209 else … … 1197 1223 # PORTME Fill in your ld.so characteristics 1198 1224 AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], 1199 [AC_MSG_CHECKING([dynamic linker characteristics]) 1225 [AC_REQUIRE([LT_AC_PROG_SED])dnl 1226 AC_MSG_CHECKING([dynamic linker characteristics]) 1200 1227 library_names_spec= 1201 1228 libname_spec='lib$name' … … 1211 1238 dynamic_linker="$host_os ld.so" 1212 1239 sys_lib_dlsearch_path_spec="/lib /usr/lib" 1240 m4_if($1,[],[ 1213 1241 if test "$GCC" = yes; then 1214 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 1215 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then 1242 case $host_os in 1243 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 1244 *) lt_awk_arg="/^libraries:/" ;; 1245 esac 1246 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 1247 if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then 1216 1248 # if the path contains ";" then we assume it to be the separator 1217 1249 # otherwise default to the standard path separator (i.e. ":") - it is 1218 1250 # assumed that no part of a normal pathname contains ";" but that should 1219 1251 # okay in the real world where ";" in dirpaths is itself problematic. 1220 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`1252 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` 1221 1253 else 1222 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`1254 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 1223 1255 fi 1256 # Ok, now we have the path, separated by spaces, we can step through it 1257 # and add multilib dir if necessary. 1258 lt_tmp_lt_search_path_spec= 1259 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 1260 for lt_sys_path in $lt_search_path_spec; do 1261 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 1262 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 1263 else 1264 test -d "$lt_sys_path" && \ 1265 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 1266 fi 1267 done 1268 lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' 1269 BEGIN {RS=" "; FS="/|\n";} { 1270 lt_foo=""; 1271 lt_count=0; 1272 for (lt_i = NF; lt_i > 0; lt_i--) { 1273 if ($lt_i != "" && $lt_i != ".") { 1274 if ($lt_i == "..") { 1275 lt_count++; 1276 } else { 1277 if (lt_count == 0) { 1278 lt_foo="/" $lt_i lt_foo; 1279 } else { 1280 lt_count--; 1281 } 1282 } 1283 } 1284 } 1285 if (lt_foo != "") { lt_freq[[lt_foo]]++; } 1286 if (lt_freq[[lt_foo]] == 1) { print lt_foo; } 1287 }'` 1288 sys_lib_search_path_spec=`echo $lt_search_path_spec` 1224 1289 else 1225 1290 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 1226 fi 1291 fi]) 1227 1292 need_lib_prefix=unknown 1228 1293 hardcode_into_libs=no … … 1381 1446 shlibpath_var=DYLD_LIBRARY_PATH 1382 1447 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 1383 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 1384 if test "$GCC" = yes; then 1385 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"` 1386 else 1387 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 1388 fi 1448 m4_if([$1], [],[ 1449 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) 1389 1450 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 1390 1451 ;; … … 1401 1462 freebsd1*) 1402 1463 dynamic_linker=no 1403 ;;1404 1405 kfreebsd*-gnu)1406 version_type=linux1407 need_lib_prefix=no1408 need_version=no1409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'1410 soname_spec='${libname}${release}${shared_ext}$major'1411 shlibpath_var=LD_LIBRARY_PATH1412 shlibpath_overrides_runpath=no1413 hardcode_into_libs=yes1414 dynamic_linker='GNU ld.so'1415 1464 ;; 1416 1465 … … 1452 1501 hardcode_into_libs=yes 1453 1502 ;; 1454 freebsd*) # from 4.6 on1503 *) # from 4.6 on, and DragonFly 1455 1504 shlibpath_overrides_runpath=yes 1456 1505 hardcode_into_libs=yes … … 1515 1564 ;; 1516 1565 1517 interix 3*)1566 interix[[3-9]]*) 1518 1567 version_type=linux 1519 1568 need_lib_prefix=no … … 1570 1619 1571 1620 # This must be Linux ELF. 1572 linux* )1621 linux* | k*bsd*-gnu) 1573 1622 version_type=linux 1574 1623 need_lib_prefix=no … … 1586 1635 # Append ld.so.conf contents to the search path 1587 1636 if test -f /etc/ld.so.conf; then 1588 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' ' '`1637 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' ' '` 1589 1638 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 1590 1639 fi … … 1597 1646 # assume the GNU/Linux dynamic linker is in use. 1598 1647 dynamic_linker='GNU/Linux ld.so' 1599 ;;1600 1601 knetbsd*-gnu)1602 version_type=linux1603 need_lib_prefix=no1604 need_version=no1605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'1606 soname_spec='${libname}${release}${shared_ext}$major'1607 shlibpath_var=LD_LIBRARY_PATH1608 shlibpath_overrides_runpath=no1609 hardcode_into_libs=yes1610 dynamic_linker='GNU ld.so'1611 1648 ;; 1612 1649 … … 1692 1729 ;; 1693 1730 1731 rdos*) 1732 dynamic_linker=no 1733 ;; 1734 1694 1735 solaris*) 1695 1736 version_type=linux … … 1797 1838 # ---------------- 1798 1839 AC_DEFUN([_LT_AC_TAGCONFIG], 1799 [AC_ARG_WITH([tags], 1840 [AC_REQUIRE([LT_AC_PROG_SED])dnl 1841 AC_ARG_WITH([tags], 1800 1842 [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], 1801 1843 [include additional configurations @<:@automatic@:>@])], … … 2058 2100 # AC_PATH_TOOL_PREFIX 2059 2101 # ------------------- 2060 # find a file program which can recogni se shared library2102 # find a file program which can recognize shared library 2061 2103 AC_DEFUN([AC_PATH_TOOL_PREFIX], 2062 2104 [AC_REQUIRE([AC_PROG_EGREP])dnl … … 2121 2163 # AC_PATH_MAGIC 2122 2164 # ------------- 2123 # find a file program which can recogni se a shared library2165 # find a file program which can recognize a shared library 2124 2166 AC_DEFUN([AC_PATH_MAGIC], 2125 2167 [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) … … 2268 2310 # -- PORTME fill in with the dynamic library characteristics 2269 2311 AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], 2270 [AC_CACHE_CHECK([how to recogni se dependent libraries],2312 [AC_CACHE_CHECK([how to recognize dependent libraries], 2271 2313 lt_cv_deplibs_check_method, 2272 2314 [lt_cv_file_magic_cmd='$MAGIC_CMD' … … 2307 2349 mingw* | pw32*) 2308 2350 # Base MSYS/MinGW do not provide the 'file' command needed by 2309 # func_win32_libid shell function, so use a weaker test based on 'objdump'. 2310 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 2311 lt_cv_file_magic_cmd='$OBJDUMP -f' 2351 # func_win32_libid shell function, so use a weaker test based on 'objdump', 2352 # unless we find 'file', for example because we are cross-compiling. 2353 if ( file / ) >/dev/null 2>&1; then 2354 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 2355 lt_cv_file_magic_cmd='func_win32_libid' 2356 else 2357 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 2358 lt_cv_file_magic_cmd='$OBJDUMP -f' 2359 fi 2312 2360 ;; 2313 2361 … … 2316 2364 ;; 2317 2365 2318 freebsd* | kfreebsd*-gnu |dragonfly*)2366 freebsd* | dragonfly*) 2319 2367 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 2320 2368 case $host_cpu in … … 2354 2402 ;; 2355 2403 2356 interix 3*)2404 interix[[3-9]]*) 2357 2405 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 2358 2406 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' … … 2370 2418 2371 2419 # This must be Linux ELF. 2372 linux* )2420 linux* | k*bsd*-gnu) 2373 2421 lt_cv_deplibs_check_method=pass_all 2374 2422 ;; … … 2401 2449 2402 2450 osf3* | osf4* | osf5*) 2451 lt_cv_deplibs_check_method=pass_all 2452 ;; 2453 2454 rdos*) 2403 2455 lt_cv_deplibs_check_method=pass_all 2404 2456 ;; … … 2456 2508 else 2457 2509 lt_nm_to_check="${ac_tool_prefix}nm" 2458 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 2510 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 2459 2511 lt_nm_to_check="$lt_nm_to_check nm" 2460 2512 fi … … 2672 2724 2673 2725 # Code to be used in simple compile tests 2674 lt_simple_compile_test_code="int some_variable = 0; \n"2726 lt_simple_compile_test_code="int some_variable = 0;" 2675 2727 2676 2728 # Code to be used in simple link tests 2677 lt_simple_link_test_code='int main(){return(0);} \n'2729 lt_simple_link_test_code='int main(){return(0);}' 2678 2730 2679 2731 _LT_AC_SYS_COMPILER … … 2777 2829 2778 2830 # Code to be used in simple compile tests 2779 lt_simple_compile_test_code="int some_variable = 0; \n"2831 lt_simple_compile_test_code="int some_variable = 0;" 2780 2832 2781 2833 # Code to be used in simple link tests 2782 lt_simple_link_test_code='int main(int, char *[[]]) { return(0); } \n'2834 lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' 2783 2835 2784 2836 # ltmain only uses $CC for tagged configurations so make sure $CC is set. … … 2926 2978 then 2927 2979 # We have reworked collect2 2928 _LT_AC_TAGVAR(hardcode_direct, $1)=yes2980 : 2929 2981 else 2930 2982 # We have old collect2 … … 3085 3137 xlc*) 3086 3138 output_verbose_link_cmd='echo' 3087 _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'3139 _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' 3088 3140 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 3089 3141 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 3090 _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}'3142 _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}' 3091 3143 _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}' 3092 3144 ;; … … 3122 3174 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 3123 3175 ;; 3124 freebsd* | kfreebsd*-gnu |dragonfly*)3176 freebsd* | dragonfly*) 3125 3177 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 3126 3178 # conventions … … 3171 3223 3172 3224 case $host_cpu in 3173 hppa*64*|ia64*) 3174 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' 3175 ;; 3225 hppa*64*|ia64*) ;; 3176 3226 *) 3177 3227 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' … … 3241 3291 esac 3242 3292 ;; 3243 interix 3*)3293 interix[[3-9]]*) 3244 3294 _LT_AC_TAGVAR(hardcode_direct, $1)=no 3245 3295 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no … … 3281 3331 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 3282 3332 ;; 3283 linux* )3333 linux* | k*bsd*-gnu) 3284 3334 case $cc_basename in 3285 3335 KCC*) … … 3361 3411 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' 3362 3412 ;; 3413 *) 3414 case `$CC -V 2>&1 | sed 5q` in 3415 *Sun\ C*) 3416 # Sun C++ 5.9 3417 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' 3418 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 3419 _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' 3420 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 3421 _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' 3422 3423 # Not sure whether something based on 3424 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 3425 # would be better. 3426 output_verbose_link_cmd='echo' 3427 3428 # Archives containing C++ object files must be created using 3429 # "CC -xar", where "CC" is the Sun C++ compiler. This is 3430 # necessary to make sure instantiated templates are included 3431 # in the archive. 3432 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' 3433 ;; 3434 esac 3435 ;; 3363 3436 esac 3364 3437 ;; … … 3399 3472 ;; 3400 3473 openbsd*) 3401 _LT_AC_TAGVAR(hardcode_direct, $1)=yes 3402 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 3403 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 3404 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 3405 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 3406 _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' 3407 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 3408 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 3474 if test -f /usr/libexec/ld.so; then 3475 _LT_AC_TAGVAR(hardcode_direct, $1)=yes 3476 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 3477 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 3478 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 3479 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 3480 _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' 3481 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 3482 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 3483 fi 3484 output_verbose_link_cmd='echo' 3485 else 3486 _LT_AC_TAGVAR(ld_shlibs, $1)=no 3409 3487 fi 3410 output_verbose_link_cmd='echo'3411 3488 ;; 3412 3489 osf3*) … … 3570 3647 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; 3571 3648 *) 3572 # The C++ compiler is used as linker so we must use $wl 3573 # flag to pass the commands to the underlying system 3574 # linker. We must also pass each convience library through 3575 # to the system linker between allextract/defaultextract. 3576 # The C++ compiler will combine linker options so we 3577 # cannot just pass the convience library names through 3578 # without $wl. 3649 # The compiler driver will combine and reorder linker options, 3650 # but understands `-z linker_flag'. 3579 3651 # Supported since Solaris 2.6 (maybe 2.5.1?) 3580 _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'3652 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' 3581 3653 ;; 3582 3654 esac … … 3625 3697 3626 3698 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' 3699 case $host_os in 3700 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; 3701 *) 3702 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 3703 ;; 3704 esac 3627 3705 fi 3628 3706 ;; … … 3868 3946 ifelse([$1],[CXX], 3869 3947 [case $host_os in 3870 interix 3*)3948 interix[[3-9]]*) 3871 3949 # Interix 3.5 installs completely hosed .la files for C++, so rather than 3872 3950 # hack all around it, let's just trust "g++" to DTRT. … … 3876 3954 ;; 3877 3955 3956 linux*) 3957 case `$CC -V 2>&1 | sed 5q` in 3958 *Sun\ C*) 3959 # Sun C++ 5.9 3960 # 3961 # The more standards-conforming stlport4 library is 3962 # incompatible with the Cstd library. Avoid specifying 3963 # it if it's in CXXFLAGS. Ignore libCrun as 3964 # -library=stlport4 depends on it. 3965 case " $CXX $CXXFLAGS " in 3966 *" -library=stlport4 "*) 3967 solaris_use_stlport4=yes 3968 ;; 3969 esac 3970 if test "$solaris_use_stlport4" != yes; then 3971 _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
