Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Side by Side Diff: libtool.m4

Issue 6813007: Fix build regression in commit 18fae96 (Closed) Base URL: http://git.chromium.org/git/nacl-gcc@master
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « libstdc++-v3/configure ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 Free Software Foundation, Inc. 4 # 2006, 2007, 2008 Free Software Foundation, Inc.
5 # Written by Gordon Matzigkeit, 1996 5 # Written by Gordon Matzigkeit, 1996
6 # 6 #
7 # This file is free software; the Free Software Foundation gives 7 # This file is free software; the Free Software Foundation gives
8 # unlimited permission to copy and/or distribute it, with or without 8 # unlimited permission to copy and/or distribute it, with or without
9 # modifications, as long as this notice is preserved. 9 # modifications, as long as this notice is preserved.
10 10
(...skipping 2426 matching lines...) Expand 10 before | Expand all | Expand 10 after
2437 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${li bsuff}" 2437 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${li bsuff}"
2438 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 2438 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
2439 hardcode_into_libs=yes 2439 hardcode_into_libs=yes
2440 ;; 2440 ;;
2441 2441
2442 # No shared lib support for Linux oldld, aout, or coff. 2442 # No shared lib support for Linux oldld, aout, or coff.
2443 linux*oldld* | linux*aout* | linux*coff*) 2443 linux*oldld* | linux*aout* | linux*coff*)
2444 dynamic_linker=no 2444 dynamic_linker=no
2445 ;; 2445 ;;
2446 2446
2447 # This must be Linux ELF. 2447 nacl*)
2448 nacl* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
2449 version_type=linux 2448 version_type=linux
2450 need_lib_prefix=no 2449 need_lib_prefix=no
2451 need_version=no 2450 need_version=no
2451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major $libname${shared_ext}'
2452 soname_spec='${libname}${release}${shared_ext}$major'
2453 shlibpath_var=LD_LIBRARY_PATH
2454 shlibpath_overrides_runpath=no
2455
2456 # This implies no fast_install, which is unacceptable.
2457 # Some rework will be needed to allow for fast_install
2458 # before this can be enabled.
2459 hardcode_into_libs=yes
2460 ;;
2461
2462 # This must be Linux ELF.
2463 linux* | k*bsd*-gnu | kopensolaris*-gnu)
2464 version_type=linux
2465 need_lib_prefix=no
2466 need_version=no
2452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major $libname${shared_ext}' 2467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major $libname${shared_ext}'
2453 soname_spec='${libname}${release}${shared_ext}$major' 2468 soname_spec='${libname}${release}${shared_ext}$major'
2454 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 2469 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2455 shlibpath_var=LD_LIBRARY_PATH 2470 shlibpath_var=LD_LIBRARY_PATH
2456 shlibpath_overrides_runpath=no 2471 shlibpath_overrides_runpath=no
2457 2472
2458 # Some binutils ld are patched to set DT_RUNPATH 2473 # Some binutils ld are patched to set DT_RUNPATH
2459 AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], 2474 AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
2460 [lt_cv_shlibpath_overrides_runpath=no 2475 [lt_cv_shlibpath_overrides_runpath=no
2461 save_LDFLAGS=$LDFLAGS 2476 save_LDFLAGS=$LDFLAGS
(...skipping 18 matching lines...) Expand all
2480 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' ' '` 2495 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' ' '`
2481 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 2496 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2482 fi 2497 fi
2483 2498
2484 # We used to test for /lib/ld.so.1 and disable shared libraries on 2499 # We used to test for /lib/ld.so.1 and disable shared libraries on
2485 # powerpc, because MkLinux only supported shared libraries with the 2500 # powerpc, because MkLinux only supported shared libraries with the
2486 # GNU dynamic linker. Since this was broken with cross compilers, 2501 # GNU dynamic linker. Since this was broken with cross compilers,
2487 # most powerpc-linux boxes support dynamic linking these days and 2502 # most powerpc-linux boxes support dynamic linking these days and
2488 # people can always --disable-shared, the test was removed, and we 2503 # people can always --disable-shared, the test was removed, and we
2489 # assume the GNU/Linux dynamic linker is in use. 2504 # assume the GNU/Linux dynamic linker is in use.
2490 if [ $host_os != 'nacl' ] ; then 2505 dynamic_linker='GNU/Linux ld.so'
2491 dynamic_linker='GNU/Linux ld.so'
2492 fi
2493 ;; 2506 ;;
2494 2507
2495 netbsd*) 2508 netbsd*)
2496 version_type=sunos 2509 version_type=sunos
2497 need_lib_prefix=no 2510 need_lib_prefix=no
2498 need_version=no 2511 need_version=no
2499 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 2512 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
2500 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${ shared_ext}$versuffix' 2513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${ shared_ext}$versuffix'
2501 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 2514 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2502 dynamic_linker='NetBSD (a.out) ld.so' 2515 dynamic_linker='NetBSD (a.out) ld.so'
(...skipping 4854 matching lines...) Expand 10 before | Expand all | Expand 10 after
7357 # Append VALUE to the end of shell variable VAR. 7370 # Append VALUE to the end of shell variable VAR.
7358 func_append () 7371 func_append ()
7359 { 7372 {
7360 eval "$[1]=\$$[1]\$[2]" 7373 eval "$[1]=\$$[1]\$[2]"
7361 } 7374 }
7362 7375
7363 _LT_EOF 7376 _LT_EOF
7364 ;; 7377 ;;
7365 esac 7378 esac
7366 ]) 7379 ])
OLDNEW
« no previous file with comments | « libstdc++-v3/configure ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698