| OLD | NEW |
| 1 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- | 1 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
| 2 # | 2 # |
| 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, | 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
| 4 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software | 4 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
| 5 # Foundation, Inc. | 5 # Foundation, Inc. |
| 6 # Written by Gordon Matzigkeit, 1996 | 6 # Written by Gordon Matzigkeit, 1996 |
| 7 # | 7 # |
| 8 # This file is free software; the Free Software Foundation gives | 8 # This file is free software; the Free Software Foundation gives |
| 9 # unlimited permission to copy and/or distribute it, with or without | 9 # unlimited permission to copy and/or distribute it, with or without |
| 10 # modifications, as long as this notice is preserved. | 10 # modifications, as long as this notice is preserved. |
| (...skipping 1294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1305 ;; | 1305 ;; |
| 1306 *64-bit*) | 1306 *64-bit*) |
| 1307 LD="${LD-ld} -64" | 1307 LD="${LD-ld} -64" |
| 1308 ;; | 1308 ;; |
| 1309 esac | 1309 esac |
| 1310 fi | 1310 fi |
| 1311 fi | 1311 fi |
| 1312 rm -rf conftest* | 1312 rm -rf conftest* |
| 1313 ;; | 1313 ;; |
| 1314 | 1314 |
| 1315 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ | 1315 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
| 1316 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) | 1316 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
| 1317 # Find out which ABI we are using. | 1317 # Find out which ABI we are using. |
| 1318 echo 'int i;' > conftest.$ac_ext | 1318 echo 'int i;' > conftest.$ac_ext |
| 1319 if AC_TRY_EVAL(ac_compile); then | 1319 if AC_TRY_EVAL(ac_compile); then |
| 1320 case `/usr/bin/file conftest.o` in | 1320 case `/usr/bin/file conftest.o` in |
| 1321 *32-bit*) | 1321 *32-bit*) |
| 1322 case $host in | 1322 case $host in |
| 1323 x86_64-*kfreebsd*-gnu) | 1323 x86_64-*kfreebsd*-gnu) |
| 1324 LD="${LD-ld} -m elf_i386_fbsd" | 1324 LD="${LD-ld} -m elf_i386_fbsd" |
| 1325 ;; | 1325 ;; |
| 1326 x86_64-*linux*) | 1326 x86_64-*linux*) |
| 1327 LD="${LD-ld} -m elf_i386" | 1327 LD="${LD-ld} -m elf_i386" |
| 1328 ;; | 1328 ;; |
| 1329 » powerpc64le-*linux*) | 1329 » ppc64-*linux*|powerpc64-*linux*) |
| 1330 » LD="${LD-ld} -m elf32lppclinux" | |
| 1331 » ;; | |
| 1332 » powerpc64-*linux*) | |
| 1333 LD="${LD-ld} -m elf32ppclinux" | 1330 LD="${LD-ld} -m elf32ppclinux" |
| 1334 ;; | 1331 ;; |
| 1335 s390x-*linux*) | 1332 s390x-*linux*) |
| 1336 LD="${LD-ld} -m elf_s390" | 1333 LD="${LD-ld} -m elf_s390" |
| 1337 ;; | 1334 ;; |
| 1338 sparc64-*linux*) | 1335 sparc64-*linux*) |
| 1339 LD="${LD-ld} -m elf32_sparc" | 1336 LD="${LD-ld} -m elf32_sparc" |
| 1340 ;; | 1337 ;; |
| 1341 esac | 1338 esac |
| 1342 ;; | 1339 ;; |
| 1343 *64-bit*) | 1340 *64-bit*) |
| 1344 case $host in | 1341 case $host in |
| 1345 x86_64-*kfreebsd*-gnu) | 1342 x86_64-*kfreebsd*-gnu) |
| 1346 LD="${LD-ld} -m elf_x86_64_fbsd" | 1343 LD="${LD-ld} -m elf_x86_64_fbsd" |
| 1347 ;; | 1344 ;; |
| 1348 x86_64-*linux*) | 1345 x86_64-*linux*) |
| 1349 LD="${LD-ld} -m elf_x86_64" | 1346 LD="${LD-ld} -m elf_x86_64" |
| 1350 ;; | 1347 ;; |
| 1351 » powerpcle-*linux*) | 1348 » ppc*-*linux*|powerpc*-*linux*) |
| 1352 » LD="${LD-ld} -m elf64lppc" | |
| 1353 » ;; | |
| 1354 » powerpc-*linux*) | |
| 1355 LD="${LD-ld} -m elf64ppc" | 1349 LD="${LD-ld} -m elf64ppc" |
| 1356 ;; | 1350 ;; |
| 1357 s390*-*linux*|s390*-*tpf*) | 1351 s390*-*linux*|s390*-*tpf*) |
| 1358 LD="${LD-ld} -m elf64_s390" | 1352 LD="${LD-ld} -m elf64_s390" |
| 1359 ;; | 1353 ;; |
| 1360 sparc*-*linux*) | 1354 sparc*-*linux*) |
| 1361 LD="${LD-ld} -m elf64_sparc" | 1355 LD="${LD-ld} -m elf64_sparc" |
| 1362 ;; | 1356 ;; |
| 1363 esac | 1357 esac |
| 1364 ;; | 1358 ;; |
| (...skipping 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2668 LDFLAGS=$save_LDFLAGS | 2662 LDFLAGS=$save_LDFLAGS |
| 2669 libdir=$save_libdir | 2663 libdir=$save_libdir |
| 2670 ]) | 2664 ]) |
| 2671 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath | 2665 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
| 2672 | 2666 |
| 2673 # This implies no fast_install, which is unacceptable. | 2667 # This implies no fast_install, which is unacceptable. |
| 2674 # Some rework will be needed to allow for fast_install | 2668 # Some rework will be needed to allow for fast_install |
| 2675 # before this can be enabled. | 2669 # before this can be enabled. |
| 2676 hardcode_into_libs=yes | 2670 hardcode_into_libs=yes |
| 2677 | 2671 |
| 2672 # Add ABI-specific directories to the system library path. |
| 2673 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" |
| 2674 |
| 2678 # Append ld.so.conf contents to the search path | 2675 # Append ld.so.conf contents to the search path |
| 2679 if test -f /etc/ld.so.conf; then | 2676 if test -f /etc/ld.so.conf; then |
| 2680 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;s/"//g;/^$/d' | tr '\n' ' '` | 2677 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;s/"//g;/^$/d' | tr '\n' ' '` |
| 2681 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" | 2678 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" |
| 2679 |
| 2682 fi | 2680 fi |
| 2683 | 2681 |
| 2684 # We used to test for /lib/ld.so.1 and disable shared libraries on | 2682 # We used to test for /lib/ld.so.1 and disable shared libraries on |
| 2685 # powerpc, because MkLinux only supported shared libraries with the | 2683 # powerpc, because MkLinux only supported shared libraries with the |
| 2686 # GNU dynamic linker. Since this was broken with cross compilers, | 2684 # GNU dynamic linker. Since this was broken with cross compilers, |
| 2687 # most powerpc-linux boxes support dynamic linking these days and | 2685 # most powerpc-linux boxes support dynamic linking these days and |
| 2688 # people can always --disable-shared, the test was removed, and we | 2686 # people can always --disable-shared, the test was removed, and we |
| 2689 # assume the GNU/Linux dynamic linker is in use. | 2687 # assume the GNU/Linux dynamic linker is in use. |
| 2690 dynamic_linker='GNU/Linux ld.so' | 2688 dynamic_linker='GNU/Linux ld.so' |
| 2691 ;; | 2689 ;; |
| (...skipping 5287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7979 ;; | 7977 ;; |
| 7980 esac | 7978 esac |
| 7981 ;; | 7979 ;; |
| 7982 esac | 7980 esac |
| 7983 ]) | 7981 ]) |
| 7984 to_tool_file_cmd=$lt_cv_to_tool_file_cmd | 7982 to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 7985 AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) | 7983 AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) |
| 7986 _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], | 7984 _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], |
| 7987 [0], [convert $build files to toolchain format])dnl | 7985 [0], [convert $build files to toolchain format])dnl |
| 7988 ])# _LT_PATH_CONVERSION_FUNCTIONS | 7986 ])# _LT_PATH_CONVERSION_FUNCTIONS |
| OLD | NEW |