diff options
author | Phil Edwards <pme@gcc.gnu.org> | 2003-07-20 09:32:29 +0000 |
---|---|---|
committer | Phil Edwards <pme@gcc.gnu.org> | 2003-07-20 09:32:29 +0000 |
commit | d38b3a8d94ae2bba14e95697f63b473f6816957d (patch) | |
tree | 5b791a687f76f88298b00846ece85a50eeea48d5 | |
parent | 13cb8e55ddfb5ae839bcfa68b8911c7a0fbda541 (diff) | |
download | gcc-d38b3a8d94ae2bba14e95697f63b473f6816957d.zip gcc-d38b3a8d94ae2bba14e95697f63b473f6816957d.tar.gz gcc-d38b3a8d94ae2bba14e95697f63b473f6816957d.tar.bz2 |
configure.in: Cache the results of testing for cmp's capabilities.
2003-07-20 Phil Edwards <pme@gcc.gnu.org>
* configure.in: Cache the results of testing for cmp's capabilities.
* configure: Regenerate.
From-SVN: r69607
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rwxr-xr-x | gcc/configure | 444 | ||||
-rw-r--r-- | gcc/configure.in | 25 |
3 files changed, 243 insertions, 231 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2123f9c..6ce6234 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-07-20 Phil Edwards <pme@gcc.gnu.org> + + * configure.in: Cache the results of testing for cmp's capabilities. + * configure: Regenerate. + 2003-07-20 Mark Mitchell <mark@codesourcery.com> PR debug/11279 diff --git a/gcc/configure b/gcc/configure index 860fb4d..3877175 100755 --- a/gcc/configure +++ b/gcc/configure @@ -2687,20 +2687,27 @@ fi # but we need to sink errors and handle broken shells. echo $ac_n "checking for cmp's capabilities""... $ac_c" 1>&6 echo "configure:2690: checking for cmp's capabilities" >&5 -echo abfoo >t1 -echo cdfoo >t2 -if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then - if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then - make_compare_target=slowcompare +if eval "test \"`echo '$''{'gcc_cv_prog_cmp_skip'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + echo abfoo >t1 + echo cdfoo >t2 + if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then + if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then + make_compare_target=slowcompare + else + make_compare_target=gnucompare + fi else - make_compare_target=gnucompare + make_compare_target=slowcompare fi -else - make_compare_target=slowcompare + rm t1 t2 + gcc_cv_prog_cmp_skip=$make_compare_target + fi -rm t1 t2 -echo "$ac_t""$make_compare_target" 1>&6 +echo "$ac_t""$gcc_cv_prog_cmp_skip" 1>&6 + # How about lex? if test -f $srcdir/../flex/skel.c; then @@ -2709,7 +2716,7 @@ else # Extract the first word of "flex", so it can be a program name with args. set dummy flex; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2713: checking for $ac_word" >&5 +echo "configure:2720: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2746,7 +2753,7 @@ else # Extract the first word of "bison", so it can be a program name with args. set dummy bison; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2750: checking for $ac_word" >&5 +echo "configure:2757: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2780,12 +2787,12 @@ fi # -------------------- echo $ac_n "checking for GNU C library""... $ac_c" 1>&6 -echo "configure:2784: checking for GNU C library" >&5 +echo "configure:2791: checking for GNU C library" >&5 if eval "test \"`echo '$''{'gcc_cv_glibc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2789 "configure" +#line 2796 "configure" #include "confdefs.h" #include <features.h> int main() { @@ -2795,7 +2802,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:2799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* gcc_cv_glibc=yes else @@ -2816,12 +2823,12 @@ EOF fi echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:2820: checking for ANSI C header files" >&5 +echo "configure:2827: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2825 "configure" +#line 2832 "configure" #include "confdefs.h" #include <stdlib.h> #include <stdarg.h> @@ -2829,7 +2836,7 @@ else #include <float.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -2846,7 +2853,7 @@ rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext <<EOF -#line 2850 "configure" +#line 2857 "configure" #include "confdefs.h" #include <string.h> EOF @@ -2864,7 +2871,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext <<EOF -#line 2868 "configure" +#line 2875 "configure" #include "confdefs.h" #include <stdlib.h> EOF @@ -2885,7 +2892,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext <<EOF -#line 2889 "configure" +#line 2896 "configure" #include "confdefs.h" #include <ctype.h> #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -2896,7 +2903,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } EOF -if { (eval echo configure:2900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -2920,12 +2927,12 @@ EOF fi echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 -echo "configure:2924: checking whether time.h and sys/time.h may both be included" >&5 +echo "configure:2931: checking whether time.h and sys/time.h may both be included" >&5 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2929 "configure" +#line 2936 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/time.h> @@ -2934,7 +2941,7 @@ int main() { struct tm *tp; ; return 0; } EOF -if { (eval echo configure:2938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else @@ -2955,19 +2962,19 @@ EOF fi echo $ac_n "checking for working stdbool.h""... $ac_c" 1>&6 -echo "configure:2959: checking for working stdbool.h" >&5 +echo "configure:2966: checking for working stdbool.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdbool_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2964 "configure" +#line 2971 "configure" #include "confdefs.h" #include <stdbool.h> int main() { bool foo = false; ; return 0; } EOF -if { (eval echo configure:2971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_stdbool_h=yes else @@ -2988,12 +2995,12 @@ EOF fi echo $ac_n "checking whether string.h and strings.h may both be included""... $ac_c" 1>&6 -echo "configure:2992: checking whether string.h and strings.h may both be included" >&5 +echo "configure:2999: checking whether string.h and strings.h may both be included" >&5 if eval "test \"`echo '$''{'gcc_cv_header_string'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2997 "configure" +#line 3004 "configure" #include "confdefs.h" #include <string.h> #include <strings.h> @@ -3001,7 +3008,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* gcc_cv_header_string=yes else @@ -3022,12 +3029,12 @@ EOF fi echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 -echo "configure:3026: checking for sys/wait.h that is POSIX.1 compatible" >&5 +echo "configure:3033: checking for sys/wait.h that is POSIX.1 compatible" >&5 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3031 "configure" +#line 3038 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/wait.h> @@ -3043,7 +3050,7 @@ wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } EOF -if { (eval echo configure:3047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_sys_wait_h=yes else @@ -3070,17 +3077,17 @@ for ac_hdr in limits.h stddef.h string.h strings.h stdlib.h time.h \ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:3074: checking for $ac_hdr" >&5 +echo "configure:3081: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3079 "configure" +#line 3086 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -3110,17 +3117,17 @@ done # Check for thread headers. ac_safe=`echo "thread.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for thread.h""... $ac_c" 1>&6 -echo "configure:3114: checking for thread.h" >&5 +echo "configure:3121: checking for thread.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3119 "configure" +#line 3126 "configure" #include "confdefs.h" #include <thread.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -3144,17 +3151,17 @@ fi ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for pthread.h""... $ac_c" 1>&6 -echo "configure:3148: checking for pthread.h" >&5 +echo "configure:3155: checking for pthread.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3153 "configure" +#line 3160 "configure" #include "confdefs.h" #include <pthread.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -3179,12 +3186,12 @@ fi # These tests can't be done till we know if we have limits.h. echo $ac_n "checking for CHAR_BIT""... $ac_c" 1>&6 -echo "configure:3183: checking for CHAR_BIT" >&5 +echo "configure:3190: checking for CHAR_BIT" >&5 if eval "test \"`echo '$''{'gcc_cv_decl_char_bit'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3188 "configure" +#line 3195 "configure" #include "confdefs.h" #ifdef HAVE_LIMITS_H #include <limits.h> @@ -3209,7 +3216,7 @@ fi echo "$ac_t""$gcc_cv_decl_char_bit" 1>&6 if test $gcc_cv_decl_char_bit = no; then echo $ac_n "checking number of bits in a byte""... $ac_c" 1>&6 -echo "configure:3213: checking number of bits in a byte" >&5 +echo "configure:3220: checking number of bits in a byte" >&5 if eval "test \"`echo '$''{'gcc_cv_c_nbby'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3217,7 +3224,7 @@ else gcc_cv_c_nbby= while test $i -lt 65; do cat > conftest.$ac_ext <<EOF -#line 3221 "configure" +#line 3228 "configure" #include "confdefs.h" int main() { @@ -3227,7 +3234,7 @@ switch(0) { ; } ; return 0; } EOF -if { (eval echo configure:3231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* gcc_cv_c_nbby=$i; break else @@ -3252,14 +3259,14 @@ EOF fi fi echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 -echo "configure:3256: checking whether byte ordering is bigendian" >&5 +echo "configure:3263: checking whether byte ordering is bigendian" >&5 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_bigendian=unknown # See if sys/param.h defines the BYTE_ORDER macro. cat > conftest.$ac_ext <<EOF -#line 3263 "configure" +#line 3270 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/param.h> @@ -3270,11 +3277,11 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:3274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* # It does; now see whether it defined to BIG_ENDIAN or not. cat > conftest.$ac_ext <<EOF -#line 3278 "configure" +#line 3285 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/param.h> @@ -3285,7 +3292,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:3289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_bigendian=yes else @@ -3305,7 +3312,7 @@ if test "$cross_compiling" = yes; then echo $ac_n "cross-compiling... " 2>&6 else cat > conftest.$ac_ext <<EOF -#line 3309 "configure" +#line 3316 "configure" #include "confdefs.h" main () { /* Are we little or big endian? From Harbison&Steele. */ @@ -3318,7 +3325,7 @@ main () { exit (u.c[sizeof (long) - 1] == 1); } EOF -if { (eval echo configure:3322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_bigendian=no else @@ -3336,7 +3343,7 @@ fi echo "$ac_t""$ac_cv_c_bigendian" 1>&6 if test $ac_cv_c_bigendian = unknown; then echo $ac_n "checking to probe for byte ordering""... $ac_c" 1>&6 -echo "configure:3340: checking to probe for byte ordering" >&5 +echo "configure:3347: checking to probe for byte ordering" >&5 cat >conftest.c <<EOF short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; @@ -3416,7 +3423,7 @@ esac # These libraries may be used by collect2. # We may need a special search path to get them linked. echo $ac_n "checking for collect2 libraries""... $ac_c" 1>&6 -echo "configure:3420: checking for collect2 libraries" >&5 +echo "configure:3427: checking for collect2 libraries" >&5 if eval "test \"`echo '$''{'gcc_cv_collect2_libs'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3427,7 +3434,7 @@ for libs in '' -lld -lmld \ do LIBS="$libs" cat > conftest.$ac_ext <<EOF -#line 3431 "configure" +#line 3438 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -3438,7 +3445,7 @@ int main() { ldopen() ; return 0; } EOF -if { (eval echo configure:3442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gcc_cv_collect2_libs="$libs"; break else @@ -3464,14 +3471,14 @@ save_LIBS="$LIBS" LIBS= echo $ac_n "checking for library containing exc_resume""... $ac_c" 1>&6 -echo "configure:3468: checking for library containing exc_resume" >&5 +echo "configure:3475: checking for library containing exc_resume" >&5 if eval "test \"`echo '$''{'ac_cv_search_exc_resume'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_func_search_save_LIBS="$LIBS" ac_cv_search_exc_resume="no" cat > conftest.$ac_ext <<EOF -#line 3475 "configure" +#line 3482 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -3482,7 +3489,7 @@ int main() { exc_resume() ; return 0; } EOF -if { (eval echo configure:3486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_search_exc_resume="none required" else @@ -3493,7 +3500,7 @@ rm -f conftest* test "$ac_cv_search_exc_resume" = "no" && for i in exc; do LIBS="-l$i $ac_func_search_save_LIBS" cat > conftest.$ac_ext <<EOF -#line 3497 "configure" +#line 3504 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -3504,7 +3511,7 @@ int main() { exc_resume() ; return 0; } EOF -if { (eval echo configure:3508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_search_exc_resume="-l$i" break @@ -3534,14 +3541,14 @@ save_LIBS="$LIBS" LIBS= echo $ac_n "checking for library containing ldexp""... $ac_c" 1>&6 -echo "configure:3538: checking for library containing ldexp" >&5 +echo "configure:3545: checking for library containing ldexp" >&5 if eval "test \"`echo '$''{'ac_cv_search_ldexp'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_func_search_save_LIBS="$LIBS" ac_cv_search_ldexp="no" cat > conftest.$ac_ext <<EOF -#line 3545 "configure" +#line 3552 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -3552,7 +3559,7 @@ int main() { ldexp() ; return 0; } EOF -if { (eval echo configure:3556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_search_ldexp="none required" else @@ -3563,7 +3570,7 @@ rm -f conftest* test "$ac_cv_search_ldexp" = "no" && for i in m; do LIBS="-l$i $ac_func_search_save_LIBS" cat > conftest.$ac_ext <<EOF -#line 3567 "configure" +#line 3574 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -3574,7 +3581,7 @@ int main() { ldexp() ; return 0; } EOF -if { (eval echo configure:3578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_search_ldexp="-l$i" break @@ -3601,12 +3608,12 @@ LIBS="$save_LIBS" # Use <inttypes.h> only if it exists, # doesn't clash with <sys/types.h>, and declares intmax_t. echo $ac_n "checking for inttypes.h""... $ac_c" 1>&6 -echo "configure:3605: checking for inttypes.h" >&5 +echo "configure:3612: checking for inttypes.h" >&5 if eval "test \"`echo '$''{'gcc_cv_header_inttypes_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3610 "configure" +#line 3617 "configure" #include "confdefs.h" #include <sys/types.h> #include <inttypes.h> @@ -3614,7 +3621,7 @@ int main() { intmax_t i = -1; ; return 0; } EOF -if { (eval echo configure:3618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* gcc_cv_header_inttypes_h=yes else @@ -3642,12 +3649,12 @@ for ac_func in times clock dup2 kill getrlimit setrlimit atoll atoq \ setlocale do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3646: checking for $ac_func" >&5 +echo "configure:3653: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3651 "configure" +#line 3658 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -3670,7 +3677,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:3674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -3697,7 +3704,7 @@ done if test x$ac_cv_func_mbstowcs = xyes; then echo $ac_n "checking whether mbstowcs works""... $ac_c" 1>&6 -echo "configure:3701: checking whether mbstowcs works" >&5 +echo "configure:3708: checking whether mbstowcs works" >&5 if eval "test \"`echo '$''{'gcc_cv_func_mbstowcs_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3705,7 +3712,7 @@ else gcc_cv_func_mbstowcs_works=yes else cat > conftest.$ac_ext <<EOF -#line 3709 "configure" +#line 3716 "configure" #include "confdefs.h" #include <stdlib.h> int main() @@ -3714,7 +3721,7 @@ int main() return 0; } EOF -if { (eval echo configure:3718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then gcc_cv_func_mbstowcs_works=yes else @@ -3738,12 +3745,12 @@ EOF fi echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 -echo "configure:3742: checking for ssize_t" >&5 +echo "configure:3749: checking for ssize_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3747 "configure" +#line 3754 "configure" #include "confdefs.h" #include <sys/types.h> #if STDC_HEADERS @@ -3774,12 +3781,12 @@ fi # Try to determine the array type of the second argument of getgroups # for the target system (int or gid_t). echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 -echo "configure:3778: checking for uid_t in sys/types.h" >&5 +echo "configure:3785: checking for uid_t in sys/types.h" >&5 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3783 "configure" +#line 3790 "configure" #include "confdefs.h" #include <sys/types.h> EOF @@ -3808,7 +3815,7 @@ EOF fi echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6 -echo "configure:3812: checking type of array argument to getgroups" >&5 +echo "configure:3819: checking type of array argument to getgroups" >&5 if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3816,7 +3823,7 @@ else ac_cv_type_getgroups=cross else cat > conftest.$ac_ext <<EOF -#line 3820 "configure" +#line 3827 "configure" #include "confdefs.h" /* Thanks to Mike Rendell for this test. */ @@ -3841,7 +3848,7 @@ main() } EOF -if { (eval echo configure:3845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_type_getgroups=gid_t else @@ -3855,7 +3862,7 @@ fi if test $ac_cv_type_getgroups = cross; then cat > conftest.$ac_ext <<EOF -#line 3859 "configure" +#line 3866 "configure" #include "confdefs.h" #include <unistd.h> EOF @@ -3896,7 +3903,7 @@ fi echo $ac_n "checking whether the printf functions support %p""... $ac_c" 1>&6 -echo "configure:3900: checking whether the printf functions support %p" >&5 +echo "configure:3907: checking whether the printf functions support %p" >&5 if eval "test \"`echo '$''{'gcc_cv_func_printf_ptr'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3904,7 +3911,7 @@ else gcc_cv_func_printf_ptr=no else cat > conftest.$ac_ext <<EOF -#line 3908 "configure" +#line 3915 "configure" #include "confdefs.h" #include <stdio.h> @@ -3917,7 +3924,7 @@ int main() return (p != q); } EOF -if { (eval echo configure:3921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then gcc_cv_func_printf_ptr=yes else @@ -3947,7 +3954,7 @@ if test $ac_cv_header_sys_mman_h != yes \ gcc_cv_func_mmap_anon=no else echo $ac_n "checking whether read-only mmap of a plain file works""... $ac_c" 1>&6 -echo "configure:3951: checking whether read-only mmap of a plain file works" >&5 +echo "configure:3958: checking whether read-only mmap of a plain file works" >&5 if eval "test \"`echo '$''{'gcc_cv_func_mmap_file'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3966,7 +3973,7 @@ fi echo "$ac_t""$gcc_cv_func_mmap_file" 1>&6 echo $ac_n "checking whether mmap from /dev/zero works""... $ac_c" 1>&6 -echo "configure:3970: checking whether mmap from /dev/zero works" >&5 +echo "configure:3977: checking whether mmap from /dev/zero works" >&5 if eval "test \"`echo '$''{'gcc_cv_func_mmap_dev_zero'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3992,12 +3999,12 @@ echo "$ac_t""$gcc_cv_func_mmap_dev_zero" 1>&6 # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for. echo $ac_n "checking for MAP_ANON(YMOUS)""... $ac_c" 1>&6 -echo "configure:3996: checking for MAP_ANON(YMOUS)" >&5 +echo "configure:4003: checking for MAP_ANON(YMOUS)" >&5 if eval "test \"`echo '$''{'gcc_cv_decl_map_anon'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4001 "configure" +#line 4008 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/mman.h> @@ -4011,7 +4018,7 @@ int main() { int n = MAP_ANONYMOUS; ; return 0; } EOF -if { (eval echo configure:4015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* gcc_cv_decl_map_anon=yes else @@ -4029,7 +4036,7 @@ echo "$ac_t""$gcc_cv_decl_map_anon" 1>&6 gcc_cv_func_mmap_anon=no else echo $ac_n "checking whether mmap with MAP_ANON(YMOUS) works""... $ac_c" 1>&6 -echo "configure:4033: checking whether mmap with MAP_ANON(YMOUS) works" >&5 +echo "configure:4040: checking whether mmap with MAP_ANON(YMOUS) works" >&5 if eval "test \"`echo '$''{'gcc_cv_func_mmap_anon'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4084,12 +4091,12 @@ case "${host}" in ;; esac echo $ac_n "checking for pid_t""... $ac_c" 1>&6 -echo "configure:4088: checking for pid_t" >&5 +echo "configure:4095: checking for pid_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4093 "configure" +#line 4100 "configure" #include "confdefs.h" #include <sys/types.h> #if STDC_HEADERS @@ -4118,17 +4125,17 @@ fi ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 -echo "configure:4122: checking for vfork.h" >&5 +echo "configure:4129: checking for vfork.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4127 "configure" +#line 4134 "configure" #include "confdefs.h" #include <vfork.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4153,18 +4160,18 @@ else fi echo $ac_n "checking for working vfork""... $ac_c" 1>&6 -echo "configure:4157: checking for working vfork" >&5 +echo "configure:4164: checking for working vfork" >&5 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then echo $ac_n "checking for vfork""... $ac_c" 1>&6 -echo "configure:4163: checking for vfork" >&5 +echo "configure:4170: checking for vfork" >&5 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4168 "configure" +#line 4175 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char vfork(); below. */ @@ -4187,7 +4194,7 @@ vfork(); ; return 0; } EOF -if { (eval echo configure:4191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_vfork=yes" else @@ -4209,7 +4216,7 @@ fi ac_cv_func_vfork_works=$ac_cv_func_vfork else cat > conftest.$ac_ext <<EOF -#line 4213 "configure" +#line 4220 "configure" #include "confdefs.h" /* Thanks to Paul Eggert for this test. */ #include <stdio.h> @@ -4304,7 +4311,7 @@ main() { } } EOF -if { (eval echo configure:4308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_func_vfork_works=yes else @@ -4343,7 +4350,7 @@ fi echo $ac_n "checking for iconv""... $ac_c" 1>&6 -echo "configure:4347: checking for iconv" >&5 +echo "configure:4354: checking for iconv" >&5 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4351,7 +4358,7 @@ else am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no cat > conftest.$ac_ext <<EOF -#line 4355 "configure" +#line 4362 "configure" #include "confdefs.h" #include <stdlib.h> #include <iconv.h> @@ -4361,7 +4368,7 @@ iconv_t cd = iconv_open("",""); iconv_close(cd); ; return 0; } EOF -if { (eval echo configure:4365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* am_cv_func_iconv=yes else @@ -4373,7 +4380,7 @@ rm -f conftest* am_save_LIBS="$LIBS" LIBS="$LIBS $am_cv_libiconv_ldpath -liconv" cat > conftest.$ac_ext <<EOF -#line 4377 "configure" +#line 4384 "configure" #include "confdefs.h" #include <stdlib.h> #include <iconv.h> @@ -4383,7 +4390,7 @@ iconv_t cd = iconv_open("",""); iconv_close(cd); ; return 0; } EOF -if { (eval echo configure:4387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* am_cv_lib_iconv=yes am_cv_func_iconv=yes @@ -4404,13 +4411,13 @@ echo "$ac_t""$am_cv_func_iconv" 1>&6 EOF echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6 -echo "configure:4408: checking for iconv declaration" >&5 +echo "configure:4415: checking for iconv declaration" >&5 if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4414 "configure" +#line 4421 "configure" #include "confdefs.h" #include <stdlib.h> @@ -4429,7 +4436,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:4433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* am_cv_proto_iconv_arg1="" else @@ -4462,19 +4469,19 @@ LIBICONV_DEP= echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 -echo "configure:4466: checking for LC_MESSAGES" >&5 +echo "configure:4473: checking for LC_MESSAGES" >&5 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4471 "configure" +#line 4478 "configure" #include "confdefs.h" #include <locale.h> int main() { return LC_MESSAGES ; return 0; } EOF -if { (eval echo configure:4478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* am_cv_val_LC_MESSAGES=yes else @@ -4505,12 +4512,12 @@ for ac_func in getenv atol sbrk abort atof getcwd getwd \ do ac_tr_decl=HAVE_DECL_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` echo $ac_n "checking whether $ac_func is declared""... $ac_c" 1>&6 -echo "configure:4509: checking whether $ac_func is declared" >&5 +echo "configure:4516: checking whether $ac_func is declared" >&5 if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4514 "configure" +#line 4521 "configure" #include "confdefs.h" #undef $ac_tr_decl #define $ac_tr_decl 1 @@ -4524,7 +4531,7 @@ char *(*pfn) = (char *(*)) $ac_func ; #endif ; return 0; } EOF -if { (eval echo configure:4528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "gcc_cv_have_decl_$ac_func=yes" else @@ -4626,12 +4633,12 @@ for ac_func in getrlimit setrlimit getrusage do ac_tr_decl=HAVE_DECL_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` echo $ac_n "checking whether $ac_func is declared""... $ac_c" 1>&6 -echo "configure:4630: checking whether $ac_func is declared" >&5 +echo "configure:4637: checking whether $ac_func is declared" >&5 if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4635 "configure" +#line 4642 "configure" #include "confdefs.h" #undef $ac_tr_decl #define $ac_tr_decl 1 @@ -4649,7 +4656,7 @@ char *(*pfn) = (char *(*)) $ac_func ; #endif ; return 0; } EOF -if { (eval echo configure:4653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "gcc_cv_have_decl_$ac_func=yes" else @@ -4688,7 +4695,7 @@ fi cat > conftest.$ac_ext <<EOF -#line 4692 "configure" +#line 4699 "configure" #include "confdefs.h" #include "ansidecl.h" @@ -4701,7 +4708,7 @@ int main() { rlim_t l = 0; ; return 0; } EOF -if { (eval echo configure:4705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then : else echo "configure: failed program was:" >&5 @@ -4718,12 +4725,12 @@ for ac_func in ldgetname do ac_tr_decl=HAVE_DECL_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` echo $ac_n "checking whether $ac_func is declared""... $ac_c" 1>&6 -echo "configure:4722: checking whether $ac_func is declared" >&5 +echo "configure:4729: checking whether $ac_func is declared" >&5 if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4727 "configure" +#line 4734 "configure" #include "confdefs.h" #undef $ac_tr_decl #define $ac_tr_decl 1 @@ -4741,7 +4748,7 @@ char *(*pfn) = (char *(*)) $ac_func ; #endif ; return 0; } EOF -if { (eval echo configure:4745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "gcc_cv_have_decl_$ac_func=yes" else @@ -4777,12 +4784,12 @@ for ac_func in times do ac_tr_decl=HAVE_DECL_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` echo $ac_n "checking whether $ac_func is declared""... $ac_c" 1>&6 -echo "configure:4781: checking whether $ac_func is declared" >&5 +echo "configure:4788: checking whether $ac_func is declared" >&5 if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4786 "configure" +#line 4793 "configure" #include "confdefs.h" #undef $ac_tr_decl #define $ac_tr_decl 1 @@ -4800,7 +4807,7 @@ char *(*pfn) = (char *(*)) $ac_func ; #endif ; return 0; } EOF -if { (eval echo configure:4804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "gcc_cv_have_decl_$ac_func=yes" else @@ -4834,13 +4841,13 @@ fi # More time-related stuff. echo $ac_n "checking for struct tms""... $ac_c" 1>&6 -echo "configure:4838: checking for struct tms" >&5 +echo "configure:4845: checking for struct tms" >&5 if eval "test \"`echo '$''{'ac_cv_struct_tms'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4844 "configure" +#line 4851 "configure" #include "confdefs.h" #include "ansidecl.h" @@ -4853,7 +4860,7 @@ int main() { struct tms tms; ; return 0; } EOF -if { (eval echo configure:4857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tms=yes else @@ -4876,13 +4883,13 @@ fi # use gcc_cv_* here because this doesn't match the behavior of AC_CHECK_TYPE. # revisit after autoconf 2.50. echo $ac_n "checking for clock_t""... $ac_c" 1>&6 -echo "configure:4880: checking for clock_t" >&5 +echo "configure:4887: checking for clock_t" >&5 if eval "test \"`echo '$''{'gcc_cv_type_clock_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4886 "configure" +#line 4893 "configure" #include "confdefs.h" #include "ansidecl.h" @@ -4892,7 +4899,7 @@ int main() { clock_t x; ; return 0; } EOF -if { (eval echo configure:4896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* gcc_cv_type_clock_t=yes else @@ -4913,12 +4920,12 @@ EOF fi echo $ac_n "checking for uchar""... $ac_c" 1>&6 -echo "configure:4917: checking for uchar" >&5 +echo "configure:4924: checking for uchar" >&5 if eval "test \"`echo '$''{'gcc_cv_type_uchar'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4922 "configure" +#line 4929 "configure" #include "confdefs.h" #include "ansidecl.h" @@ -4929,7 +4936,7 @@ if ((uchar *)0) return 0; if (sizeof(uchar)) return 0; ; return 0; } EOF -if { (eval echo configure:4933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_uchar=yes else @@ -4959,7 +4966,7 @@ if test "${enable_initfini_array+set}" = set; then else echo $ac_n "checking for .preinit_array/.init_array/.fini_array support""... $ac_c" 1>&6 -echo "configure:4963: checking for .preinit_array/.init_array/.fini_array support" >&5 +echo "configure:4970: checking for .preinit_array/.init_array/.fini_array support" >&5 if eval "test \"`echo '$''{'gcc_cv_initfini_array'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4967,7 +4974,7 @@ else gcc_cv_initfini_array=no else cat > conftest.$ac_ext <<EOF -#line 4971 "configure" +#line 4978 "configure" #include "confdefs.h" static int x = -1; @@ -4975,7 +4982,7 @@ int main (void) { return x; } int foo (void) { x = 0; } int (*fp) (void) __attribute__ ((section (".init_array"))) = foo; EOF -if { (eval echo configure:4979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then gcc_cv_initfini_array=yes else @@ -5003,12 +5010,12 @@ fi # mkdir takes a single argument on some systems. echo $ac_n "checking if mkdir takes one argument""... $ac_c" 1>&6 -echo "configure:5007: checking if mkdir takes one argument" >&5 +echo "configure:5014: checking if mkdir takes one argument" >&5 if eval "test \"`echo '$''{'gcc_cv_mkdir_takes_one_arg'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5012 "configure" +#line 5019 "configure" #include "confdefs.h" #include <sys/types.h> @@ -5025,7 +5032,7 @@ int main() { mkdir ("foo", 0); ; return 0; } EOF -if { (eval echo configure:5029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* gcc_cv_mkdir_takes_one_arg=no else @@ -5065,7 +5072,7 @@ fi echo $ac_n "checking for main in -lunwind""... $ac_c" 1>&6 -echo "configure:5069: checking for main in -lunwind" >&5 +echo "configure:5076: checking for main in -lunwind" >&5 ac_lib_var=`echo unwind'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -5073,14 +5080,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lunwind $LIBS" cat > conftest.$ac_ext <<EOF -#line 5077 "configure" +#line 5084 "configure" #include "confdefs.h" int main() { main() ; return 0; } EOF -if { (eval echo configure:5084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -5375,7 +5382,7 @@ if test -f ../intl/config.intl; then . ../intl/config.intl fi echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 -echo "configure:5379: checking whether NLS is requested" >&5 +echo "configure:5386: checking whether NLS is requested" >&5 if test x"$USE_NLS" != xyes; then echo "$ac_t""no" 1>&6 else @@ -5386,7 +5393,7 @@ EOF echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 -echo "configure:5390: checking for catalogs to be installed" >&5 +echo "configure:5397: checking for catalogs to be installed" >&5 # Look for .po and .gmo files in the source directory. CATALOGS= XLINGUAS= @@ -5436,7 +5443,7 @@ fi case $host_os in win32 | pe | cygwin* | mingw32* | uwin*) echo $ac_n "checking whether windows registry support is requested""... $ac_c" 1>&6 -echo "configure:5440: checking whether windows registry support is requested" >&5 +echo "configure:5447: checking whether windows registry support is requested" >&5 if test "x$enable_win32_registry" != xno; then cat >> confdefs.h <<\EOF #define ENABLE_WIN32_REGISTRY 1 @@ -5445,14 +5452,14 @@ EOF echo "$ac_t""yes" 1>&6 echo $ac_n "checking for library containing RegOpenKeyExA""... $ac_c" 1>&6 -echo "configure:5449: checking for library containing RegOpenKeyExA" >&5 +echo "configure:5456: checking for library containing RegOpenKeyExA" >&5 if eval "test \"`echo '$''{'ac_cv_search_RegOpenKeyExA'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_func_search_save_LIBS="$LIBS" ac_cv_search_RegOpenKeyExA="no" cat > conftest.$ac_ext <<EOF -#line 5456 "configure" +#line 5463 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -5463,7 +5470,7 @@ int main() { RegOpenKeyExA() ; return 0; } EOF -if { (eval echo configure:5467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_search_RegOpenKeyExA="none required" else @@ -5474,7 +5481,7 @@ rm -f conftest* test "$ac_cv_search_RegOpenKeyExA" = "no" && for i in advapi32; do LIBS="-l$i $ac_func_search_save_LIBS" cat > conftest.$ac_ext <<EOF -#line 5478 "configure" +#line 5485 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -5485,7 +5492,7 @@ int main() { RegOpenKeyExA() ; return 0; } EOF -if { (eval echo configure:5489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_search_RegOpenKeyExA="-l$i" break @@ -5527,7 +5534,7 @@ esac if test "x$enable_win32_registry" != xno; then echo $ac_n "checking registry key on windows hosts""... $ac_c" 1>&6 -echo "configure:5531: checking registry key on windows hosts" >&5 +echo "configure:5538: checking registry key on windows hosts" >&5 cat >> confdefs.h <<EOF #define WIN32_REGISTRY_KEY "$gcc_cv_win32_registry_key" EOF @@ -5737,7 +5744,7 @@ esac # build->target assembler and hope that it will have the same features # as the host->target assembler we'll be using. echo $ac_n "checking what assembler to use""... $ac_c" 1>&6 -echo "configure:5741: checking what assembler to use" >&5 +echo "configure:5748: checking what assembler to use" >&5 in_tree_gas=no gcc_cv_as= gcc_cv_gas_major_version= @@ -5858,7 +5865,7 @@ esac # build->target linker and hope that it will have the same features # as the host->target linker we'll be using. echo $ac_n "checking what linker to use""... $ac_c" 1>&6 -echo "configure:5862: checking what linker to use" >&5 +echo "configure:5869: checking what linker to use" >&5 in_tree_ld=no gcc_cv_ld= gcc_cv_gld_major_version= @@ -5966,7 +5973,7 @@ esac # Figure out what nm we will be using. gcc_cv_binutils_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/binutils echo $ac_n "checking what nm to use""... $ac_c" 1>&6 -echo "configure:5970: checking what nm to use" >&5 +echo "configure:5977: checking what nm to use" >&5 in_tree_nm=no if test -x nm$host_exeext; then gcc_cv_nm=./nm$host_exeext @@ -5989,7 +5996,7 @@ esac # Figure out what objdump we will be using. echo $ac_n "checking what objdump to use""... $ac_c" 1>&6 -echo "configure:5993: checking what objdump to use" >&5 +echo "configure:6000: checking what objdump to use" >&5 in_tree_objdump=no if test -x objdump$host_exeext; then gcc_cv_objdump=./objdump$host_exeext @@ -6014,7 +6021,7 @@ esac # Figure out what assembler alignment features are present. echo $ac_n "checking assembler for .balign and .p2align""... $ac_c" 1>&6 -echo "configure:6018: checking assembler for .balign and .p2align" >&5 +echo "configure:6025: checking assembler for .balign and .p2align" >&5 if eval "test \"`echo '$''{'gcc_cv_as_balign_and_p2align'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6026,7 +6033,7 @@ fi elif test x$gcc_cv_as != x; then echo '.balign 4 .p2align 2' > conftest.s - if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then gcc_cv_as_balign_and_p2align=yes else @@ -6046,7 +6053,7 @@ EOF fi echo $ac_n "checking assembler for .p2align with maximum skip""... $ac_c" 1>&6 -echo "configure:6050: checking assembler for .p2align with maximum skip" >&5 +echo "configure:6057: checking assembler for .p2align with maximum skip" >&5 if eval "test \"`echo '$''{'gcc_cv_as_max_skip_p2align'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6057,7 +6064,7 @@ else fi elif test x$gcc_cv_as != x; then echo '.p2align 4,,7' > conftest.s - if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then gcc_cv_as_max_skip_p2align=yes else @@ -6077,7 +6084,7 @@ EOF fi echo $ac_n "checking assembler for working .subsection -1""... $ac_c" 1>&6 -echo "configure:6081: checking assembler for working .subsection -1" >&5 +echo "configure:6088: checking assembler for working .subsection -1" >&5 if eval "test \"`echo '$''{'gcc_cv_as_subsection_m1'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6092,7 +6099,7 @@ fi .subsection -1 conftest_label2: .word 0 .previous' > conftest.s - if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6103: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then if test x$gcc_cv_nm != x; then $gcc_cv_nm conftest.o | grep conftest_label1 > conftest.nm1 @@ -6120,7 +6127,7 @@ EOF fi echo $ac_n "checking assembler for .weak""... $ac_c" 1>&6 -echo "configure:6124: checking assembler for .weak" >&5 +echo "configure:6131: checking assembler for .weak" >&5 if eval "test \"`echo '$''{'gcc_cv_as_weak'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6131,7 +6138,7 @@ else fi elif test x$gcc_cv_as != x; then echo ' .weak foobar' > conftest.s - if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then gcc_cv_as_weak=yes else @@ -6158,7 +6165,7 @@ fi # to be safe. # The gcc_GAS_CHECK_FEATURE call just sets a cache variable. echo $ac_n "checking assembler for .hidden""... $ac_c" 1>&6 -echo "configure:6162: checking assembler for .hidden" >&5 +echo "configure:6169: checking assembler for .hidden" >&5 if eval "test \"`echo '$''{'gcc_cv_as_hidden'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6171,7 +6178,7 @@ fi elif test x$gcc_cv_as != x; then echo ' .hidden foobar foobar:' > conftest.s - if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6175: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then gcc_cv_as_hidden=yes else @@ -6186,7 +6193,7 @@ echo "$ac_t""$gcc_cv_as_hidden" 1>&6 echo $ac_n "checking linker for .hidden support""... $ac_c" 1>&6 -echo "configure:6190: checking linker for .hidden support" >&5 +echo "configure:6197: checking linker for .hidden support" >&5 if eval "test \"`echo '$''{'gcc_cv_ld_hidden'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6260,7 +6267,7 @@ fi # Check if we have .[us]leb128, and support symbol arithmetic with it. echo $ac_n "checking assembler for .sleb128 and .uleb128""... $ac_c" 1>&6 -echo "configure:6264: checking assembler for .sleb128 and .uleb128" >&5 +echo "configure:6271: checking assembler for .sleb128 and .uleb128" >&5 if eval "test \"`echo '$''{'gcc_cv_as_leb128'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6277,7 +6284,7 @@ L1: .uleb128 1280 .sleb128 -1010 L2:' > conftest.s - if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then # GAS versions before 2.11 do not support uleb128, # despite appearing to. @@ -6313,7 +6320,7 @@ fi # GAS versions up to and including 2.11.0 may mis-optimize # .eh_frame data. echo $ac_n "checking assembler for eh_frame optimization""... $ac_c" 1>&6 -echo "configure:6317: checking assembler for eh_frame optimization" >&5 +echo "configure:6324: checking assembler for eh_frame optimization" >&5 if eval "test \"`echo '$''{'gcc_cv_as_eh_frame'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6356,7 +6363,7 @@ __FRAME_BEGIN__: .byte 0x4 .4byte .L1-.LFB1 .LEFDE1:' > conftest.s - if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then cat > conftest.lit <<EOF 0000 10000000 00000000 017a0001 781a0004 .........z..x... @@ -6377,7 +6384,7 @@ EOF || cmp conftest.big conftest.got > /dev/null 2>&1; } then gcc_cv_as_eh_frame=yes - elif { ac_try='$gcc_cv_as -o conftest.o --traditional-format /dev/null'; { (eval echo configure:6381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then + elif { ac_try='$gcc_cv_as -o conftest.o --traditional-format /dev/null'; { (eval echo configure:6388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then gcc_cv_as_eh_frame=buggy else # Uh oh, what do we do now? @@ -6402,7 +6409,7 @@ EOF fi echo $ac_n "checking assembler for section merging support""... $ac_c" 1>&6 -echo "configure:6406: checking assembler for section merging support" >&5 +echo "configure:6413: checking assembler for section merging support" >&5 if eval "test \"`echo '$''{'gcc_cv_as_shf_merge'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6414,7 +6421,7 @@ else fi elif test x$gcc_cv_as != x; then echo '.section .rodata.str, "aMS", @progbits, 1' > conftest.s - if { ac_try='$gcc_cv_as --fatal-warnings -o conftest.o conftest.s >&5'; { (eval echo configure:6418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as --fatal-warnings -o conftest.o conftest.s >&5'; { (eval echo configure:6425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then gcc_cv_as_shf_merge=yes else @@ -6613,7 +6620,7 @@ if test -z "$tls_first_major"; then : # If we don't have a check, assume no support. else echo $ac_n "checking assembler for thread-local storage support""... $ac_c" 1>&6 -echo "configure:6617: checking assembler for thread-local storage support" >&5 +echo "configure:6624: checking assembler for thread-local storage support" >&5 if eval "test \"`echo '$''{'gcc_cv_as_tls'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6624,7 +6631,7 @@ else fi elif test x$gcc_cv_as != x; then echo "$conftest_s" > conftest.s - if { ac_try='$gcc_cv_as $tls_as_opt --fatal-warnings -o conftest.o conftest.s >&5'; { (eval echo configure:6628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as $tls_as_opt --fatal-warnings -o conftest.o conftest.s >&5'; { (eval echo configure:6635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then gcc_cv_as_tls=yes else @@ -6650,7 +6657,7 @@ case "$target" in # All TARGET_ABI_OSF targets. alpha*-*-osf* | alpha*-*-linux* | alpha*-*-*bsd*) echo $ac_n "checking assembler for explicit relocation support""... $ac_c" 1>&6 -echo "configure:6654: checking assembler for explicit relocation support" >&5 +echo "configure:6661: checking assembler for explicit relocation support" >&5 if eval "test \"`echo '$''{'gcc_cv_as_alpha_explicit_relocs'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6673,7 +6680,7 @@ fi ldah $1, d($29) !gprelhigh lda $1, d($1) !gprellow lda $29, 0($29) !gpdisp!3' > conftest.s - if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then gcc_cv_as_alpha_explicit_relocs=yes else @@ -6695,14 +6702,14 @@ fi sparc*-*-*) echo $ac_n "checking assembler for .register""... $ac_c" 1>&6 -echo "configure:6699: checking assembler for .register" >&5 +echo "configure:6706: checking assembler for .register" >&5 if eval "test \"`echo '$''{'gcc_cv_as_sparc_register_op'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else gcc_cv_as_sparc_register_op=no if test x$gcc_cv_as != x; then echo '.register %g2, #scratch' > conftest.s - if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then gcc_cv_as_sparc_register_op=yes else @@ -6722,14 +6729,14 @@ EOF fi echo $ac_n "checking assembler for -relax option""... $ac_c" 1>&6 -echo "configure:6726: checking assembler for -relax option" >&5 +echo "configure:6733: checking assembler for -relax option" >&5 if eval "test \"`echo '$''{'gcc_cv_as_sparc_relax'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else gcc_cv_as_sparc_relax=no if test x$gcc_cv_as != x; then echo '.text' > conftest.s - if { ac_try='$gcc_cv_as -relax -o conftest.o conftest.s >&5'; { (eval echo configure:6733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as -relax -o conftest.o conftest.s >&5'; { (eval echo configure:6740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then gcc_cv_as_sparc_relax=yes else @@ -6749,7 +6756,7 @@ EOF fi echo $ac_n "checking assembler for unaligned pcrel relocs""... $ac_c" 1>&6 -echo "configure:6753: checking assembler for unaligned pcrel relocs" >&5 +echo "configure:6760: checking assembler for unaligned pcrel relocs" >&5 if eval "test \"`echo '$''{'gcc_cv_as_sparc_ua_pcrel'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6762,7 +6769,7 @@ foo: .align 4 .byte 0 .uaword %r_disp32(foo)' > conftest.s - if { ac_try='$gcc_cv_as -K PIC -o conftest.o conftest.s >&5'; { (eval echo configure:6766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as -K PIC -o conftest.o conftest.s >&5'; { (eval echo configure:6773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then if test x$gcc_cv_ld != x \ && $gcc_cv_ld -o conftest conftest.o -G > /dev/null 2>&1; then @@ -6785,7 +6792,7 @@ EOF echo $ac_n "checking assembler for unaligned pcrel relocs against hidden symbols""... $ac_c" 1>&6 -echo "configure:6789: checking assembler for unaligned pcrel relocs against hidden symbols" >&5 +echo "configure:6796: checking assembler for unaligned pcrel relocs against hidden symbols" >&5 if eval "test \"`echo '$''{'gcc_cv_as_sparc_ua_pcrel_hidden'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6800,7 +6807,7 @@ else .hidden foo foo: .skip 4' > conftest.s - if { ac_try='$gcc_cv_as -K PIC -o conftest.o conftest.s >&5'; { (eval echo configure:6804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as -K PIC -o conftest.o conftest.s >&5'; { (eval echo configure:6811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then if test x$gcc_cv_ld != x && test x$gcc_cv_objdump != x \ && $gcc_cv_ld -o conftest conftest.o -G > /dev/null 2>&1 \ @@ -6833,7 +6840,7 @@ fi fi # unaligned pcrel relocs echo $ac_n "checking assembler for offsetable %lo()""... $ac_c" 1>&6 -echo "configure:6837: checking assembler for offsetable %lo()" >&5 +echo "configure:6844: checking assembler for offsetable %lo()" >&5 if eval "test \"`echo '$''{'gcc_cv_as_sparc_offsetable_lo10'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6842,7 +6849,7 @@ else echo '.text or %g1, %lo(ab) + 12, %g1 or %g1, %lo(ab + 12), %g1' > conftest.s - if { ac_try='$gcc_cv_as -xarch=v9 -o conftest.o conftest.s >&5'; { (eval echo configure:6846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as -xarch=v9 -o conftest.o conftest.s >&5'; { (eval echo configure:6853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then if test x$gcc_cv_objdump != x \ && %gcc_cv_objdump -s -j .text conftest.o 2> /dev/null \ @@ -6868,7 +6875,7 @@ fi i[34567]86-*-* | x86_64-*-*) echo $ac_n "checking assembler for filds and fists mnemonics""... $ac_c" 1>&6 -echo "configure:6872: checking assembler for filds and fists mnemonics" >&5 +echo "configure:6879: checking assembler for filds and fists mnemonics" >&5 if eval "test \"`echo '$''{'gcc_cv_as_ix86_filds_fists'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6879,7 +6886,7 @@ else fi elif test x$gcc_cv_as != x; then echo 'filds mem; fists mem' > conftest.s - if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then gcc_cv_as_ix86_filds_fists=yes else @@ -6901,7 +6908,7 @@ fi # This one is used unconditionally by i386.[ch]; it is to be defined # to 1 if the feature is present, 0 otherwise. echo $ac_n "checking assembler for GOTOFF in data""... $ac_c" 1>&6 -echo "configure:6905: checking assembler for GOTOFF in data" >&5 +echo "configure:6912: checking assembler for GOTOFF in data" >&5 if eval "test \"`echo '$''{'gcc_cv_as_ix86_gotoff_in_data'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6916,7 +6923,7 @@ fi nop .data .long .L0@GOTOFF' > conftest.s - if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6920: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then gcc_cv_as_ix86_gotoff_in_data=yes else @@ -6937,7 +6944,7 @@ EOF ia64*-*-*) echo $ac_n "checking assembler for ltoffx and ldxmov relocs""... $ac_c" 1>&6 -echo "configure:6941: checking assembler for ltoffx and ldxmov relocs" >&5 +echo "configure:6948: checking assembler for ltoffx and ldxmov relocs" >&5 if eval "test \"`echo '$''{'gcc_cv_as_ia64_ltoffx_ldxmov_relocs'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6951,7 +6958,7 @@ fi addl r15 = @ltoffx(x#), gp ;; ld8.mov r16 = r15, x#' > conftest.s - if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then cat >> confdefs.h <<\EOF #define HAVE_AS_LTOFFX_LDXMOV_RELOCS 1 @@ -6979,7 +6986,7 @@ echo "$ac_t""$gcc_cv_as_ia64_ltoffx_ldxmov_relocs" 1>&6 mfcr 3,128" echo $ac_n "checking assembler for mfcr field support""... $ac_c" 1>&6 -echo "configure:6983: checking assembler for mfcr field support" >&5 +echo "configure:6990: checking assembler for mfcr field support" >&5 if eval "test \"`echo '$''{'gcc_cv_as_powerpc_mfcrf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6990,7 +6997,7 @@ else fi elif test x$gcc_cv_as != x; then echo "$conftest_s" > conftest.s - if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then gcc_cv_as_powerpc_mfcrf=yes else @@ -7012,7 +7019,7 @@ fi mips*-*-*) echo $ac_n "checking assembler for explicit relocation support""... $ac_c" 1>&6 -echo "configure:7016: checking assembler for explicit relocation support" >&5 +echo "configure:7023: checking assembler for explicit relocation support" >&5 if eval "test \"`echo '$''{'gcc_cv_as_mips_explicit_relocs'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7023,7 +7030,7 @@ else fi elif test x$gcc_cv_as != x; then echo ' lw $4,%gp_rel(foo)($4)' > conftest.s - if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then gcc_cv_as_mips_explicit_relocs=yes else @@ -7069,7 +7076,7 @@ if test x"$insn" != x; then .loc 1 3 0 $insn" echo $ac_n "checking assembler for dwarf2 debug_line support""... $ac_c" 1>&6 -echo "configure:7073: checking assembler for dwarf2 debug_line support" >&5 +echo "configure:7080: checking assembler for dwarf2 debug_line support" >&5 if eval "test \"`echo '$''{'gcc_cv_as_dwarf2_debug_line'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7081,7 +7088,7 @@ else fi elif test x$gcc_cv_as != x; then echo "$conftest_s" > conftest.s - if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then # ??? This fails with non-gnu grep. Maybe use objdump? if grep debug_line conftest.o > /dev/null 2>&1; then @@ -7103,7 +7110,7 @@ echo "$ac_t""$gcc_cv_as_dwarf2_debug_line" 1>&6 # by DW_AT_decl_file. Approximate this test by testing if # the assembler bitches if the same index is assigned twice. echo $ac_n "checking assembler for buggy dwarf2 .file directive""... $ac_c" 1>&6 -echo "configure:7107: checking assembler for buggy dwarf2 .file directive" >&5 +echo "configure:7114: checking assembler for buggy dwarf2 .file directive" >&5 if eval "test \"`echo '$''{'gcc_cv_as_dwarf2_file_buggy'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7111,7 +7118,7 @@ else if test x$gcc_cv_as != x; then echo ' .file 1 "foo.s" .file 1 "bar.s"' > conftest.s - if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7115: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then gcc_cv_as_dwarf2_file_buggy=yes else @@ -7134,7 +7141,7 @@ EOF fi echo $ac_n "checking assembler for --gdwarf2 option""... $ac_c" 1>&6 -echo "configure:7138: checking assembler for --gdwarf2 option" >&5 +echo "configure:7145: checking assembler for --gdwarf2 option" >&5 if eval "test \"`echo '$''{'gcc_cv_as_gdwarf2_flag'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7146,7 +7153,7 @@ else fi elif test x$gcc_cv_as != x; then echo "$insn" > conftest.s - if { ac_try='$gcc_cv_as --gdwarf2 -o conftest.o conftest.s >&5'; { (eval echo configure:7150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as --gdwarf2 -o conftest.o conftest.s >&5'; { (eval echo configure:7157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then gcc_cv_as_gdwarf2_flag=yes else @@ -7166,7 +7173,7 @@ EOF fi echo $ac_n "checking assembler for --gstabs option""... $ac_c" 1>&6 -echo "configure:7170: checking assembler for --gstabs option" >&5 +echo "configure:7177: checking assembler for --gstabs option" >&5 if eval "test \"`echo '$''{'gcc_cv_as_gstabs_flag'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7178,12 +7185,12 @@ else fi elif test x$gcc_cv_as != x; then echo "$insn" > conftest.s - if { ac_try='$gcc_cv_as --gstabs -o conftest.o conftest.s >&5'; { (eval echo configure:7182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as --gstabs -o conftest.o conftest.s >&5'; { (eval echo configure:7189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then # The native Solaris 9/Intel assembler doesn't understand --gstabs # and warns about it, but still exits successfully. So check for # this. - if { ac_try='$gcc_cv_as --gstabs -o conftest.o conftest.s 2>&1 | grep -i warning > /dev/null'; { (eval echo configure:7187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } + if { ac_try='$gcc_cv_as --gstabs -o conftest.o conftest.s 2>&1 | grep -i warning > /dev/null'; { (eval echo configure:7194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then : else gcc_cv_as_gstabs_flag=yes fi @@ -7205,7 +7212,7 @@ fi fi echo $ac_n "checking linker read-only and read-write section mixing""... $ac_c" 1>&6 -echo "configure:7209: checking linker read-only and read-write section mixing" >&5 +echo "configure:7216: checking linker read-only and read-write section mixing" >&5 gcc_cv_ld_ro_rw_mix=unknown if test $in_tree_ld = yes ; then if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 10 -o "$gcc_cv_gld_major_version" -gt 2 \ @@ -7244,7 +7251,7 @@ fi echo "$ac_t""$gcc_cv_ld_ro_rw_mix" 1>&6 echo $ac_n "checking linker PT_GNU_EH_FRAME support""... $ac_c" 1>&6 -echo "configure:7248: checking linker PT_GNU_EH_FRAME support" >&5 +echo "configure:7255: checking linker PT_GNU_EH_FRAME support" >&5 gcc_cv_ld_eh_frame_hdr=no if test $in_tree_ld = yes ; then if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 12 -o "$gcc_cv_gld_major_version" -gt 2 \ @@ -7266,7 +7273,7 @@ fi echo "$ac_t""$gcc_cv_ld_eh_frame_hdr" 1>&6 echo $ac_n "checking linker position independent executable support""... $ac_c" 1>&6 -echo "configure:7270: checking linker position independent executable support" >&5 +echo "configure:7277: checking linker position independent executable support" >&5 gcc_cv_ld_pie=no if test $in_tree_ld = yes ; then if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 15 -o "$gcc_cv_gld_major_version" -gt 2 \ @@ -7291,7 +7298,7 @@ echo "$ac_t""$gcc_cv_ld_pie" 1>&6 case "$target" in mips*-*-*) echo $ac_n "checking whether libgloss uses STARTUP directives consistently""... $ac_c" 1>&6 -echo "configure:7295: checking whether libgloss uses STARTUP directives consistently" >&5 +echo "configure:7302: checking whether libgloss uses STARTUP directives consistently" >&5 gcc_cv_mips_libgloss_startup=no gcc_cv_libgloss_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/libgloss if test "x$exec_prefix" = xNONE; then @@ -7496,7 +7503,7 @@ fi echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 -echo "configure:7500: checking whether to enable maintainer-specific portions of Makefiles" >&5 +echo "configure:7507: checking whether to enable maintainer-specific portions of Makefiles" >&5 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval="$enable_maintainer_mode" @@ -7798,7 +7805,6 @@ ${CONFIG_SHELL-/bin/sh} $srcdir/configure.frag $srcdir "$subdirs" "$dep_host_xma - # Echo that links are built if test x$host = x$target then diff --git a/gcc/configure.in b/gcc/configure.in index f2c581d..465c93f 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -630,21 +630,22 @@ fi # skip bytes instead of using tail. The test being performed is # "if cmp --ignore-initial=2 t1 t2 && ! cmp --ignore-initial=1 t1 t2" # but we need to sink errors and handle broken shells. -AC_MSG_CHECKING([for cmp's capabilities]) -echo abfoo >t1 -echo cdfoo >t2 -if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then - if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then - make_compare_target=slowcompare +AC_CACHE_CHECK([for cmp's capabilities], gcc_cv_prog_cmp_skip, +[ echo abfoo >t1 + echo cdfoo >t2 + if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then + if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then + make_compare_target=slowcompare + else + make_compare_target=gnucompare + fi else - make_compare_target=gnucompare + make_compare_target=slowcompare fi -else - make_compare_target=slowcompare -fi -rm t1 t2 + rm t1 t2 + gcc_cv_prog_cmp_skip=$make_compare_target +]) AC_SUBST(make_compare_target) -AC_MSG_RESULT($make_compare_target) # How about lex? dnl Don't use AC_PROG_LEX; we insist on flex. |