source:
scripts/untested/autotools/patches/libtool-1.4.2-multilib.patch@
41a2794
Last change on this file since 41a2794 was d1afb9e, checked in by , 19 years ago | |
---|---|
|
|
File size: 1.7 KB |
-
libtool-1.4.2/libtool.m4
old new 2167 2167 # people can always --disable-shared, the test was removed, and we 2168 2168 # assume the GNU/Linux dynamic linker is in use. 2169 2169 dynamic_linker='GNU/Linux ld.so' 2170 2171 # Find out which ABI we are using (multilib Linux x86_64 hack). 2172 libsuff= 2173 case "$host_cpu" in 2174 x86_64*) 2175 echo '[#]line __oline__ "configure"' > conftest.$ac_ext 2176 if AC_TRY_EVAL(ac_compile); then 2177 case `/usr/bin/file conftest.$ac_objext` in 2178 *64-bit*) 2179 libsuff=64 2180 ;; 2181 esac 2182 fi 2183 rm -rf conftest* 2184 ;; 2185 *) 2186 ;; 2187 esac 2188 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" 2189 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 2170 2190 ;; 2171 2191 2172 2192 netbsd*) -
libtool-1.4.2/libltdl/acinclude.m4
old new 2167 2167 # people can always --disable-shared, the test was removed, and we 2168 2168 # assume the GNU/Linux dynamic linker is in use. 2169 2169 dynamic_linker='GNU/Linux ld.so' 2170 2171 # Find out which ABI we are using (multilib Linux x86_64 hack). 2172 libsuff= 2173 case "$host_cpu" in 2174 x86_64*) 2175 echo '[#]line __oline__ "configure"' > conftest.$ac_ext 2176 if AC_TRY_EVAL(ac_compile); then 2177 case `/usr/bin/file conftest.$ac_objext` in 2178 *64-bit*) 2179 libsuff=64 2180 ;; 2181 esac 2182 fi 2183 rm -rf conftest* 2184 ;; 2185 *) 2186 ;; 2187 esac 2188 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" 2189 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 2170 2190 ;; 2171 2191 2172 2192 netbsd*)
Note:
See TracBrowser
for help on using the repository browser.