aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@gcc.gnu.org>2007-05-08 00:37:39 +0000
committerNathan Froyd <froydnj@gcc.gnu.org>2007-05-08 00:37:39 +0000
commit2091ff6689ae73c4b95338a435d1c6e7b743599e (patch)
tree3aff327d968d66aedb2dcdc719740c083d117e18 /gcc/configure.ac
parentdecc7c8a1cd784b2edeff50ee0f30572237b71f6 (diff)
downloadgcc-2091ff6689ae73c4b95338a435d1c6e7b743599e.zip
gcc-2091ff6689ae73c4b95338a435d1c6e7b743599e.tar.gz
gcc-2091ff6689ae73c4b95338a435d1c6e7b743599e.tar.bz2
libiberty.h (writeargv): Declare.
include/ 2007-05-07 Nathan Froyd <froydnj@codesourcery.com> * libiberty.h (writeargv): Declare. libiberty/ 2007-05-07 Nathan Froyd <froydnj@codesourcery.com> * argv.c (writeargv): New function. gcc/ 2007-05-07 Nathan Froyd <froydnj@codesourcery.com> * gcc.c (at_file_supplied): New variable. (main): Set it if we expanded argv. (do_spec_1): Pass an @-file to the linker if we were called with an @-file argument and HAVE_GNU_LD. * collect2.c (at_file_supplied): New variable. (response_file): New variable. (collect_exit): Unlink response_file if necessary. (handler): Likewise. (do_wait): Likewise. (main): Set at_file_supplied if we expanded argv. (collect_execute): Pass an @-file to subprocesses if we were called with an @-file argument. * configure.ac: Add define for HAVE_GNU_LD. * configure: Regenerate. * config.in: Regenerate. From-SVN: r124532
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 9a7c563..708ce16 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -206,6 +206,9 @@ if test x"${DEFAULT_LINKER+set}" = x"set"; then
[Define to enable the use of a default linker.])
fi
+gnu_ld=`if test x"$gnu_ld_flag" = x"yes"; then echo 1; else echo 0; fi`
+AC_DEFINE_UNQUOTED(HAVE_GNU_LD, $gnu_ld, [Define if using GNU ld.])
+
AC_MSG_CHECKING([whether a default linker was specified])
if test x"${DEFAULT_LINKER+set}" = x"set"; then
if test x"$gnu_ld_flag" = x"no"; then