diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-07 21:03:24 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-07 21:03:24 +0000 |
commit | 24d1674dc6c5761fba6ac10de9d018ed2bdf4e21 (patch) | |
tree | 65c85a3e46778fa0f2b7ee1d3d40f2de49c304b3 /gcc/configure.in | |
parent | a303ed8c9e913d8c7210bbd355def502ec1f0613 (diff) | |
download | ppe42-gcc-24d1674dc6c5761fba6ac10de9d018ed2bdf4e21.tar.gz ppe42-gcc-24d1674dc6c5761fba6ac10de9d018ed2bdf4e21.zip |
* configure.in: Restore CFLAGS before gcc_AC_INITFINI_ARRAY.
Move --enable-initfini-array check ...
* aclocal.m4 (gcc_AC_INITFINI_ARRAY): ... here. Define
HAVE_INITFINI_ARRAY also when --enable-initfini-array is given.
Don't AC_SUBST gcc_cv_initfinit_array. Use AC_TRY_RUN.
* configure: Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61018 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure.in')
-rw-r--r-- | gcc/configure.in | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/configure.in b/gcc/configure.in index f43aac514de..a5ae0063e4b 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -1,7 +1,8 @@ # configure.in for GCC # Process this file with autoconf to generate a configuration script. -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 +# Free Software Foundation, Inc. #This file is part of GCC. @@ -783,13 +784,11 @@ if test $gcc_cv_type_clock_t = yes; then [Define if <time.h> defines clock_t.]) fi -AC_ARG_ENABLE(initfini-array, - [ --enable-initfini-array use .init_array/.fini_array sections], - gcc_cv_initfinit_array=$enableval, [gcc_AC_INITFINI_ARRAY]) - # Restore CFLAGS from before the gcc_AC_NEED_DECLARATIONS tests. CFLAGS="$saved_CFLAGS" +gcc_AC_INITFINI_ARRAY + # mkdir takes a single argument on some systems. gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG |