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

Side by Side Diff: zlib/configure

Issue 65643012: Fix interlibrary dependencies in target shared library builds (Closed) Base URL: http://git.chromium.org/native_client/nacl-gcc.git@master
Patch Set: Created 7 years, 1 month 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 | « libtool.m4 ('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 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59. 3 # Generated by GNU Autoconf 2.59.
4 # 4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation 6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it. 7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ## 8 ## --------------------- ##
9 ## M4sh Initialization. ## 9 ## M4sh Initialization. ##
10 ## --------------------- ## 10 ## --------------------- ##
(...skipping 4105 matching lines...) Expand 10 before | Expand all | Expand 10 after
4116 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]8 6 (compact )?demand paged shared library' 4116 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]8 6 (compact )?demand paged shared library'
4117 lt_cv_file_magic_cmd=/usr/bin/file 4117 lt_cv_file_magic_cmd=/usr/bin/file
4118 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 4118 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4119 ;; 4119 ;;
4120 esac 4120 esac
4121 else 4121 else
4122 lt_cv_deplibs_check_method=pass_all 4122 lt_cv_deplibs_check_method=pass_all
4123 fi 4123 fi
4124 ;; 4124 ;;
4125 4125
4126 gnu*) 4126 gnu* | nacl*)
4127 lt_cv_deplibs_check_method=pass_all 4127 lt_cv_deplibs_check_method=pass_all
4128 ;; 4128 ;;
4129 4129
4130 hpux10.20* | hpux11*) 4130 hpux10.20* | hpux11*)
4131 lt_cv_file_magic_cmd=/usr/bin/file 4131 lt_cv_file_magic_cmd=/usr/bin/file
4132 case $host_cpu in 4132 case $host_cpu in
4133 ia64*) 4133 ia64*)
4134 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) sha red object file - IA64' 4134 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) sha red object file - IA64'
4135 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 4135 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4136 ;; 4136 ;;
(...skipping 4805 matching lines...) Expand 10 before | Expand all | Expand 10 after
8942 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${li bsuff}" 8942 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${li bsuff}"
8943 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 8943 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8944 hardcode_into_libs=yes 8944 hardcode_into_libs=yes
8945 ;; 8945 ;;
8946 8946
8947 # No shared lib support for Linux oldld, aout, or coff. 8947 # No shared lib support for Linux oldld, aout, or coff.
8948 linux*oldld* | linux*aout* | linux*coff*) 8948 linux*oldld* | linux*aout* | linux*coff*)
8949 dynamic_linker=no 8949 dynamic_linker=no
8950 ;; 8950 ;;
8951 8951
8952 nacl*)
8953 version_type=linux
8954 need_lib_prefix=no
8955 need_version=no
8956 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major $libname${shared_ext}'
8957 soname_spec='${libname}${release}${shared_ext}$major'
8958 shlibpath_var=LD_LIBRARY_PATH
8959 shlibpath_overrides_runpath=no
8960
8961 # This implies no fast_install, which is unacceptable.
8962 # Some rework will be needed to allow for fast_install
8963 # before this can be enabled.
8964 hardcode_into_libs=yes
8965 ;;
8966
8952 # This must be Linux ELF. 8967 # This must be Linux ELF.
8953 linux* | k*bsd*-gnu | kopensolaris*-gnu) 8968 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8954 version_type=linux 8969 version_type=linux
8955 need_lib_prefix=no 8970 need_lib_prefix=no
8956 need_version=no 8971 need_version=no
8957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major $libname${shared_ext}' 8972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major $libname${shared_ext}'
8958 soname_spec='${libname}${release}${shared_ext}$major' 8973 soname_spec='${libname}${release}${shared_ext}$major'
8959 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 8974 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8960 shlibpath_var=LD_LIBRARY_PATH 8975 shlibpath_var=LD_LIBRARY_PATH
8961 shlibpath_overrides_runpath=no 8976 shlibpath_overrides_runpath=no
(...skipping 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after
10015 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 10030 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10016 if test "${lt_cv_dlopen_self+set}" = set; then 10031 if test "${lt_cv_dlopen_self+set}" = set; then
10017 echo $ECHO_N "(cached) $ECHO_C" >&6 10032 echo $ECHO_N "(cached) $ECHO_C" >&6
10018 else 10033 else
10019 if test "$cross_compiling" = yes; then : 10034 if test "$cross_compiling" = yes; then :
10020 lt_cv_dlopen_self=cross 10035 lt_cv_dlopen_self=cross
10021 else 10036 else
10022 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10037 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10023 lt_status=$lt_dlunknown 10038 lt_status=$lt_dlunknown
10024 cat > conftest.$ac_ext <<_LT_EOF 10039 cat > conftest.$ac_ext <<_LT_EOF
10025 #line 10025 "configure" 10040 #line 10040 "configure"
10026 #include "confdefs.h" 10041 #include "confdefs.h"
10027 10042
10028 #if HAVE_DLFCN_H 10043 #if HAVE_DLFCN_H
10029 #include <dlfcn.h> 10044 #include <dlfcn.h>
10030 #endif 10045 #endif
10031 10046
10032 #include <stdio.h> 10047 #include <stdio.h>
10033 10048
10034 #ifdef RTLD_GLOBAL 10049 #ifdef RTLD_GLOBAL
10035 # define LT_DLGLOBAL RTLD_GLOBAL 10050 # define LT_DLGLOBAL RTLD_GLOBAL
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
10111 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 10126 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10112 if test "${lt_cv_dlopen_self_static+set}" = set; then 10127 if test "${lt_cv_dlopen_self_static+set}" = set; then
10113 echo $ECHO_N "(cached) $ECHO_C" >&6 10128 echo $ECHO_N "(cached) $ECHO_C" >&6
10114 else 10129 else
10115 if test "$cross_compiling" = yes; then : 10130 if test "$cross_compiling" = yes; then :
10116 lt_cv_dlopen_self_static=cross 10131 lt_cv_dlopen_self_static=cross
10117 else 10132 else
10118 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10133 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10119 lt_status=$lt_dlunknown 10134 lt_status=$lt_dlunknown
10120 cat > conftest.$ac_ext <<_LT_EOF 10135 cat > conftest.$ac_ext <<_LT_EOF
10121 #line 10121 "configure" 10136 #line 10136 "configure"
10122 #include "confdefs.h" 10137 #include "confdefs.h"
10123 10138
10124 #if HAVE_DLFCN_H 10139 #if HAVE_DLFCN_H
10125 #include <dlfcn.h> 10140 #include <dlfcn.h>
10126 #endif 10141 #endif
10127 10142
10128 #include <stdio.h> 10143 #include <stdio.h>
10129 10144
10130 #ifdef RTLD_GLOBAL 10145 #ifdef RTLD_GLOBAL
10131 # define LT_DLGLOBAL RTLD_GLOBAL 10146 # define LT_DLGLOBAL RTLD_GLOBAL
(...skipping 3433 matching lines...) Expand 10 before | Expand all | Expand 10 after
13565 test "$silent" = yes && 13580 test "$silent" = yes &&
13566 ac_config_status_args="$ac_config_status_args --quiet" 13581 ac_config_status_args="$ac_config_status_args --quiet"
13567 exec 5>/dev/null 13582 exec 5>/dev/null
13568 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 13583 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13569 exec 5>>config.log 13584 exec 5>>config.log
13570 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 13585 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13571 # would make configure fail if this is the last instruction. 13586 # would make configure fail if this is the last instruction.
13572 $ac_cs_success || { (exit 1); exit 1; } 13587 $ac_cs_success || { (exit 1); exit 1; }
13573 fi 13588 fi
13574 13589
OLDNEW
« no previous file with comments | « libtool.m4 ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698