| 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-2001, 2003-2015 Free Software Foundation, Inc. | 3 # Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc. |
| 4 # Written by Gordon Matzigkeit, 1996 | 4 # Written by Gordon Matzigkeit, 1996 |
| 5 # | 5 # |
| 6 # This file is free software; the Free Software Foundation gives | 6 # This file is free software; the Free Software Foundation gives |
| 7 # unlimited permission to copy and/or distribute it, with or without | 7 # unlimited permission to copy and/or distribute it, with or without |
| 8 # modifications, as long as this notice is preserved. | 8 # modifications, as long as this notice is preserved. |
| 9 | 9 |
| 10 m4_define([_LT_COPYING], [dnl | 10 m4_define([_LT_COPYING], [dnl |
| (...skipping 2849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2860 LDFLAGS=$save_LDFLAGS | 2860 LDFLAGS=$save_LDFLAGS |
| 2861 libdir=$save_libdir | 2861 libdir=$save_libdir |
| 2862 ]) | 2862 ]) |
| 2863 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath | 2863 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
| 2864 | 2864 |
| 2865 # This implies no fast_install, which is unacceptable. | 2865 # This implies no fast_install, which is unacceptable. |
| 2866 # Some rework will be needed to allow for fast_install | 2866 # Some rework will be needed to allow for fast_install |
| 2867 # before this can be enabled. | 2867 # before this can be enabled. |
| 2868 hardcode_into_libs=yes | 2868 hardcode_into_libs=yes |
| 2869 | 2869 |
| 2870 # Add ABI-specific directories to the system library path. | |
| 2871 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" | |
| 2872 | |
| 2873 # Ideally, we could use ldconfig to report *all* directores which are | 2870 # Ideally, we could use ldconfig to report *all* directores which are |
| 2874 # searched for libraries, however this is still not possible. Aside from not | 2871 # searched for libraries, however this is still not possible. Aside from not |
| 2875 # being certain /sbin/ldconfig is available, command | 2872 # being certain /sbin/ldconfig is available, command |
| 2876 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, | 2873 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, |
| 2877 # even though it is searched at run-time. Try to do the best guess by | 2874 # even though it is searched at run-time. Try to do the best guess by |
| 2878 # appending ld.so.conf contents (and includes) to the search path. | 2875 # appending ld.so.conf contents (and includes) to the search path. |
| 2879 if test -f /etc/ld.so.conf; then | 2876 if test -f /etc/ld.so.conf; then |
| 2880 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' ' '` | 2877 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' ' '` |
| 2881 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" | 2878 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 2882 fi | 2879 fi |
| 2883 | 2880 |
| 2884 # We used to test for /lib/ld.so.1 and disable shared libraries on | 2881 # We used to test for /lib/ld.so.1 and disable shared libraries on |
| 2885 # powerpc, because MkLinux only supported shared libraries with the | 2882 # powerpc, because MkLinux only supported shared libraries with the |
| 2886 # GNU dynamic linker. Since this was broken with cross compilers, | 2883 # GNU dynamic linker. Since this was broken with cross compilers, |
| 2887 # most powerpc-linux boxes support dynamic linking these days and | 2884 # most powerpc-linux boxes support dynamic linking these days and |
| 2888 # people can always --disable-shared, the test was removed, and we | 2885 # people can always --disable-shared, the test was removed, and we |
| 2889 # assume the GNU/Linux dynamic linker is in use. | 2886 # assume the GNU/Linux dynamic linker is in use. |
| 2890 dynamic_linker='GNU/Linux ld.so' | 2887 dynamic_linker='GNU/Linux ld.so' |
| 2891 ;; | 2888 ;; |
| (...skipping 5471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8363 ;; | 8360 ;; |
| 8364 esac | 8361 esac |
| 8365 ;; | 8362 ;; |
| 8366 esac | 8363 esac |
| 8367 ]) | 8364 ]) |
| 8368 to_tool_file_cmd=$lt_cv_to_tool_file_cmd | 8365 to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 8369 AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) | 8366 AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) |
| 8370 _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], | 8367 _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], |
| 8371 [0], [convert $build files to toolchain format])dnl | 8368 [0], [convert $build files to toolchain format])dnl |
| 8372 ])# _LT_PATH_CONVERSION_FUNCTIONS | 8369 ])# _LT_PATH_CONVERSION_FUNCTIONS |
| OLD | NEW |