Commit 3a000df0 by Kelley Cook Committed by R. Kelley Cook

configure.in (make_compare_target): Move test to ...

2003-08-08  Kelley Cook  <kelleycook@wideopenwest.com>

	* configure.in (make_compare_target): Move test to ...
	* aclocal.m4 (gcc_AC_PROG_CMP_IGNORE_INITIAL): here.
	* configure: Regenerate.

From-SVN: r70392
parent 560ad596
2003-08-12 Kelley Cook <kelleycook@wideopenwest.com>
* configure.in (make_compare_target): Move test to ...
* aclocal.m4 (gcc_AC_PROG_CMP_IGNORE_INITIAL): here.
* configure: Regenerate.
2003-08-12 Richard Sandiford <rsandifo@redhat.com> 2003-08-12 Richard Sandiford <rsandifo@redhat.com>
* config/mips/iris6.h: Convert to C90 prototypes. * config/mips/iris6.h: Convert to C90 prototypes.
......
...@@ -101,6 +101,29 @@ if test x = y ; then ...@@ -101,6 +101,29 @@ if test x = y ; then
fi fi
]) ])
dnl 'make compare' can be significantly faster, if cmp itself can
dnl skip bytes instead of using tail. The test being performed is
dnl "if cmp --ignore-initial=2 t1 t2 && ! cmp --ignore-initial=1 t1 t2"
dnl but we need to sink errors and handle broken shells.
AC_DEFUN(gcc_AC_PROG_CMP_IGNORE_INITIAL,
[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
gcc_cv_prog_cmp_skip=slowcompare
else
gcc_cv_prog_cmp_skip=gnucompare
fi
else
gcc_cv_prog_cmp_skip=slowcompare
fi
rm t1 t2
])
make_compare_target=$gcc_cv_prog_cmp_skip
AC_SUBST(make_compare_target)
])
dnl See if the printf functions in libc support %p in format strings. dnl See if the printf functions in libc support %p in format strings.
AC_DEFUN(gcc_AC_FUNC_PRINTF_PTR, AC_DEFUN(gcc_AC_FUNC_PRINTF_PTR,
[AC_CACHE_CHECK(whether the printf functions support %p, [AC_CACHE_CHECK(whether the printf functions support %p,
......
...@@ -2576,11 +2576,37 @@ test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' ...@@ -2576,11 +2576,37 @@ test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
# See if cmp has --ignore-initial.
echo $ac_n "checking for cmp's capabilities""... $ac_c" 1>&6
echo "configure:2582: checking for cmp's capabilities" >&5
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
gcc_cv_prog_cmp_skip=slowcompare
else
gcc_cv_prog_cmp_skip=gnucompare
fi
else
gcc_cv_prog_cmp_skip=slowcompare
fi
rm t1 t2
fi
echo "$ac_t""$gcc_cv_prog_cmp_skip" 1>&6
make_compare_target=$gcc_cv_prog_cmp_skip
# See if we have the mktemp command. # See if we have the mktemp command.
# Extract the first word of "mktemp", so it can be a program name with args. # Extract the first word of "mktemp", so it can be a program name with args.
set dummy mktemp; ac_word=$2 set dummy mktemp; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2584: checking for $ac_word" >&5 echo "configure:2610: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_have_mktemp_command'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_have_mktemp_command'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2619,7 +2645,7 @@ else ...@@ -2619,7 +2645,7 @@ else
# Extract the first word of "makeinfo", so it can be a program name with args. # Extract the first word of "makeinfo", so it can be a program name with args.
set dummy makeinfo; ac_word=$2 set dummy makeinfo; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2623: checking for $ac_word" >&5 echo "configure:2649: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2648,13 +2674,13 @@ fi ...@@ -2648,13 +2674,13 @@ fi
if test -n "$MAKEINFO"; then if test -n "$MAKEINFO"; then
# Found it, now check the version. # Found it, now check the version.
echo $ac_n "checking for modern makeinfo""... $ac_c" 1>&6 echo $ac_n "checking for modern makeinfo""... $ac_c" 1>&6
echo "configure:2652: checking for modern makeinfo" >&5 echo "configure:2678: checking for modern makeinfo" >&5
if eval "test \"`echo '$''{'gcc_cv_prog_makeinfo_modern'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_prog_makeinfo_modern'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
ac_prog_version=`$MAKEINFO --version 2>&1 | ac_prog_version=`$MAKEINFO --version 2>&1 |
sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'` sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
echo "configure:2658: version of makeinfo is $ac_prog_version" >&5 echo "configure:2684: version of makeinfo is $ac_prog_version" >&5
case $ac_prog_version in case $ac_prog_version in
'') gcc_cv_prog_makeinfo_modern=no;; '') gcc_cv_prog_makeinfo_modern=no;;
4.[2-9]*) 4.[2-9]*)
...@@ -2682,7 +2708,7 @@ fi ...@@ -2682,7 +2708,7 @@ fi
# Is pod2man recent enough to regenerate manpages? # Is pod2man recent enough to regenerate manpages?
echo $ac_n "checking for recent Pod::Man""... $ac_c" 1>&6 echo $ac_n "checking for recent Pod::Man""... $ac_c" 1>&6
echo "configure:2686: checking for recent Pod::Man" >&5 echo "configure:2712: checking for recent Pod::Man" >&5
if (perl -e 'use 1.10 Pod::Man') >/dev/null 2>&1; then if (perl -e 'use 1.10 Pod::Man') >/dev/null 2>&1; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
GENERATED_MANPAGES=generated-manpages GENERATED_MANPAGES=generated-manpages
...@@ -2691,34 +2717,6 @@ else ...@@ -2691,34 +2717,6 @@ else
GENERATED_MANPAGES= GENERATED_MANPAGES=
fi fi
# 'make compare' can be significantly faster, if cmp itself can
# 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.
echo $ac_n "checking for cmp's capabilities""... $ac_c" 1>&6
echo "configure:2700: checking for cmp's capabilities" >&5
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
gcc_cv_prog_cmp_skip=slowcompare
else
gcc_cv_prog_cmp_skip=gnucompare
fi
else
gcc_cv_prog_cmp_skip=slowcompare
fi
rm t1 t2
fi
echo "$ac_t""$gcc_cv_prog_cmp_skip" 1>&6
make_compare_target=$gcc_cv_prog_cmp_skip
# How about lex? # How about lex?
if test -f $srcdir/../flex/skel.c; then if test -f $srcdir/../flex/skel.c; then
FLEX='$(objdir)/../flex/flex' FLEX='$(objdir)/../flex/flex'
...@@ -2726,7 +2724,7 @@ else ...@@ -2726,7 +2724,7 @@ else
# Extract the first word of "flex", so it can be a program name with args. # Extract the first word of "flex", so it can be a program name with args.
set dummy flex; ac_word=$2 set dummy flex; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2730: checking for $ac_word" >&5 echo "configure:2728: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2763,7 +2761,7 @@ else ...@@ -2763,7 +2761,7 @@ else
# Extract the first word of "bison", so it can be a program name with args. # Extract the first word of "bison", so it can be a program name with args.
set dummy bison; ac_word=$2 set dummy bison; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2767: checking for $ac_word" >&5 echo "configure:2765: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2797,12 +2795,12 @@ fi ...@@ -2797,12 +2795,12 @@ fi
# -------------------- # --------------------
echo $ac_n "checking for GNU C library""... $ac_c" 1>&6 echo $ac_n "checking for GNU C library""... $ac_c" 1>&6
echo "configure:2801: checking for GNU C library" >&5 echo "configure:2799: checking for GNU C library" >&5
if eval "test \"`echo '$''{'gcc_cv_glibc'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_glibc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2806 "configure" #line 2804 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <features.h> #include <features.h>
int main() { int main() {
...@@ -2812,7 +2810,7 @@ int main() { ...@@ -2812,7 +2810,7 @@ int main() {
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:2814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
gcc_cv_glibc=yes gcc_cv_glibc=yes
else else
...@@ -2833,12 +2831,12 @@ EOF ...@@ -2833,12 +2831,12 @@ EOF
fi fi
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
echo "configure:2837: checking for ANSI C header files" >&5 echo "configure:2835: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2842 "configure" #line 2840 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
...@@ -2846,7 +2844,7 @@ else ...@@ -2846,7 +2844,7 @@ else
#include <float.h> #include <float.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:2848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -2863,7 +2861,7 @@ rm -f conftest* ...@@ -2863,7 +2861,7 @@ rm -f conftest*
if test $ac_cv_header_stdc = yes; then if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2867 "configure" #line 2865 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <string.h> #include <string.h>
EOF EOF
...@@ -2881,7 +2879,7 @@ fi ...@@ -2881,7 +2879,7 @@ fi
if test $ac_cv_header_stdc = yes; then if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2885 "configure" #line 2883 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
EOF EOF
...@@ -2902,7 +2900,7 @@ if test "$cross_compiling" = yes; then ...@@ -2902,7 +2900,7 @@ if test "$cross_compiling" = yes; then
: :
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2906 "configure" #line 2904 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <ctype.h> #include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...@@ -2913,7 +2911,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); ...@@ -2913,7 +2911,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); } exit (0); }
EOF EOF
if { (eval echo configure:2917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:2915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
: :
else else
...@@ -2937,12 +2935,12 @@ EOF ...@@ -2937,12 +2935,12 @@ EOF
fi fi
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
echo "configure:2941: checking whether time.h and sys/time.h may both be included" >&5 echo "configure:2939: checking whether time.h and sys/time.h may both be included" >&5
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2946 "configure" #line 2944 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/time.h> #include <sys/time.h>
...@@ -2951,7 +2949,7 @@ int main() { ...@@ -2951,7 +2949,7 @@ int main() {
struct tm *tp; struct tm *tp;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:2953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_header_time=yes ac_cv_header_time=yes
else else
...@@ -2972,19 +2970,19 @@ EOF ...@@ -2972,19 +2970,19 @@ EOF
fi fi
echo $ac_n "checking for working stdbool.h""... $ac_c" 1>&6 echo $ac_n "checking for working stdbool.h""... $ac_c" 1>&6
echo "configure:2976: checking for working stdbool.h" >&5 echo "configure:2974: checking for working stdbool.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdbool_h'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_stdbool_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2981 "configure" #line 2979 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdbool.h> #include <stdbool.h>
int main() { int main() {
bool foo = false; bool foo = false;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:2986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_header_stdbool_h=yes ac_cv_header_stdbool_h=yes
else else
...@@ -3005,12 +3003,12 @@ EOF ...@@ -3005,12 +3003,12 @@ EOF
fi fi
echo $ac_n "checking whether string.h and strings.h may both be included""... $ac_c" 1>&6 echo $ac_n "checking whether string.h and strings.h may both be included""... $ac_c" 1>&6
echo "configure:3009: checking whether string.h and strings.h may both be included" >&5 echo "configure:3007: checking whether string.h and strings.h may both be included" >&5
if eval "test \"`echo '$''{'gcc_cv_header_string'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_header_string'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3014 "configure" #line 3012 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <string.h> #include <string.h>
#include <strings.h> #include <strings.h>
...@@ -3018,7 +3016,7 @@ int main() { ...@@ -3018,7 +3016,7 @@ int main() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
gcc_cv_header_string=yes gcc_cv_header_string=yes
else else
...@@ -3039,12 +3037,12 @@ EOF ...@@ -3039,12 +3037,12 @@ EOF
fi fi
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
echo "configure:3043: checking for sys/wait.h that is POSIX.1 compatible" >&5 echo "configure:3041: checking for sys/wait.h that is POSIX.1 compatible" >&5
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3048 "configure" #line 3046 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.h> #include <sys/wait.h>
...@@ -3060,7 +3058,7 @@ wait (&s); ...@@ -3060,7 +3058,7 @@ wait (&s);
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_header_sys_wait_h=yes ac_cv_header_sys_wait_h=yes
else else
...@@ -3087,17 +3085,17 @@ for ac_hdr in limits.h stddef.h string.h strings.h stdlib.h time.h \ ...@@ -3087,17 +3085,17 @@ for ac_hdr in limits.h stddef.h string.h strings.h stdlib.h time.h \
do do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:3091: checking for $ac_hdr" >&5 echo "configure:3089: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3096 "configure" #line 3094 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$ac_hdr> #include <$ac_hdr>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:3099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -3127,17 +3125,17 @@ done ...@@ -3127,17 +3125,17 @@ done
# Check for thread headers. # Check for thread headers.
ac_safe=`echo "thread.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "thread.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for thread.h""... $ac_c" 1>&6 echo $ac_n "checking for thread.h""... $ac_c" 1>&6
echo "configure:3131: checking for thread.h" >&5 echo "configure:3129: checking for thread.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3136 "configure" #line 3134 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <thread.h> #include <thread.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:3139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -3161,17 +3159,17 @@ fi ...@@ -3161,17 +3159,17 @@ fi
ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for pthread.h""... $ac_c" 1>&6 echo $ac_n "checking for pthread.h""... $ac_c" 1>&6
echo "configure:3165: checking for pthread.h" >&5 echo "configure:3163: checking for pthread.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3170 "configure" #line 3168 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <pthread.h> #include <pthread.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3175: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:3173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -3196,12 +3194,12 @@ fi ...@@ -3196,12 +3194,12 @@ fi
# These tests can't be done till we know if we have limits.h. # 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 $ac_n "checking for CHAR_BIT""... $ac_c" 1>&6
echo "configure:3200: checking for CHAR_BIT" >&5 echo "configure:3198: checking for CHAR_BIT" >&5
if eval "test \"`echo '$''{'gcc_cv_decl_char_bit'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_decl_char_bit'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3205 "configure" #line 3203 "configure"
#include "confdefs.h" #include "confdefs.h"
#ifdef HAVE_LIMITS_H #ifdef HAVE_LIMITS_H
#include <limits.h> #include <limits.h>
...@@ -3226,7 +3224,7 @@ fi ...@@ -3226,7 +3224,7 @@ fi
echo "$ac_t""$gcc_cv_decl_char_bit" 1>&6 echo "$ac_t""$gcc_cv_decl_char_bit" 1>&6
if test $gcc_cv_decl_char_bit = no; then if test $gcc_cv_decl_char_bit = no; then
echo $ac_n "checking number of bits in a byte""... $ac_c" 1>&6 echo $ac_n "checking number of bits in a byte""... $ac_c" 1>&6
echo "configure:3230: checking number of bits in a byte" >&5 echo "configure:3228: checking number of bits in a byte" >&5
if eval "test \"`echo '$''{'gcc_cv_c_nbby'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_c_nbby'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -3234,7 +3232,7 @@ else ...@@ -3234,7 +3232,7 @@ else
gcc_cv_c_nbby= gcc_cv_c_nbby=
while test $i -lt 65; do while test $i -lt 65; do
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3238 "configure" #line 3236 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
...@@ -3244,7 +3242,7 @@ switch(0) { ...@@ -3244,7 +3242,7 @@ switch(0) {
; } ; }
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
gcc_cv_c_nbby=$i; break gcc_cv_c_nbby=$i; break
else else
...@@ -3269,14 +3267,14 @@ EOF ...@@ -3269,14 +3267,14 @@ EOF
fi fi
fi fi
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
echo "configure:3273: checking whether byte ordering is bigendian" >&5 echo "configure:3271: checking whether byte ordering is bigendian" >&5
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
ac_cv_c_bigendian=unknown ac_cv_c_bigendian=unknown
# See if sys/param.h defines the BYTE_ORDER macro. # See if sys/param.h defines the BYTE_ORDER macro.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3280 "configure" #line 3278 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/param.h> #include <sys/param.h>
...@@ -3287,11 +3285,11 @@ int main() { ...@@ -3287,11 +3285,11 @@ int main() {
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
# It does; now see whether it defined to BIG_ENDIAN or not. # It does; now see whether it defined to BIG_ENDIAN or not.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3295 "configure" #line 3293 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/param.h> #include <sys/param.h>
...@@ -3302,7 +3300,7 @@ int main() { ...@@ -3302,7 +3300,7 @@ int main() {
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_c_bigendian=yes ac_cv_c_bigendian=yes
else else
...@@ -3322,7 +3320,7 @@ if test "$cross_compiling" = yes; then ...@@ -3322,7 +3320,7 @@ if test "$cross_compiling" = yes; then
echo $ac_n "cross-compiling... " 2>&6 echo $ac_n "cross-compiling... " 2>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3326 "configure" #line 3324 "configure"
#include "confdefs.h" #include "confdefs.h"
main () { main () {
/* Are we little or big endian? From Harbison&Steele. */ /* Are we little or big endian? From Harbison&Steele. */
...@@ -3335,7 +3333,7 @@ main () { ...@@ -3335,7 +3333,7 @@ main () {
exit (u.c[sizeof (long) - 1] == 1); exit (u.c[sizeof (long) - 1] == 1);
} }
EOF EOF
if { (eval echo configure:3339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:3337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_c_bigendian=no ac_cv_c_bigendian=no
else else
...@@ -3353,7 +3351,7 @@ fi ...@@ -3353,7 +3351,7 @@ fi
echo "$ac_t""$ac_cv_c_bigendian" 1>&6 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
if test $ac_cv_c_bigendian = unknown; then if test $ac_cv_c_bigendian = unknown; then
echo $ac_n "checking to probe for byte ordering""... $ac_c" 1>&6 echo $ac_n "checking to probe for byte ordering""... $ac_c" 1>&6
echo "configure:3357: checking to probe for byte ordering" >&5 echo "configure:3355: checking to probe for byte ordering" >&5
cat >conftest.c <<EOF cat >conftest.c <<EOF
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
...@@ -3433,7 +3431,7 @@ esac ...@@ -3433,7 +3431,7 @@ esac
# These libraries may be used by collect2. # These libraries may be used by collect2.
# We may need a special search path to get them linked. # We may need a special search path to get them linked.
echo $ac_n "checking for collect2 libraries""... $ac_c" 1>&6 echo $ac_n "checking for collect2 libraries""... $ac_c" 1>&6
echo "configure:3437: checking for collect2 libraries" >&5 echo "configure:3435: checking for collect2 libraries" >&5
if eval "test \"`echo '$''{'gcc_cv_collect2_libs'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_collect2_libs'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -3444,7 +3442,7 @@ for libs in '' -lld -lmld \ ...@@ -3444,7 +3442,7 @@ for libs in '' -lld -lmld \
do do
LIBS="$libs" LIBS="$libs"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3448 "configure" #line 3446 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -3455,7 +3453,7 @@ int main() { ...@@ -3455,7 +3453,7 @@ int main() {
ldopen() ldopen()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
gcc_cv_collect2_libs="$libs"; break gcc_cv_collect2_libs="$libs"; break
else else
...@@ -3481,14 +3479,14 @@ save_LIBS="$LIBS" ...@@ -3481,14 +3479,14 @@ save_LIBS="$LIBS"
LIBS= LIBS=
echo $ac_n "checking for library containing exc_resume""... $ac_c" 1>&6 echo $ac_n "checking for library containing exc_resume""... $ac_c" 1>&6
echo "configure:3485: checking for library containing exc_resume" >&5 echo "configure:3483: checking for library containing exc_resume" >&5
if eval "test \"`echo '$''{'ac_cv_search_exc_resume'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_search_exc_resume'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
ac_func_search_save_LIBS="$LIBS" ac_func_search_save_LIBS="$LIBS"
ac_cv_search_exc_resume="no" ac_cv_search_exc_resume="no"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3492 "configure" #line 3490 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -3499,7 +3497,7 @@ int main() { ...@@ -3499,7 +3497,7 @@ int main() {
exc_resume() exc_resume()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
ac_cv_search_exc_resume="none required" ac_cv_search_exc_resume="none required"
else else
...@@ -3510,7 +3508,7 @@ rm -f conftest* ...@@ -3510,7 +3508,7 @@ rm -f conftest*
test "$ac_cv_search_exc_resume" = "no" && for i in exc; do test "$ac_cv_search_exc_resume" = "no" && for i in exc; do
LIBS="-l$i $ac_func_search_save_LIBS" LIBS="-l$i $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3514 "configure" #line 3512 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -3521,7 +3519,7 @@ int main() { ...@@ -3521,7 +3519,7 @@ int main() {
exc_resume() exc_resume()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
ac_cv_search_exc_resume="-l$i" ac_cv_search_exc_resume="-l$i"
break break
...@@ -3551,14 +3549,14 @@ save_LIBS="$LIBS" ...@@ -3551,14 +3549,14 @@ save_LIBS="$LIBS"
LIBS= LIBS=
echo $ac_n "checking for library containing ldexp""... $ac_c" 1>&6 echo $ac_n "checking for library containing ldexp""... $ac_c" 1>&6
echo "configure:3555: checking for library containing ldexp" >&5 echo "configure:3553: checking for library containing ldexp" >&5
if eval "test \"`echo '$''{'ac_cv_search_ldexp'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_search_ldexp'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
ac_func_search_save_LIBS="$LIBS" ac_func_search_save_LIBS="$LIBS"
ac_cv_search_ldexp="no" ac_cv_search_ldexp="no"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3562 "configure" #line 3560 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -3569,7 +3567,7 @@ int main() { ...@@ -3569,7 +3567,7 @@ int main() {
ldexp() ldexp()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
ac_cv_search_ldexp="none required" ac_cv_search_ldexp="none required"
else else
...@@ -3580,7 +3578,7 @@ rm -f conftest* ...@@ -3580,7 +3578,7 @@ rm -f conftest*
test "$ac_cv_search_ldexp" = "no" && for i in m; do test "$ac_cv_search_ldexp" = "no" && for i in m; do
LIBS="-l$i $ac_func_search_save_LIBS" LIBS="-l$i $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3584 "configure" #line 3582 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -3591,7 +3589,7 @@ int main() { ...@@ -3591,7 +3589,7 @@ int main() {
ldexp() ldexp()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
ac_cv_search_ldexp="-l$i" ac_cv_search_ldexp="-l$i"
break break
...@@ -3618,12 +3616,12 @@ LIBS="$save_LIBS" ...@@ -3618,12 +3616,12 @@ LIBS="$save_LIBS"
# Use <inttypes.h> only if it exists, # Use <inttypes.h> only if it exists,
# doesn't clash with <sys/types.h>, and declares intmax_t. # doesn't clash with <sys/types.h>, and declares intmax_t.
echo $ac_n "checking for inttypes.h""... $ac_c" 1>&6 echo $ac_n "checking for inttypes.h""... $ac_c" 1>&6
echo "configure:3622: checking for inttypes.h" >&5 echo "configure:3620: checking for inttypes.h" >&5
if eval "test \"`echo '$''{'gcc_cv_header_inttypes_h'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_header_inttypes_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3627 "configure" #line 3625 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <inttypes.h> #include <inttypes.h>
...@@ -3631,7 +3629,7 @@ int main() { ...@@ -3631,7 +3629,7 @@ int main() {
intmax_t i = -1; intmax_t i = -1;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
gcc_cv_header_inttypes_h=yes gcc_cv_header_inttypes_h=yes
else else
...@@ -3659,12 +3657,12 @@ for ac_func in times clock dup2 kill getrlimit setrlimit atoll atoq \ ...@@ -3659,12 +3657,12 @@ for ac_func in times clock dup2 kill getrlimit setrlimit atoll atoq \
setlocale setlocale
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3663: checking for $ac_func" >&5 echo "configure:3661: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3668 "configure" #line 3666 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
...@@ -3687,7 +3685,7 @@ $ac_func(); ...@@ -3687,7 +3685,7 @@ $ac_func();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
...@@ -3714,7 +3712,7 @@ done ...@@ -3714,7 +3712,7 @@ done
if test x$ac_cv_func_mbstowcs = xyes; then if test x$ac_cv_func_mbstowcs = xyes; then
echo $ac_n "checking whether mbstowcs works""... $ac_c" 1>&6 echo $ac_n "checking whether mbstowcs works""... $ac_c" 1>&6
echo "configure:3718: checking whether mbstowcs works" >&5 echo "configure:3716: checking whether mbstowcs works" >&5
if eval "test \"`echo '$''{'gcc_cv_func_mbstowcs_works'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_func_mbstowcs_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -3722,7 +3720,7 @@ else ...@@ -3722,7 +3720,7 @@ else
gcc_cv_func_mbstowcs_works=yes gcc_cv_func_mbstowcs_works=yes
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3726 "configure" #line 3724 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
int main() int main()
...@@ -3731,7 +3729,7 @@ int main() ...@@ -3731,7 +3729,7 @@ int main()
return 0; return 0;
} }
EOF EOF
if { (eval echo configure:3735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:3733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
gcc_cv_func_mbstowcs_works=yes gcc_cv_func_mbstowcs_works=yes
else else
...@@ -3755,12 +3753,12 @@ EOF ...@@ -3755,12 +3753,12 @@ EOF
fi fi
echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
echo "configure:3759: checking for ssize_t" >&5 echo "configure:3757: checking for ssize_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3764 "configure" #line 3762 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#if STDC_HEADERS #if STDC_HEADERS
...@@ -3791,12 +3789,12 @@ fi ...@@ -3791,12 +3789,12 @@ fi
# Try to determine the array type of the second argument of getgroups # Try to determine the array type of the second argument of getgroups
# for the target system (int or gid_t). # for the target system (int or gid_t).
echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
echo "configure:3795: checking for uid_t in sys/types.h" >&5 echo "configure:3793: checking for uid_t in sys/types.h" >&5
if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3800 "configure" #line 3798 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
EOF EOF
...@@ -3825,7 +3823,7 @@ EOF ...@@ -3825,7 +3823,7 @@ EOF
fi fi
echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
echo "configure:3829: checking type of array argument to getgroups" >&5 echo "configure:3827: checking type of array argument to getgroups" >&5
if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -3833,7 +3831,7 @@ else ...@@ -3833,7 +3831,7 @@ else
ac_cv_type_getgroups=cross ac_cv_type_getgroups=cross
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3837 "configure" #line 3835 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Thanks to Mike Rendell for this test. */ /* Thanks to Mike Rendell for this test. */
...@@ -3858,7 +3856,7 @@ main() ...@@ -3858,7 +3856,7 @@ main()
} }
EOF EOF
if { (eval echo configure:3862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:3860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_type_getgroups=gid_t ac_cv_type_getgroups=gid_t
else else
...@@ -3872,7 +3870,7 @@ fi ...@@ -3872,7 +3870,7 @@ fi
if test $ac_cv_type_getgroups = cross; then if test $ac_cv_type_getgroups = cross; then
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3876 "configure" #line 3874 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <unistd.h> #include <unistd.h>
EOF EOF
...@@ -3913,7 +3911,7 @@ fi ...@@ -3913,7 +3911,7 @@ fi
echo $ac_n "checking whether the printf functions support %p""... $ac_c" 1>&6 echo $ac_n "checking whether the printf functions support %p""... $ac_c" 1>&6
echo "configure:3917: checking whether the printf functions support %p" >&5 echo "configure:3915: checking whether the printf functions support %p" >&5
if eval "test \"`echo '$''{'gcc_cv_func_printf_ptr'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_func_printf_ptr'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -3921,7 +3919,7 @@ else ...@@ -3921,7 +3919,7 @@ else
gcc_cv_func_printf_ptr=no gcc_cv_func_printf_ptr=no
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3925 "configure" #line 3923 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
...@@ -3934,7 +3932,7 @@ int main() ...@@ -3934,7 +3932,7 @@ int main()
return (p != q); return (p != q);
} }
EOF EOF
if { (eval echo configure:3938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:3936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
gcc_cv_func_printf_ptr=yes gcc_cv_func_printf_ptr=yes
else else
...@@ -3964,7 +3962,7 @@ if test $ac_cv_header_sys_mman_h != yes \ ...@@ -3964,7 +3962,7 @@ if test $ac_cv_header_sys_mman_h != yes \
gcc_cv_func_mmap_anon=no gcc_cv_func_mmap_anon=no
else else
echo $ac_n "checking whether read-only mmap of a plain file works""... $ac_c" 1>&6 echo $ac_n "checking whether read-only mmap of a plain file works""... $ac_c" 1>&6
echo "configure:3968: checking whether read-only mmap of a plain file works" >&5 echo "configure:3966: checking whether read-only mmap of a plain file works" >&5
if eval "test \"`echo '$''{'gcc_cv_func_mmap_file'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_func_mmap_file'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -3983,7 +3981,7 @@ fi ...@@ -3983,7 +3981,7 @@ fi
echo "$ac_t""$gcc_cv_func_mmap_file" 1>&6 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 $ac_n "checking whether mmap from /dev/zero works""... $ac_c" 1>&6
echo "configure:3987: checking whether mmap from /dev/zero works" >&5 echo "configure:3985: checking whether mmap from /dev/zero works" >&5
if eval "test \"`echo '$''{'gcc_cv_func_mmap_dev_zero'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_func_mmap_dev_zero'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -4009,12 +4007,12 @@ echo "$ac_t""$gcc_cv_func_mmap_dev_zero" 1>&6 ...@@ -4009,12 +4007,12 @@ echo "$ac_t""$gcc_cv_func_mmap_dev_zero" 1>&6
# Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for. # 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 $ac_n "checking for MAP_ANON(YMOUS)""... $ac_c" 1>&6
echo "configure:4013: checking for MAP_ANON(YMOUS)" >&5 echo "configure:4011: checking for MAP_ANON(YMOUS)" >&5
if eval "test \"`echo '$''{'gcc_cv_decl_map_anon'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_decl_map_anon'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4018 "configure" #line 4016 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/mman.h> #include <sys/mman.h>
...@@ -4028,7 +4026,7 @@ int main() { ...@@ -4028,7 +4026,7 @@ int main() {
int n = MAP_ANONYMOUS; int n = MAP_ANONYMOUS;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
gcc_cv_decl_map_anon=yes gcc_cv_decl_map_anon=yes
else else
...@@ -4046,7 +4044,7 @@ echo "$ac_t""$gcc_cv_decl_map_anon" 1>&6 ...@@ -4046,7 +4044,7 @@ echo "$ac_t""$gcc_cv_decl_map_anon" 1>&6
gcc_cv_func_mmap_anon=no gcc_cv_func_mmap_anon=no
else else
echo $ac_n "checking whether mmap with MAP_ANON(YMOUS) works""... $ac_c" 1>&6 echo $ac_n "checking whether mmap with MAP_ANON(YMOUS) works""... $ac_c" 1>&6
echo "configure:4050: checking whether mmap with MAP_ANON(YMOUS) works" >&5 echo "configure:4048: checking whether mmap with MAP_ANON(YMOUS) works" >&5
if eval "test \"`echo '$''{'gcc_cv_func_mmap_anon'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_func_mmap_anon'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -4101,12 +4099,12 @@ case "${host}" in ...@@ -4101,12 +4099,12 @@ case "${host}" in
;; ;;
esac esac
echo $ac_n "checking for pid_t""... $ac_c" 1>&6 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
echo "configure:4105: checking for pid_t" >&5 echo "configure:4103: checking for pid_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4110 "configure" #line 4108 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#if STDC_HEADERS #if STDC_HEADERS
...@@ -4135,17 +4133,17 @@ fi ...@@ -4135,17 +4133,17 @@ fi
ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
echo "configure:4139: checking for vfork.h" >&5 echo "configure:4137: checking for vfork.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4144 "configure" #line 4142 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <vfork.h> #include <vfork.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:4149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:4147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -4170,18 +4168,18 @@ else ...@@ -4170,18 +4168,18 @@ else
fi fi
echo $ac_n "checking for working vfork""... $ac_c" 1>&6 echo $ac_n "checking for working vfork""... $ac_c" 1>&6
echo "configure:4174: checking for working vfork" >&5 echo "configure:4172: checking for working vfork" >&5
if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+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
echo $ac_n "checking for vfork""... $ac_c" 1>&6 echo $ac_n "checking for vfork""... $ac_c" 1>&6
echo "configure:4180: checking for vfork" >&5 echo "configure:4178: checking for vfork" >&5
if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4185 "configure" #line 4183 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vfork(); below. */ which can conflict with char vfork(); below. */
...@@ -4204,7 +4202,7 @@ vfork(); ...@@ -4204,7 +4202,7 @@ vfork();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:4206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_vfork=yes" eval "ac_cv_func_vfork=yes"
else else
...@@ -4226,7 +4224,7 @@ fi ...@@ -4226,7 +4224,7 @@ fi
ac_cv_func_vfork_works=$ac_cv_func_vfork ac_cv_func_vfork_works=$ac_cv_func_vfork
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4230 "configure" #line 4228 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Thanks to Paul Eggert for this test. */ /* Thanks to Paul Eggert for this test. */
#include <stdio.h> #include <stdio.h>
...@@ -4321,7 +4319,7 @@ main() { ...@@ -4321,7 +4319,7 @@ main() {
} }
} }
EOF EOF
if { (eval echo configure:4325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:4323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_func_vfork_works=yes ac_cv_func_vfork_works=yes
else else
...@@ -4360,7 +4358,7 @@ fi ...@@ -4360,7 +4358,7 @@ fi
echo $ac_n "checking for iconv""... $ac_c" 1>&6 echo $ac_n "checking for iconv""... $ac_c" 1>&6
echo "configure:4364: checking for iconv" >&5 echo "configure:4362: checking for iconv" >&5
if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -4368,7 +4366,7 @@ else ...@@ -4368,7 +4366,7 @@ else
am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_func_iconv="no, consider installing GNU libiconv"
am_cv_lib_iconv=no am_cv_lib_iconv=no
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4372 "configure" #line 4370 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
#include <iconv.h> #include <iconv.h>
...@@ -4378,7 +4376,7 @@ iconv_t cd = iconv_open("",""); ...@@ -4378,7 +4376,7 @@ iconv_t cd = iconv_open("","");
iconv_close(cd); iconv_close(cd);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:4380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
am_cv_func_iconv=yes am_cv_func_iconv=yes
else else
...@@ -4390,7 +4388,7 @@ rm -f conftest* ...@@ -4390,7 +4388,7 @@ rm -f conftest*
am_save_LIBS="$LIBS" am_save_LIBS="$LIBS"
LIBS="$LIBS $am_cv_libiconv_ldpath -liconv" LIBS="$LIBS $am_cv_libiconv_ldpath -liconv"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4394 "configure" #line 4392 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
#include <iconv.h> #include <iconv.h>
...@@ -4400,7 +4398,7 @@ iconv_t cd = iconv_open("",""); ...@@ -4400,7 +4398,7 @@ iconv_t cd = iconv_open("","");
iconv_close(cd); iconv_close(cd);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:4402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
am_cv_lib_iconv=yes am_cv_lib_iconv=yes
am_cv_func_iconv=yes am_cv_func_iconv=yes
...@@ -4421,13 +4419,13 @@ echo "$ac_t""$am_cv_func_iconv" 1>&6 ...@@ -4421,13 +4419,13 @@ echo "$ac_t""$am_cv_func_iconv" 1>&6
EOF EOF
echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6 echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6
echo "configure:4425: checking for iconv declaration" >&5 echo "configure:4423: checking for iconv declaration" >&5
if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4431 "configure" #line 4429 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
...@@ -4446,7 +4444,7 @@ int main() { ...@@ -4446,7 +4444,7 @@ int main() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
am_cv_proto_iconv_arg1="" am_cv_proto_iconv_arg1=""
else else
...@@ -4479,19 +4477,19 @@ LIBICONV_DEP= ...@@ -4479,19 +4477,19 @@ LIBICONV_DEP=
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
echo "configure:4483: checking for LC_MESSAGES" >&5 echo "configure:4481: checking for LC_MESSAGES" >&5
if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4488 "configure" #line 4486 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <locale.h> #include <locale.h>
int main() { int main() {
return LC_MESSAGES return LC_MESSAGES
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:4493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
am_cv_val_LC_MESSAGES=yes am_cv_val_LC_MESSAGES=yes
else else
...@@ -4522,12 +4520,12 @@ for ac_func in getenv atol sbrk abort atof getcwd getwd \ ...@@ -4522,12 +4520,12 @@ for ac_func in getenv atol sbrk abort atof getcwd getwd \
do do
ac_tr_decl=HAVE_DECL_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 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 $ac_n "checking whether $ac_func is declared""... $ac_c" 1>&6
echo "configure:4526: checking whether $ac_func is declared" >&5 echo "configure:4524: checking whether $ac_func is declared" >&5
if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4531 "configure" #line 4529 "configure"
#include "confdefs.h" #include "confdefs.h"
#undef $ac_tr_decl #undef $ac_tr_decl
#define $ac_tr_decl 1 #define $ac_tr_decl 1
...@@ -4541,7 +4539,7 @@ char *(*pfn) = (char *(*)) $ac_func ; ...@@ -4541,7 +4539,7 @@ char *(*pfn) = (char *(*)) $ac_func ;
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
eval "gcc_cv_have_decl_$ac_func=yes" eval "gcc_cv_have_decl_$ac_func=yes"
else else
...@@ -4643,12 +4641,12 @@ for ac_func in getrlimit setrlimit getrusage ...@@ -4643,12 +4641,12 @@ for ac_func in getrlimit setrlimit getrusage
do do
ac_tr_decl=HAVE_DECL_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 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 $ac_n "checking whether $ac_func is declared""... $ac_c" 1>&6
echo "configure:4647: checking whether $ac_func is declared" >&5 echo "configure:4645: checking whether $ac_func is declared" >&5
if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4652 "configure" #line 4650 "configure"
#include "confdefs.h" #include "confdefs.h"
#undef $ac_tr_decl #undef $ac_tr_decl
#define $ac_tr_decl 1 #define $ac_tr_decl 1
...@@ -4666,7 +4664,7 @@ char *(*pfn) = (char *(*)) $ac_func ; ...@@ -4666,7 +4664,7 @@ char *(*pfn) = (char *(*)) $ac_func ;
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
eval "gcc_cv_have_decl_$ac_func=yes" eval "gcc_cv_have_decl_$ac_func=yes"
else else
...@@ -4705,7 +4703,7 @@ fi ...@@ -4705,7 +4703,7 @@ fi
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4709 "configure" #line 4707 "configure"
#include "confdefs.h" #include "confdefs.h"
#include "ansidecl.h" #include "ansidecl.h"
...@@ -4718,7 +4716,7 @@ int main() { ...@@ -4718,7 +4716,7 @@ int main() {
rlim_t l = 0; rlim_t l = 0;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
: :
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
...@@ -4735,12 +4733,12 @@ for ac_func in ldgetname ...@@ -4735,12 +4733,12 @@ for ac_func in ldgetname
do do
ac_tr_decl=HAVE_DECL_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 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 $ac_n "checking whether $ac_func is declared""... $ac_c" 1>&6
echo "configure:4739: checking whether $ac_func is declared" >&5 echo "configure:4737: checking whether $ac_func is declared" >&5
if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4744 "configure" #line 4742 "configure"
#include "confdefs.h" #include "confdefs.h"
#undef $ac_tr_decl #undef $ac_tr_decl
#define $ac_tr_decl 1 #define $ac_tr_decl 1
...@@ -4758,7 +4756,7 @@ char *(*pfn) = (char *(*)) $ac_func ; ...@@ -4758,7 +4756,7 @@ char *(*pfn) = (char *(*)) $ac_func ;
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
eval "gcc_cv_have_decl_$ac_func=yes" eval "gcc_cv_have_decl_$ac_func=yes"
else else
...@@ -4794,12 +4792,12 @@ for ac_func in times ...@@ -4794,12 +4792,12 @@ for ac_func in times
do do
ac_tr_decl=HAVE_DECL_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 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 $ac_n "checking whether $ac_func is declared""... $ac_c" 1>&6
echo "configure:4798: checking whether $ac_func is declared" >&5 echo "configure:4796: checking whether $ac_func is declared" >&5
if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4803 "configure" #line 4801 "configure"
#include "confdefs.h" #include "confdefs.h"
#undef $ac_tr_decl #undef $ac_tr_decl
#define $ac_tr_decl 1 #define $ac_tr_decl 1
...@@ -4817,7 +4815,7 @@ char *(*pfn) = (char *(*)) $ac_func ; ...@@ -4817,7 +4815,7 @@ char *(*pfn) = (char *(*)) $ac_func ;
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
eval "gcc_cv_have_decl_$ac_func=yes" eval "gcc_cv_have_decl_$ac_func=yes"
else else
...@@ -4851,13 +4849,13 @@ fi ...@@ -4851,13 +4849,13 @@ fi
# More time-related stuff. # More time-related stuff.
echo $ac_n "checking for struct tms""... $ac_c" 1>&6 echo $ac_n "checking for struct tms""... $ac_c" 1>&6
echo "configure:4855: checking for struct tms" >&5 echo "configure:4853: checking for struct tms" >&5
if eval "test \"`echo '$''{'ac_cv_struct_tms'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_struct_tms'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4861 "configure" #line 4859 "configure"
#include "confdefs.h" #include "confdefs.h"
#include "ansidecl.h" #include "ansidecl.h"
...@@ -4870,7 +4868,7 @@ int main() { ...@@ -4870,7 +4868,7 @@ int main() {
struct tms tms; struct tms tms;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_struct_tms=yes ac_cv_struct_tms=yes
else else
...@@ -4893,13 +4891,13 @@ fi ...@@ -4893,13 +4891,13 @@ fi
# use gcc_cv_* here because this doesn't match the behavior of AC_CHECK_TYPE. # use gcc_cv_* here because this doesn't match the behavior of AC_CHECK_TYPE.
# revisit after autoconf 2.50. # revisit after autoconf 2.50.
echo $ac_n "checking for clock_t""... $ac_c" 1>&6 echo $ac_n "checking for clock_t""... $ac_c" 1>&6
echo "configure:4897: checking for clock_t" >&5 echo "configure:4895: checking for clock_t" >&5
if eval "test \"`echo '$''{'gcc_cv_type_clock_t'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_type_clock_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4903 "configure" #line 4901 "configure"
#include "confdefs.h" #include "confdefs.h"
#include "ansidecl.h" #include "ansidecl.h"
...@@ -4909,7 +4907,7 @@ int main() { ...@@ -4909,7 +4907,7 @@ int main() {
clock_t x; clock_t x;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
gcc_cv_type_clock_t=yes gcc_cv_type_clock_t=yes
else else
...@@ -4930,12 +4928,12 @@ EOF ...@@ -4930,12 +4928,12 @@ EOF
fi fi
echo $ac_n "checking for uchar""... $ac_c" 1>&6 echo $ac_n "checking for uchar""... $ac_c" 1>&6
echo "configure:4934: checking for uchar" >&5 echo "configure:4932: checking for uchar" >&5
if eval "test \"`echo '$''{'gcc_cv_type_uchar'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_type_uchar'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4939 "configure" #line 4937 "configure"
#include "confdefs.h" #include "confdefs.h"
#include "ansidecl.h" #include "ansidecl.h"
...@@ -4946,7 +4944,7 @@ if ((uchar *)0) return 0; ...@@ -4946,7 +4944,7 @@ if ((uchar *)0) return 0;
if (sizeof(uchar)) return 0; if (sizeof(uchar)) return 0;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_type_uchar=yes ac_cv_type_uchar=yes
else else
...@@ -4976,7 +4974,7 @@ if test "${enable_initfini_array+set}" = set; then ...@@ -4976,7 +4974,7 @@ if test "${enable_initfini_array+set}" = set; then
else 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:4980: checking for .preinit_array/.init_array/.fini_array support" >&5 echo "configure:4978: checking for .preinit_array/.init_array/.fini_array support" >&5
if eval "test \"`echo '$''{'gcc_cv_initfini_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
...@@ -4984,7 +4982,7 @@ else ...@@ -4984,7 +4982,7 @@ else
gcc_cv_initfini_array=no gcc_cv_initfini_array=no
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4988 "configure" #line 4986 "configure"
#include "confdefs.h" #include "confdefs.h"
static int x = -1; static int x = -1;
...@@ -4992,7 +4990,7 @@ int main (void) { return x; } ...@@ -4992,7 +4990,7 @@ 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;
EOF EOF
if { (eval echo configure:4996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:4994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
gcc_cv_initfini_array=yes gcc_cv_initfini_array=yes
else else
...@@ -5020,12 +5018,12 @@ fi ...@@ -5020,12 +5018,12 @@ fi
# mkdir takes a single argument on some systems. # mkdir takes a single argument on some systems.
echo $ac_n "checking if mkdir takes one argument""... $ac_c" 1>&6 echo $ac_n "checking if mkdir takes one argument""... $ac_c" 1>&6
echo "configure:5024: checking if mkdir takes one argument" >&5 echo "configure:5022: checking if mkdir takes one argument" >&5
if eval "test \"`echo '$''{'gcc_cv_mkdir_takes_one_arg'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_mkdir_takes_one_arg'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5029 "configure" #line 5027 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
...@@ -5042,7 +5040,7 @@ int main() { ...@@ -5042,7 +5040,7 @@ int main() {
mkdir ("foo", 0); mkdir ("foo", 0);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:5044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
gcc_cv_mkdir_takes_one_arg=no gcc_cv_mkdir_takes_one_arg=no
else else
...@@ -5082,7 +5080,7 @@ fi ...@@ -5082,7 +5080,7 @@ fi
echo $ac_n "checking for main in -lunwind""... $ac_c" 1>&6 echo $ac_n "checking for main in -lunwind""... $ac_c" 1>&6
echo "configure:5086: checking for main in -lunwind" >&5 echo "configure:5084: checking for main in -lunwind" >&5
ac_lib_var=`echo unwind'_'main | sed 'y%./+-%__p_%'` ac_lib_var=`echo unwind'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -5090,14 +5088,14 @@ else ...@@ -5090,14 +5088,14 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lunwind $LIBS" LIBS="-lunwind $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5094 "configure" #line 5092 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
main() main()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:5099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -5392,7 +5390,7 @@ if test -f ../intl/config.intl; then ...@@ -5392,7 +5390,7 @@ if test -f ../intl/config.intl; then
. ../intl/config.intl . ../intl/config.intl
fi fi
echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
echo "configure:5396: checking whether NLS is requested" >&5 echo "configure:5394: checking whether NLS is requested" >&5
if test x"$USE_NLS" != xyes; then if test x"$USE_NLS" != xyes; then
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
else else
...@@ -5403,7 +5401,7 @@ EOF ...@@ -5403,7 +5401,7 @@ EOF
echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
echo "configure:5407: checking for catalogs to be installed" >&5 echo "configure:5405: checking for catalogs to be installed" >&5
# Look for .po and .gmo files in the source directory. # Look for .po and .gmo files in the source directory.
CATALOGS= CATALOGS=
XLINGUAS= XLINGUAS=
...@@ -5453,7 +5451,7 @@ fi ...@@ -5453,7 +5451,7 @@ fi
case $host_os in case $host_os in
win32 | pe | cygwin* | mingw32* | uwin*) win32 | pe | cygwin* | mingw32* | uwin*)
echo $ac_n "checking whether windows registry support is requested""... $ac_c" 1>&6 echo $ac_n "checking whether windows registry support is requested""... $ac_c" 1>&6
echo "configure:5457: checking whether windows registry support is requested" >&5 echo "configure:5455: checking whether windows registry support is requested" >&5
if test "x$enable_win32_registry" != xno; then if test "x$enable_win32_registry" != xno; then
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define ENABLE_WIN32_REGISTRY 1 #define ENABLE_WIN32_REGISTRY 1
...@@ -5462,14 +5460,14 @@ EOF ...@@ -5462,14 +5460,14 @@ EOF
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
echo $ac_n "checking for library containing RegOpenKeyExA""... $ac_c" 1>&6 echo $ac_n "checking for library containing RegOpenKeyExA""... $ac_c" 1>&6
echo "configure:5466: checking for library containing RegOpenKeyExA" >&5 echo "configure:5464: checking for library containing RegOpenKeyExA" >&5
if eval "test \"`echo '$''{'ac_cv_search_RegOpenKeyExA'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_search_RegOpenKeyExA'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
ac_func_search_save_LIBS="$LIBS" ac_func_search_save_LIBS="$LIBS"
ac_cv_search_RegOpenKeyExA="no" ac_cv_search_RegOpenKeyExA="no"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5473 "configure" #line 5471 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -5480,7 +5478,7 @@ int main() { ...@@ -5480,7 +5478,7 @@ int main() {
RegOpenKeyExA() RegOpenKeyExA()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:5482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
ac_cv_search_RegOpenKeyExA="none required" ac_cv_search_RegOpenKeyExA="none required"
else else
...@@ -5491,7 +5489,7 @@ rm -f conftest* ...@@ -5491,7 +5489,7 @@ rm -f conftest*
test "$ac_cv_search_RegOpenKeyExA" = "no" && for i in advapi32; do test "$ac_cv_search_RegOpenKeyExA" = "no" && for i in advapi32; do
LIBS="-l$i $ac_func_search_save_LIBS" LIBS="-l$i $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5495 "configure" #line 5493 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -5502,7 +5500,7 @@ int main() { ...@@ -5502,7 +5500,7 @@ int main() {
RegOpenKeyExA() RegOpenKeyExA()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:5504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
ac_cv_search_RegOpenKeyExA="-l$i" ac_cv_search_RegOpenKeyExA="-l$i"
break break
...@@ -5544,7 +5542,7 @@ esac ...@@ -5544,7 +5542,7 @@ esac
if test "x$enable_win32_registry" != xno; then if test "x$enable_win32_registry" != xno; then
echo $ac_n "checking registry key on windows hosts""... $ac_c" 1>&6 echo $ac_n "checking registry key on windows hosts""... $ac_c" 1>&6
echo "configure:5548: checking registry key on windows hosts" >&5 echo "configure:5546: checking registry key on windows hosts" >&5
cat >> confdefs.h <<EOF cat >> confdefs.h <<EOF
#define WIN32_REGISTRY_KEY "$gcc_cv_win32_registry_key" #define WIN32_REGISTRY_KEY "$gcc_cv_win32_registry_key"
EOF EOF
...@@ -5754,7 +5752,7 @@ esac ...@@ -5754,7 +5752,7 @@ esac
# build->target assembler and hope that it will have the same features # build->target assembler and hope that it will have the same features
# as the host->target assembler we'll be using. # as the host->target assembler we'll be using.
echo $ac_n "checking what assembler to use""... $ac_c" 1>&6 echo $ac_n "checking what assembler to use""... $ac_c" 1>&6
echo "configure:5758: checking what assembler to use" >&5 echo "configure:5756: checking what assembler to use" >&5
in_tree_gas=no in_tree_gas=no
gcc_cv_as= gcc_cv_as=
gcc_cv_gas_major_version= gcc_cv_gas_major_version=
...@@ -5878,7 +5876,7 @@ esac ...@@ -5878,7 +5876,7 @@ esac
# build->target linker and hope that it will have the same features # build->target linker and hope that it will have the same features
# as the host->target linker we'll be using. # as the host->target linker we'll be using.
echo $ac_n "checking what linker to use""... $ac_c" 1>&6 echo $ac_n "checking what linker to use""... $ac_c" 1>&6
echo "configure:5882: checking what linker to use" >&5 echo "configure:5880: checking what linker to use" >&5
in_tree_ld=no in_tree_ld=no
gcc_cv_ld= gcc_cv_ld=
gcc_cv_gld_major_version= gcc_cv_gld_major_version=
...@@ -5986,7 +5984,7 @@ esac ...@@ -5986,7 +5984,7 @@ esac
# Figure out what nm we will be using. # Figure out what nm we will be using.
gcc_cv_binutils_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/binutils gcc_cv_binutils_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/binutils
echo $ac_n "checking what nm to use""... $ac_c" 1>&6 echo $ac_n "checking what nm to use""... $ac_c" 1>&6
echo "configure:5990: checking what nm to use" >&5 echo "configure:5988: checking what nm to use" >&5
in_tree_nm=no in_tree_nm=no
if test -x nm$host_exeext; then if test -x nm$host_exeext; then
gcc_cv_nm=./nm$host_exeext gcc_cv_nm=./nm$host_exeext
...@@ -6009,7 +6007,7 @@ esac ...@@ -6009,7 +6007,7 @@ esac
# Figure out what objdump we will be using. # Figure out what objdump we will be using.
echo $ac_n "checking what objdump to use""... $ac_c" 1>&6 echo $ac_n "checking what objdump to use""... $ac_c" 1>&6
echo "configure:6013: checking what objdump to use" >&5 echo "configure:6011: checking what objdump to use" >&5
in_tree_objdump=no in_tree_objdump=no
if test -x objdump$host_exeext; then if test -x objdump$host_exeext; then
gcc_cv_objdump=./objdump$host_exeext gcc_cv_objdump=./objdump$host_exeext
...@@ -6034,7 +6032,7 @@ esac ...@@ -6034,7 +6032,7 @@ esac
# Figure out what assembler alignment features are present. # Figure out what assembler alignment features are present.
echo $ac_n "checking assembler for .balign and .p2align""... $ac_c" 1>&6 echo $ac_n "checking assembler for .balign and .p2align""... $ac_c" 1>&6
echo "configure:6038: checking assembler for .balign and .p2align" >&5 echo "configure:6036: checking assembler for .balign and .p2align" >&5
if eval "test \"`echo '$''{'gcc_cv_as_balign_and_p2align'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_balign_and_p2align'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6046,7 +6044,7 @@ fi ...@@ -6046,7 +6044,7 @@ fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo '.balign 4 echo '.balign 4
.p2align 2' > conftest.s .p2align 2' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_balign_and_p2align=yes gcc_cv_as_balign_and_p2align=yes
else else
...@@ -6066,7 +6064,7 @@ EOF ...@@ -6066,7 +6064,7 @@ EOF
fi fi
echo $ac_n "checking assembler for .p2align with maximum skip""... $ac_c" 1>&6 echo $ac_n "checking assembler for .p2align with maximum skip""... $ac_c" 1>&6
echo "configure:6070: checking assembler for .p2align with maximum skip" >&5 echo "configure:6068: checking assembler for .p2align with maximum skip" >&5
if eval "test \"`echo '$''{'gcc_cv_as_max_skip_p2align'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_max_skip_p2align'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6077,7 +6075,7 @@ else ...@@ -6077,7 +6075,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo '.p2align 4,,7' > conftest.s echo '.p2align 4,,7' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_max_skip_p2align=yes gcc_cv_as_max_skip_p2align=yes
else else
...@@ -6097,7 +6095,7 @@ EOF ...@@ -6097,7 +6095,7 @@ EOF
fi fi
echo $ac_n "checking assembler for working .subsection -1""... $ac_c" 1>&6 echo $ac_n "checking assembler for working .subsection -1""... $ac_c" 1>&6
echo "configure:6101: checking assembler for working .subsection -1" >&5 echo "configure:6099: checking assembler for working .subsection -1" >&5
if eval "test \"`echo '$''{'gcc_cv_as_subsection_m1'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_subsection_m1'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6112,7 +6110,7 @@ fi ...@@ -6112,7 +6110,7 @@ fi
.subsection -1 .subsection -1
conftest_label2: .word 0 conftest_label2: .word 0
.previous' > conftest.s .previous' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
if test x$gcc_cv_nm != x; then if test x$gcc_cv_nm != x; then
$gcc_cv_nm conftest.o | grep conftest_label1 > conftest.nm1 $gcc_cv_nm conftest.o | grep conftest_label1 > conftest.nm1
...@@ -6140,7 +6138,7 @@ EOF ...@@ -6140,7 +6138,7 @@ EOF
fi fi
echo $ac_n "checking assembler for .weak""... $ac_c" 1>&6 echo $ac_n "checking assembler for .weak""... $ac_c" 1>&6
echo "configure:6144: checking assembler for .weak" >&5 echo "configure:6142: checking assembler for .weak" >&5
if eval "test \"`echo '$''{'gcc_cv_as_weak'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_weak'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6151,7 +6149,7 @@ else ...@@ -6151,7 +6149,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo ' .weak foobar' > conftest.s echo ' .weak foobar' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_weak=yes gcc_cv_as_weak=yes
else else
...@@ -6178,7 +6176,7 @@ fi ...@@ -6178,7 +6176,7 @@ fi
# to be safe. # to be safe.
# The gcc_GAS_CHECK_FEATURE call just sets a cache variable. # The gcc_GAS_CHECK_FEATURE call just sets a cache variable.
echo $ac_n "checking assembler for .hidden""... $ac_c" 1>&6 echo $ac_n "checking assembler for .hidden""... $ac_c" 1>&6
echo "configure:6182: checking assembler for .hidden" >&5 echo "configure:6180: checking assembler for .hidden" >&5
if eval "test \"`echo '$''{'gcc_cv_as_hidden'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_hidden'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6191,7 +6189,7 @@ fi ...@@ -6191,7 +6189,7 @@ fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo ' .hidden foobar echo ' .hidden foobar
foobar:' > conftest.s foobar:' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_hidden=yes gcc_cv_as_hidden=yes
else else
...@@ -6206,7 +6204,7 @@ echo "$ac_t""$gcc_cv_as_hidden" 1>&6 ...@@ -6206,7 +6204,7 @@ echo "$ac_t""$gcc_cv_as_hidden" 1>&6
echo $ac_n "checking linker for .hidden support""... $ac_c" 1>&6 echo $ac_n "checking linker for .hidden support""... $ac_c" 1>&6
echo "configure:6210: checking linker for .hidden support" >&5 echo "configure:6208: checking linker for .hidden support" >&5
if eval "test \"`echo '$''{'gcc_cv_ld_hidden'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_ld_hidden'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6280,7 +6278,7 @@ fi ...@@ -6280,7 +6278,7 @@ fi
# Check if we have .[us]leb128, and support symbol arithmetic with it. # 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 $ac_n "checking assembler for .sleb128 and .uleb128""... $ac_c" 1>&6
echo "configure:6284: checking assembler for .sleb128 and .uleb128" >&5 echo "configure:6282: checking assembler for .sleb128 and .uleb128" >&5
if eval "test \"`echo '$''{'gcc_cv_as_leb128'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_leb128'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6297,7 +6295,7 @@ L1: ...@@ -6297,7 +6295,7 @@ L1:
.uleb128 1280 .uleb128 1280
.sleb128 -1010 .sleb128 -1010
L2:' > conftest.s L2:' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6301: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
# GAS versions before 2.11 do not support uleb128, # GAS versions before 2.11 do not support uleb128,
# despite appearing to. # despite appearing to.
...@@ -6333,7 +6331,7 @@ fi ...@@ -6333,7 +6331,7 @@ fi
# GAS versions up to and including 2.11.0 may mis-optimize # GAS versions up to and including 2.11.0 may mis-optimize
# .eh_frame data. # .eh_frame data.
echo $ac_n "checking assembler for eh_frame optimization""... $ac_c" 1>&6 echo $ac_n "checking assembler for eh_frame optimization""... $ac_c" 1>&6
echo "configure:6337: checking assembler for eh_frame optimization" >&5 echo "configure:6335: checking assembler for eh_frame optimization" >&5
if eval "test \"`echo '$''{'gcc_cv_as_eh_frame'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_eh_frame'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6376,7 +6374,7 @@ __FRAME_BEGIN__: ...@@ -6376,7 +6374,7 @@ __FRAME_BEGIN__:
.byte 0x4 .byte 0x4
.4byte .L1-.LFB1 .4byte .L1-.LFB1
.LEFDE1:' > conftest.s .LEFDE1:' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
cat > conftest.lit <<EOF cat > conftest.lit <<EOF
0000 10000000 00000000 017a0001 781a0004 .........z..x... 0000 10000000 00000000 017a0001 781a0004 .........z..x...
...@@ -6397,7 +6395,7 @@ EOF ...@@ -6397,7 +6395,7 @@ EOF
|| cmp conftest.big conftest.got > /dev/null 2>&1; } || cmp conftest.big conftest.got > /dev/null 2>&1; }
then then
gcc_cv_as_eh_frame=yes gcc_cv_as_eh_frame=yes
elif { ac_try='$gcc_cv_as -o conftest.o --traditional-format /dev/null'; { (eval echo configure:6401: \"$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:6399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
gcc_cv_as_eh_frame=buggy gcc_cv_as_eh_frame=buggy
else else
# Uh oh, what do we do now? # Uh oh, what do we do now?
...@@ -6422,7 +6420,7 @@ EOF ...@@ -6422,7 +6420,7 @@ EOF
fi fi
echo $ac_n "checking assembler for section merging support""... $ac_c" 1>&6 echo $ac_n "checking assembler for section merging support""... $ac_c" 1>&6
echo "configure:6426: checking assembler for section merging support" >&5 echo "configure:6424: checking assembler for section merging support" >&5
if eval "test \"`echo '$''{'gcc_cv_as_shf_merge'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_shf_merge'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6434,7 +6432,7 @@ else ...@@ -6434,7 +6432,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo '.section .rodata.str, "aMS", @progbits, 1' > conftest.s 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:6438: \"$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:6436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_shf_merge=yes gcc_cv_as_shf_merge=yes
else else
...@@ -6633,7 +6631,7 @@ if test -z "$tls_first_major"; then ...@@ -6633,7 +6631,7 @@ if test -z "$tls_first_major"; then
: # If we don't have a check, assume no support. : # If we don't have a check, assume no support.
else else
echo $ac_n "checking assembler for thread-local storage support""... $ac_c" 1>&6 echo $ac_n "checking assembler for thread-local storage support""... $ac_c" 1>&6
echo "configure:6637: checking assembler for thread-local storage support" >&5 echo "configure:6635: checking assembler for thread-local storage support" >&5
if eval "test \"`echo '$''{'gcc_cv_as_tls'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_tls'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6644,7 +6642,7 @@ else ...@@ -6644,7 +6642,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo "$conftest_s" > conftest.s 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:6648: \"$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:6646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_tls=yes gcc_cv_as_tls=yes
else else
...@@ -6670,7 +6668,7 @@ case "$target" in ...@@ -6670,7 +6668,7 @@ case "$target" in
# All TARGET_ABI_OSF targets. # All TARGET_ABI_OSF targets.
alpha*-*-osf* | alpha*-*-linux* | alpha*-*-*bsd*) alpha*-*-osf* | alpha*-*-linux* | alpha*-*-*bsd*)
echo $ac_n "checking assembler for explicit relocation support""... $ac_c" 1>&6 echo $ac_n "checking assembler for explicit relocation support""... $ac_c" 1>&6
echo "configure:6674: checking assembler for explicit relocation support" >&5 echo "configure:6672: checking assembler for explicit relocation support" >&5
if eval "test \"`echo '$''{'gcc_cv_as_alpha_explicit_relocs'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_alpha_explicit_relocs'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6693,7 +6691,7 @@ fi ...@@ -6693,7 +6691,7 @@ fi
ldah $1, d($29) !gprelhigh ldah $1, d($29) !gprelhigh
lda $1, d($1) !gprellow lda $1, d($1) !gprellow
lda $29, 0($29) !gpdisp!3' > conftest.s lda $29, 0($29) !gpdisp!3' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6697: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_alpha_explicit_relocs=yes gcc_cv_as_alpha_explicit_relocs=yes
else else
...@@ -6715,14 +6713,14 @@ fi ...@@ -6715,14 +6713,14 @@ fi
sparc*-*-*) sparc*-*-*)
echo $ac_n "checking assembler for .register""... $ac_c" 1>&6 echo $ac_n "checking assembler for .register""... $ac_c" 1>&6
echo "configure:6719: checking assembler for .register" >&5 echo "configure:6717: checking assembler for .register" >&5
if eval "test \"`echo '$''{'gcc_cv_as_sparc_register_op'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_sparc_register_op'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
gcc_cv_as_sparc_register_op=no gcc_cv_as_sparc_register_op=no
if test x$gcc_cv_as != x; then if test x$gcc_cv_as != x; then
echo '.register %g2, #scratch' > conftest.s echo '.register %g2, #scratch' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_sparc_register_op=yes gcc_cv_as_sparc_register_op=yes
else else
...@@ -6742,14 +6740,14 @@ EOF ...@@ -6742,14 +6740,14 @@ EOF
fi fi
echo $ac_n "checking assembler for -relax option""... $ac_c" 1>&6 echo $ac_n "checking assembler for -relax option""... $ac_c" 1>&6
echo "configure:6746: checking assembler for -relax option" >&5 echo "configure:6744: checking assembler for -relax option" >&5
if eval "test \"`echo '$''{'gcc_cv_as_sparc_relax'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_sparc_relax'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
gcc_cv_as_sparc_relax=no gcc_cv_as_sparc_relax=no
if test x$gcc_cv_as != x; then if test x$gcc_cv_as != x; then
echo '.text' > conftest.s echo '.text' > conftest.s
if { ac_try='$gcc_cv_as -relax -o conftest.o conftest.s >&5'; { (eval echo configure:6753: \"$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:6751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_sparc_relax=yes gcc_cv_as_sparc_relax=yes
else else
...@@ -6769,7 +6767,7 @@ EOF ...@@ -6769,7 +6767,7 @@ EOF
fi fi
echo $ac_n "checking assembler for unaligned pcrel relocs""... $ac_c" 1>&6 echo $ac_n "checking assembler for unaligned pcrel relocs""... $ac_c" 1>&6
echo "configure:6773: checking assembler for unaligned pcrel relocs" >&5 echo "configure:6771: checking assembler for unaligned pcrel relocs" >&5
if eval "test \"`echo '$''{'gcc_cv_as_sparc_ua_pcrel'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_sparc_ua_pcrel'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6782,7 +6780,7 @@ foo: ...@@ -6782,7 +6780,7 @@ foo:
.align 4 .align 4
.byte 0 .byte 0
.uaword %r_disp32(foo)' > conftest.s .uaword %r_disp32(foo)' > conftest.s
if { ac_try='$gcc_cv_as -K PIC -o conftest.o conftest.s >&5'; { (eval echo configure:6786: \"$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:6784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
if test x$gcc_cv_ld != x \ if test x$gcc_cv_ld != x \
&& $gcc_cv_ld -o conftest conftest.o -G > /dev/null 2>&1; then && $gcc_cv_ld -o conftest conftest.o -G > /dev/null 2>&1; then
...@@ -6805,7 +6803,7 @@ EOF ...@@ -6805,7 +6803,7 @@ EOF
echo $ac_n "checking assembler for unaligned pcrel relocs against hidden symbols""... $ac_c" 1>&6 echo $ac_n "checking assembler for unaligned pcrel relocs against hidden symbols""... $ac_c" 1>&6
echo "configure:6809: checking assembler for unaligned pcrel relocs against hidden symbols" >&5 echo "configure:6807: checking assembler for unaligned pcrel relocs against hidden symbols" >&5
if eval "test \"`echo '$''{'gcc_cv_as_sparc_ua_pcrel_hidden'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_sparc_ua_pcrel_hidden'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6820,7 +6818,7 @@ else ...@@ -6820,7 +6818,7 @@ else
.hidden foo .hidden foo
foo: foo:
.skip 4' > conftest.s .skip 4' > conftest.s
if { ac_try='$gcc_cv_as -K PIC -o conftest.o conftest.s >&5'; { (eval echo configure:6824: \"$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:6822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
if test x$gcc_cv_ld != x && test x$gcc_cv_objdump != x \ 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 \ && $gcc_cv_ld -o conftest conftest.o -G > /dev/null 2>&1 \
...@@ -6853,7 +6851,7 @@ fi ...@@ -6853,7 +6851,7 @@ fi
fi # unaligned pcrel relocs fi # unaligned pcrel relocs
echo $ac_n "checking assembler for offsetable %lo()""... $ac_c" 1>&6 echo $ac_n "checking assembler for offsetable %lo()""... $ac_c" 1>&6
echo "configure:6857: checking assembler for offsetable %lo()" >&5 echo "configure:6855: checking assembler for offsetable %lo()" >&5
if eval "test \"`echo '$''{'gcc_cv_as_sparc_offsetable_lo10'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_sparc_offsetable_lo10'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6862,7 +6860,7 @@ else ...@@ -6862,7 +6860,7 @@ else
echo '.text echo '.text
or %g1, %lo(ab) + 12, %g1 or %g1, %lo(ab) + 12, %g1
or %g1, %lo(ab + 12), %g1' > conftest.s 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:6866: \"$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:6864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
if test x$gcc_cv_objdump != x \ if test x$gcc_cv_objdump != x \
&& %gcc_cv_objdump -s -j .text conftest.o 2> /dev/null \ && %gcc_cv_objdump -s -j .text conftest.o 2> /dev/null \
...@@ -6888,7 +6886,7 @@ fi ...@@ -6888,7 +6886,7 @@ fi
i[34567]86-*-* | x86_64-*-*) i[34567]86-*-* | x86_64-*-*)
echo $ac_n "checking assembler for filds and fists mnemonics""... $ac_c" 1>&6 echo $ac_n "checking assembler for filds and fists mnemonics""... $ac_c" 1>&6
echo "configure:6892: checking assembler for filds and fists mnemonics" >&5 echo "configure:6890: checking assembler for filds and fists mnemonics" >&5
if eval "test \"`echo '$''{'gcc_cv_as_ix86_filds_fists'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_ix86_filds_fists'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6899,7 +6897,7 @@ else ...@@ -6899,7 +6897,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo 'filds mem; fists mem' > conftest.s echo 'filds mem; fists mem' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_ix86_filds_fists=yes gcc_cv_as_ix86_filds_fists=yes
else else
...@@ -6921,7 +6919,7 @@ fi ...@@ -6921,7 +6919,7 @@ fi
# This one is used unconditionally by i386.[ch]; it is to be defined # This one is used unconditionally by i386.[ch]; it is to be defined
# to 1 if the feature is present, 0 otherwise. # to 1 if the feature is present, 0 otherwise.
echo $ac_n "checking assembler for GOTOFF in data""... $ac_c" 1>&6 echo $ac_n "checking assembler for GOTOFF in data""... $ac_c" 1>&6
echo "configure:6925: checking assembler for GOTOFF in data" >&5 echo "configure:6923: checking assembler for GOTOFF in data" >&5
if eval "test \"`echo '$''{'gcc_cv_as_ix86_gotoff_in_data'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_ix86_gotoff_in_data'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6936,7 +6934,7 @@ fi ...@@ -6936,7 +6934,7 @@ fi
nop nop
.data .data
.long .L0@GOTOFF' > conftest.s .long .L0@GOTOFF' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_ix86_gotoff_in_data=yes gcc_cv_as_ix86_gotoff_in_data=yes
else else
...@@ -6957,7 +6955,7 @@ EOF ...@@ -6957,7 +6955,7 @@ EOF
ia64*-*-*) ia64*-*-*)
echo $ac_n "checking assembler for ltoffx and ldxmov relocs""... $ac_c" 1>&6 echo $ac_n "checking assembler for ltoffx and ldxmov relocs""... $ac_c" 1>&6
echo "configure:6961: checking assembler for ltoffx and ldxmov relocs" >&5 echo "configure:6959: checking assembler for ltoffx and ldxmov relocs" >&5
if eval "test \"`echo '$''{'gcc_cv_as_ia64_ltoffx_ldxmov_relocs'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_ia64_ltoffx_ldxmov_relocs'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6971,7 +6969,7 @@ fi ...@@ -6971,7 +6969,7 @@ fi
addl r15 = @ltoffx(x#), gp addl r15 = @ltoffx(x#), gp
;; ;;
ld8.mov r16 = [r15], x#' > conftest.s ld8.mov r16 = [r15], x#' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_ia64_ltoffx_ldxmov_relocs=yes gcc_cv_as_ia64_ltoffx_ldxmov_relocs=yes
else else
...@@ -7001,7 +6999,7 @@ fi ...@@ -7001,7 +6999,7 @@ fi
mfcr 3,128" mfcr 3,128"
echo $ac_n "checking assembler for mfcr field support""... $ac_c" 1>&6 echo $ac_n "checking assembler for mfcr field support""... $ac_c" 1>&6
echo "configure:7005: checking assembler for mfcr field support" >&5 echo "configure:7003: checking assembler for mfcr field support" >&5
if eval "test \"`echo '$''{'gcc_cv_as_powerpc_mfcrf'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_powerpc_mfcrf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7012,7 +7010,7 @@ else ...@@ -7012,7 +7010,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo "$conftest_s" > conftest.s echo "$conftest_s" > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7016: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_powerpc_mfcrf=yes gcc_cv_as_powerpc_mfcrf=yes
else else
...@@ -7034,7 +7032,7 @@ fi ...@@ -7034,7 +7032,7 @@ fi
mips*-*-*) mips*-*-*)
echo $ac_n "checking assembler for explicit relocation support""... $ac_c" 1>&6 echo $ac_n "checking assembler for explicit relocation support""... $ac_c" 1>&6
echo "configure:7038: checking assembler for explicit relocation support" >&5 echo "configure:7036: checking assembler for explicit relocation support" >&5
if eval "test \"`echo '$''{'gcc_cv_as_mips_explicit_relocs'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_mips_explicit_relocs'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7045,7 +7043,7 @@ else ...@@ -7045,7 +7043,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo ' lw $4,%gp_rel(foo)($4)' > conftest.s echo ' lw $4,%gp_rel(foo)($4)' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_mips_explicit_relocs=yes gcc_cv_as_mips_explicit_relocs=yes
else else
...@@ -7091,7 +7089,7 @@ if test x"$insn" != x; then ...@@ -7091,7 +7089,7 @@ if test x"$insn" != x; then
.loc 1 3 0 .loc 1 3 0
$insn" $insn"
echo $ac_n "checking assembler for dwarf2 debug_line support""... $ac_c" 1>&6 echo $ac_n "checking assembler for dwarf2 debug_line support""... $ac_c" 1>&6
echo "configure:7095: checking assembler for dwarf2 debug_line support" >&5 echo "configure:7093: checking assembler for dwarf2 debug_line support" >&5
if eval "test \"`echo '$''{'gcc_cv_as_dwarf2_debug_line'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_dwarf2_debug_line'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7103,7 +7101,7 @@ else ...@@ -7103,7 +7101,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo "$conftest_s" > conftest.s echo "$conftest_s" > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
# ??? This fails with non-gnu grep. Maybe use objdump? # ??? This fails with non-gnu grep. Maybe use objdump?
if grep debug_line conftest.o > /dev/null 2>&1; then if grep debug_line conftest.o > /dev/null 2>&1; then
...@@ -7125,7 +7123,7 @@ echo "$ac_t""$gcc_cv_as_dwarf2_debug_line" 1>&6 ...@@ -7125,7 +7123,7 @@ echo "$ac_t""$gcc_cv_as_dwarf2_debug_line" 1>&6
# by DW_AT_decl_file. Approximate this test by testing if # by DW_AT_decl_file. Approximate this test by testing if
# the assembler bitches if the same index is assigned twice. # 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 $ac_n "checking assembler for buggy dwarf2 .file directive""... $ac_c" 1>&6
echo "configure:7129: checking assembler for buggy dwarf2 .file directive" >&5 echo "configure:7127: checking assembler for buggy dwarf2 .file directive" >&5
if eval "test \"`echo '$''{'gcc_cv_as_dwarf2_file_buggy'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_dwarf2_file_buggy'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7133,7 +7131,7 @@ else ...@@ -7133,7 +7131,7 @@ else
if test x$gcc_cv_as != x; then if test x$gcc_cv_as != x; then
echo ' .file 1 "foo.s" echo ' .file 1 "foo.s"
.file 1 "bar.s"' > conftest.s .file 1 "bar.s"' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_dwarf2_file_buggy=yes gcc_cv_as_dwarf2_file_buggy=yes
else else
...@@ -7156,7 +7154,7 @@ EOF ...@@ -7156,7 +7154,7 @@ EOF
fi fi
echo $ac_n "checking assembler for --gdwarf2 option""... $ac_c" 1>&6 echo $ac_n "checking assembler for --gdwarf2 option""... $ac_c" 1>&6
echo "configure:7160: checking assembler for --gdwarf2 option" >&5 echo "configure:7158: checking assembler for --gdwarf2 option" >&5
if eval "test \"`echo '$''{'gcc_cv_as_gdwarf2_flag'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_gdwarf2_flag'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7168,7 +7166,7 @@ else ...@@ -7168,7 +7166,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo "$insn" > conftest.s echo "$insn" > conftest.s
if { ac_try='$gcc_cv_as --gdwarf2 -o conftest.o conftest.s >&5'; { (eval echo configure:7172: \"$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:7170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_gdwarf2_flag=yes gcc_cv_as_gdwarf2_flag=yes
else else
...@@ -7188,7 +7186,7 @@ EOF ...@@ -7188,7 +7186,7 @@ EOF
fi fi
echo $ac_n "checking assembler for --gstabs option""... $ac_c" 1>&6 echo $ac_n "checking assembler for --gstabs option""... $ac_c" 1>&6
echo "configure:7192: checking assembler for --gstabs option" >&5 echo "configure:7190: checking assembler for --gstabs option" >&5
if eval "test \"`echo '$''{'gcc_cv_as_gstabs_flag'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_gstabs_flag'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7200,12 +7198,12 @@ else ...@@ -7200,12 +7198,12 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo "$insn" > conftest.s echo "$insn" > conftest.s
if { ac_try='$gcc_cv_as --gstabs -o conftest.o conftest.s >&5'; { (eval echo configure:7204: \"$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:7202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
# The native Solaris 9/Intel assembler doesn't understand --gstabs # The native Solaris 9/Intel assembler doesn't understand --gstabs
# and warns about it, but still exits successfully. So check for # and warns about it, but still exits successfully. So check for
# this. # this.
if { ac_try='$gcc_cv_as --gstabs -o conftest.o conftest.s 2>&1 | grep -i warning > /dev/null'; { (eval echo configure:7209: \"$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:7207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then : then :
else gcc_cv_as_gstabs_flag=yes else gcc_cv_as_gstabs_flag=yes
fi fi
...@@ -7227,7 +7225,7 @@ fi ...@@ -7227,7 +7225,7 @@ fi
fi fi
echo $ac_n "checking linker read-only and read-write section mixing""... $ac_c" 1>&6 echo $ac_n "checking linker read-only and read-write section mixing""... $ac_c" 1>&6
echo "configure:7231: checking linker read-only and read-write section mixing" >&5 echo "configure:7229: checking linker read-only and read-write section mixing" >&5
gcc_cv_ld_ro_rw_mix=unknown gcc_cv_ld_ro_rw_mix=unknown
if test $in_tree_ld = yes ; then 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 \ 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 \
...@@ -7266,7 +7264,7 @@ fi ...@@ -7266,7 +7264,7 @@ fi
echo "$ac_t""$gcc_cv_ld_ro_rw_mix" 1>&6 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 $ac_n "checking linker PT_GNU_EH_FRAME support""... $ac_c" 1>&6
echo "configure:7270: checking linker PT_GNU_EH_FRAME support" >&5 echo "configure:7268: checking linker PT_GNU_EH_FRAME support" >&5
gcc_cv_ld_eh_frame_hdr=no gcc_cv_ld_eh_frame_hdr=no
if test $in_tree_ld = yes ; then 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 \ 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 \
...@@ -7288,7 +7286,7 @@ fi ...@@ -7288,7 +7286,7 @@ fi
echo "$ac_t""$gcc_cv_ld_eh_frame_hdr" 1>&6 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 $ac_n "checking linker position independent executable support""... $ac_c" 1>&6
echo "configure:7292: checking linker position independent executable support" >&5 echo "configure:7290: checking linker position independent executable support" >&5
gcc_cv_ld_pie=no gcc_cv_ld_pie=no
if test $in_tree_ld = yes ; then 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 \ 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 \
...@@ -7313,7 +7311,7 @@ echo "$ac_t""$gcc_cv_ld_pie" 1>&6 ...@@ -7313,7 +7311,7 @@ echo "$ac_t""$gcc_cv_ld_pie" 1>&6
case "$target" in case "$target" in
mips*-*-*) mips*-*-*)
echo $ac_n "checking whether libgloss uses STARTUP directives consistently""... $ac_c" 1>&6 echo $ac_n "checking whether libgloss uses STARTUP directives consistently""... $ac_c" 1>&6
echo "configure:7317: checking whether libgloss uses STARTUP directives consistently" >&5 echo "configure:7315: checking whether libgloss uses STARTUP directives consistently" >&5
gcc_cv_mips_libgloss_startup=no gcc_cv_mips_libgloss_startup=no
gcc_cv_libgloss_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/libgloss gcc_cv_libgloss_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/libgloss
if test "x$exec_prefix" = xNONE; then if test "x$exec_prefix" = xNONE; then
...@@ -7518,7 +7516,7 @@ fi ...@@ -7518,7 +7516,7 @@ fi
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
echo "configure:7522: checking whether to enable maintainer-specific portions of Makefiles" >&5 echo "configure:7520: checking whether to enable maintainer-specific portions of Makefiles" >&5
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
if test "${enable_maintainer_mode+set}" = set; then if test "${enable_maintainer_mode+set}" = set; then
enableval="$enable_maintainer_mode" enableval="$enable_maintainer_mode"
...@@ -8029,11 +8027,11 @@ s%@RANLIB@%$RANLIB%g ...@@ -8029,11 +8027,11 @@ s%@RANLIB@%$RANLIB%g
s%@INSTALL@%$INSTALL%g s%@INSTALL@%$INSTALL%g
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
s%@INSTALL_DATA@%$INSTALL_DATA%g s%@INSTALL_DATA@%$INSTALL_DATA%g
s%@make_compare_target@%$make_compare_target%g
s%@have_mktemp_command@%$have_mktemp_command%g s%@have_mktemp_command@%$have_mktemp_command%g
s%@MAKEINFO@%$MAKEINFO%g s%@MAKEINFO@%$MAKEINFO%g
s%@BUILD_INFO@%$BUILD_INFO%g s%@BUILD_INFO@%$BUILD_INFO%g
s%@GENERATED_MANPAGES@%$GENERATED_MANPAGES%g s%@GENERATED_MANPAGES@%$GENERATED_MANPAGES%g
s%@make_compare_target@%$make_compare_target%g
s%@FLEX@%$FLEX%g s%@FLEX@%$FLEX%g
s%@BISON@%$BISON%g s%@BISON@%$BISON%g
s%@stage1_cflags@%$stage1_cflags%g s%@stage1_cflags@%$stage1_cflags%g
......
...@@ -599,6 +599,9 @@ gcc_AC_PROG_LN_S ...@@ -599,6 +599,9 @@ gcc_AC_PROG_LN_S
AC_PROG_RANLIB AC_PROG_RANLIB
gcc_AC_PROG_INSTALL gcc_AC_PROG_INSTALL
# See if cmp has --ignore-initial.
gcc_AC_PROG_CMP_IGNORE_INITIAL
# See if we have the mktemp command. # See if we have the mktemp command.
AC_CHECK_PROG(have_mktemp_command, mktemp, yes, no) AC_CHECK_PROG(have_mktemp_command, mktemp, yes, no)
...@@ -634,27 +637,6 @@ else ...@@ -634,27 +637,6 @@ else
GENERATED_MANPAGES= GENERATED_MANPAGES=
fi fi
# 'make compare' can be significantly faster, if cmp itself can
# 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_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
gcc_cv_prog_cmp_skip=slowcompare
else
gcc_cv_prog_cmp_skip=gnucompare
fi
else
gcc_cv_prog_cmp_skip=slowcompare
fi
rm t1 t2
])
make_compare_target=$gcc_cv_prog_cmp_skip
AC_SUBST(make_compare_target)
# How about lex? # How about lex?
dnl Don't use AC_PROG_LEX; we insist on flex. dnl Don't use AC_PROG_LEX; we insist on flex.
dnl LEXLIB is not useful in gcc. dnl LEXLIB is not useful in gcc.
......
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