Commit 918c4fe4 by Andreas Schwab Committed by Andreas Schwab

aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache variable.

	* aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache
	variable.
	* configure: Regenerated.

From-SVN: r61047
parent 2b59fc25
2003-01-08 Andreas Schwab <schwab@suse.de>
* aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache
variable.
* configure: Regenerated.
2003-01-08 Kazu Hirata <kazu@cs.umass.edu> 2003-01-08 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.c (output_logical_op): Replace byte/word * config/h8300/h8300.c (output_logical_op): Replace byte/word
......
...@@ -1631,14 +1631,14 @@ AC_DEFUN(gcc_AC_INITFINI_ARRAY, ...@@ -1631,14 +1631,14 @@ AC_DEFUN(gcc_AC_INITFINI_ARRAY,
[ --enable-initfini-array use .init_array/.fini_array sections], [ --enable-initfini-array use .init_array/.fini_array sections],
[], [ [], [
AC_CACHE_CHECK(for .preinit_array/.init_array/.fini_array support, AC_CACHE_CHECK(for .preinit_array/.init_array/.fini_array support,
gcc_cv_initfinit_array, [dnl gcc_cv_initfini_array, [dnl
AC_TRY_RUN([ AC_TRY_RUN([
static int x = -1; static int x = -1;
int main (void) { return x; } int main (void) { return x; }
int foo (void) { x = 0; } int foo (void) { x = 0; }
int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;], int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;],
[gcc_cv_initfinit_array=yes], [gcc_cv_initfinit_array=no], [gcc_cv_initfini_array=yes], [gcc_cv_initfini_array=no],
[gcc_cv_initfinit_array=no])]) [gcc_cv_initfini_array=no])])
enable_initfini_array=$gcc_cv_initfini_array enable_initfini_array=$gcc_cv_initfini_array
]) ])
if test $enable_initfini_array = yes; then if test $enable_initfini_array = yes; then
......
...@@ -5113,11 +5113,11 @@ else ...@@ -5113,11 +5113,11 @@ else
echo $ac_n "checking for .preinit_array/.init_array/.fini_array support""... $ac_c" 1>&6 echo $ac_n "checking for .preinit_array/.init_array/.fini_array support""... $ac_c" 1>&6
echo "configure:5116: checking for .preinit_array/.init_array/.fini_array support" >&5 echo "configure:5116: checking for .preinit_array/.init_array/.fini_array support" >&5
if eval "test \"`echo '$''{'gcc_cv_initfinit_array'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_initfini_array'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
if test "$cross_compiling" = yes; then if test "$cross_compiling" = yes; then
gcc_cv_initfinit_array=no gcc_cv_initfini_array=no
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5124 "configure" #line 5124 "configure"
...@@ -5130,19 +5130,19 @@ int (*fp) (void) __attribute__ ((section (".init_array"))) = foo; ...@@ -5130,19 +5130,19 @@ int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
EOF EOF
if { (eval echo configure:5132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:5132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
gcc_cv_initfinit_array=yes gcc_cv_initfini_array=yes
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -fr conftest* rm -fr conftest*
gcc_cv_initfinit_array=no gcc_cv_initfini_array=no
fi fi
rm -fr conftest* rm -fr conftest*
fi fi
fi fi
echo "$ac_t""$gcc_cv_initfinit_array" 1>&6 echo "$ac_t""$gcc_cv_initfini_array" 1>&6
enable_initfini_array=$gcc_cv_initfini_array enable_initfini_array=$gcc_cv_initfini_array
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment