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

Side by Side Diff: gcc/configure

Issue 14859004: Backport GCC 4.5+ --enable-linker-build-id option. (Closed) Base URL: http://git.chromium.org/native_client/nacl-gcc.git@master
Patch Set: Created 7 years, 7 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 | « gcc/config.in ('k') | gcc/configure.ac » ('j') | 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 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after
1071 --enable-win32-registry=KEY 1071 --enable-win32-registry=KEY
1072 use KEY instead of GCC version as the last portion 1072 use KEY instead of GCC version as the last portion
1073 of the registry key 1073 of the registry key
1074 --enable-shared[=PKGS] 1074 --enable-shared[=PKGS]
1075 build shared libraries [default=yes] 1075 build shared libraries [default=yes]
1076 --enable-static[=PKGS] 1076 --enable-static[=PKGS]
1077 build static libraries [default=yes] 1077 build static libraries [default=yes]
1078 --enable-fast-install[=PKGS] 1078 --enable-fast-install[=PKGS]
1079 optimize for fast installation [default=yes] 1079 optimize for fast installation [default=yes]
1080 --disable-libtool-lock avoid locking (might break parallel builds) 1080 --disable-libtool-lock avoid locking (might break parallel builds)
1081 --enable-linker-build-id
1082 compiler will always pass --build-id to linker
1081 --enable-maintainer-mode 1083 --enable-maintainer-mode
1082 enable make rules and dependencies not useful 1084 enable make rules and dependencies not useful
1083 (and sometimes confusing) to the casual installer 1085 (and sometimes confusing) to the casual installer
1084 --enable-version-specific-runtime-libs 1086 --enable-version-specific-runtime-libs
1085 specify that runtime libraries should be 1087 specify that runtime libraries should be
1086 installed in a compiler-specific directory 1088 installed in a compiler-specific directory
1087 1089
1088 Optional Packages: 1090 Optional Packages:
1089 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1091 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1090 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1092 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
(...skipping 23116 matching lines...) Expand 10 before | Expand all | Expand 10 after
24207 if test x"$gcc_cv_ld_no_dot_syms" = xyes; then 24209 if test x"$gcc_cv_ld_no_dot_syms" = xyes; then
24208 24210
24209 cat >>confdefs.h <<\_ACEOF 24211 cat >>confdefs.h <<\_ACEOF
24210 #define HAVE_LD_NO_DOT_SYMS 1 24212 #define HAVE_LD_NO_DOT_SYMS 1
24211 _ACEOF 24213 _ACEOF
24212 24214
24213 fi 24215 fi
24214 ;; 24216 ;;
24215 esac 24217 esac
24216 24218
24219 echo "$as_me:$LINENO: checking linker --build-id support" >&5
24220 echo $ECHO_N "checking linker --build-id support... $ECHO_C" >&6
24221 if test "${gcc_cv_ld_buildid+set}" = set; then
24222 echo $ECHO_N "(cached) $ECHO_C" >&6
24223 else
24224 gcc_cv_ld_buildid=no
24225 if test $in_tree_ld = yes ; then
24226 if test "$gcc_cv_gld_major_version" -eq 2 -a \
24227 "$gcc_cv_gld_minor_version" -ge 18 -o \
24228 "$gcc_cv_gld_major_version" -gt 2 \
24229 && test $in_tree_ld_is_elf = yes; then
24230 gcc_cv_ld_buildid=yes
24231 fi
24232 elif test x$gcc_cv_ld != x; then
24233 if $gcc_cv_ld --help 2>/dev/null | grep build-id > /dev/null; then
24234 gcc_cv_ld_buildid=yes
24235 fi
24236 fi
24237 fi
24238 echo "$as_me:$LINENO: result: $gcc_cv_ld_buildid" >&5
24239 echo "${ECHO_T}$gcc_cv_ld_buildid" >&6
24240 if test x"$gcc_cv_ld_buildid" = xyes; then
24241
24242 cat >>confdefs.h <<\_ACEOF
24243 #define HAVE_LD_BUILDID 1
24244 _ACEOF
24245
24246 fi
24247
24248 # Check whether --enable-linker-build-id or --disable-linker-build-id was given.
24249 if test "${enable_linker_build_id+set}" = set; then
24250 enableval="$enable_linker_build_id"
24251
24252 else
24253 enable_linker_build_id=no
24254 fi;
24255
24256 if test x"$enable_linker_build_id" = xyes; then
24257 if test x"$gcc_cv_ld_buildid" = xyes; then
24258
24259 cat >>confdefs.h <<\_ACEOF
24260 #define ENABLE_LD_BUILDID 1
24261 _ACEOF
24262
24263 else
24264 { echo "$as_me:$LINENO: WARNING: --build-id is not supported by your linker; --enable-linker-build-id ignored" >&5
24265 echo "$as_me: WARNING: --build-id is not supported by your linker; --enable-link er-build-id ignored" >&2;}
24266 fi
24267 fi
24268
24217 echo "$as_me:$LINENO: checking linker --sysroot support" >&5 24269 echo "$as_me:$LINENO: checking linker --sysroot support" >&5
24218 echo $ECHO_N "checking linker --sysroot support... $ECHO_C" >&6 24270 echo $ECHO_N "checking linker --sysroot support... $ECHO_C" >&6
24219 if test "${gcc_cv_ld_sysroot+set}" = set; then 24271 if test "${gcc_cv_ld_sysroot+set}" = set; then
24220 echo $ECHO_N "(cached) $ECHO_C" >&6 24272 echo $ECHO_N "(cached) $ECHO_C" >&6
24221 else 24273 else
24222 gcc_cv_ld_sysroot=no 24274 gcc_cv_ld_sysroot=no
24223 if test $in_tree_ld = yes ; then 24275 if test $in_tree_ld = yes ; then
24224 if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" - ge 16 -o "$gcc_cv_gld_major_version" -gt 2 ; then 24276 if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" - ge 16 -o "$gcc_cv_gld_major_version" -gt 2 ; then
24225 gcc_cv_ld_sysroot=yes 24277 gcc_cv_ld_sysroot=yes
24226 fi 24278 fi
(...skipping 2075 matching lines...) Expand 10 before | Expand all | Expand 10 after
26302 test "$silent" = yes && 26354 test "$silent" = yes &&
26303 ac_config_status_args="$ac_config_status_args --quiet" 26355 ac_config_status_args="$ac_config_status_args --quiet"
26304 exec 5>/dev/null 26356 exec 5>/dev/null
26305 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 26357 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
26306 exec 5>>config.log 26358 exec 5>>config.log
26307 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 26359 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26308 # would make configure fail if this is the last instruction. 26360 # would make configure fail if this is the last instruction.
26309 $ac_cs_success || { (exit 1); exit 1; } 26361 $ac_cs_success || { (exit 1); exit 1; }
26310 fi 26362 fi
26311 26363
OLDNEW
« no previous file with comments | « gcc/config.in ('k') | gcc/configure.ac » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698