URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [configure] - Rev 438
Go to most recent revision | Compare with Previous | Blame | View Log
#! /bin/sh# Guess values for system-dependent variables and create Makefiles.# Generated by GNU Autoconf 2.59.## Copyright (C) 2003 Free Software Foundation, Inc.# This configure script is free software; the Free Software Foundation# gives unlimited permission to copy, distribute and modify it.## --------------------- #### M4sh Initialization. #### --------------------- ### Be Bourne compatibleif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; thenemulate shNULLCMD=:# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which# is contrary to our usage. Disable this feature.alias -g '${1+"$@"}'='"$@"'elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; thenset -o posixfiDUALCASE=1; export DUALCASE # for MKS sh# Support unset when possible.if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; thenas_unset=unsetelseas_unset=falsefi# Work around bugs in pre-3.0 UWIN ksh.$as_unset ENV MAIL MAILPATHPS1='$ 'PS2='> 'PS4='+ '# NLS nuisances.for as_var in \LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \LC_TELEPHONE LC_TIMEdoif (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); theneval $as_var=C; export $as_varelse$as_unset $as_varfidone# Required to use basename.if expr a : '\(a\)' >/dev/null 2>&1; thenas_expr=exprelseas_expr=falsefiif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; thenas_basename=basenameelseas_basename=falsefi# Name of the executable.as_me=`$as_basename "$0" ||$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \X"$0" : 'X\(//\)$' \| \X"$0" : 'X\(/\)$' \| \. : '\(.\)' 2>/dev/null ||echo X/"$0" |sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }/^X\/\(\/\/\)$/{ s//\1/; q; }/^X\/\(\/\).*/{ s//\1/; q; }s/.*/./; q'`# PATH needs CR, and LINENO needs CR and PATH.# Avoid depending upon Character Ranges.as_cr_letters='abcdefghijklmnopqrstuvwxyz'as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'as_cr_Letters=$as_cr_letters$as_cr_LETTERSas_cr_digits='0123456789'as_cr_alnum=$as_cr_Letters$as_cr_digits# The user is always right.if test "${PATH_SEPARATOR+set}" != set; thenecho "#! /bin/sh" >conf$$.shecho "exit 0" >>conf$$.shchmod +x conf$$.shif (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; thenPATH_SEPARATOR=';'elsePATH_SEPARATOR=:firm -f conf$$.shfias_lineno_1=$LINENOas_lineno_2=$LINENOas_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`test "x$as_lineno_1" != "x$as_lineno_2" &&test "x$as_lineno_3" = "x$as_lineno_2" || {# Find who we are. Look in the path if we contain no path at all# relative or not.case $0 in*[\\/]* ) as_myself=$0 ;;*) as_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.test -r "$as_dir/$0" && as_myself=$as_dir/$0 && breakdone;;esac# We did not find ourselves, most probably we were run as `sh COMMAND'# in which case we are not to be found in the path.if test "x$as_myself" = x; thenas_myself=$0fiif test ! -f "$as_myself"; then{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2{ (exit 1); exit 1; }; }ficase $CONFIG_SHELL in'')as_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for as_base in sh bash ksh sh5; docase $as_dir in/*)if ("$as_dir/$as_base" -c 'as_lineno_1=$LINENOas_lineno_2=$LINENOas_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`test "x$as_lineno_1" != "x$as_lineno_2" &&test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }CONFIG_SHELL=$as_dir/$as_baseexport CONFIG_SHELLexec "$CONFIG_SHELL" "$0" ${1+"$@"}fi;;esacdonedone;;esac# Create $as_me.lineno as a copy of $as_myself, but with $LINENO# uniformly replaced by the line number. The first 'sed' inserts a# line-number line before each line; the second 'sed' does the real# work. The second script uses 'N' to pair each line-number line# with the numbered line, and appends trailing '-' during# substitution so that $LINENO is not a special case at line end.# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)sed '=' <$as_myself |sed 'Ns,$,-,: loops,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,t loops,-$,,s,^['$as_cr_digits']*\n,,' >$as_me.lineno &&chmod +x $as_me.lineno ||{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2{ (exit 1); exit 1; }; }# Don't try to exec as it changes $[0], causing all sort of problems# (the dirname of $[0] is not the place where we might find the# original and so on. Autoconf is especially sensible to this).. ./$as_me.lineno# Exit status is that of the last command.exit}case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in*c*,-n*) ECHO_N= ECHO_C='' ECHO_T=' ' ;;*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;*) ECHO_N= ECHO_C='\c' ECHO_T= ;;esacif expr a : '\(a\)' >/dev/null 2>&1; thenas_expr=exprelseas_expr=falsefirm -f conf$$ conf$$.exe conf$$.fileecho >conf$$.fileif ln -s conf$$.file conf$$ 2>/dev/null; then# We could just check for DJGPP; but this test a) works b) is more generic# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).if test -f conf$$.exe; then# Don't use ln at all; we don't have any linksas_ln_s='cp -p'elseas_ln_s='ln -s'fielif ln conf$$.file conf$$ 2>/dev/null; thenas_ln_s=lnelseas_ln_s='cp -p'firm -f conf$$ conf$$.exe conf$$.fileif mkdir -p . 2>/dev/null; thenas_mkdir_p=:elsetest -d ./-p && rmdir ./-pas_mkdir_p=falsefias_executable_p="test -f"# Sed expression to map a string onto a valid CPP name.as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"# Sed expression to map a string onto a valid variable name.as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"# IFS# We need space, tab and new line, in precisely that order.as_nl=''IFS=" $as_nl"# CDPATH.$as_unset CDPATH# Name of the host.# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,# so uname gets run too.ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`exec 6>&1## Initializations.#ac_default_prefix=/usr/localac_config_libobj_dir=.cross_compiling=nosubdirs=MFLAGS=MAKEFLAGS=SHELL=${CONFIG_SHELL-/bin/sh}# Maximum number of lines to put in a shell here document.# This variable seems obsolete. It should probably be removed, and# only ac_max_sed_lines should be used.: ${ac_max_here_lines=38}# Identity of this package.PACKAGE_NAME=PACKAGE_TARNAME=PACKAGE_VERSION=PACKAGE_STRING=PACKAGE_BUGREPORT=ac_unique_file="tree.c"# Factoring default headers for most tests.ac_includes_default="\#include <stdio.h>#if HAVE_SYS_TYPES_H# include <sys/types.h>#endif#if HAVE_SYS_STAT_H# include <sys/stat.h>#endif#if STDC_HEADERS# include <stdlib.h># include <stddef.h>#else# if HAVE_STDLIB_H# include <stdlib.h># endif#endif#if HAVE_STRING_H# if !STDC_HEADERS && HAVE_MEMORY_H# include <memory.h># endif# include <string.h>#endif#if HAVE_STRINGS_H# include <strings.h>#endif#if HAVE_INTTYPES_H# include <inttypes.h>#else# if HAVE_STDINT_H# include <stdint.h># endif#endif#if HAVE_UNISTD_H# include <unistd.h>#endif"ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical build_libsubdir build_subdir host_subdir target_subdir GENINSRC CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT NO_MINUS_C_MINUS_O OUTPUT_OPTION CPP EGREP strict1_warn cxx_compat_warn warn_cflags WERROR nocommon_flag TREEBROWSER valgrind_path valgrind_path_defines valgrind_command coverage_flags enable_multilib enable_decimal_float enable_shared TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE CROSS_SYSTEM_HEADER_DIR onestep datarootdir docdir htmldir SET_MAKE AWK LN_S LN RANLIB ac_ct_RANLIB ranlib_flags INSTALL INSTALL_PROGRAM INSTALL_DATAmake_compare_target have_mktemp_command MAKEINFO BUILD_INFO GENERATED_MANPAGES FLEX BISON NM AR stage1_cflags COLLECT2_LIBS GNAT_LIBEXC LDEXP_LIB TARGET_GETGROUPS_T LIBICONV LTLIBICONV LIBICONV_DEP manext objext gthread_flags extra_modes_file extra_opt_files USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT host_cc_for_libada CROSS ALL SYSTEM_HEADER_DIR inhibit_libc CC_FOR_BUILD BUILD_CFLAGS STMP_FIXINC STMP_FIXPROTO collect2 gcc_cv_as ORIGINAL_AS_FOR_TARGET gcc_cv_ld ORIGINAL_LD_FOR_TARGET gcc_cv_nm ORIGINAL_NM_FOR_TARGET gcc_cv_objdump libgcc_visibility GGC zlibdir zlibinc MAINT gcc_tooldir dollar slibdir objdir subdirs srcdir all_boot_languages all_compilers all_gtfiles all_gtfiles_files_langs all_gtfiles_files_files all_lang_makefrags all_lang_makefiles all_languages all_selected_languages all_stagestuff build_exeext build_install_headers_dir build_xm_file_list build_xm_include_list build_xm_defines check_languages cc_set_by_configure quoted_cc_set_by_configure cpp_install_dir xmake_file tmake_file extra_gcc_objs extra_headers_list extra_objs extra_parts extra_passes extra_programs float_h_file gcc_config_arguments gcc_gxx_include_dir host_exeext host_xm_file_list host_xm_include_list host_xm_defines out_host_hook_obj install lang_opt_files lang_specs_files lang_tree_files local_prefix md_file objc_boehm_gc out_file out_object_file stage_prefix_set_by_configure quoted_stage_prefix_set_by_configure thread_file tm_file_list tm_include_list tm_defines tm_p_file_list tm_p_include_list xm_file_list xm_include_list xm_defines c_target_objs cxx_target_objs target_cpu_default GMPLIBS GMPINC LIBOBJS LTLIBOBJS'ac_subst_files='language_hooks'# Initialize some variables set by options.ac_init_help=ac_init_version=false# The variables have the same names as the options, with# dashes changed to underlines.cache_file=/dev/nullexec_prefix=NONEno_create=no_recursion=prefix=NONEprogram_prefix=NONEprogram_suffix=NONEprogram_transform_name=s,x,x,silent=site=srcdir=verbose=x_includes=NONEx_libraries=NONE# Installation directory options.# These are left unexpanded so users can "make install exec_prefix=/foo"# and all the variables that are supposed to be based on exec_prefix# by default will actually change.# Use braces instead of parens because sh, perl, etc. also accept them.bindir='${exec_prefix}/bin'sbindir='${exec_prefix}/sbin'libexecdir='${exec_prefix}/libexec'datadir='${prefix}/share'sysconfdir='${prefix}/etc'sharedstatedir='${prefix}/com'localstatedir='${prefix}/var'libdir='${exec_prefix}/lib'includedir='${prefix}/include'oldincludedir='/usr/include'infodir='${prefix}/info'mandir='${prefix}/man'ac_prev=for ac_optiondo# If the previous option needs an argument, assign it.if test -n "$ac_prev"; theneval "$ac_prev=\$ac_option"ac_prev=continuefiac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`# Accept the important Cygnus configure options, so we can diagnose typos.case $ac_option in-bindir | --bindir | --bindi | --bind | --bin | --bi)ac_prev=bindir ;;-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)bindir=$ac_optarg ;;-build | --build | --buil | --bui | --bu)ac_prev=build_alias ;;-build=* | --build=* | --buil=* | --bui=* | --bu=*)build_alias=$ac_optarg ;;-cache-file | --cache-file | --cache-fil | --cache-fi \| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)ac_prev=cache_file ;;-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)cache_file=$ac_optarg ;;--config-cache | -C)cache_file=config.cache ;;-datadir | --datadir | --datadi | --datad | --data | --dat | --da)ac_prev=datadir ;;-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \| --da=*)datadir=$ac_optarg ;;-disable-* | --disable-*)ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`# Reject names that are not valid shell variable names.expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&{ echo "$as_me: error: invalid feature name: $ac_feature" >&2{ (exit 1); exit 1; }; }ac_feature=`echo $ac_feature | sed 's/-/_/g'`eval "enable_$ac_feature=no" ;;-enable-* | --enable-*)ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`# Reject names that are not valid shell variable names.expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&{ echo "$as_me: error: invalid feature name: $ac_feature" >&2{ (exit 1); exit 1; }; }ac_feature=`echo $ac_feature | sed 's/-/_/g'`case $ac_option in*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;*) ac_optarg=yes ;;esaceval "enable_$ac_feature='$ac_optarg'" ;;-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \| --exec | --exe | --ex)ac_prev=exec_prefix ;;-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \| --exec=* | --exe=* | --ex=*)exec_prefix=$ac_optarg ;;-gas | --gas | --ga | --g)# Obsolete; use --with-gas.with_gas=yes ;;-help | --help | --hel | --he | -h)ac_init_help=long ;;-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)ac_init_help=recursive ;;-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)ac_init_help=short ;;-host | --host | --hos | --ho)ac_prev=host_alias ;;-host=* | --host=* | --hos=* | --ho=*)host_alias=$ac_optarg ;;-includedir | --includedir | --includedi | --included | --include \| --includ | --inclu | --incl | --inc)ac_prev=includedir ;;-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \| --includ=* | --inclu=* | --incl=* | --inc=*)includedir=$ac_optarg ;;-infodir | --infodir | --infodi | --infod | --info | --inf)ac_prev=infodir ;;-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)infodir=$ac_optarg ;;-libdir | --libdir | --libdi | --libd)ac_prev=libdir ;;-libdir=* | --libdir=* | --libdi=* | --libd=*)libdir=$ac_optarg ;;-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \| --libexe | --libex | --libe)ac_prev=libexecdir ;;-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \| --libexe=* | --libex=* | --libe=*)libexecdir=$ac_optarg ;;-localstatedir | --localstatedir | --localstatedi | --localstated \| --localstate | --localstat | --localsta | --localst \| --locals | --local | --loca | --loc | --lo)ac_prev=localstatedir ;;-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \| --localstate=* | --localstat=* | --localsta=* | --localst=* \| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)localstatedir=$ac_optarg ;;-mandir | --mandir | --mandi | --mand | --man | --ma | --m)ac_prev=mandir ;;-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)mandir=$ac_optarg ;;-nfp | --nfp | --nf)# Obsolete; use --without-fp.with_fp=no ;;-no-create | --no-create | --no-creat | --no-crea | --no-cre \| --no-cr | --no-c | -n)no_create=yes ;;-no-recursion | --no-recursion | --no-recursio | --no-recursi \| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)no_recursion=yes ;;-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \| --oldin | --oldi | --old | --ol | --o)ac_prev=oldincludedir ;;-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)oldincludedir=$ac_optarg ;;-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)ac_prev=prefix ;;-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)prefix=$ac_optarg ;;-program-prefix | --program-prefix | --program-prefi | --program-pref \| --program-pre | --program-pr | --program-p)ac_prev=program_prefix ;;-program-prefix=* | --program-prefix=* | --program-prefi=* \| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)program_prefix=$ac_optarg ;;-program-suffix | --program-suffix | --program-suffi | --program-suff \| --program-suf | --program-su | --program-s)ac_prev=program_suffix ;;-program-suffix=* | --program-suffix=* | --program-suffi=* \| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)program_suffix=$ac_optarg ;;-program-transform-name | --program-transform-name \| --program-transform-nam | --program-transform-na \| --program-transform-n | --program-transform- \| --program-transform | --program-transfor \| --program-transfo | --program-transf \| --program-trans | --program-tran \| --progr-tra | --program-tr | --program-t)ac_prev=program_transform_name ;;-program-transform-name=* | --program-transform-name=* \| --program-transform-nam=* | --program-transform-na=* \| --program-transform-n=* | --program-transform-=* \| --program-transform=* | --program-transfor=* \| --program-transfo=* | --program-transf=* \| --program-trans=* | --program-tran=* \| --progr-tra=* | --program-tr=* | --program-t=*)program_transform_name=$ac_optarg ;;-q | -quiet | --quiet | --quie | --qui | --qu | --q \| -silent | --silent | --silen | --sile | --sil)silent=yes ;;-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)ac_prev=sbindir ;;-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \| --sbi=* | --sb=*)sbindir=$ac_optarg ;;-sharedstatedir | --sharedstatedir | --sharedstatedi \| --sharedstated | --sharedstate | --sharedstat | --sharedsta \| --sharedst | --shareds | --shared | --share | --shar \| --sha | --sh)ac_prev=sharedstatedir ;;-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \| --sha=* | --sh=*)sharedstatedir=$ac_optarg ;;-site | --site | --sit)ac_prev=site ;;-site=* | --site=* | --sit=*)site=$ac_optarg ;;-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)ac_prev=srcdir ;;-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)srcdir=$ac_optarg ;;-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \| --syscon | --sysco | --sysc | --sys | --sy)ac_prev=sysconfdir ;;-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)sysconfdir=$ac_optarg ;;-target | --target | --targe | --targ | --tar | --ta | --t)ac_prev=target_alias ;;-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)target_alias=$ac_optarg ;;-v | -verbose | --verbose | --verbos | --verbo | --verb)verbose=yes ;;-version | --version | --versio | --versi | --vers | -V)ac_init_version=: ;;-with-* | --with-*)ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`# Reject names that are not valid shell variable names.expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&{ echo "$as_me: error: invalid package name: $ac_package" >&2{ (exit 1); exit 1; }; }ac_package=`echo $ac_package| sed 's/-/_/g'`case $ac_option in*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;*) ac_optarg=yes ;;esaceval "with_$ac_package='$ac_optarg'" ;;-without-* | --without-*)ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`# Reject names that are not valid shell variable names.expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&{ echo "$as_me: error: invalid package name: $ac_package" >&2{ (exit 1); exit 1; }; }ac_package=`echo $ac_package | sed 's/-/_/g'`eval "with_$ac_package=no" ;;--x)# Obsolete; use --with-x.with_x=yes ;;-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \| --x-incl | --x-inc | --x-in | --x-i)ac_prev=x_includes ;;-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)x_includes=$ac_optarg ;;-x-libraries | --x-libraries | --x-librarie | --x-librari \| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)ac_prev=x_libraries ;;-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)x_libraries=$ac_optarg ;;-*) { echo "$as_me: error: unrecognized option: $ac_optionTry \`$0 --help' for more information." >&2{ (exit 1); exit 1; }; };;*=*)ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`# Reject names that are not valid shell variable names.expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2{ (exit 1); exit 1; }; }ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`eval "$ac_envvar='$ac_optarg'"export $ac_envvar ;;*)# FIXME: should be removed in autoconf 3.0.echo "$as_me: WARNING: you should use --build, --host, --target" >&2expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&echo "$as_me: WARNING: invalid host type: $ac_option" >&2: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option};;esacdoneif test -n "$ac_prev"; thenac_option=--`echo $ac_prev | sed 's/_/-/g'`{ echo "$as_me: error: missing argument to $ac_option" >&2{ (exit 1); exit 1; }; }fi# Be sure to have absolute paths.for ac_var in exec_prefix prefixdoeval ac_val=$`echo $ac_var`case $ac_val in[\\/$]* | ?:[\\/]* | NONE | '' ) ;;*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2{ (exit 1); exit 1; }; };;esacdone# Be sure to have absolute paths.for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \localstatedir libdir includedir oldincludedir infodir mandirdoeval ac_val=$`echo $ac_var`case $ac_val in[\\/$]* | ?:[\\/]* ) ;;*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2{ (exit 1); exit 1; }; };;esacdone# There might be people who depend on the old broken behavior: `$host'# used to hold the argument of --host etc.# FIXME: To remove some day.build=$build_aliashost=$host_aliastarget=$target_alias# FIXME: To remove some day.if test "x$host_alias" != x; thenif test "x$build_alias" = x; thencross_compiling=maybeecho "$as_me: WARNING: If you wanted to set the --build type, don't use --host.If a cross compiler is detected then cross compile mode will be used." >&2elif test "x$build_alias" != "x$host_alias"; thencross_compiling=yesfifiac_tool_prefix=test -n "$host_alias" && ac_tool_prefix=$host_alias-test "$silent" = yes && exec 6>/dev/null# Find the source files, if location was not specified.if test -z "$srcdir"; thenac_srcdir_defaulted=yes# Try the directory containing this script, then its parent.ac_confdir=`(dirname "$0") 2>/dev/null ||$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \X"$0" : 'X\(//\)[^/]' \| \X"$0" : 'X\(//\)$' \| \X"$0" : 'X\(/\)' \| \. : '\(.\)' 2>/dev/null ||echo X"$0" |sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }/^X\(\/\/\)[^/].*/{ s//\1/; q; }/^X\(\/\/\)$/{ s//\1/; q; }/^X\(\/\).*/{ s//\1/; q; }s/.*/./; q'`srcdir=$ac_confdirif test ! -r $srcdir/$ac_unique_file; thensrcdir=..fielseac_srcdir_defaulted=nofiif test ! -r $srcdir/$ac_unique_file; thenif test "$ac_srcdir_defaulted" = yes; then{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2{ (exit 1); exit 1; }; }else{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2{ (exit 1); exit 1; }; }fifi(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2{ (exit 1); exit 1; }; }srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`ac_env_build_alias_set=${build_alias+set}ac_env_build_alias_value=$build_aliasac_cv_env_build_alias_set=${build_alias+set}ac_cv_env_build_alias_value=$build_aliasac_env_host_alias_set=${host_alias+set}ac_env_host_alias_value=$host_aliasac_cv_env_host_alias_set=${host_alias+set}ac_cv_env_host_alias_value=$host_aliasac_env_target_alias_set=${target_alias+set}ac_env_target_alias_value=$target_aliasac_cv_env_target_alias_set=${target_alias+set}ac_cv_env_target_alias_value=$target_aliasac_env_CC_set=${CC+set}ac_env_CC_value=$CCac_cv_env_CC_set=${CC+set}ac_cv_env_CC_value=$CCac_env_CFLAGS_set=${CFLAGS+set}ac_env_CFLAGS_value=$CFLAGSac_cv_env_CFLAGS_set=${CFLAGS+set}ac_cv_env_CFLAGS_value=$CFLAGSac_env_LDFLAGS_set=${LDFLAGS+set}ac_env_LDFLAGS_value=$LDFLAGSac_cv_env_LDFLAGS_set=${LDFLAGS+set}ac_cv_env_LDFLAGS_value=$LDFLAGSac_env_CPPFLAGS_set=${CPPFLAGS+set}ac_env_CPPFLAGS_value=$CPPFLAGSac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}ac_cv_env_CPPFLAGS_value=$CPPFLAGSac_env_CPP_set=${CPP+set}ac_env_CPP_value=$CPPac_cv_env_CPP_set=${CPP+set}ac_cv_env_CPP_value=$CPPac_env_GMPLIBS_set=${GMPLIBS+set}ac_env_GMPLIBS_value=$GMPLIBSac_cv_env_GMPLIBS_set=${GMPLIBS+set}ac_cv_env_GMPLIBS_value=$GMPLIBSac_env_GMPINC_set=${GMPINC+set}ac_env_GMPINC_value=$GMPINCac_cv_env_GMPINC_set=${GMPINC+set}ac_cv_env_GMPINC_value=$GMPINC## Report the --help message.#if test "$ac_init_help" = "long"; then# Omit some internal or obsolete options to make the list less imposing.# This message is too long to be a string in the A/UX 3.1 sh.cat <<_ACEOF\`configure' configures this package to adapt to many kinds of systems.Usage: $0 [OPTION]... [VAR=VALUE]...To assign environment variables (e.g., CC, CFLAGS...), specify them asVAR=VALUE. See below for descriptions of some of the useful variables.Defaults for the options are specified in brackets.Configuration:-h, --help display this help and exit--help=short display options specific to this package--help=recursive display the short help of all the included packages-V, --version display version information and exit-q, --quiet, --silent do not print \`checking...' messages--cache-file=FILE cache test results in FILE [disabled]-C, --config-cache alias for \`--cache-file=config.cache'-n, --no-create do not create output files--srcdir=DIR find the sources in DIR [configure dir or \`..']_ACEOFcat <<_ACEOFInstallation directories:--prefix=PREFIX install architecture-independent files in PREFIX[$ac_default_prefix]--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX[PREFIX]By default, \`make install' will install all the files in\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specifyan installation prefix other than \`$ac_default_prefix' using \`--prefix',for instance \`--prefix=\$HOME'.For better control, use the options below.Fine tuning of the installation directories:--bindir=DIR user executables [EPREFIX/bin]--sbindir=DIR system admin executables [EPREFIX/sbin]--libexecdir=DIR program executables [EPREFIX/libexec]--datadir=DIR read-only architecture-independent data [PREFIX/share]--sysconfdir=DIR read-only single-machine data [PREFIX/etc]--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]--localstatedir=DIR modifiable single-machine data [PREFIX/var]--libdir=DIR object code libraries [EPREFIX/lib]--includedir=DIR C header files [PREFIX/include]--oldincludedir=DIR C header files for non-gcc [/usr/include]--infodir=DIR info documentation [PREFIX/info]--mandir=DIR man documentation [PREFIX/man]_ACEOFcat <<\_ACEOFProgram names:--program-prefix=PREFIX prepend PREFIX to installed program names--program-suffix=SUFFIX append SUFFIX to installed program names--program-transform-name=PROGRAM run sed PROGRAM on installed program namesSystem types:--build=BUILD configure for building on BUILD [guessed]--host=HOST cross-compile to build programs to run on HOST [BUILD]--target=TARGET configure for building compilers for TARGET [HOST]_ACEOFfiif test -n "$ac_init_help"; thencat <<\_ACEOFOptional Features:--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)--enable-FEATURE[=ARG] include FEATURE [ARG=yes]--enable-generated-files-in-srcdirput copies of generated files in source dirintended for creating source tarballs for userswithout texinfo bison or flex.--enable-werror-always enable -Werror always--enable-werror enable -Werror in bootstrap stage2 and later--enable-checking=LISTenable expensive run-time checks. With LIST,enable only specific categories of checks.Categories are: yes,no,all,none,release.Flags are: assert,fold,gc,gcac,misc,rtlflag,rtl,runtime,tree,valgrind.--enable-mapped-location location_t is fileline integer cookie--enable-coverage=LEVELenable compiler's code coverage collection.Use to measure compiler performance and locateunused parts of the compiler. With LEVEL, specifyoptimization. Values are opt, noopt,default is noopt--enable-gather-detailed-mem-stats enable detailed memory allocation stats gathering--enable-multilib enable library support for multiple ABIs--enable-__cxa_atexit enable __cxa_atexit for C++--enable-decimal-float enable decimal float extension to C--enable-threads enable thread usage for target GCC--enable-threads=LIB use LIB thread package for target GCC--enable-tls enable or disable generation of tls codeoverriding the assembler check for tls support--enable-objc-gc enable the use of Boehm's garbage collector withthe GNU Objective-C runtime--disable-shared don't provide a shared libgcc--enable-intermodule build the compiler in one step--enable-languages=LIST specify which front-ends to build--disable-rpath do not hardcode runtime library paths--enable-initfini-array use .init_array/.fini_array sections--enable-sjlj-exceptionsarrange to use setjmp/longjmp exception handling--enable-secureplt enable -msecure-plt by default for PowerPC--disable-win32-registrydisable lookup of installation paths in theRegistry on Windows hosts--enable-win32-registry enable registry lookup (default)--enable-win32-registry=KEYuse KEY instead of GCC version as the last portionof the registry key--enable-maintainer-modeenable make rules and dependencies not useful(and sometimes confusing) to the casual installer--enable-version-specific-runtime-libsspecify that runtime libraries should beinstalled in a compiler-specific directoryOptional Packages:--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)--with-build-libsubdir=DIR Directory where to find libraries for build system--with-local-prefix=DIR specifies directory to put local include--with-gxx-include-dir=DIRspecifies directory to put g++ header files--with-cpp-install-dir=DIRinstall the user visible C preprocessor in DIR(relative to PREFIX) as well as PREFIX/bin--with-gnu-ld arrange to work with GNU ld.--with-ld arrange to use the specified ld (full pathname)--with-demangler-in-ld try to use demangler in GNU ld.--with-gnu-as arrange to work with GNU as--with-as arrange to use the specified as (full pathname)--with-stabs arrange to use stabs instead of host debug format--with-dwarf2 force the default debug format to be DWARF 2--with-build-sysroot=sysrootuse sysroot as the system root during the build--with-sysroot=DIR Search for usr/lib, usr/include, et al, within DIR.--with-gnu-ld assume the C compiler uses GNU ld default=no--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib--without-libiconv-prefix don't search for libiconv in includedir and libdir--with-system-libunwind use installed libunwind--with-long-double-128 Use 128-bit long double by default.--with-gc={page,zone} choose the garbage collection mechanism to usewith the compiler--with-system-zlib use installed libz--with-slibdir=DIR shared libraries in DIR [LIBDIR]--with-datarootdir=DIR Use DIR as the data root [PREFIX/share]--with-docdir=DIR Install documentation in DIR [DATAROOTDIR]--with-htmldir=DIR html documentation in in DIR [DOCDIR]Some influential environment variables:CC C compiler commandCFLAGS C compiler flagsLDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in anonstandard directory <lib dir>CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you haveheaders in a nonstandard directory <include dir>CPP C preprocessorGMPLIBS How to link GMPGMPINC How to find GMP include filesUse these variables to override the choices made by `configure' or to helpit to find libraries and programs with nonstandard names/locations._ACEOFfiif test "$ac_init_help" = "recursive"; then# If there are subdirs, report their specific --help.ac_popdir=`pwd`for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continuetest -d $ac_dir || continueac_builddir=.if test "$ac_dir" != .; thenac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`# A "../" for each directory in $ac_dir_suffix.ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`elseac_dir_suffix= ac_top_builddir=ficase $srcdir in.) # No --srcdir option. We are building in place.ac_srcdir=.if test -z "$ac_top_builddir"; thenac_top_srcdir=.elseac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`fi ;;[\\/]* | ?:[\\/]* ) # Absolute path.ac_srcdir=$srcdir$ac_dir_suffix;ac_top_srcdir=$srcdir ;;*) # Relative path.ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffixac_top_srcdir=$ac_top_builddir$srcdir ;;esac# Do not use `cd foo && pwd` to compute absolute paths, because# the directories may not exist.case `pwd` in.) ac_abs_builddir="$ac_dir";;*)case "$ac_dir" in.) ac_abs_builddir=`pwd`;;[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;*) ac_abs_builddir=`pwd`/"$ac_dir";;esac;;esaccase $ac_abs_builddir in.) ac_abs_top_builddir=${ac_top_builddir}.;;*)case ${ac_top_builddir}. in.) ac_abs_top_builddir=$ac_abs_builddir;;[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;esac;;esaccase $ac_abs_builddir in.) ac_abs_srcdir=$ac_srcdir;;*)case $ac_srcdir in.) ac_abs_srcdir=$ac_abs_builddir;;[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;esac;;esaccase $ac_abs_builddir in.) ac_abs_top_srcdir=$ac_top_srcdir;;*)case $ac_top_srcdir in.) ac_abs_top_srcdir=$ac_abs_builddir;;[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;esac;;esaccd $ac_dir# Check for guested configure; otherwise get Cygnus style configure.if test -f $ac_srcdir/configure.gnu; thenecho$SHELL $ac_srcdir/configure.gnu --help=recursiveelif test -f $ac_srcdir/configure; thenecho$SHELL $ac_srcdir/configure --help=recursiveelif test -f $ac_srcdir/configure.ac ||test -f $ac_srcdir/configure.in; thenecho$ac_configure --helpelseecho "$as_me: WARNING: no configuration information is in $ac_dir" >&2ficd $ac_popdirdonefitest -n "$ac_init_help" && exit 0if $ac_init_version; thencat <<\_ACEOFCopyright (C) 2003 Free Software Foundation, Inc.This configure script is free software; the Free Software Foundationgives unlimited permission to copy, distribute and modify it._ACEOFexit 0fiexec 5>config.logcat >&5 <<_ACEOFThis file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake.It was created by $as_me, which wasgenerated by GNU Autoconf 2.59. Invocation command line was$ $0 $@_ACEOF{cat <<_ASUNAME## --------- #### Platform. #### --------- ##hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`uname -m = `(uname -m) 2>/dev/null || echo unknown`uname -r = `(uname -r) 2>/dev/null || echo unknown`uname -s = `(uname -s) 2>/dev/null || echo unknown`uname -v = `(uname -v) 2>/dev/null || echo unknown`/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`hostinfo = `(hostinfo) 2>/dev/null || echo unknown`/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`_ASUNAMEas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.echo "PATH: $as_dir"done} >&5cat >&5 <<_ACEOF## ----------- #### Core tests. #### ----------- ##_ACEOF# Keep a trace of the command line.# Strip out --no-create and --no-recursion so they do not pile up.# Strip out --silent because we don't want to record it for future runs.# Also quote any args containing shell meta-characters.# Make two passes to allow for proper duplicate-argument suppression.ac_configure_args=ac_configure_args0=ac_configure_args1=ac_sep=ac_must_keep_next=falsefor ac_pass in 1 2dofor ac_argdocase $ac_arg in-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;-q | -quiet | --quiet | --quie | --qui | --qu | --q \| -silent | --silent | --silen | --sile | --sil)continue ;;*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;esaccase $ac_pass in1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;2)ac_configure_args1="$ac_configure_args1 '$ac_arg'"if test $ac_must_keep_next = true; thenac_must_keep_next=false # Got value, back to normal.elsecase $ac_arg in*=* | --config-cache | -C | -disable-* | --disable-* \| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \| -with-* | --with-* | -without-* | --without-* | --x)case "$ac_configure_args0 " in"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;esac;;-* ) ac_must_keep_next=true ;;esacfiac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"# Get rid of the leading space.ac_sep=" ";;esacdonedone$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }# When interrupted or exit'd, cleanup temporary files, and complete# config.log. We remove comments because anyway the quotes in there# would cause problems or look ugly.# WARNING: Be sure not to use single quotes in there, as some shells,# such as our DU 5.0 friend, will then `close' the trap.trap 'exit_status=$?# Save into config.log some information that might help in debugging.{echocat <<\_ASBOX## ---------------- #### Cache variables. #### ---------------- ##_ASBOXecho# The following way of writing the cache mishandles newlines in values,{(set) 2>&1 |case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in*ac_space=\ *)sed -n \"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p";;*)sed -n \"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p";;esac;}echocat <<\_ASBOX## ----------------- #### Output variables. #### ----------------- ##_ASBOXechofor ac_var in $ac_subst_varsdoeval ac_val=$`echo $ac_var`echo "$ac_var='"'"'$ac_val'"'"'"done | sortechoif test -n "$ac_subst_files"; thencat <<\_ASBOX## ------------- #### Output files. #### ------------- ##_ASBOXechofor ac_var in $ac_subst_filesdoeval ac_val=$`echo $ac_var`echo "$ac_var='"'"'$ac_val'"'"'"done | sortechofiif test -s confdefs.h; thencat <<\_ASBOX## ----------- #### confdefs.h. #### ----------- ##_ASBOXechosed "/^$/d" confdefs.h | sortechofitest "$ac_signal" != 0 &&echo "$as_me: caught signal $ac_signal"echo "$as_me: exit $exit_status"} >&5rm -f core *.core &&rm -rf conftest* confdefs* conf$$* $ac_clean_files &&exit $exit_status' 0for ac_signal in 1 2 13 15; dotrap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signaldoneac_signal=0# confdefs.h avoids OS command line length limits that DEFS can exceed.rm -rf conftest* confdefs.h# AIX cpp loses on an empty file, so make sure it contains at least a newline.echo >confdefs.h# Predefined preprocessor variables.cat >>confdefs.h <<_ACEOF#define PACKAGE_NAME "$PACKAGE_NAME"_ACEOFcat >>confdefs.h <<_ACEOF#define PACKAGE_TARNAME "$PACKAGE_TARNAME"_ACEOFcat >>confdefs.h <<_ACEOF#define PACKAGE_VERSION "$PACKAGE_VERSION"_ACEOFcat >>confdefs.h <<_ACEOF#define PACKAGE_STRING "$PACKAGE_STRING"_ACEOFcat >>confdefs.h <<_ACEOF#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"_ACEOF# Let the site file select an alternate cache file if it wants to.# Prefer explicitly selected file to automatically selected ones.if test -z "$CONFIG_SITE"; thenif test "x$prefix" != xNONE; thenCONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"elseCONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"fififor ac_site_file in $CONFIG_SITE; doif test -r "$ac_site_file"; then{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5echo "$as_me: loading site script $ac_site_file" >&6;}sed 's/^/| /' "$ac_site_file" >&5. "$ac_site_file"fidoneif test -r "$cache_file"; then# Some versions of bash will fail to source /dev/null (special# files actually), so we avoid doing that.if test -f "$cache_file"; then{ echo "$as_me:$LINENO: loading cache $cache_file" >&5echo "$as_me: loading cache $cache_file" >&6;}case $cache_file in[\\/]* | ?:[\\/]* ) . $cache_file;;*) . ./$cache_file;;esacfielse{ echo "$as_me:$LINENO: creating cache $cache_file" >&5echo "$as_me: creating cache $cache_file" >&6;}>$cache_filefi# Check that the precious variables saved in the cache have kept the same# value.ac_cache_corrupted=falsefor ac_var in `(set) 2>&1 |sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; doeval ac_old_set=\$ac_cv_env_${ac_var}_seteval ac_new_set=\$ac_env_${ac_var}_seteval ac_old_val="\$ac_cv_env_${ac_var}_value"eval ac_new_val="\$ac_env_${ac_var}_value"case $ac_old_set,$ac_new_set inset,){ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}ac_cache_corrupted=: ;;,set){ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}ac_cache_corrupted=: ;;,);;*)if test "x$ac_old_val" != "x$ac_new_val"; then{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5echo "$as_me: former value: $ac_old_val" >&2;}{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5echo "$as_me: current value: $ac_new_val" >&2;}ac_cache_corrupted=:fi;;esac# Pass precious variables to config.status.if test "$ac_new_set" = set; thencase $ac_new_val in*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;*) ac_arg=$ac_var=$ac_new_val ;;esaccase " $ac_configure_args " in*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;esacfidoneif $ac_cache_corrupted; then{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5echo "$as_me: error: changes in the environment can compromise the build" >&2;}{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}{ (exit 1); exit 1; }; }fiac_ext=cac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnuac_config_headers="$ac_config_headers auto-host.h:config.in"gcc_version=`cat $srcdir/BASE-VER`# Determine the host, build, and target systemsac_aux_dir=for ac_dir in $srcdir $srcdir/.. $srcdir/../..; doif test -f $ac_dir/install-sh; thenac_aux_dir=$ac_dirac_install_sh="$ac_aux_dir/install-sh -c"breakelif test -f $ac_dir/install.sh; thenac_aux_dir=$ac_dirac_install_sh="$ac_aux_dir/install.sh -c"breakelif test -f $ac_dir/shtool; thenac_aux_dir=$ac_dirac_install_sh="$ac_aux_dir/shtool install -c"breakfidoneif test -z "$ac_aux_dir"; then{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}{ (exit 1); exit 1; }; }fiac_config_guess="$SHELL $ac_aux_dir/config.guess"ac_config_sub="$SHELL $ac_aux_dir/config.sub"ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.# Make sure we can run config.sub.$ac_config_sub sun4 >/dev/null 2>&1 ||{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5echo "$as_me: error: cannot run $ac_config_sub" >&2;}{ (exit 1); exit 1; }; }echo "$as_me:$LINENO: checking build system type" >&5echo $ECHO_N "checking build system type... $ECHO_C" >&6if test "${ac_cv_build+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseac_cv_build_alias=$build_aliastest -z "$ac_cv_build_alias" &&ac_cv_build_alias=`$ac_config_guess`test -z "$ac_cv_build_alias" &&{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5echo "$as_me: error: cannot guess build type; you must specify one" >&2;}{ (exit 1); exit 1; }; }ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}{ (exit 1); exit 1; }; }fiecho "$as_me:$LINENO: result: $ac_cv_build" >&5echo "${ECHO_T}$ac_cv_build" >&6build=$ac_cv_buildbuild_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`echo "$as_me:$LINENO: checking host system type" >&5echo $ECHO_N "checking host system type... $ECHO_C" >&6if test "${ac_cv_host+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseac_cv_host_alias=$host_aliastest -z "$ac_cv_host_alias" &&ac_cv_host_alias=$ac_cv_build_aliasac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}{ (exit 1); exit 1; }; }fiecho "$as_me:$LINENO: result: $ac_cv_host" >&5echo "${ECHO_T}$ac_cv_host" >&6host=$ac_cv_hosthost_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`echo "$as_me:$LINENO: checking target system type" >&5echo $ECHO_N "checking target system type... $ECHO_C" >&6if test "${ac_cv_target+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseac_cv_target_alias=$target_aliastest "x$ac_cv_target_alias" = "x" &&ac_cv_target_alias=$ac_cv_host_aliasac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}{ (exit 1); exit 1; }; }fiecho "$as_me:$LINENO: result: $ac_cv_target" >&5echo "${ECHO_T}$ac_cv_target" >&6target=$ac_cv_targettarget_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`# The aliases save the names the user supplied, while $host etc.# will get canonicalized.test -n "$target_alias" &&test "$program_prefix$program_suffix$program_transform_name" = \NONENONEs,x,x, &&program_prefix=${target_alias}-# Determine the noncanonical target name, for directory use.case ${build_alias} in"") build_noncanonical=${build} ;;*) build_noncanonical=${build_alias} ;;esaccase ${host_alias} in"") host_noncanonical=${build_noncanonical} ;;*) host_noncanonical=${host_alias} ;;esaccase ${target_alias} in"") target_noncanonical=${host_noncanonical} ;;*) target_noncanonical=${target_alias} ;;esac# Determine the target- and build-specific subdirectories# post-stage1 host modules use a different CC_FOR_BUILD so, in order to# have matching libraries, they should use host libraries: Makefile.tpl# arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).# However, they still use the build modules, because the corresponding# host modules (e.g. bison) are only built for the host when bootstrap# finishes. So:# - build_subdir is where we find build modules, and never changes.# - build_libsubdir is where we find build libraries, and can be overridden.# Prefix 'build-' so this never conflicts with target_subdir.build_subdir="build-${build_noncanonical}"# Check whether --with-build-libsubdir or --without-build-libsubdir was given.if test "${with_build_libsubdir+set}" = set; thenwithval="$with_build_libsubdir"build_libsubdir="$withval"elsebuild_libsubdir="$build_subdir"fi;# --srcdir=. covers the toplevel, while "test -d" covers the subdirectoriesif ( test $srcdir = . && test -d gcc ) \|| test -d $srcdir/../host-${host_noncanonical}; thenhost_subdir="host-${host_noncanonical}"elsehost_subdir=.fi# No prefix.target_subdir=${target_noncanonical}# Set program_transform_nametest "$program_prefix" != NONE &&program_transform_name="s,^,$program_prefix,;$program_transform_name"# Use a double $ so make ignores it.test "$program_suffix" != NONE &&program_transform_name="s,\$,$program_suffix,;$program_transform_name"# Double any \ or $. echo might interpret backslashes.# By default was `s,x,x', remove it if useless.cat <<\_ACEOF >conftest.seds/[\\$]/&&/g;s/;s,x,x,$//_ACEOFprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed`rm conftest.sed# Check for bogus environment variables.# Test if LIBRARY_PATH contains the notation for the current directory# since this would lead to problems installing/building glibc.# LIBRARY_PATH contains the current directory if one of the following# is true:# - one of the terminals (":" and ";") is the first or last sign# - two terminals occur directly after each other# - the path contains an element with a dot in itecho "$as_me:$LINENO: checking LIBRARY_PATH variable" >&5echo $ECHO_N "checking LIBRARY_PATH variable... $ECHO_C" >&6case ${LIBRARY_PATH} in[:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )library_path_setting="contains current directory";;*)library_path_setting="ok";;esacecho "$as_me:$LINENO: result: $library_path_setting" >&5echo "${ECHO_T}$library_path_setting" >&6if test "$library_path_setting" != "ok"; then{ { echo "$as_me:$LINENO: error:*** LIBRARY_PATH shouldn't contain the current directory when*** building gcc. Please change the environment variable*** and run configure again." >&5echo "$as_me: error:*** LIBRARY_PATH shouldn't contain the current directory when*** building gcc. Please change the environment variable*** and run configure again." >&2;}{ (exit 1); exit 1; }; }fi# Test if GCC_EXEC_PREFIX contains the notation for the current directory# since this would lead to problems installing/building glibc.# GCC_EXEC_PREFIX contains the current directory if one of the following# is true:# - one of the terminals (":" and ";") is the first or last sign# - two terminals occur directly after each other# - the path contains an element with a dot in itecho "$as_me:$LINENO: checking GCC_EXEC_PREFIX variable" >&5echo $ECHO_N "checking GCC_EXEC_PREFIX variable... $ECHO_C" >&6case ${GCC_EXEC_PREFIX} in[:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )gcc_exec_prefix_setting="contains current directory";;*)gcc_exec_prefix_setting="ok";;esacecho "$as_me:$LINENO: result: $gcc_exec_prefix_setting" >&5echo "${ECHO_T}$gcc_exec_prefix_setting" >&6if test "$gcc_exec_prefix_setting" != "ok"; then{ { echo "$as_me:$LINENO: error:*** GCC_EXEC_PREFIX shouldn't contain the current directory when*** building gcc. Please change the environment variable*** and run configure again." >&5echo "$as_me: error:*** GCC_EXEC_PREFIX shouldn't contain the current directory when*** building gcc. Please change the environment variable*** and run configure again." >&2;}{ (exit 1); exit 1; }; }fi# -----------# Directories# -----------# Specify the local prefixlocal_prefix=# Check whether --with-local-prefix or --without-local-prefix was given.if test "${with_local_prefix+set}" = set; thenwithval="$with_local_prefix"case "${withval}" inyes) { { echo "$as_me:$LINENO: error: bad value ${withval} given for local include directory prefix" >&5echo "$as_me: error: bad value ${withval} given for local include directory prefix" >&2;}{ (exit 1); exit 1; }; } ;;no) ;;*) local_prefix=$with_local_prefix ;;esacfi;# Default local prefix if it is emptyif test x$local_prefix = x; thenlocal_prefix=/usr/localfi# Don't set gcc_gxx_include_dir to gxx_include_dir since that's only# passed in by the toplevel make and thus we'd get different behavior# depending on where we built the sources.gcc_gxx_include_dir=# Specify the g++ header file directory# Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.if test "${with_gxx_include_dir+set}" = set; thenwithval="$with_gxx_include_dir"case "${withval}" inyes) { { echo "$as_me:$LINENO: error: bad value ${withval} given for g++ include directory" >&5echo "$as_me: error: bad value ${withval} given for g++ include directory" >&2;}{ (exit 1); exit 1; }; } ;;no) ;;*) gcc_gxx_include_dir=$with_gxx_include_dir ;;esacfi;# This logic must match libstdc++-v3/acinclude.m4:GLIBCXX_EXPORT_INSTALL_INFO.if test x${gcc_gxx_include_dir} = x; thenif test x${enable_version_specific_runtime_libs} = xyes; thengcc_gxx_include_dir='${libsubdir}/include/c++'elselibstdcxx_incdir='include/c++/$(version)'if test x$host != x$target; thenlibstdcxx_incdir="$target_alias/$libstdcxx_incdir"figcc_gxx_include_dir="\$(libsubdir)/\$(unlibsubdir)/..\`echo \$(exec_prefix) | sed -e 's|^\$(prefix)||' -e 's|/[^/]*|/..|g'\`/$libstdcxx_incdir"fifi# Check whether --with-cpp_install_dir or --without-cpp_install_dir was given.if test "${with_cpp_install_dir+set}" = set; thenwithval="$with_cpp_install_dir"if test x$withval = xyes; then{ { echo "$as_me:$LINENO: error: option --with-cpp-install-dir requires an argument" >&5echo "$as_me: error: option --with-cpp-install-dir requires an argument" >&2;}{ (exit 1); exit 1; }; }elif test x$withval != xno; thencpp_install_dir=$withvalfifi;# We would like to our source tree to be readonly. However when releases or# pre-releases are generated, the flex/bison generated files as well as the# various formats of manuals need to be included along with the rest of the# sources. Therefore we have --enable-generated-files-in-srcdir to do# just that.echo "$as_me:$LINENO: checking whether to place generated files in the source directory" >&5echo $ECHO_N "checking whether to place generated files in the source directory... $ECHO_C" >&6# Check whether --enable-generated-files-in-srcdir or --disable-generated-files-in-srcdir was given.if test "${enable_generated_files_in_srcdir+set}" = set; thenenableval="$enable_generated_files_in_srcdir"generated_files_in_srcdir=$enablevalelsegenerated_files_in_srcdir=nofi;echo "$as_me:$LINENO: result: $generated_files_in_srcdir" >&5echo "${ECHO_T}$generated_files_in_srcdir" >&6if test "$generated_files_in_srcdir" = "yes"; thenGENINSRC=''elseGENINSRC='#'fi# -------------------# Find default linker# -------------------# With GNU ld# Check whether --with-gnu-ld or --without-gnu-ld was given.if test "${with_gnu_ld+set}" = set; thenwithval="$with_gnu_ld"gnu_ld_flag="$with_gnu_ld"elsegnu_ld_flag=nofi;# With pre-defined ld# Check whether --with-ld or --without-ld was given.if test "${with_ld+set}" = set; thenwithval="$with_ld"DEFAULT_LINKER="$with_ld"fi;if test x"${DEFAULT_LINKER+set}" = x"set"; thenif test ! -x "$DEFAULT_LINKER"; then{ { echo "$as_me:$LINENO: error: cannot execute: $DEFAULT_LINKER: check --with-ld or env. var. DEFAULT_LINKER" >&5echo "$as_me: error: cannot execute: $DEFAULT_LINKER: check --with-ld or env. var. DEFAULT_LINKER" >&2;}{ (exit 1); exit 1; }; }elif $DEFAULT_LINKER -v < /dev/null 2>&1 | grep GNU > /dev/null; thengnu_ld_flag=yesficat >>confdefs.h <<_ACEOF#define DEFAULT_LINKER "$DEFAULT_LINKER"_ACEOFfiecho "$as_me:$LINENO: checking whether a default linker was specified" >&5echo $ECHO_N "checking whether a default linker was specified... $ECHO_C" >&6if test x"${DEFAULT_LINKER+set}" = x"set"; thenif test x"$gnu_ld_flag" = x"no"; thenecho "$as_me:$LINENO: result: yes ($DEFAULT_LINKER)" >&5echo "${ECHO_T}yes ($DEFAULT_LINKER)" >&6elseecho "$as_me:$LINENO: result: yes ($DEFAULT_LINKER - GNU ld)" >&5echo "${ECHO_T}yes ($DEFAULT_LINKER - GNU ld)" >&6fielseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fi# With demangler in GNU ld# Check whether --with-demangler-in-ld or --without-demangler-in-ld was given.if test "${with_demangler_in_ld+set}" = set; thenwithval="$with_demangler_in_ld"demangler_in_ld="$with_demangler_in_ld"elsedemangler_in_ld=nofi;# ----------------------# Find default assembler# ----------------------# With GNU as# Check whether --with-gnu-as or --without-gnu-as was given.if test "${with_gnu_as+set}" = set; thenwithval="$with_gnu_as"gas_flag="$with_gnu_as"elsegas_flag=nofi;# Check whether --with-as or --without-as was given.if test "${with_as+set}" = set; thenwithval="$with_as"DEFAULT_ASSEMBLER="$with_as"fi;if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; thenif test ! -x "$DEFAULT_ASSEMBLER"; then{ { echo "$as_me:$LINENO: error: cannot execute: $DEFAULT_ASSEMBLER: check --with-as or env. var. DEFAULT_ASSEMBLER" >&5echo "$as_me: error: cannot execute: $DEFAULT_ASSEMBLER: check --with-as or env. var. DEFAULT_ASSEMBLER" >&2;}{ (exit 1); exit 1; }; }elif $DEFAULT_ASSEMBLER -v < /dev/null 2>&1 | grep GNU > /dev/null; thengas_flag=yesficat >>confdefs.h <<_ACEOF#define DEFAULT_ASSEMBLER "$DEFAULT_ASSEMBLER"_ACEOFfiecho "$as_me:$LINENO: checking whether a default assembler was specified" >&5echo $ECHO_N "checking whether a default assembler was specified... $ECHO_C" >&6if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; thenif test x"$gas_flag" = x"no"; thenecho "$as_me:$LINENO: result: yes ($DEFAULT_ASSEMBLER)" >&5echo "${ECHO_T}yes ($DEFAULT_ASSEMBLER)" >&6elseecho "$as_me:$LINENO: result: yes ($DEFAULT_ASSEMBLER - GNU as)" >&5echo "${ECHO_T}yes ($DEFAULT_ASSEMBLER - GNU as)" >&6fielseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fi# ---------------# Find C compiler# ---------------# If a non-executable a.out is present (e.g. created by GNU as above even if# invoked with -v only), the IRIX 6 native ld just overwrites the existing# file, even when creating an executable, so an execution test fails.# Remove possible default executable files to avoid this.## FIXME: This really belongs into AC_PROG_CC and can be removed once# Autoconf includes it.rm -f a.out a.exe b.out# Find the native compilerac_ext=cac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnuif test -n "$ac_tool_prefix"; then# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.set dummy ${ac_tool_prefix}gcc; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test -n "$CC"; thenac_cv_prog_CC="$CC" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; thenac_cv_prog_CC="${ac_tool_prefix}gcc"echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5break 2fidonedonefifiCC=$ac_cv_prog_CCif test -n "$CC"; thenecho "$as_me:$LINENO: result: $CC" >&5echo "${ECHO_T}$CC" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$ac_cv_prog_CC"; thenac_ct_CC=$CC# Extract the first word of "gcc", so it can be a program name with args.set dummy gcc; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_ac_ct_CC+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test -n "$ac_ct_CC"; thenac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; thenac_cv_prog_ac_ct_CC="gcc"echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5break 2fidonedonefifiac_ct_CC=$ac_cv_prog_ac_ct_CCif test -n "$ac_ct_CC"; thenecho "$as_me:$LINENO: result: $ac_ct_CC" >&5echo "${ECHO_T}$ac_ct_CC" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fiCC=$ac_ct_CCelseCC="$ac_cv_prog_CC"fiif test -z "$CC"; thenif test -n "$ac_tool_prefix"; then# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.set dummy ${ac_tool_prefix}cc; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test -n "$CC"; thenac_cv_prog_CC="$CC" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; thenac_cv_prog_CC="${ac_tool_prefix}cc"echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5break 2fidonedonefifiCC=$ac_cv_prog_CCif test -n "$CC"; thenecho "$as_me:$LINENO: result: $CC" >&5echo "${ECHO_T}$CC" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$ac_cv_prog_CC"; thenac_ct_CC=$CC# Extract the first word of "cc", so it can be a program name with args.set dummy cc; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_ac_ct_CC+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test -n "$ac_ct_CC"; thenac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; thenac_cv_prog_ac_ct_CC="cc"echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5break 2fidonedonefifiac_ct_CC=$ac_cv_prog_ac_ct_CCif test -n "$ac_ct_CC"; thenecho "$as_me:$LINENO: result: $ac_ct_CC" >&5echo "${ECHO_T}$ac_ct_CC" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fiCC=$ac_ct_CCelseCC="$ac_cv_prog_CC"fifiif test -z "$CC"; then# Extract the first word of "cc", so it can be a program name with args.set dummy cc; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test -n "$CC"; thenac_cv_prog_CC="$CC" # Let the user override the test.elseac_prog_rejected=noas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; thenif test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; thenac_prog_rejected=yescontinuefiac_cv_prog_CC="cc"echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5break 2fidonedoneif test $ac_prog_rejected = yes; then# We found a bogon in the path, so make sure we never use it.set dummy $ac_cv_prog_CCshiftif test $# != 0; then# We chose a different compiler from the bogus one.# However, it has the same basename, so the bogon will be chosen# first if we set CC to just the basename; use the full file name.shiftac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"fifififiCC=$ac_cv_prog_CCif test -n "$CC"; thenecho "$as_me:$LINENO: result: $CC" >&5echo "${ECHO_T}$CC" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$CC"; thenif test -n "$ac_tool_prefix"; thenfor ac_prog in cldo# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.set dummy $ac_tool_prefix$ac_prog; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test -n "$CC"; thenac_cv_prog_CC="$CC" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; thenac_cv_prog_CC="$ac_tool_prefix$ac_prog"echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5break 2fidonedonefifiCC=$ac_cv_prog_CCif test -n "$CC"; thenecho "$as_me:$LINENO: result: $CC" >&5echo "${ECHO_T}$CC" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fitest -n "$CC" && breakdonefiif test -z "$CC"; thenac_ct_CC=$CCfor ac_prog in cldo# Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_ac_ct_CC+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test -n "$ac_ct_CC"; thenac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; thenac_cv_prog_ac_ct_CC="$ac_prog"echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5break 2fidonedonefifiac_ct_CC=$ac_cv_prog_ac_ct_CCif test -n "$ac_ct_CC"; thenecho "$as_me:$LINENO: result: $ac_ct_CC" >&5echo "${ECHO_T}$ac_ct_CC" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fitest -n "$ac_ct_CC" && breakdoneCC=$ac_ct_CCfifitest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATHSee \`config.log' for more details." >&5echo "$as_me: error: no acceptable C compiler found in \$PATHSee \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; }# Provide some information about the compiler.echo "$as_me:$LINENO:" \"checking for C compiler version" >&5ac_compiler=`set X $ac_compile; echo $2`{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5(eval $ac_compiler --version </dev/null >&5) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5(eval $ac_compiler -v </dev/null >&5) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5(eval $ac_compiler -V </dev/null >&5) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */intmain (){;return 0;}_ACEOFac_clean_files_save=$ac_clean_filesac_clean_files="$ac_clean_files a.out a.exe b.out"# Try to create an executable without -o first, disregard a.out.# It will help us diagnose broken compilers, and finding out an intuition# of exeext.echo "$as_me:$LINENO: checking for C compiler default output file name" >&5echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5(eval $ac_link_default) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; then# Find the output, starting from the most likely. This scheme is# not robust to junk in `.', hence go to wildcards (a.*) only as a last# resort.# Be careful to initialize this variable, since it used to be cached.# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.ac_cv_exeext=# b.out is created by i960 compilers.for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.outdotest -f "$ac_file" || continuecase $ac_file in*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj );;conftest.$ac_ext )# This is the source file.;;[ab].out )# We found the default executable, but exeext='' is most# certainly right.break;;*.* )ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`# FIXME: I believe we export ac_cv_exeext for Libtool,# but it would be cool to find out if it's true. Does anybody# maintain Libtool? --akim.export ac_cv_exeextbreak;;* )break;;esacdoneelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5{ { echo "$as_me:$LINENO: error: C compiler cannot create executablesSee \`config.log' for more details." >&5echo "$as_me: error: C compiler cannot create executablesSee \`config.log' for more details." >&2;}{ (exit 77); exit 77; }; }fiac_exeext=$ac_cv_exeextecho "$as_me:$LINENO: result: $ac_file" >&5echo "${ECHO_T}$ac_file" >&6# Check the compiler produces executables we can run. If not, either# the compiler is broken, or we cross compile.echo "$as_me:$LINENO: checking whether the C compiler works" >&5echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6# FIXME: These cross compiler hacks should be removed for Autoconf 3.0# If not cross compiling, check that we can run a simple program.if test "$cross_compiling" != yes; thenif { ac_try='./$ac_file'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thencross_compiling=noelseif test "$cross_compiling" = maybe; thencross_compiling=yeselse{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.If you meant to cross compile, use \`--host'.See \`config.log' for more details." >&5echo "$as_me: error: cannot run C compiled programs.If you meant to cross compile, use \`--host'.See \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; }fififiecho "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6rm -f a.out a.exe conftest$ac_cv_exeext b.outac_clean_files=$ac_clean_files_save# Check the compiler produces executables we can run. If not, either# the compiler is broken, or we cross compile.echo "$as_me:$LINENO: checking whether we are cross compiling" >&5echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6echo "$as_me:$LINENO: result: $cross_compiling" >&5echo "${ECHO_T}$cross_compiling" >&6echo "$as_me:$LINENO: checking for suffix of executables" >&5echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; then# If both `conftest.exe' and `conftest' are `present' (well, observable)# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will# work properly (i.e., refer to `conftest.exe'), while it won't with# `rm'.for ac_file in conftest.exe conftest conftest.*; dotest -f "$ac_file" || continuecase $ac_file in*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`export ac_cv_exeextbreak;;* ) break;;esacdoneelse{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and linkSee \`config.log' for more details." >&5echo "$as_me: error: cannot compute suffix of executables: cannot compile and linkSee \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; }firm -f conftest$ac_cv_exeextecho "$as_me:$LINENO: result: $ac_cv_exeext" >&5echo "${ECHO_T}$ac_cv_exeext" >&6rm -f conftest.$ac_extEXEEXT=$ac_cv_exeextac_exeext=$EXEEXTecho "$as_me:$LINENO: checking for suffix of object files" >&5echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6if test "${ac_cv_objext+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */intmain (){;return 0;}_ACEOFrm -f conftest.o conftest.objif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; thenfor ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; docase $ac_file in*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`break;;esacdoneelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compileSee \`config.log' for more details." >&5echo "$as_me: error: cannot compute suffix of object files: cannot compileSee \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; }firm -f conftest.$ac_cv_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_objext" >&5echo "${ECHO_T}$ac_cv_objext" >&6OBJEXT=$ac_cv_objextac_objext=$OBJEXTecho "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6if test "${ac_cv_c_compiler_gnu+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */intmain (){#ifndef __GNUC__choke me#endif;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_compiler_gnu=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_compiler_gnu=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extac_cv_c_compiler_gnu=$ac_compiler_gnufiecho "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6GCC=`test $ac_compiler_gnu = yes && echo yes`ac_test_CFLAGS=${CFLAGS+set}ac_save_CFLAGS=$CFLAGSCFLAGS="-g"echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6if test "${ac_cv_prog_cc_g+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */intmain (){;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_prog_cc_g=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_prog_cc_g=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5echo "${ECHO_T}$ac_cv_prog_cc_g" >&6if test "$ac_test_CFLAGS" = set; thenCFLAGS=$ac_save_CFLAGSelif test $ac_cv_prog_cc_g = yes; thenif test "$GCC" = yes; thenCFLAGS="-g -O2"elseCFLAGS="-g"fielseif test "$GCC" = yes; thenCFLAGS="-O2"elseCFLAGS=fifiecho "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6if test "${ac_cv_prog_cc_stdc+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseac_cv_prog_cc_stdc=noac_save_CC=$CCcat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <stdarg.h>#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */struct buf { int x; };FILE * (*rcsopen) (struct buf *, struct stat *, int);static char *e (p, i)char **p;int i;{return p[i];}static char *f (char * (*g) (char **, int), char **p, ...){char *s;va_list v;va_start (v,p);s = g (p, va_arg (v,int));va_end (v);return s;}/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It hasfunction prototypes and stuff, but not '\xHH' hex character constants.These don't provoke an error unfortunately, instead are silently treatedas 'x'. The following induces an error, until -std1 is added to getproper ANSI mode. Curiously '\x00'!='x' always comes out true, for anarray size at least. It's necessary to write '\x00'==0 to get somethingthat's true only with -std1. */int osf4_cc_array ['\x00' == 0 ? 1 : -1];int test (int i, double x);struct s1 {int (*f) (int a);};struct s2 {int (*f) (double a);};int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);int argc;char **argv;intmain (){return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];;return 0;}_ACEOF# Don't try gcc -ansi; that turns off useful extensions and# breaks some systems' header files.# AIX -qlanglvl=ansi# Ultrix and OSF/1 -std1# HP-UX 10.20 and later -Ae# HP-UX older versions -Aa -D_HPUX_SOURCE# SVR4 -Xc -D__EXTENSIONS__for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"doCC="$ac_save_CC $ac_arg"rm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_prog_cc_stdc=$ac_argbreakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5firm -f conftest.err conftest.$ac_objextdonerm -f conftest.$ac_ext conftest.$ac_objextCC=$ac_save_CCficase "x$ac_cv_prog_cc_stdc" inx|xno)echo "$as_me:$LINENO: result: none needed" >&5echo "${ECHO_T}none needed" >&6 ;;*)echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6CC="$CC $ac_cv_prog_cc_stdc" ;;esac# Some people use a C++ compiler to compile C. Since we use `exit',# in C++ we need to declare it. In case someone uses the same compiler# for both compiling C and C++ we need to have the C++ compiler decide# the declaration of exit, since it's the most demanding environment.cat >conftest.$ac_ext <<_ACEOF#ifndef __cpluspluschoke me#endif_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenfor ac_declaration in \'' \'extern "C" void std::exit (int) throw (); using std::exit;' \'extern "C" void std::exit (int); using std::exit;' \'extern "C" void exit (int) throw ();' \'extern "C" void exit (int);' \'void exit (int);'docat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_declaration#include <stdlib.h>intmain (){exit (42);;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; then:elseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5continuefirm -f conftest.err conftest.$ac_objext conftest.$ac_extcat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_declarationintmain (){exit (42);;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenbreakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5firm -f conftest.err conftest.$ac_objext conftest.$ac_extdonerm -f conftest*if test -n "$ac_declaration"; thenecho '#ifdef __cplusplus' >>confdefs.hecho $ac_declaration >>confdefs.hecho '#endif' >>confdefs.hfielseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5firm -f conftest.err conftest.$ac_objext conftest.$ac_extac_ext=cac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnuif test "x$CC" != xcc; thenecho "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6elseecho "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6fiset dummy $CC; ac_cc=`echo $2 |sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */intmain (){;return 0;}_ACEOF# Make sure it works both with $CC and with simple cc.# We do the test twice because some compilers refuse to overwrite an# existing .o file with -o, though they will create one.ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); };theneval ac_cv_prog_cc_${ac_cc}_c_o=yesif test "x$CC" != xcc; then# Test first that cc exists at all.if { ac_try='cc -c conftest.$ac_ext >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); };then# cc works too.:else# cc exists but doesn't like -o.eval ac_cv_prog_cc_${ac_cc}_c_o=nofififielseeval ac_cv_prog_cc_${ac_cc}_c_o=nofirm -f conftest*fiif eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; thenecho "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6cat >>confdefs.h <<\_ACEOF#define NO_MINUS_C_MINUS_O 1_ACEOFfi# expand $ac_aux_dir to an absolute patham_aux_dir=`cd $ac_aux_dir && pwd`# FIXME: we rely on the cache variable name because# there is no other way.set dummy $CCac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then# Losing compiler, so override with the script.# FIXME: It is wrong to rewrite CC.# But if we don't then we get into trouble of one sort or another.# A longer-term fix would be to have automake use am__CC in this case,# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"CC="$am_aux_dir/compile $CC"fi# autoconf is lame and doesn't give us any substitution variable for this.if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = no"; thenNO_MINUS_C_MINUS_O=yeselseOUTPUT_OPTION='-o $@'fi# Remove the -O2: for historical reasons, unless bootstrapping we prefer# optimizations to be activated explicitly by the toplevel.case "$CC" in*/prev-gcc/xgcc*) ;;*) CFLAGS=`echo $CFLAGS | sed "s/-O[s0-9]* *//" ` ;;esac# -------------------------# Check C compiler features# -------------------------ac_ext=cac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnuecho "$as_me:$LINENO: checking how to run the C preprocessor" >&5echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6# On Suns, sometimes $CPP names a directory.if test -n "$CPP" && test -d "$CPP"; thenCPP=fiif test -z "$CPP"; thenif test "${ac_cv_prog_CPP+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6else# Double quotes because CPP needs to be expandedfor CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"doac_preproc_ok=falsefor ac_c_preproc_warn_flag in '' yesdo# Use a header file that comes with gcc, so configuring glibc# with a fresh cross-compiler works.# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since# <limits.h> exists even on freestanding compilers.# On the NeXT, cc -E runs the code through the compiler's parser,# not just through cpp. "Syntax error" is here to catch this case.cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#ifdef __STDC__# include <limits.h>#else# include <assert.h>#endifSyntax error_ACEOFif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } >/dev/null; thenif test -s conftest.err; thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yesfiif test -z "$ac_cpp_err"; then:elseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5# Broken: fails on valid input.continuefirm -f conftest.err conftest.$ac_ext# OK, works on sane cases. Now check whether non-existent headers# can be detected and how.cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <ac_nonexistent.h>_ACEOFif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } >/dev/null; thenif test -s conftest.err; thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yesfiif test -z "$ac_cpp_err"; then# Broken: success on invalid input.continueelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5# Passes both tests.ac_preproc_ok=:breakfirm -f conftest.err conftest.$ac_extdone# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.rm -f conftest.err conftest.$ac_extif $ac_preproc_ok; thenbreakfidoneac_cv_prog_CPP=$CPPfiCPP=$ac_cv_prog_CPPelseac_cv_prog_CPP=$CPPfiecho "$as_me:$LINENO: result: $CPP" >&5echo "${ECHO_T}$CPP" >&6ac_preproc_ok=falsefor ac_c_preproc_warn_flag in '' yesdo# Use a header file that comes with gcc, so configuring glibc# with a fresh cross-compiler works.# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since# <limits.h> exists even on freestanding compilers.# On the NeXT, cc -E runs the code through the compiler's parser,# not just through cpp. "Syntax error" is here to catch this case.cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#ifdef __STDC__# include <limits.h>#else# include <assert.h>#endifSyntax error_ACEOFif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } >/dev/null; thenif test -s conftest.err; thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yesfiif test -z "$ac_cpp_err"; then:elseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5# Broken: fails on valid input.continuefirm -f conftest.err conftest.$ac_ext# OK, works on sane cases. Now check whether non-existent headers# can be detected and how.cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <ac_nonexistent.h>_ACEOFif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } >/dev/null; thenif test -s conftest.err; thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yesfiif test -z "$ac_cpp_err"; then# Broken: success on invalid input.continueelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5# Passes both tests.ac_preproc_ok=:breakfirm -f conftest.err conftest.$ac_extdone# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.rm -f conftest.err conftest.$ac_extif $ac_preproc_ok; then:else{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity checkSee \`config.log' for more details." >&5echo "$as_me: error: C preprocessor \"$CPP\" fails sanity checkSee \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; }fiac_ext=cac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnuecho "$as_me:$LINENO: checking for inline" >&5echo $ECHO_N "checking for inline... $ECHO_C" >&6if test "${ac_cv_c_inline+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseac_cv_c_inline=nofor ac_kw in inline __inline__ __inline; docat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#ifndef __cplusplustypedef int foo_t;static $ac_kw foo_t static_foo () {return 0; }$ac_kw foo_t foo () {return 0; }#endif_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_c_inline=$ac_kw; breakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5firm -f conftest.err conftest.$ac_objext conftest.$ac_extdonefiecho "$as_me:$LINENO: result: $ac_cv_c_inline" >&5echo "${ECHO_T}$ac_cv_c_inline" >&6case $ac_cv_c_inline ininline | yes) ;;*)case $ac_cv_c_inline inno) ac_val=;;*) ac_val=$ac_cv_c_inline;;esaccat >>confdefs.h <<_ACEOF#ifndef __cplusplus#define inline $ac_val#endif_ACEOF;;esac# sizeof(char) is 1 by definition.echo "$as_me:$LINENO: checking for egrep" >&5echo $ECHO_N "checking for egrep... $ECHO_C" >&6if test "${ac_cv_prog_egrep+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif echo a | (grep -E '(a|b)') >/dev/null 2>&1then ac_cv_prog_egrep='grep -E'else ac_cv_prog_egrep='egrep'fifiecho "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5echo "${ECHO_T}$ac_cv_prog_egrep" >&6EGREP=$ac_cv_prog_egrepecho "$as_me:$LINENO: checking for ANSI C header files" >&5echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6if test "${ac_cv_header_stdc+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <stdlib.h>#include <stdarg.h>#include <string.h>#include <float.h>intmain (){;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_header_stdc=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_header_stdc=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extif test $ac_cv_header_stdc = yes; then# SunOS 4.x string.h does not declare mem*, contrary to ANSI.cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <string.h>_ACEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |$EGREP "memchr" >/dev/null 2>&1; then:elseac_cv_header_stdc=nofirm -f conftest*fiif test $ac_cv_header_stdc = yes; then# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <stdlib.h>_ACEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |$EGREP "free" >/dev/null 2>&1; then:elseac_cv_header_stdc=nofirm -f conftest*fiif test $ac_cv_header_stdc = yes; then# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.if test "$cross_compiling" = yes; then:elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <ctype.h>#if ((' ' & 0x0FF) == 0x020)# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))#else# define ISLOWER(c) \(('a' <= (c) && (c) <= 'i') \|| ('j' <= (c) && (c) <= 'r') \|| ('s' <= (c) && (c) <= 'z'))# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))#endif#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))intmain (){int i;for (i = 0; i < 256; i++)if (XOR (islower (i), ISLOWER (i))|| toupper (i) != TOUPPER (i))exit(2);exit (0);}_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } && { ac_try='./conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; then:elseecho "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5( exit $ac_status )ac_cv_header_stdc=nofirm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfififiecho "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5echo "${ECHO_T}$ac_cv_header_stdc" >&6if test $ac_cv_header_stdc = yes; thencat >>confdefs.h <<\_ACEOF#define STDC_HEADERS 1_ACEOFfi# On IRIX 5.3, sys/types and inttypes.h are conflicting.for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \inttypes.h stdint.h unistd.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:$LINENO: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_default#include <$ac_header>_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; theneval "$as_ac_Header=yes"elseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; thencat >>confdefs.h <<_ACEOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1_ACEOFfidoneecho "$as_me:$LINENO: checking for void *" >&5echo $ECHO_N "checking for void *... $ECHO_C" >&6if test "${ac_cv_type_void_p+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){if ((void * *) 0)return 0;if (sizeof (void *))return 0;;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_type_void_p=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_type_void_p=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5echo "${ECHO_T}$ac_cv_type_void_p" >&6echo "$as_me:$LINENO: checking size of void *" >&5echo $ECHO_N "checking size of void *... $ECHO_C" >&6if test "${ac_cv_sizeof_void_p+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test "$ac_cv_type_void_p" = yes; then# The cast to unsigned long works around a bug in the HP C Compiler# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.# This bug is HP SR number 8606223364.if test "$cross_compiling" = yes; then# Depending upon the size, compute the lo and hi bounds.cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_lo=0 ac_mid=0while :; docat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_hi=$ac_mid; breakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_lo=`expr $ac_mid + 1`if test $ac_lo -le $ac_mid; thenac_lo= ac_hi=breakfiac_mid=`expr 2 '*' $ac_mid + 1`firm -f conftest.err conftest.$ac_objext conftest.$ac_extdoneelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_hi=-1 ac_mid=-1while :; docat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_lo=$ac_mid; breakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_hi=`expr '(' $ac_mid ')' - 1`if test $ac_mid -le $ac_hi; thenac_lo= ac_hi=breakfiac_mid=`expr 2 '*' $ac_mid`firm -f conftest.err conftest.$ac_objext conftest.$ac_extdoneelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_lo= ac_hi=firm -f conftest.err conftest.$ac_objext conftest.$ac_extfirm -f conftest.err conftest.$ac_objext conftest.$ac_ext# Binary search between lo and hi bounds.while test "x$ac_lo" != "x$ac_hi"; doac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_hi=$ac_midelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_lo=`expr '(' $ac_mid ')' + 1`firm -f conftest.err conftest.$ac_objext conftest.$ac_extdonecase $ac_lo in?*) ac_cv_sizeof_void_p=$ac_lo;;'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77See \`config.log' for more details." >&5echo "$as_me: error: cannot compute sizeof (void *), 77See \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; } ;;esacelseif test "$cross_compiling" = yes; then{ { echo "$as_me:$LINENO: error: cannot run test program while cross compilingSee \`config.log' for more details." >&5echo "$as_me: error: cannot run test program while cross compilingSee \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; }elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultlong longval () { return (long) (sizeof (void *)); }unsigned long ulongval () { return (long) (sizeof (void *)); }#include <stdio.h>#include <stdlib.h>intmain (){FILE *f = fopen ("conftest.val", "w");if (! f)exit (1);if (((long) (sizeof (void *))) < 0){long i = longval ();if (i != ((long) (sizeof (void *))))exit (1);fprintf (f, "%ld\n", i);}else{unsigned long i = ulongval ();if (i != ((long) (sizeof (void *))))exit (1);fprintf (f, "%lu\n", i);}exit (ferror (f) || fclose (f) != 0);;return 0;}_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } && { ac_try='./conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_sizeof_void_p=`cat conftest.val`elseecho "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5( exit $ac_status ){ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77See \`config.log' for more details." >&5echo "$as_me: error: cannot compute sizeof (void *), 77See \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; }firm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfifirm -f conftest.valelseac_cv_sizeof_void_p=0fifiecho "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6cat >>confdefs.h <<_ACEOF#define SIZEOF_VOID_P $ac_cv_sizeof_void_p_ACEOFecho "$as_me:$LINENO: checking for short" >&5echo $ECHO_N "checking for short... $ECHO_C" >&6if test "${ac_cv_type_short+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){if ((short *) 0)return 0;if (sizeof (short))return 0;;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_type_short=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_type_short=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_type_short" >&5echo "${ECHO_T}$ac_cv_type_short" >&6echo "$as_me:$LINENO: checking size of short" >&5echo $ECHO_N "checking size of short... $ECHO_C" >&6if test "${ac_cv_sizeof_short+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test "$ac_cv_type_short" = yes; then# The cast to unsigned long works around a bug in the HP C Compiler# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.# This bug is HP SR number 8606223364.if test "$cross_compiling" = yes; then# Depending upon the size, compute the lo and hi bounds.cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_lo=0 ac_mid=0while :; docat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_hi=$ac_mid; breakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_lo=`expr $ac_mid + 1`if test $ac_lo -le $ac_mid; thenac_lo= ac_hi=breakfiac_mid=`expr 2 '*' $ac_mid + 1`firm -f conftest.err conftest.$ac_objext conftest.$ac_extdoneelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_hi=-1 ac_mid=-1while :; docat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_lo=$ac_mid; breakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_hi=`expr '(' $ac_mid ')' - 1`if test $ac_mid -le $ac_hi; thenac_lo= ac_hi=breakfiac_mid=`expr 2 '*' $ac_mid`firm -f conftest.err conftest.$ac_objext conftest.$ac_extdoneelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_lo= ac_hi=firm -f conftest.err conftest.$ac_objext conftest.$ac_extfirm -f conftest.err conftest.$ac_objext conftest.$ac_ext# Binary search between lo and hi bounds.while test "x$ac_lo" != "x$ac_hi"; doac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_hi=$ac_midelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_lo=`expr '(' $ac_mid ')' + 1`firm -f conftest.err conftest.$ac_objext conftest.$ac_extdonecase $ac_lo in?*) ac_cv_sizeof_short=$ac_lo;;'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77See \`config.log' for more details." >&5echo "$as_me: error: cannot compute sizeof (short), 77See \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; } ;;esacelseif test "$cross_compiling" = yes; then{ { echo "$as_me:$LINENO: error: cannot run test program while cross compilingSee \`config.log' for more details." >&5echo "$as_me: error: cannot run test program while cross compilingSee \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; }elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultlong longval () { return (long) (sizeof (short)); }unsigned long ulongval () { return (long) (sizeof (short)); }#include <stdio.h>#include <stdlib.h>intmain (){FILE *f = fopen ("conftest.val", "w");if (! f)exit (1);if (((long) (sizeof (short))) < 0){long i = longval ();if (i != ((long) (sizeof (short))))exit (1);fprintf (f, "%ld\n", i);}else{unsigned long i = ulongval ();if (i != ((long) (sizeof (short))))exit (1);fprintf (f, "%lu\n", i);}exit (ferror (f) || fclose (f) != 0);;return 0;}_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } && { ac_try='./conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_sizeof_short=`cat conftest.val`elseecho "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5( exit $ac_status ){ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77See \`config.log' for more details." >&5echo "$as_me: error: cannot compute sizeof (short), 77See \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; }firm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfifirm -f conftest.valelseac_cv_sizeof_short=0fifiecho "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5echo "${ECHO_T}$ac_cv_sizeof_short" >&6cat >>confdefs.h <<_ACEOF#define SIZEOF_SHORT $ac_cv_sizeof_short_ACEOFecho "$as_me:$LINENO: checking for int" >&5echo $ECHO_N "checking for int... $ECHO_C" >&6if test "${ac_cv_type_int+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){if ((int *) 0)return 0;if (sizeof (int))return 0;;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_type_int=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_type_int=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_type_int" >&5echo "${ECHO_T}$ac_cv_type_int" >&6echo "$as_me:$LINENO: checking size of int" >&5echo $ECHO_N "checking size of int... $ECHO_C" >&6if test "${ac_cv_sizeof_int+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test "$ac_cv_type_int" = yes; then# The cast to unsigned long works around a bug in the HP C Compiler# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.# This bug is HP SR number 8606223364.if test "$cross_compiling" = yes; then# Depending upon the size, compute the lo and hi bounds.cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_lo=0 ac_mid=0while :; docat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_hi=$ac_mid; breakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_lo=`expr $ac_mid + 1`if test $ac_lo -le $ac_mid; thenac_lo= ac_hi=breakfiac_mid=`expr 2 '*' $ac_mid + 1`firm -f conftest.err conftest.$ac_objext conftest.$ac_extdoneelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_hi=-1 ac_mid=-1while :; docat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_lo=$ac_mid; breakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_hi=`expr '(' $ac_mid ')' - 1`if test $ac_mid -le $ac_hi; thenac_lo= ac_hi=breakfiac_mid=`expr 2 '*' $ac_mid`firm -f conftest.err conftest.$ac_objext conftest.$ac_extdoneelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_lo= ac_hi=firm -f conftest.err conftest.$ac_objext conftest.$ac_extfirm -f conftest.err conftest.$ac_objext conftest.$ac_ext# Binary search between lo and hi bounds.while test "x$ac_lo" != "x$ac_hi"; doac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_hi=$ac_midelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_lo=`expr '(' $ac_mid ')' + 1`firm -f conftest.err conftest.$ac_objext conftest.$ac_extdonecase $ac_lo in?*) ac_cv_sizeof_int=$ac_lo;;'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77See \`config.log' for more details." >&5echo "$as_me: error: cannot compute sizeof (int), 77See \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; } ;;esacelseif test "$cross_compiling" = yes; then{ { echo "$as_me:$LINENO: error: cannot run test program while cross compilingSee \`config.log' for more details." >&5echo "$as_me: error: cannot run test program while cross compilingSee \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; }elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultlong longval () { return (long) (sizeof (int)); }unsigned long ulongval () { return (long) (sizeof (int)); }#include <stdio.h>#include <stdlib.h>intmain (){FILE *f = fopen ("conftest.val", "w");if (! f)exit (1);if (((long) (sizeof (int))) < 0){long i = longval ();if (i != ((long) (sizeof (int))))exit (1);fprintf (f, "%ld\n", i);}else{unsigned long i = ulongval ();if (i != ((long) (sizeof (int))))exit (1);fprintf (f, "%lu\n", i);}exit (ferror (f) || fclose (f) != 0);;return 0;}_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } && { ac_try='./conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_sizeof_int=`cat conftest.val`elseecho "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5( exit $ac_status ){ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77See \`config.log' for more details." >&5echo "$as_me: error: cannot compute sizeof (int), 77See \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; }firm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfifirm -f conftest.valelseac_cv_sizeof_int=0fifiecho "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5echo "${ECHO_T}$ac_cv_sizeof_int" >&6cat >>confdefs.h <<_ACEOF#define SIZEOF_INT $ac_cv_sizeof_int_ACEOFecho "$as_me:$LINENO: checking for long" >&5echo $ECHO_N "checking for long... $ECHO_C" >&6if test "${ac_cv_type_long+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){if ((long *) 0)return 0;if (sizeof (long))return 0;;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_type_long=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_type_long=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_type_long" >&5echo "${ECHO_T}$ac_cv_type_long" >&6echo "$as_me:$LINENO: checking size of long" >&5echo $ECHO_N "checking size of long... $ECHO_C" >&6if test "${ac_cv_sizeof_long+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test "$ac_cv_type_long" = yes; then# The cast to unsigned long works around a bug in the HP C Compiler# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.# This bug is HP SR number 8606223364.if test "$cross_compiling" = yes; then# Depending upon the size, compute the lo and hi bounds.cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_lo=0 ac_mid=0while :; docat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_hi=$ac_mid; breakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_lo=`expr $ac_mid + 1`if test $ac_lo -le $ac_mid; thenac_lo= ac_hi=breakfiac_mid=`expr 2 '*' $ac_mid + 1`firm -f conftest.err conftest.$ac_objext conftest.$ac_extdoneelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_hi=-1 ac_mid=-1while :; docat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_lo=$ac_mid; breakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_hi=`expr '(' $ac_mid ')' - 1`if test $ac_mid -le $ac_hi; thenac_lo= ac_hi=breakfiac_mid=`expr 2 '*' $ac_mid`firm -f conftest.err conftest.$ac_objext conftest.$ac_extdoneelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_lo= ac_hi=firm -f conftest.err conftest.$ac_objext conftest.$ac_extfirm -f conftest.err conftest.$ac_objext conftest.$ac_ext# Binary search between lo and hi bounds.while test "x$ac_lo" != "x$ac_hi"; doac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_hi=$ac_midelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_lo=`expr '(' $ac_mid ')' + 1`firm -f conftest.err conftest.$ac_objext conftest.$ac_extdonecase $ac_lo in?*) ac_cv_sizeof_long=$ac_lo;;'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77See \`config.log' for more details." >&5echo "$as_me: error: cannot compute sizeof (long), 77See \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; } ;;esacelseif test "$cross_compiling" = yes; then{ { echo "$as_me:$LINENO: error: cannot run test program while cross compilingSee \`config.log' for more details." >&5echo "$as_me: error: cannot run test program while cross compilingSee \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; }elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultlong longval () { return (long) (sizeof (long)); }unsigned long ulongval () { return (long) (sizeof (long)); }#include <stdio.h>#include <stdlib.h>intmain (){FILE *f = fopen ("conftest.val", "w");if (! f)exit (1);if (((long) (sizeof (long))) < 0){long i = longval ();if (i != ((long) (sizeof (long))))exit (1);fprintf (f, "%ld\n", i);}else{unsigned long i = ulongval ();if (i != ((long) (sizeof (long))))exit (1);fprintf (f, "%lu\n", i);}exit (ferror (f) || fclose (f) != 0);;return 0;}_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } && { ac_try='./conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_sizeof_long=`cat conftest.val`elseecho "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5( exit $ac_status ){ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77See \`config.log' for more details." >&5echo "$as_me: error: cannot compute sizeof (long), 77See \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; }firm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfifirm -f conftest.valelseac_cv_sizeof_long=0fifiecho "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5echo "${ECHO_T}$ac_cv_sizeof_long" >&6cat >>confdefs.h <<_ACEOF#define SIZEOF_LONG $ac_cv_sizeof_long_ACEOFecho "$as_me:$LINENO: checking for long long" >&5echo $ECHO_N "checking for long long... $ECHO_C" >&6if test "${ac_cv_type_long_long+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){if ((long long *) 0)return 0;if (sizeof (long long))return 0;;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_type_long_long=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_type_long_long=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5echo "${ECHO_T}$ac_cv_type_long_long" >&6if test $ac_cv_type_long_long = yes; thencat >>confdefs.h <<_ACEOF#define HAVE_LONG_LONG 1_ACEOFecho "$as_me:$LINENO: checking for long long" >&5echo $ECHO_N "checking for long long... $ECHO_C" >&6if test "${ac_cv_type_long_long+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){if ((long long *) 0)return 0;if (sizeof (long long))return 0;;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_type_long_long=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_type_long_long=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5echo "${ECHO_T}$ac_cv_type_long_long" >&6echo "$as_me:$LINENO: checking size of long long" >&5echo $ECHO_N "checking size of long long... $ECHO_C" >&6if test "${ac_cv_sizeof_long_long+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test "$ac_cv_type_long_long" = yes; then# The cast to unsigned long works around a bug in the HP C Compiler# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.# This bug is HP SR number 8606223364.if test "$cross_compiling" = yes; then# Depending upon the size, compute the lo and hi bounds.cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_lo=0 ac_mid=0while :; docat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_hi=$ac_mid; breakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_lo=`expr $ac_mid + 1`if test $ac_lo -le $ac_mid; thenac_lo= ac_hi=breakfiac_mid=`expr 2 '*' $ac_mid + 1`firm -f conftest.err conftest.$ac_objext conftest.$ac_extdoneelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_hi=-1 ac_mid=-1while :; docat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_lo=$ac_mid; breakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_hi=`expr '(' $ac_mid ')' - 1`if test $ac_mid -le $ac_hi; thenac_lo= ac_hi=breakfiac_mid=`expr 2 '*' $ac_mid`firm -f conftest.err conftest.$ac_objext conftest.$ac_extdoneelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_lo= ac_hi=firm -f conftest.err conftest.$ac_objext conftest.$ac_extfirm -f conftest.err conftest.$ac_objext conftest.$ac_ext# Binary search between lo and hi bounds.while test "x$ac_lo" != "x$ac_hi"; doac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_hi=$ac_midelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_lo=`expr '(' $ac_mid ')' + 1`firm -f conftest.err conftest.$ac_objext conftest.$ac_extdonecase $ac_lo in?*) ac_cv_sizeof_long_long=$ac_lo;;'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77See \`config.log' for more details." >&5echo "$as_me: error: cannot compute sizeof (long long), 77See \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; } ;;esacelseif test "$cross_compiling" = yes; then{ { echo "$as_me:$LINENO: error: cannot run test program while cross compilingSee \`config.log' for more details." >&5echo "$as_me: error: cannot run test program while cross compilingSee \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; }elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultlong longval () { return (long) (sizeof (long long)); }unsigned long ulongval () { return (long) (sizeof (long long)); }#include <stdio.h>#include <stdlib.h>intmain (){FILE *f = fopen ("conftest.val", "w");if (! f)exit (1);if (((long) (sizeof (long long))) < 0){long i = longval ();if (i != ((long) (sizeof (long long))))exit (1);fprintf (f, "%ld\n", i);}else{unsigned long i = ulongval ();if (i != ((long) (sizeof (long long))))exit (1);fprintf (f, "%lu\n", i);}exit (ferror (f) || fclose (f) != 0);;return 0;}_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } && { ac_try='./conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_sizeof_long_long=`cat conftest.val`elseecho "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5( exit $ac_status ){ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77See \`config.log' for more details." >&5echo "$as_me: error: cannot compute sizeof (long long), 77See \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; }firm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfifirm -f conftest.valelseac_cv_sizeof_long_long=0fifiecho "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6cat >>confdefs.h <<_ACEOF#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long_ACEOFfiecho "$as_me:$LINENO: checking for __int64" >&5echo $ECHO_N "checking for __int64... $ECHO_C" >&6if test "${ac_cv_type___int64+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){if ((__int64 *) 0)return 0;if (sizeof (__int64))return 0;;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_type___int64=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_type___int64=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_type___int64" >&5echo "${ECHO_T}$ac_cv_type___int64" >&6if test $ac_cv_type___int64 = yes; thencat >>confdefs.h <<_ACEOF#define HAVE___INT64 1_ACEOFecho "$as_me:$LINENO: checking for __int64" >&5echo $ECHO_N "checking for __int64... $ECHO_C" >&6if test "${ac_cv_type___int64+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){if ((__int64 *) 0)return 0;if (sizeof (__int64))return 0;;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_type___int64=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_type___int64=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_type___int64" >&5echo "${ECHO_T}$ac_cv_type___int64" >&6echo "$as_me:$LINENO: checking size of __int64" >&5echo $ECHO_N "checking size of __int64... $ECHO_C" >&6if test "${ac_cv_sizeof___int64+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test "$ac_cv_type___int64" = yes; then# The cast to unsigned long works around a bug in the HP C Compiler# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.# This bug is HP SR number 8606223364.if test "$cross_compiling" = yes; then# Depending upon the size, compute the lo and hi bounds.cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (__int64))) >= 0)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_lo=0 ac_mid=0while :; docat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (__int64))) <= $ac_mid)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_hi=$ac_mid; breakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_lo=`expr $ac_mid + 1`if test $ac_lo -le $ac_mid; thenac_lo= ac_hi=breakfiac_mid=`expr 2 '*' $ac_mid + 1`firm -f conftest.err conftest.$ac_objext conftest.$ac_extdoneelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (__int64))) < 0)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_hi=-1 ac_mid=-1while :; docat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (__int64))) >= $ac_mid)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_lo=$ac_mid; breakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_hi=`expr '(' $ac_mid ')' - 1`if test $ac_mid -le $ac_hi; thenac_lo= ac_hi=breakfiac_mid=`expr 2 '*' $ac_mid`firm -f conftest.err conftest.$ac_objext conftest.$ac_extdoneelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_lo= ac_hi=firm -f conftest.err conftest.$ac_objext conftest.$ac_extfirm -f conftest.err conftest.$ac_objext conftest.$ac_ext# Binary search between lo and hi bounds.while test "x$ac_lo" != "x$ac_hi"; doac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){static int test_array [1 - 2 * !(((long) (sizeof (__int64))) <= $ac_mid)];test_array [0] = 0;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_hi=$ac_midelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_lo=`expr '(' $ac_mid ')' + 1`firm -f conftest.err conftest.$ac_objext conftest.$ac_extdonecase $ac_lo in?*) ac_cv_sizeof___int64=$ac_lo;;'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64), 77See \`config.log' for more details." >&5echo "$as_me: error: cannot compute sizeof (__int64), 77See \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; } ;;esacelseif test "$cross_compiling" = yes; then{ { echo "$as_me:$LINENO: error: cannot run test program while cross compilingSee \`config.log' for more details." >&5echo "$as_me: error: cannot run test program while cross compilingSee \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; }elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultlong longval () { return (long) (sizeof (__int64)); }unsigned long ulongval () { return (long) (sizeof (__int64)); }#include <stdio.h>#include <stdlib.h>intmain (){FILE *f = fopen ("conftest.val", "w");if (! f)exit (1);if (((long) (sizeof (__int64))) < 0){long i = longval ();if (i != ((long) (sizeof (__int64))))exit (1);fprintf (f, "%ld\n", i);}else{unsigned long i = ulongval ();if (i != ((long) (sizeof (__int64))))exit (1);fprintf (f, "%lu\n", i);}exit (ferror (f) || fclose (f) != 0);;return 0;}_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } && { ac_try='./conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_sizeof___int64=`cat conftest.val`elseecho "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5( exit $ac_status ){ { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64), 77See \`config.log' for more details." >&5echo "$as_me: error: cannot compute sizeof (__int64), 77See \`config.log' for more details." >&2;}{ (exit 1); exit 1; }; }firm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfifirm -f conftest.valelseac_cv_sizeof___int64=0fifiecho "$as_me:$LINENO: result: $ac_cv_sizeof___int64" >&5echo "${ECHO_T}$ac_cv_sizeof___int64" >&6cat >>confdefs.h <<_ACEOF#define SIZEOF___INT64 $ac_cv_sizeof___int64_ACEOFfi# ---------------------# Warnings and checking# ---------------------# Check $CC warning features (if it's GCC).# We want to use -pedantic, but we don't want warnings about# * 'long long'# * variadic macros# * overlong strings# So, we only use -pedantic if we can disable those warnings.echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-long-long" >&5echo $ECHO_N "checking whether ${CC} accepts -Wno-long-long... $ECHO_C" >&6if test "${ac_cv_prog_cc_w_no_long_long+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsesave_CFLAGS="$CFLAGS"CFLAGS="-Wno-long-long"cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_prog_cc_w_no_long_long=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_prog_cc_w_no_long_long=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extCFLAGS="$save_CFLAGS"fiecho "$as_me:$LINENO: result: $ac_cv_prog_cc_w_no_long_long" >&5echo "${ECHO_T}$ac_cv_prog_cc_w_no_long_long" >&6echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-variadic-macros" >&5echo $ECHO_N "checking whether ${CC} accepts -Wno-variadic-macros... $ECHO_C" >&6if test "${ac_cv_prog_cc_w_no_variadic_macros+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsesave_CFLAGS="$CFLAGS"CFLAGS="-Wno-variadic-macros"cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_prog_cc_w_no_variadic_macros=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_prog_cc_w_no_variadic_macros=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extCFLAGS="$save_CFLAGS"fiecho "$as_me:$LINENO: result: $ac_cv_prog_cc_w_no_variadic_macros" >&5echo "${ECHO_T}$ac_cv_prog_cc_w_no_variadic_macros" >&6echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-overlength-strings" >&5echo $ECHO_N "checking whether ${CC} accepts -Wno-overlength-strings... $ECHO_C" >&6if test "${ac_cv_prog_cc_w_no_overlength_strings+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsesave_CFLAGS="$CFLAGS"CFLAGS="-Wno-overlength-strings"cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_prog_cc_w_no_overlength_strings=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_prog_cc_w_no_overlength_strings=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extCFLAGS="$save_CFLAGS"fiecho "$as_me:$LINENO: result: $ac_cv_prog_cc_w_no_overlength_strings" >&5echo "${ECHO_T}$ac_cv_prog_cc_w_no_overlength_strings" >&6strict1_warn=if test $ac_cv_prog_cc_w_no_long_long = yes \&& test $ac_cv_prog_cc_w_no_variadic_macros = yes \&& test $ac_cv_prog_cc_w_no_overlength_strings = yes ; thenstrict1_warn="-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings"fi# Add -Wold-style-definition if it's acceptedecho "$as_me:$LINENO: checking whether ${CC} accepts -Wold-style-definition" >&5echo $ECHO_N "checking whether ${CC} accepts -Wold-style-definition... $ECHO_C" >&6if test "${ac_cv_prog_cc_w_old_style_definition+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsesave_CFLAGS="$CFLAGS"CFLAGS="-Wold-style-definition"cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_prog_cc_w_old_style_definition=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_prog_cc_w_old_style_definition=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extCFLAGS="$save_CFLAGS"fiecho "$as_me:$LINENO: result: $ac_cv_prog_cc_w_old_style_definition" >&5echo "${ECHO_T}$ac_cv_prog_cc_w_old_style_definition" >&6if test $ac_cv_prog_cc_w_old_style_definition = yes ; thenstrict1_warn="${strict1_warn} -Wold-style-definition"fi# Add -Wmissing-format-attribute if it's acceptedecho "$as_me:$LINENO: checking whether ${CC} accepts -Wmissing-format-attribute" >&5echo $ECHO_N "checking whether ${CC} accepts -Wmissing-format-attribute... $ECHO_C" >&6if test "${ac_cv_prog_cc_w_missing_format_attribute+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsesave_CFLAGS="$CFLAGS"CFLAGS="-Wmissing-format-attribute"cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_prog_cc_w_missing_format_attribute=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_prog_cc_w_missing_format_attribute=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extCFLAGS="$save_CFLAGS"fiecho "$as_me:$LINENO: result: $ac_cv_prog_cc_w_missing_format_attribute" >&5echo "${ECHO_T}$ac_cv_prog_cc_w_missing_format_attribute" >&6if test $ac_cv_prog_cc_w_missing_format_attribute = yes ; thenstrict1_warn="${strict1_warn} -Wmissing-format-attribute"fi# Enable -Werror, period.# Check whether --enable-werror_always or --disable-werror_always was given.if test "${enable_werror_always+set}" = set; thenenableval="$enable_werror_always"elseenable_werror_always=nofi;if test x${enable_werror_always} = xyes ; thenstrict1_warn="${strict1_warn} -Werror"WERROR=-Werrorfi# Get C++ compatibility warning flag, if supported.echo "$as_me:$LINENO: checking whether ${CC} accepts -Wc++-compat" >&5echo $ECHO_N "checking whether ${CC} accepts -Wc++-compat... $ECHO_C" >&6if test "${ac_cv_prog_cc_w_cxx_compat+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsesave_CFLAGS="$CFLAGS"CFLAGS="-Wc++-compat"cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_prog_cc_w_cxx_compat=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_prog_cc_w_cxx_compat=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extCFLAGS="$save_CFLAGS"fiecho "$as_me:$LINENO: result: $ac_cv_prog_cc_w_cxx_compat" >&5echo "${ECHO_T}$ac_cv_prog_cc_w_cxx_compat" >&6if test x${ac_cv_prog_cc_w_cxx_compat} = xyes; thencxx_compat_warn="-Wc++-compat"fi# If the native compiler is GCC, we can enable warnings even in stage1.# That's useful for people building cross-compilers, or just running a# quick `make'.warn_cflags=if test "x$GCC" = "xyes"; thenwarn_cflags='$(GCC_WARN_CFLAGS)'fi# Enable -Werror in bootstrap stage2 and later.is_release=if test x"`cat $srcdir/DEV-PHASE`" != xexperimental; thenis_release=yesfi# Check whether --enable-werror or --disable-werror was given.if test "${enable_werror+set}" = set; thenenableval="$enable_werror"elseif test x$is_release = x ; then# Default to "yes" on development branches.enable_werror=yeselse# Default to "no" on release branches.enable_werror=nofifi;if test x$enable_werror = xyes ; thenWERROR=-Werrorfi# Enable expensive internal checks# Check whether --enable-checking or --disable-checking was given.if test "${enable_checking+set}" = set; thenenableval="$enable_checking"ac_checking_flags="${enableval}"else# Determine the default checks.if test x$is_release = x ; thenac_checking_flags=yeselseac_checking_flags=releasefifi;ac_assert_checking=1ac_checking=ac_fold_checking=ac_gc_checking=ac_gc_always_collect=ac_rtl_checking=ac_rtlflag_checking=ac_runtime_checking=1ac_tree_checking=ac_valgrind_checking=IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS,"for check in $ac_checking_flagsdocase $check in# these set all the flags to specific statesyes) ac_assert_checking=1 ; ac_checking=1 ;ac_fold_checking= ; ac_gc_checking=1 ;ac_gc_always_collect= ; ac_rtl_checking= ;ac_rtlflag_checking=1 ; ac_runtime_checking=1 ;ac_tree_checking=1 ; ac_valgrind_checking= ;;no|none) ac_assert_checking= ; ac_checking= ;ac_fold_checking= ; ac_gc_checking= ;ac_gc_always_collect= ; ac_rtl_checking= ;ac_rtlflag_checking= ; ac_runtime_checking= ;ac_tree_checking= ; ac_valgrind_checking= ;;all) ac_assert_checking=1 ; ac_checking=1 ;ac_fold_checking=1 ; ac_gc_checking=1 ;ac_gc_always_collect=1 ; ac_rtl_checking=1 ;ac_rtlflag_checking=1 ; ac_runtime_checking=1 ;ac_tree_checking=1 ; ac_valgrind_checking= ;;release) ac_assert_checking=1 ; ac_checking= ;ac_fold_checking= ; ac_gc_checking= ;ac_gc_always_collect= ; ac_rtl_checking= ;ac_rtlflag_checking= ; ac_runtime_checking=1 ;ac_tree_checking= ; ac_valgrind_checking= ;;# these enable particular checksassert) ac_assert_checking=1 ;;fold) ac_fold_checking=1 ;;gc) ac_gc_checking=1 ;;gcac) ac_gc_always_collect=1 ;;misc) ac_checking=1 ;;rtl) ac_rtl_checking=1 ;;rtlflag) ac_rtlflag_checking=1 ;;runtime) ac_runtime_checking=1 ;;tree) ac_tree_checking=1 ;;valgrind) ac_valgrind_checking=1 ;;*) { { echo "$as_me:$LINENO: error: unknown check category $check" >&5echo "$as_me: error: unknown check category $check" >&2;}{ (exit 1); exit 1; }; } ;;esacdoneIFS="$ac_save_IFS"nocommon_flag=""if test x$ac_checking != x ; thencat >>confdefs.h <<\_ACEOF#define ENABLE_CHECKING 1_ACEOFnocommon_flag=-fno-commonfiif test x$ac_assert_checking != x ; thencat >>confdefs.h <<\_ACEOF#define ENABLE_ASSERT_CHECKING 1_ACEOFfiif test x$ac_runtime_checking != x ; thencat >>confdefs.h <<\_ACEOF#define ENABLE_RUNTIME_CHECKING 1_ACEOFfiif test x$ac_tree_checking != x ; thencat >>confdefs.h <<\_ACEOF#define ENABLE_TREE_CHECKING 1_ACEOFTREEBROWSER=tree-browser.ofiif test x$ac_rtl_checking != x ; thencat >>confdefs.h <<\_ACEOF#define ENABLE_RTL_CHECKING 1_ACEOFfiif test x$ac_rtlflag_checking != x ; thencat >>confdefs.h <<\_ACEOF#define ENABLE_RTL_FLAG_CHECKING 1_ACEOFfiif test x$ac_gc_checking != x ; thencat >>confdefs.h <<\_ACEOF#define ENABLE_GC_CHECKING 1_ACEOFfiif test x$ac_gc_always_collect != x ; thencat >>confdefs.h <<\_ACEOF#define ENABLE_GC_ALWAYS_COLLECT 1_ACEOFfiif test x$ac_fold_checking != x ; thencat >>confdefs.h <<\_ACEOF#define ENABLE_FOLD_CHECKING 1_ACEOFfivalgrind_path_defines=valgrind_command=if test "${ac_cv_header_valgrind_h+set}" = set; thenecho "$as_me:$LINENO: checking for valgrind.h" >&5echo $ECHO_N "checking for valgrind.h... $ECHO_C" >&6if test "${ac_cv_header_valgrind_h+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6fiecho "$as_me:$LINENO: result: $ac_cv_header_valgrind_h" >&5echo "${ECHO_T}$ac_cv_header_valgrind_h" >&6else# Is the header compilable?echo "$as_me:$LINENO: checking valgrind.h usability" >&5echo $ECHO_N "checking valgrind.h usability... $ECHO_C" >&6cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_default#include <valgrind.h>_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_header_compiler=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_header_compiler=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extecho "$as_me:$LINENO: result: $ac_header_compiler" >&5echo "${ECHO_T}$ac_header_compiler" >&6# Is the header present?echo "$as_me:$LINENO: checking valgrind.h presence" >&5echo $ECHO_N "checking valgrind.h presence... $ECHO_C" >&6cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <valgrind.h>_ACEOFif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } >/dev/null; thenif test -s conftest.err; thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yesfiif test -z "$ac_cpp_err"; thenac_header_preproc=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_header_preproc=nofirm -f conftest.err conftest.$ac_extecho "$as_me:$LINENO: result: $ac_header_preproc" >&5echo "${ECHO_T}$ac_header_preproc" >&6# So? What about this header?case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag inyes:no: ){ echo "$as_me:$LINENO: WARNING: valgrind.h: accepted by the compiler, rejected by the preprocessor!" >&5echo "$as_me: WARNING: valgrind.h: accepted by the compiler, rejected by the preprocessor!" >&2;}{ echo "$as_me:$LINENO: WARNING: valgrind.h: proceeding with the compiler's result" >&5echo "$as_me: WARNING: valgrind.h: proceeding with the compiler's result" >&2;}ac_header_preproc=yes;;no:yes:* ){ echo "$as_me:$LINENO: WARNING: valgrind.h: present but cannot be compiled" >&5echo "$as_me: WARNING: valgrind.h: present but cannot be compiled" >&2;}{ echo "$as_me:$LINENO: WARNING: valgrind.h: check for missing prerequisite headers?" >&5echo "$as_me: WARNING: valgrind.h: check for missing prerequisite headers?" >&2;}{ echo "$as_me:$LINENO: WARNING: valgrind.h: see the Autoconf documentation" >&5echo "$as_me: WARNING: valgrind.h: see the Autoconf documentation" >&2;}{ echo "$as_me:$LINENO: WARNING: valgrind.h: section \"Present But Cannot Be Compiled\"" >&5echo "$as_me: WARNING: valgrind.h: section \"Present But Cannot Be Compiled\"" >&2;}{ echo "$as_me:$LINENO: WARNING: valgrind.h: proceeding with the preprocessor's result" >&5echo "$as_me: WARNING: valgrind.h: proceeding with the preprocessor's result" >&2;}{ echo "$as_me:$LINENO: WARNING: valgrind.h: in the future, the compiler will take precedence" >&5echo "$as_me: WARNING: valgrind.h: in the future, the compiler will take precedence" >&2;}(cat <<\_ASBOX## ------------------------------------------ #### Report this to the AC_PACKAGE_NAME lists. #### ------------------------------------------ ##_ASBOX) |sed "s/^/$as_me: WARNING: /" >&2;;esacecho "$as_me:$LINENO: checking for valgrind.h" >&5echo $ECHO_N "checking for valgrind.h... $ECHO_C" >&6if test "${ac_cv_header_valgrind_h+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseac_cv_header_valgrind_h=$ac_header_preprocfiecho "$as_me:$LINENO: result: $ac_cv_header_valgrind_h" >&5echo "${ECHO_T}$ac_cv_header_valgrind_h" >&6fiif test $ac_cv_header_valgrind_h = yes; thenhave_valgrind_h=yeselsehave_valgrind_h=nofiif test x$ac_valgrind_checking != x ; then# It is certainly possible that there's valgrind but no valgrind.h.# GCC relies on making annotations so we must have both.echo "$as_me:$LINENO: checking for VALGRIND_DISCARD in <valgrind/memcheck.h>" >&5echo $ECHO_N "checking for VALGRIND_DISCARD in <valgrind/memcheck.h>... $ECHO_C" >&6cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <valgrind/memcheck.h>#ifndef VALGRIND_DISCARD#error VALGRIND_DISCARD not defined#endif_ACEOFif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } >/dev/null; thenif test -s conftest.err; thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yesfiif test -z "$ac_cpp_err"; thengcc_cv_header_valgrind_memcheck_h=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5gcc_cv_header_valgrind_memcheck_h=nofirm -f conftest.err conftest.$ac_extecho "$as_me:$LINENO: result: $gcc_cv_header_valgrind_memcheck_h" >&5echo "${ECHO_T}$gcc_cv_header_valgrind_memcheck_h" >&6echo "$as_me:$LINENO: checking for VALGRIND_DISCARD in <memcheck.h>" >&5echo $ECHO_N "checking for VALGRIND_DISCARD in <memcheck.h>... $ECHO_C" >&6cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <memcheck.h>#ifndef VALGRIND_DISCARD#error VALGRIND_DISCARD not defined#endif_ACEOFif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } >/dev/null; thenif test -s conftest.err; thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yesfiif test -z "$ac_cpp_err"; thengcc_cv_header_memcheck_h=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5gcc_cv_header_memcheck_h=nofirm -f conftest.err conftest.$ac_extecho "$as_me:$LINENO: result: $gcc_cv_header_memcheck_h" >&5echo "${ECHO_T}$gcc_cv_header_memcheck_h" >&6# Prepare PATH_SEPARATOR.# The user is always right.if test "${PATH_SEPARATOR+set}" != set; thenecho "#! /bin/sh" >conf$$.shecho "exit 0" >>conf$$.shchmod +x conf$$.shif (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; thenPATH_SEPARATOR=';'elsePATH_SEPARATOR=:firm -f conf$$.shfi# Find out how to test for executable files. Don't use a zero-byte file,# as systems may use methods other than mode bits to determine executability.cat >conf$$.file <<_ASEOF#! /bin/shexit 0_ASEOFchmod +x conf$$.fileif test -x conf$$.file >/dev/null 2>&1; thenac_executable_p="test -x"elseac_executable_p="test -f"firm -f conf$$.file# Extract the first word of "valgrind", so it can be a program name with args.set dummy valgrind; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_path_valgrind_path+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecase "$valgrind_path" in[\\/]* | ?:[\\/]*)ac_cv_path_valgrind_path="$valgrind_path" # Let the user override the test with a path.;;*)ac_save_IFS="$IFS"; IFS=$PATH_SEPARATORfor ac_dir in $PATH; doIFS="$ac_save_IFS"test -z "$ac_dir" && ac_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; thenif $ac_dir/$ac_word --version | grep valgrind- >/dev/null 2>&1; thenac_cv_path_valgrind_path="$ac_dir/$ac_word$ac_exec_ext"break 2fifidonedoneIFS="$ac_save_IFS";;esacfivalgrind_path="$ac_cv_path_valgrind_path"if test -n "$valgrind_path"; thenecho "$as_me:$LINENO: result: $valgrind_path" >&5echo "${ECHO_T}$valgrind_path" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fiif test "x$valgrind_path" = "x" \|| (test $have_valgrind_h = no \&& test $gcc_cv_header_memcheck_h = no \&& test $gcc_cv_header_valgrind_memcheck_h = no); then{ { echo "$as_me:$LINENO: error: *** Can't find both valgrind and valgrind/memcheck.h, memcheck.h or valgrind.h" >&5echo "$as_me: error: *** Can't find both valgrind and valgrind/memcheck.h, memcheck.h or valgrind.h" >&2;}{ (exit 1); exit 1; }; }fivalgrind_path_defines=-DVALGRIND_PATH='\"'$valgrind_path'\"'valgrind_command="$valgrind_path -q"cat >>confdefs.h <<\_ACEOF#define ENABLE_VALGRIND_CHECKING 1_ACEOFif test $gcc_cv_header_valgrind_memcheck_h = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_VALGRIND_MEMCHECK_H 1_ACEOFfiif test $gcc_cv_header_memcheck_h = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_MEMCHECK_H 1_ACEOFfifi# Check whether --enable-mapped-location or --disable-mapped-location was given.if test "${enable_mapped_location+set}" = set; thenenableval="$enable_mapped_location"elseenable_mapped_location=nofi;if test "$enable_mapped_location" = yes ; thencat >>confdefs.h <<\_ACEOF#define USE_MAPPED_LOCATION 1_ACEOFfi# Enable code coverage collection# Check whether --enable-coverage or --disable-coverage was given.if test "${enable_coverage+set}" = set; thenenableval="$enable_coverage"case "${enableval}" inyes|noopt)coverage_flags="-fprofile-arcs -ftest-coverage -frandom-seed=\$@ -O0";;opt)coverage_flags="-fprofile-arcs -ftest-coverage -frandom-seed=\$@ -O2";;no)# a.k.a. --disable-coveragecoverage_flags="";;*){ { echo "$as_me:$LINENO: error: unknown coverage setting $enableval" >&5echo "$as_me: error: unknown coverage setting $enableval" >&2;}{ (exit 1); exit 1; }; };;esacelsecoverage_flags=""fi;# Check whether --enable-gather-detailed-mem-stats or --disable-gather-detailed-mem-stats was given.if test "${enable_gather_detailed_mem_stats+set}" = set; thenenableval="$enable_gather_detailed_mem_stats"elseenable_gather_detailed_mem_stats=nofi;if test x$enable_gather_detailed_mem_stats = xyes ; thencat >>confdefs.h <<\_ACEOF#define GATHER_STATISTICS 1_ACEOFfi# -------------------------------# Miscenalleous configure options# -------------------------------# With stabs# Check whether --with-stabs or --without-stabs was given.if test "${with_stabs+set}" = set; thenwithval="$with_stabs"stabs="$with_stabs"elsestabs=nofi;# Determine whether or not multilibs are enabled.# Check whether --enable-multilib or --disable-multilib was given.if test "${enable_multilib+set}" = set; thenenableval="$enable_multilib"elseenable_multilib=yesfi;# Enable __cxa_atexit for C++.# Check whether --enable-__cxa_atexit or --disable-__cxa_atexit was given.if test "${enable___cxa_atexit+set}" = set; thenenableval="$enable___cxa_atexit"fi;# Enable C extension for decimal float if target supports it.# Check whether --enable-decimal-float or --disable-decimal-float was given.if test "${enable_decimal_float+set}" = set; thenenableval="$enable_decimal_float"if test x$enablevar = xyes ; thencase $target inpowerpc*-*-linux* | i?86*-*-linux*)enable_decimal_float=yes;;*){ echo "$as_me:$LINENO: WARNING: decimal float is not supported for this target" >&5echo "$as_me: WARNING: decimal float is not supported for this target" >&2;}enable_decimal_float=no;;esacfielseenable_decimal_float=nofi;dfp=`if test $enable_decimal_float = yes; then echo 1; else echo 0; fi`cat >>confdefs.h <<_ACEOF#define ENABLE_DECIMAL_FLOAT $dfp_ACEOF# Enable threads# Pass with no value to take the default# Pass with a value to specify a thread package# Check whether --enable-threads or --disable-threads was given.if test "${enable_threads+set}" = set; thenenableval="$enable_threads"elseenable_threads=''fi;# Check whether --enable-tls or --disable-tls was given.if test "${enable_tls+set}" = set; thenenableval="$enable_tls"case $enable_tls inyes | no) ;;*) { { echo "$as_me:$LINENO: error: '$enable_tls' is an invalid value for --enable-tls.Valid choices are 'yes' and 'no'." >&5echo "$as_me: error: '$enable_tls' is an invalid value for --enable-tls.Valid choices are 'yes' and 'no'." >&2;}{ (exit 1); exit 1; }; } ;;esacelseenable_tls=''fi;# Check whether --enable-objc-gc or --disable-objc-gc was given.if test "${enable_objc_gc+set}" = set; thenenableval="$enable_objc_gc"if test x$enable_objc_gc = xno; thenobjc_boehm_gc=''elseobjc_boehm_gc=1fielseobjc_boehm_gc=''fi;# Check whether --with-dwarf2 or --without-dwarf2 was given.if test "${with_dwarf2+set}" = set; thenwithval="$with_dwarf2"dwarf2="$with_dwarf2"elsedwarf2=nofi;# Check whether --enable-shared or --disable-shared was given.if test "${enable_shared+set}" = set; thenenableval="$enable_shared"case $enable_shared inyes | no) ;;*)enable_shared=noIFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"for pkg in $enableval; doif test "X$pkg" = "Xgcc" || test "X$pkg" = "Xlibgcc"; thenenable_shared=yesfidoneIFS="$ac_save_ifs";;esacelseenable_shared=yesfi;# Check whether --with-build-sysroot or --without-build-sysroot was given.if test "${with_build_sysroot+set}" = set; thenwithval="$with_build_sysroot"fi;# Check whether --with-sysroot or --without-sysroot was given.if test "${with_sysroot+set}" = set; thenwithval="$with_sysroot"case ${with_sysroot} inyes) TARGET_SYSTEM_ROOT='${exec_prefix}/${target_noncanonical}/sys-root' ;;*) TARGET_SYSTEM_ROOT=$with_sysroot ;;esacTARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'CROSS_SYSTEM_HEADER_DIR='$(TARGET_SYSTEM_ROOT)$(NATIVE_SYSTEM_HEADER_DIR)'if test "x$exec_prefix" = xNONE; thenif test "x$prefix" = xNONE; thentest_prefix=/usr/localelsetest_prefix=$prefixfielsetest_prefix=$exec_prefixficase ${TARGET_SYSTEM_ROOT} in"${test_prefix}"|"${test_prefix}/"*|\'${exec_prefix}'|'${exec_prefix}/'*)t="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"TARGET_SYSTEM_ROOT_DEFINE="$t";;esacelseTARGET_SYSTEM_ROOT=TARGET_SYSTEM_ROOT_DEFINE=CROSS_SYSTEM_HEADER_DIR='$(gcc_tooldir)/sys-include'fi;# Build with intermodule optimisations# Check whether --enable-intermodule or --disable-intermodule was given.if test "${enable_intermodule+set}" = set; thenenableval="$enable_intermodule"case ${enable_intermodule} inyes) onestep="-onestep";;*) onestep="";;esacelseonestep=""fi;# Sanity check enable_languages in case someone does not run the toplevel# configure # script.# Check whether --enable-languages or --disable-languages was given.if test "${enable_languages+set}" = set; thenenableval="$enable_languages"case ,${enable_languages}, in,,|,yes,)# go safe -- we cannot be much sure without the toplevel# configure's# analysis of which target libs are present and usableenable_languages=c;;*,all,*){ { echo "$as_me:$LINENO: error: only the toplevel supports --enable-languages=all" >&5echo "$as_me: error: only the toplevel supports --enable-languages=all" >&2;}{ (exit 1); exit 1; }; };;*,c,*);;*)enable_languages=c,${enable_languages};;esacelseenable_languages=cfi;# Used by documentation targets# -------------------------# Checks for other programs# -------------------------echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.make <<\_ACEOFall:@echo 'ac_maketemp="$(MAKE)"'_ACEOF# GNU make sometimes prints "make[1]: Entering...", which would confuse us.eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`if test -n "$ac_maketemp"; theneval ac_cv_prog_make_${ac_make}_set=yeselseeval ac_cv_prog_make_${ac_make}_set=nofirm -f conftest.makefiif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; thenecho "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6SET_MAKE=elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6SET_MAKE="MAKE=${MAKE-make}"fi# Find some useful toolsfor ac_prog in gawk mawk nawk awkdo# Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_AWK+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test -n "$AWK"; thenac_cv_prog_AWK="$AWK" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; thenac_cv_prog_AWK="$ac_prog"echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5break 2fidonedonefifiAWK=$ac_cv_prog_AWKif test -n "$AWK"; thenecho "$as_me:$LINENO: result: $AWK" >&5echo "${ECHO_T}$AWK" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fitest -n "$AWK" && breakdone# We need awk to create options.c and options.h.# Bail out if it's missing.case ${AWK} in"") { { echo "$as_me:$LINENO: error: can't build without awk, bailing out" >&5echo "$as_me: error: can't build without awk, bailing out" >&2;}{ (exit 1); exit 1; }; } ;;esacecho "$as_me:$LINENO: checking whether ln -s works" >&5echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6if test "${gcc_cv_prog_LN_S+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elserm -f conftestdata_techo >conftestdata_fif ln -s conftestdata_f conftestdata_t 2>/dev/nullthengcc_cv_prog_LN_S="ln -s"elseif ln conftestdata_f conftestdata_t 2>/dev/nullthengcc_cv_prog_LN_S=lnelseif cp -p conftestdata_f conftestdata_t 2>/dev/nullthengcc_cv_prog_LN_S="cp -p"elsegcc_cv_prog_LN_S=cpfififirm -f conftestdata_f conftestdata_tfiLN_S="$gcc_cv_prog_LN_S"if test "$gcc_cv_prog_LN_S" = "ln -s"; thenecho "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6elseif test "$gcc_cv_prog_LN_S" = "ln"; thenecho "$as_me:$LINENO: result: no, using ln" >&5echo "${ECHO_T}no, using ln" >&6elseecho "$as_me:$LINENO: result: no, and neither does ln, so using $gcc_cv_prog_LN_S" >&5echo "${ECHO_T}no, and neither does ln, so using $gcc_cv_prog_LN_S" >&6fifiecho "$as_me:$LINENO: checking whether ln works" >&5echo $ECHO_N "checking whether ln works... $ECHO_C" >&6if test "${acx_cv_prog_LN+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elserm -f conftestdata_techo >conftestdata_fif ln conftestdata_f conftestdata_t 2>/dev/nullthenacx_cv_prog_LN=lnelseacx_cv_prog_LN=nofirm -f conftestdata_f conftestdata_tfiif test $acx_cv_prog_LN = no; thenLN="$LN_S"echo "$as_me:$LINENO: result: no, using $LN" >&5echo "${ECHO_T}no, using $LN" >&6elseLN="$acx_cv_prog_LN"echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6fiif test -n "$ac_tool_prefix"; then# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.set dummy ${ac_tool_prefix}ranlib; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_RANLIB+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test -n "$RANLIB"; thenac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; thenac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5break 2fidonedonefifiRANLIB=$ac_cv_prog_RANLIBif test -n "$RANLIB"; thenecho "$as_me:$LINENO: result: $RANLIB" >&5echo "${ECHO_T}$RANLIB" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$ac_cv_prog_RANLIB"; thenac_ct_RANLIB=$RANLIB# Extract the first word of "ranlib", so it can be a program name with args.set dummy ranlib; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test -n "$ac_ct_RANLIB"; thenac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; thenac_cv_prog_ac_ct_RANLIB="ranlib"echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5break 2fidonedonetest -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"fifiac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIBif test -n "$ac_ct_RANLIB"; thenecho "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5echo "${ECHO_T}$ac_ct_RANLIB" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fiRANLIB=$ac_ct_RANLIBelseRANLIB="$ac_cv_prog_RANLIB"ficase "${host}" in*-*-darwin*)# By default, the Darwin ranlib will not treat common symbols as# definitions when building the archive table of contents. Other# ranlibs do that; pass an option to the Darwin ranlib that makes# it behave similarly.ranlib_flags="-c";;*)ranlib_flags=""esac# Find a good install program. We prefer a C program (faster),# so one script is as good as another. But avoid the broken or# incompatible versions:# SysV /etc/install, /usr/sbin/install# SunOS /usr/etc/install# IRIX /sbin/install# AIX /bin/install# AFS /usr/afsws/bin/install, which mishandles nonexistent args# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"# ./install, which can be erroneously created by make from ./install.sh.echo "$as_me:$LINENO: checking for a BSD compatible install" >&5echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6if test -z "$INSTALL"; thenif test "${ac_cv_path_install+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseIFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"for ac_dir in $PATH; do# Account for people who put trailing slashes in PATH elements.case "$ac_dir/" in/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;*)# OSF1 and SCO ODT 3.0 have their own names for install.for ac_prog in ginstall scoinst install; doif test -f $ac_dir/$ac_prog; thenif test $ac_prog = install &&grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then# AIX install. It has an incompatible calling convention.# OSF/1 installbsd also uses dspmsg, but is usable.:elseac_cv_path_install="$ac_dir/$ac_prog -c"break 2fifidone;;esacdoneIFS="$ac_save_IFS"fiif test "${ac_cv_path_install+set}" = set; thenINSTALL="$ac_cv_path_install"else# As a last resort, use the slow shell script. We don't cache a# path for INSTALL within a source directory, because that will# break other packages using the cache if that directory is# removed, or if the path is relative.INSTALL="$ac_install_sh"fifiecho "$as_me:$LINENO: result: $INSTALL" >&5echo "${ECHO_T}$INSTALL" >&6# Use test -z because SunOS4 sh mishandles braces in ${var-val}.# It thinks the first close brace ends the variable substitution.test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'# See if cmp has --ignore-initial.echo "$as_me:$LINENO: checking for cmp's capabilities" >&5echo $ECHO_N "checking for cmp's capabilities... $ECHO_C" >&6if test "${gcc_cv_prog_cmp_skip+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseecho abfoo >t1echo cdfoo >t2gcc_cv_prog_cmp_skip=slowcompareif cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; thenif cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then:elsegcc_cv_prog_cmp_skip=gnucomparefifiif test $gcc_cv_prog_cmp_skip = slowcompare ; thenif cmp t1 t2 2 2 > /dev/null 2>&1; thenif cmp t1 t2 1 1 > /dev/null 2>&1; then:elsegcc_cv_prog_cmp_skip=fastcomparefififirm t1 t2fiecho "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6make_compare_target=$gcc_cv_prog_cmp_skip# See if we have the mktemp command.# Extract the first word of "mktemp", so it can be a program name with args.set dummy mktemp; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_have_mktemp_command+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test -n "$have_mktemp_command"; thenac_cv_prog_have_mktemp_command="$have_mktemp_command" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; thenac_cv_prog_have_mktemp_command="yes"echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5break 2fidonedonetest -z "$ac_cv_prog_have_mktemp_command" && ac_cv_prog_have_mktemp_command="no"fifihave_mktemp_command=$ac_cv_prog_have_mktemp_commandif test -n "$have_mktemp_command"; thenecho "$as_me:$LINENO: result: $have_mktemp_command" >&5echo "${ECHO_T}$have_mktemp_command" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fiMISSING="${CONFIG_SHELL-/bin/sh} $srcdir/../missing"# See if makeinfo has been installed and is modern enough# that we can use it.ac_executable_extensions="$build_exeext"# Extract the first word of "makeinfo", so it can be a program name with args.set dummy makeinfo; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_MAKEINFO+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test -n "$MAKEINFO"; thenac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; thenac_cv_prog_MAKEINFO="makeinfo"echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5break 2fidonedonefifiMAKEINFO=$ac_cv_prog_MAKEINFOif test -n "$MAKEINFO"; thenecho "$as_me:$LINENO: result: $MAKEINFO" >&5echo "${ECHO_T}$MAKEINFO" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fiif test -n "$MAKEINFO"; then# Found it, now check the version.echo "$as_me:$LINENO: checking for modern makeinfo" >&5echo $ECHO_N "checking for modern makeinfo... $ECHO_C" >&6if test "${gcc_cv_prog_makeinfo_modern+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseac_prog_version=`$MAKEINFO --version 2>&1 |sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`echo "configure:7654: version of makeinfo is $ac_prog_version" >&5case $ac_prog_version in'') gcc_cv_prog_makeinfo_modern=no;;4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)gcc_cv_prog_makeinfo_modern=yes;;*) gcc_cv_prog_makeinfo_modern=no;;esacfiecho "$as_me:$LINENO: result: $gcc_cv_prog_makeinfo_modern" >&5echo "${ECHO_T}$gcc_cv_prog_makeinfo_modern" >&6elsegcc_cv_prog_makeinfo_modern=nofiif test $gcc_cv_prog_makeinfo_modern = no; thenMAKEINFO="$MISSING makeinfo"{ echo "$as_me:$LINENO: WARNING:*** Makeinfo is missing or too old.*** Info documentation will not be built." >&5echo "$as_me: WARNING:*** Makeinfo is missing or too old.*** Info documentation will not be built." >&2;}BUILD_INFO=elseBUILD_INFO=infofi# Is pod2man recent enough to regenerate manpages?echo "$as_me:$LINENO: checking for recent Pod::Man" >&5echo $ECHO_N "checking for recent Pod::Man... $ECHO_C" >&6if (perl -e 'use 1.10 Pod::Man') >/dev/null 2>&1; thenecho "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6GENERATED_MANPAGES=generated-manpageselseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6GENERATED_MANPAGES=fi# How about lex?for ac_prog in flexdo# Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_FLEX+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test -n "$FLEX"; thenac_cv_prog_FLEX="$FLEX" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; thenac_cv_prog_FLEX="$ac_prog"echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5break 2fidonedonefifiFLEX=$ac_cv_prog_FLEXif test -n "$FLEX"; thenecho "$as_me:$LINENO: result: $FLEX" >&5echo "${ECHO_T}$FLEX" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fitest -n "$FLEX" && breakdonetest -n "$FLEX" || FLEX="$MISSING flex"# Bison?for ac_prog in bisondo# Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_BISON+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test -n "$BISON"; thenac_cv_prog_BISON="$BISON" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; thenac_cv_prog_BISON="$ac_prog"echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5break 2fidonedonefifiBISON=$ac_cv_prog_BISONif test -n "$BISON"; thenecho "$as_me:$LINENO: result: $BISON" >&5echo "${ECHO_T}$BISON" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fitest -n "$BISON" && breakdonetest -n "$BISON" || BISON="$MISSING bison"# Binutils are not build modules, unlike bison/flex/makeinfo. So we# check for build == host before using them.# NMif test x${build} = x${host} && test -f $srcdir/../binutils/nm.c \&& test -d ../binutils ; thenNM='$(objdir)/../binutils/nm-new'else# Extract the first word of "nm", so it can be a program name with args.set dummy nm; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_NM+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test -n "$NM"; thenac_cv_prog_NM="$NM" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; thenac_cv_prog_NM="nm"echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5break 2fidonedonetest -z "$ac_cv_prog_NM" && ac_cv_prog_NM="${CONFIG_SHELL-/bin/sh} ${srcdir}/../missing nm"fifiNM=$ac_cv_prog_NMif test -n "$NM"; thenecho "$as_me:$LINENO: result: $NM" >&5echo "${ECHO_T}$NM" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fifi# ARif test x${build} = x${host} && test -f $srcdir/../binutils/ar.c \&& test -d ../binutils ; thenAR='$(objdir)/../binutils/ar'else# Extract the first word of "ar", so it can be a program name with args.set dummy ar; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_AR+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test -n "$AR"; thenac_cv_prog_AR="$AR" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; thenac_cv_prog_AR="ar"echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5break 2fidonedonetest -z "$ac_cv_prog_AR" && ac_cv_prog_AR="${CONFIG_SHELL-/bin/sh} ${srcdir}/../missing ar"fifiAR=$ac_cv_prog_ARif test -n "$AR"; thenecho "$as_me:$LINENO: result: $AR" >&5echo "${ECHO_T}$AR" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fifi# --------------------# Checks for C headers# --------------------echo "$as_me:$LINENO: checking for GNU C library" >&5echo $ECHO_N "checking for GNU C library... $ECHO_C" >&6if test "${gcc_cv_glibc+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <features.h>intmain (){#if ! (defined __GLIBC__ || defined __GNU_LIBRARY__)#error Not a GNU C library system#endif;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thengcc_cv_glibc=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5gcc_cv_glibc=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $gcc_cv_glibc" >&5echo "${ECHO_T}$gcc_cv_glibc" >&6if test $gcc_cv_glibc = yes; thencat >>confdefs.h <<\_ACEOF#define _GNU_SOURCE 1_ACEOFfi# Need to reject headers which give warnings, so that the -Werror bootstrap# works later. *sigh* This needs to come before all header checks.ac_c_preproc_warn_flag=yesecho "$as_me:$LINENO: checking for ANSI C header files" >&5echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6if test "${ac_cv_header_stdc+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <stdlib.h>#include <stdarg.h>#include <string.h>#include <float.h>intmain (){;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_header_stdc=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_header_stdc=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extif test $ac_cv_header_stdc = yes; then# SunOS 4.x string.h does not declare mem*, contrary to ANSI.cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <string.h>_ACEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |$EGREP "memchr" >/dev/null 2>&1; then:elseac_cv_header_stdc=nofirm -f conftest*fiif test $ac_cv_header_stdc = yes; then# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <stdlib.h>_ACEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |$EGREP "free" >/dev/null 2>&1; then:elseac_cv_header_stdc=nofirm -f conftest*fiif test $ac_cv_header_stdc = yes; then# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.if test "$cross_compiling" = yes; then:elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <ctype.h>#if ((' ' & 0x0FF) == 0x020)# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))#else# define ISLOWER(c) \(('a' <= (c) && (c) <= 'i') \|| ('j' <= (c) && (c) <= 'r') \|| ('s' <= (c) && (c) <= 'z'))# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))#endif#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))intmain (){int i;for (i = 0; i < 256; i++)if (XOR (islower (i), ISLOWER (i))|| toupper (i) != TOUPPER (i))exit(2);exit (0);}_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } && { ac_try='./conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; then:elseecho "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5( exit $ac_status )ac_cv_header_stdc=nofirm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfififiecho "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5echo "${ECHO_T}$ac_cv_header_stdc" >&6if test $ac_cv_header_stdc = yes; thencat >>confdefs.h <<\_ACEOF#define STDC_HEADERS 1_ACEOFfiecho "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6if test "${ac_cv_header_time+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <sys/types.h>#include <sys/time.h>#include <time.h>intmain (){if ((struct tm *) 0)return 0;;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_header_time=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_header_time=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_header_time" >&5echo "${ECHO_T}$ac_cv_header_time" >&6if test $ac_cv_header_time = yes; thencat >>confdefs.h <<\_ACEOF#define TIME_WITH_SYS_TIME 1_ACEOFfiecho "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6if test "${gcc_cv_header_string+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <string.h>#include <strings.h>intmain (){;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thengcc_cv_header_string=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5gcc_cv_header_string=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $gcc_cv_header_string" >&5echo "${ECHO_T}$gcc_cv_header_string" >&6if test $gcc_cv_header_string = yes; thencat >>confdefs.h <<\_ACEOF#define STRING_WITH_STRINGS 1_ACEOFfiecho "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6if test "${ac_cv_header_sys_wait_h+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <sys/types.h>#include <sys/wait.h>#ifndef WEXITSTATUS# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)#endif#ifndef WIFEXITED# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)#endifintmain (){int s;wait (&s);s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_header_sys_wait_h=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_header_sys_wait_h=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6if test $ac_cv_header_sys_wait_h = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_SYS_WAIT_H 1_ACEOFfifor ac_header in limits.h stddef.h string.h strings.h stdlib.h time.h iconv.h \fcntl.h unistd.h sys/file.h sys/time.h sys/mman.h \sys/resource.h sys/param.h sys/times.h sys/stat.h \direct.h malloc.h langinfo.h ldfcn.h locale.h wchar.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:$LINENO: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <$ac_header>_ACEOFif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } >/dev/null; thenif test -s conftest.err; thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yesfiif test -z "$ac_cpp_err"; theneval "$as_ac_Header=yes"elseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; thencat >>confdefs.h <<_ACEOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1_ACEOFfidone# Check for thread headers.echo "$as_me:$LINENO: checking for thread.h" >&5echo $ECHO_N "checking for thread.h... $ECHO_C" >&6if test "${ac_cv_header_thread_h+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <thread.h>_ACEOFif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } >/dev/null; thenif test -s conftest.err; thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yesfiif test -z "$ac_cpp_err"; thenac_cv_header_thread_h=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_header_thread_h=nofirm -f conftest.err conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_header_thread_h" >&5echo "${ECHO_T}$ac_cv_header_thread_h" >&6if test $ac_cv_header_thread_h = yes; thenhave_thread_h=yeselsehave_thread_h=fiecho "$as_me:$LINENO: checking for pthread.h" >&5echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6if test "${ac_cv_header_pthread_h+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <pthread.h>_ACEOFif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } >/dev/null; thenif test -s conftest.err; thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yesfiif test -z "$ac_cpp_err"; thenac_cv_header_pthread_h=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_header_pthread_h=nofirm -f conftest.err conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5echo "${ECHO_T}$ac_cv_header_pthread_h" >&6if test $ac_cv_header_pthread_h = yes; thenhave_pthread_h=yeselsehave_pthread_h=fi# These tests can't be done till we know if we have limits.h.echo "$as_me:$LINENO: checking for CHAR_BIT" >&5echo $ECHO_N "checking for CHAR_BIT... $ECHO_C" >&6if test "${gcc_cv_decl_char_bit+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#ifdef HAVE_LIMITS_H#include <limits.h>#endif#ifdef CHAR_BITfound#endif_ACEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |$EGREP "found" >/dev/null 2>&1; thengcc_cv_decl_char_bit=yeselsegcc_cv_decl_char_bit=nofirm -f conftest*fiecho "$as_me:$LINENO: result: $gcc_cv_decl_char_bit" >&5echo "${ECHO_T}$gcc_cv_decl_char_bit" >&6if test $gcc_cv_decl_char_bit = no; thenecho "$as_me:$LINENO: checking number of bits in a byte" >&5echo $ECHO_N "checking number of bits in a byte... $ECHO_C" >&6if test "${gcc_cv_c_nbby+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsei=8gcc_cv_c_nbby=while test $i -lt 65; docat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */intmain (){switch(0) {case (unsigned char)((unsigned long)1 << $i) == ((unsigned long)1 << $i):case (unsigned char)((unsigned long)1<<($i-1)) == ((unsigned long)1<<($i-1)):; };return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thengcc_cv_c_nbby=$i; breakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5firm -f conftest.err conftest.$ac_objext conftest.$ac_exti=`expr $i + 1`donetest -z "$gcc_cv_c_nbby" && gcc_cv_c_nbby=failedfiecho "$as_me:$LINENO: result: $gcc_cv_c_nbby" >&5echo "${ECHO_T}$gcc_cv_c_nbby" >&6if test $gcc_cv_c_nbby = failed; then{ { echo "$as_me:$LINENO: error: cannot determine number of bits in a byte" >&5echo "$as_me: error: cannot determine number of bits in a byte" >&2;}{ (exit 1); exit 1; }; }elsecat >>confdefs.h <<_ACEOF#define CHAR_BIT $gcc_cv_c_nbby_ACEOFfifiecho "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6if test "${ac_cv_c_bigendian+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6else# See if sys/param.h defines the BYTE_ORDER macro.cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <sys/types.h>#include <sys/param.h>intmain (){#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIANbogus endian macros#endif;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; then# It does; now see whether it defined to BIG_ENDIAN or not.cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <sys/types.h>#include <sys/param.h>intmain (){#if BYTE_ORDER != BIG_ENDIANnot big endian#endif;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_c_bigendian=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_c_bigendian=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5# It does not; compile a test program.if test "$cross_compiling" = yes; then# try to guess the endianness by grepping values into an object fileac_cv_c_bigendian=unknowncat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }intmain (){_ascii (); _ebcdic ();;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenif grep BIGenDianSyS conftest.$ac_objext >/dev/null ; thenac_cv_c_bigendian=yesfiif grep LiTTleEnDian conftest.$ac_objext >/dev/null ; thenif test "$ac_cv_c_bigendian" = unknown; thenac_cv_c_bigendian=noelse# finding both strings is unlikely to happen, but who knows?ac_cv_c_bigendian=unknownfifielseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5firm -f conftest.err conftest.$ac_objext conftest.$ac_extelsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */intmain (){/* Are we little or big endian? From Harbison&Steele. */union{long l;char c[sizeof (long)];} u;u.l = 1;exit (u.c[sizeof (long) - 1] == 1);}_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } && { ac_try='./conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_c_bigendian=noelseecho "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5( exit $ac_status )ac_cv_c_bigendian=yesfirm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfifirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5echo "${ECHO_T}$ac_cv_c_bigendian" >&6case $ac_cv_c_bigendian inyes)cat >>confdefs.h <<\_ACEOF#define WORDS_BIGENDIAN 1_ACEOF;;no);;*){ { echo "$as_me:$LINENO: error: unknown endiannesspresetting ac_cv_c_bigendian=no (or yes) will help" >&5echo "$as_me: error: unknown endiannesspresetting ac_cv_c_bigendian=no (or yes) will help" >&2;}{ (exit 1); exit 1; }; } ;;esac# --------# UNSORTED# --------# Stage specific cflags for build.stage1_cflags=case $build invax-*-*)if test x$GCC = xyesthenstage1_cflags="-Wa,-J"elsestage1_cflags="-J"fi;;esac# These libraries may be used by collect2.# We may need a special search path to get them linked.echo "$as_me:$LINENO: checking for collect2 libraries" >&5echo $ECHO_N "checking for collect2 libraries... $ECHO_C" >&6if test "${gcc_cv_collect2_libs+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsesave_LIBS="$LIBS"for libs in '' -lld -lmld \'-L/usr/lib/cmplrs/cc2.11 -lmld' \'-L/usr/lib/cmplrs/cc3.11 -lmld'doLIBS="$libs"cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2builtin and then its argument prototype would still apply. */char ldopen ();intmain (){ldopen ();;return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thengcc_cv_collect2_libs="$libs"; breakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5firm -f conftest.err conftest.$ac_objext \conftest$ac_exeext conftest.$ac_extdoneLIBS="$save_LIBS"test -z "$gcc_cv_collect2_libs" && gcc_cv_collect2_libs='none required'fiecho "$as_me:$LINENO: result: $gcc_cv_collect2_libs" >&5echo "${ECHO_T}$gcc_cv_collect2_libs" >&6case $gcc_cv_collect2_libs in"none required") ;;*) COLLECT2_LIBS=$gcc_cv_collect2_libs ;;esac# When building Ada code on Alpha, we need exc_resume which is usually in# -lexc. So test for it.save_LIBS="$LIBS"LIBS=echo "$as_me:$LINENO: checking for library containing exc_resume" >&5echo $ECHO_N "checking for library containing exc_resume... $ECHO_C" >&6if test "${ac_cv_search_exc_resume+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseac_func_search_save_LIBS=$LIBSac_cv_search_exc_resume=nocat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2builtin and then its argument prototype would still apply. */char exc_resume ();intmain (){exc_resume ();;return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_search_exc_resume="none required"elseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5firm -f conftest.err conftest.$ac_objext \conftest$ac_exeext conftest.$ac_extif test "$ac_cv_search_exc_resume" = no; thenfor ac_lib in exc; doLIBS="-l$ac_lib $ac_func_search_save_LIBS"cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2builtin and then its argument prototype would still apply. */char exc_resume ();intmain (){exc_resume ();;return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_search_exc_resume="-l$ac_lib"breakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5firm -f conftest.err conftest.$ac_objext \conftest$ac_exeext conftest.$ac_extdonefiLIBS=$ac_func_search_save_LIBSfiecho "$as_me:$LINENO: result: $ac_cv_search_exc_resume" >&5echo "${ECHO_T}$ac_cv_search_exc_resume" >&6if test "$ac_cv_search_exc_resume" != no; thentest "$ac_cv_search_exc_resume" = "none required" || LIBS="$ac_cv_search_exc_resume $LIBS"fiGNAT_LIBEXC="$LIBS"LIBS="$save_LIBS"# Some systems put ldexp and frexp in libm instead of libc; assume# they're both in the same place. jcf-dump needs them.save_LIBS="$LIBS"LIBS=echo "$as_me:$LINENO: checking for library containing ldexp" >&5echo $ECHO_N "checking for library containing ldexp... $ECHO_C" >&6if test "${ac_cv_search_ldexp+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseac_func_search_save_LIBS=$LIBSac_cv_search_ldexp=nocat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2builtin and then its argument prototype would still apply. */char ldexp ();intmain (){ldexp ();;return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_search_ldexp="none required"elseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5firm -f conftest.err conftest.$ac_objext \conftest$ac_exeext conftest.$ac_extif test "$ac_cv_search_ldexp" = no; thenfor ac_lib in m; doLIBS="-l$ac_lib $ac_func_search_save_LIBS"cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2builtin and then its argument prototype would still apply. */char ldexp ();intmain (){ldexp ();;return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_search_ldexp="-l$ac_lib"breakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5firm -f conftest.err conftest.$ac_objext \conftest$ac_exeext conftest.$ac_extdonefiLIBS=$ac_func_search_save_LIBSfiecho "$as_me:$LINENO: result: $ac_cv_search_ldexp" >&5echo "${ECHO_T}$ac_cv_search_ldexp" >&6if test "$ac_cv_search_ldexp" != no; thentest "$ac_cv_search_ldexp" = "none required" || LIBS="$ac_cv_search_ldexp $LIBS"fiLDEXP_LIB="$LIBS"LIBS="$save_LIBS"# Use <inttypes.h> only if it exists,# doesn't clash with <sys/types.h>, and declares intmax_t.echo "$as_me:$LINENO: checking for inttypes.h" >&5echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6if test "${gcc_cv_header_inttypes_h+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <sys/types.h>#include <inttypes.h>intmain (){intmax_t i = -1;;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thengcc_cv_header_inttypes_h=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5gcc_cv_header_inttypes_h=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $gcc_cv_header_inttypes_h" >&5echo "${ECHO_T}$gcc_cv_header_inttypes_h" >&6if test $gcc_cv_header_inttypes_h = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_INTTYPES_H 1_ACEOFfifor ac_func in times clock kill getrlimit setrlimit atoll atoq \sysconf strsignal getrusage nl_langinfo scandir alphasort \gettimeofday mbstowcs wcswidth mmap mincore setlocale \clearerr_unlocked feof_unlocked ferror_unlocked fflush_unlocked fgetc_unlocked fgets_unlocked fileno_unlocked fprintf_unlocked fputc_unlocked fputs_unlocked fread_unlocked fwrite_unlocked getchar_unlocked getc_unlocked putchar_unlocked putc_unlockeddoas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`echo "$as_me:$LINENO: checking for $ac_func" >&5echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6if eval "test \"\${$as_ac_var+set}\" = set"; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. *//* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.For example, HP-UX 11i <limits.h> declares gettimeofday. */#define $ac_func innocuous_$ac_func/* System header to define __stub macros and hopefully few prototypes,which can conflict with char $ac_func (); below.Prefer <limits.h> to <assert.h> if __STDC__ is defined, since<limits.h> exists even on freestanding compilers. */#ifdef __STDC__# include <limits.h>#else# include <assert.h>#endif#undef $ac_func/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"{#endif/* We use char because int might match the return type of a gcc2builtin and then its argument prototype would still apply. */char $ac_func ();/* The GNU C library defines this for functions which it implementsto always fail with ENOSYS. Some functions are actually namedsomething starting with __ and the normal name is an alias. */#if defined (__stub_$ac_func) || defined (__stub___$ac_func)choke me#elsechar (*f) () = $ac_func;#endif#ifdef __cplusplus}#endifintmain (){return f != $ac_func;;return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; theneval "$as_ac_var=yes"elseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5eval "$as_ac_var=no"firm -f conftest.err conftest.$ac_objext \conftest$ac_exeext conftest.$ac_extfiecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6if test `eval echo '${'$as_ac_var'}'` = yes; thencat >>confdefs.h <<_ACEOF#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1_ACEOFfidoneif test x$ac_cv_func_mbstowcs = xyes; thenecho "$as_me:$LINENO: checking whether mbstowcs works" >&5echo $ECHO_N "checking whether mbstowcs works... $ECHO_C" >&6if test "${gcc_cv_func_mbstowcs_works+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test "$cross_compiling" = yes; thengcc_cv_func_mbstowcs_works=yeselsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <stdlib.h>int main(){mbstowcs(0, "", 0);return 0;}_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } && { ac_try='./conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thengcc_cv_func_mbstowcs_works=yeselseecho "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5( exit $ac_status )gcc_cv_func_mbstowcs_works=nofirm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfifiecho "$as_me:$LINENO: result: $gcc_cv_func_mbstowcs_works" >&5echo "${ECHO_T}$gcc_cv_func_mbstowcs_works" >&6if test x$gcc_cv_func_mbstowcs_works = xyes; thencat >>confdefs.h <<\_ACEOF#define HAVE_WORKING_MBSTOWCS 1_ACEOFfifiecho "$as_me:$LINENO: checking for ssize_t" >&5echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6if test "${ac_cv_type_ssize_t+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){if ((ssize_t *) 0)return 0;if (sizeof (ssize_t))return 0;;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_type_ssize_t=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_type_ssize_t=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5echo "${ECHO_T}$ac_cv_type_ssize_t" >&6if test $ac_cv_type_ssize_t = yes; then:elsecat >>confdefs.h <<_ACEOF#define ssize_t int_ACEOFfi# Try to determine the array type of the second argument of getgroups# for the target system (int or gid_t).echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6if test "${ac_cv_type_uid_t+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <sys/types.h>_ACEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |$EGREP "uid_t" >/dev/null 2>&1; thenac_cv_type_uid_t=yeselseac_cv_type_uid_t=nofirm -f conftest*fiecho "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5echo "${ECHO_T}$ac_cv_type_uid_t" >&6if test $ac_cv_type_uid_t = no; thencat >>confdefs.h <<\_ACEOF#define uid_t int_ACEOFcat >>confdefs.h <<\_ACEOF#define gid_t int_ACEOFfiecho "$as_me:$LINENO: checking type of array argument to getgroups" >&5echo $ECHO_N "checking type of array argument to getgroups... $ECHO_C" >&6if test "${ac_cv_type_getgroups+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test "$cross_compiling" = yes; thenac_cv_type_getgroups=crosselsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. *//* Thanks to Mike Rendell for this test. */#include <sys/types.h>#define NGID 256#undef MAX#define MAX(x, y) ((x) > (y) ? (x) : (y))intmain (){gid_t gidset[NGID];int i, n;union { gid_t gval; long lval; } val;val.lval = -1;for (i = 0; i < NGID; i++)gidset[i] = val.gval;n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,gidset);/* Exit non-zero if getgroups seems to require an array of ints. Thishappens when gid_t is short but getgroups modifies an array of ints. */exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);}_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } && { ac_try='./conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_type_getgroups=gid_telseecho "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5( exit $ac_status )ac_cv_type_getgroups=intfirm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfiif test $ac_cv_type_getgroups = cross; thencat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <unistd.h>_ACEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |$EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; thenac_cv_type_getgroups=gid_telseac_cv_type_getgroups=intfirm -f conftest*fifiecho "$as_me:$LINENO: result: $ac_cv_type_getgroups" >&5echo "${ECHO_T}$ac_cv_type_getgroups" >&6cat >>confdefs.h <<_ACEOF#define GETGROUPS_T $ac_cv_type_getgroups_ACEOFif test "${target}" = "${build}"; thenTARGET_GETGROUPS_T=$ac_cv_type_getgroupselsecase "${target}" in# This condition may need some tweaking. It should include all# targets where the array type of the second argument of getgroups# is int and the type of gid_t is not equivalent to int.*-*-sunos* | *-*-ultrix*)TARGET_GETGROUPS_T=int;;*)TARGET_GETGROUPS_T=gid_t;;esacfiecho "$as_me:$LINENO: checking for sys/mman.h" >&5echo $ECHO_N "checking for sys/mman.h... $ECHO_C" >&6if test "${ac_cv_header_sys_mman_h+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <sys/mman.h>_ACEOFif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } >/dev/null; thenif test -s conftest.err; thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yesfiif test -z "$ac_cpp_err"; thenac_cv_header_sys_mman_h=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_header_sys_mman_h=nofirm -f conftest.err conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5echo "${ECHO_T}$ac_cv_header_sys_mman_h" >&6if test $ac_cv_header_sys_mman_h = yes; thengcc_header_sys_mman_h=yeselsegcc_header_sys_mman_h=nofiecho "$as_me:$LINENO: checking for mmap" >&5echo $ECHO_N "checking for mmap... $ECHO_C" >&6if test "${ac_cv_func_mmap+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. *//* Define mmap to an innocuous variant, in case <limits.h> declares mmap.For example, HP-UX 11i <limits.h> declares gettimeofday. */#define mmap innocuous_mmap/* System header to define __stub macros and hopefully few prototypes,which can conflict with char mmap (); below.Prefer <limits.h> to <assert.h> if __STDC__ is defined, since<limits.h> exists even on freestanding compilers. */#ifdef __STDC__# include <limits.h>#else# include <assert.h>#endif#undef mmap/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"{#endif/* We use char because int might match the return type of a gcc2builtin and then its argument prototype would still apply. */char mmap ();/* The GNU C library defines this for functions which it implementsto always fail with ENOSYS. Some functions are actually namedsomething starting with __ and the normal name is an alias. */#if defined (__stub_mmap) || defined (__stub___mmap)choke me#elsechar (*f) () = mmap;#endif#ifdef __cplusplus}#endifintmain (){return f != mmap;;return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_func_mmap=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_func_mmap=nofirm -f conftest.err conftest.$ac_objext \conftest$ac_exeext conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5echo "${ECHO_T}$ac_cv_func_mmap" >&6if test $ac_cv_func_mmap = yes; thengcc_func_mmap=yeselsegcc_func_mmap=nofiif test "$gcc_header_sys_mman_h" != yes \|| test "$gcc_func_mmap" != yes; thengcc_cv_func_mmap_file=nogcc_cv_func_mmap_dev_zero=nogcc_cv_func_mmap_anon=noelseecho "$as_me:$LINENO: checking whether read-only mmap of a plain file works" >&5echo $ECHO_N "checking whether read-only mmap of a plain file works... $ECHO_C" >&6if test "${gcc_cv_func_mmap_file+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6else# Add a system to this blacklist if# mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a# memory area containing the same data that you'd get if you applied# read() to the same fd. The only system known to have a problem here# is VMS, where text files have record structure.case "$host_os" invms* | ultrix*)gcc_cv_func_mmap_file=no ;;*)gcc_cv_func_mmap_file=yes;;esacfiecho "$as_me:$LINENO: result: $gcc_cv_func_mmap_file" >&5echo "${ECHO_T}$gcc_cv_func_mmap_file" >&6echo "$as_me:$LINENO: checking whether mmap from /dev/zero works" >&5echo $ECHO_N "checking whether mmap from /dev/zero works... $ECHO_C" >&6if test "${gcc_cv_func_mmap_dev_zero+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6else# Add a system to this blacklist if it has mmap() but /dev/zero# does not exist, or if mmapping /dev/zero does not give anonymous# zeroed pages with both the following properties:# 1. If you map N consecutive pages in with one call, and then# unmap any subset of those pages, the pages that were not# explicitly unmapped remain accessible.# 2. If you map two adjacent blocks of memory and then unmap them# both at once, they must both go away.# Systems known to be in this category are Windows (all variants),# VMS, and Darwin.case "$host_os" invms* | cygwin* | pe | mingw* | darwin* | ultrix* | hpux10* | hpux11.00)gcc_cv_func_mmap_dev_zero=no ;;*)gcc_cv_func_mmap_dev_zero=yes;;esacfiecho "$as_me:$LINENO: result: $gcc_cv_func_mmap_dev_zero" >&5echo "${ECHO_T}$gcc_cv_func_mmap_dev_zero" >&6# Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.echo "$as_me:$LINENO: checking for MAP_ANON(YMOUS)" >&5echo $ECHO_N "checking for MAP_ANON(YMOUS)... $ECHO_C" >&6if test "${gcc_cv_decl_map_anon+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <sys/types.h>#include <sys/mman.h>#include <unistd.h>#ifndef MAP_ANONYMOUS#define MAP_ANONYMOUS MAP_ANON#endifintmain (){int n = MAP_ANONYMOUS;;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thengcc_cv_decl_map_anon=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5gcc_cv_decl_map_anon=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $gcc_cv_decl_map_anon" >&5echo "${ECHO_T}$gcc_cv_decl_map_anon" >&6if test $gcc_cv_decl_map_anon = no; thengcc_cv_func_mmap_anon=noelseecho "$as_me:$LINENO: checking whether mmap with MAP_ANON(YMOUS) works" >&5echo $ECHO_N "checking whether mmap with MAP_ANON(YMOUS) works... $ECHO_C" >&6if test "${gcc_cv_func_mmap_anon+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6else# Add a system to this blacklist if it has mmap() and MAP_ANON or# MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)# doesn't give anonymous zeroed pages with the same properties listed# above for use of /dev/zero.# Systems known to be in this category are Windows, VMS, and SCO Unix.case "$host_os" invms* | cygwin* | pe | mingw* | sco* | udk* )gcc_cv_func_mmap_anon=no ;;*)gcc_cv_func_mmap_anon=yes;;esacfiecho "$as_me:$LINENO: result: $gcc_cv_func_mmap_anon" >&5echo "${ECHO_T}$gcc_cv_func_mmap_anon" >&6fifiif test $gcc_cv_func_mmap_file = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_MMAP_FILE 1_ACEOFfiif test $gcc_cv_func_mmap_dev_zero = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_MMAP_DEV_ZERO 1_ACEOFfiif test $gcc_cv_func_mmap_anon = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_MMAP_ANON 1_ACEOFficase "${host}" in*-*-*vms*)# Under VMS, vfork works very differently than on Unix. The standard test# won't work, and it isn't easily adaptable. It makes more sense to# just force it.ac_cv_func_vfork_works=yes;;esacecho "$as_me:$LINENO: checking for pid_t" >&5echo $ECHO_N "checking for pid_t... $ECHO_C" >&6if test "${ac_cv_type_pid_t+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){if ((pid_t *) 0)return 0;if (sizeof (pid_t))return 0;;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_type_pid_t=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_type_pid_t=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5echo "${ECHO_T}$ac_cv_type_pid_t" >&6if test $ac_cv_type_pid_t = yes; then:elsecat >>confdefs.h <<_ACEOF#define pid_t int_ACEOFfifor ac_header in unistd.h vfork.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:$LINENO: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <$ac_header>_ACEOFif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } >/dev/null; thenif test -s conftest.err; thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yesfiif test -z "$ac_cpp_err"; theneval "$as_ac_Header=yes"elseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; thencat >>confdefs.h <<_ACEOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1_ACEOFfidonefor ac_func in fork vforkdoas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`echo "$as_me:$LINENO: checking for $ac_func" >&5echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6if eval "test \"\${$as_ac_var+set}\" = set"; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. *//* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.For example, HP-UX 11i <limits.h> declares gettimeofday. */#define $ac_func innocuous_$ac_func/* System header to define __stub macros and hopefully few prototypes,which can conflict with char $ac_func (); below.Prefer <limits.h> to <assert.h> if __STDC__ is defined, since<limits.h> exists even on freestanding compilers. */#ifdef __STDC__# include <limits.h>#else# include <assert.h>#endif#undef $ac_func/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"{#endif/* We use char because int might match the return type of a gcc2builtin and then its argument prototype would still apply. */char $ac_func ();/* The GNU C library defines this for functions which it implementsto always fail with ENOSYS. Some functions are actually namedsomething starting with __ and the normal name is an alias. */#if defined (__stub_$ac_func) || defined (__stub___$ac_func)choke me#elsechar (*f) () = $ac_func;#endif#ifdef __cplusplus}#endifintmain (){return f != $ac_func;;return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; theneval "$as_ac_var=yes"elseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5eval "$as_ac_var=no"firm -f conftest.err conftest.$ac_objext \conftest$ac_exeext conftest.$ac_extfiecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6if test `eval echo '${'$as_ac_var'}'` = yes; thencat >>confdefs.h <<_ACEOF#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1_ACEOFfidoneif test "x$ac_cv_func_fork" = xyes; thenecho "$as_me:$LINENO: checking for working fork" >&5echo $ECHO_N "checking for working fork... $ECHO_C" >&6if test "${ac_cv_func_fork_works+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test "$cross_compiling" = yes; thenac_cv_func_fork_works=crosselsecat >conftest.$ac_ext <<_ACEOF/* By Ruediger Kuhlmann. */#include <sys/types.h>#if HAVE_UNISTD_H# include <unistd.h>#endif/* Some systems only have a dummy stub for fork() */int main (){if (fork() < 0)exit (1);exit (0);}_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } && { ac_try='./conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_func_fork_works=yeselseecho "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5( exit $ac_status )ac_cv_func_fork_works=nofirm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfifiecho "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5echo "${ECHO_T}$ac_cv_func_fork_works" >&6elseac_cv_func_fork_works=$ac_cv_func_forkfiif test "x$ac_cv_func_fork_works" = xcross; thencase $host in*-*-amigaos* | *-*-msdosdjgpp*)# Override, as these systems have only a dummy fork() stubac_cv_func_fork_works=no;;*)ac_cv_func_fork_works=yes;;esac{ echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}fiac_cv_func_vfork_works=$ac_cv_func_vforkif test "x$ac_cv_func_vfork" = xyes; thenecho "$as_me:$LINENO: checking for working vfork" >&5echo $ECHO_N "checking for working vfork... $ECHO_C" >&6if test "${ac_cv_func_vfork_works+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test "$cross_compiling" = yes; thenac_cv_func_vfork_works=crosselsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. *//* Thanks to Paul Eggert for this test. */#include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <sys/stat.h>#include <sys/wait.h>#if HAVE_UNISTD_H# include <unistd.h>#endif#if HAVE_VFORK_H# include <vfork.h>#endif/* On some sparc systems, changes by the child to local and incomingargument registers are propagated back to the parent. The compileris told about this with #include <vfork.h>, but some compilers(e.g. gcc -O) don't grok <vfork.h>. Test for this by using astatic variable whose address is put into a register that isclobbered by the vfork. */static void#ifdef __cplusplussparc_address_test (int arg)# elsesparc_address_test (arg) int arg;#endif{static pid_t child;if (!child) {child = vfork ();if (child < 0) {perror ("vfork");_exit(2);}if (!child) {arg = getpid();write(-1, "", 0);_exit (arg);}}}intmain (){pid_t parent = getpid ();pid_t child;sparc_address_test (0);child = vfork ();if (child == 0) {/* Here is another test for sparc vfork register problems. Thistest uses lots of local variables, at least as many localvariables as main has allocated so far including compilertemporaries. 4 locals are enough for gcc 1.40.3 on a Solaris4.1.3 sparc, but we use 8 to be safe. A buggy compiler shouldreuse the register of parent for one of the local variables,since it will think that parent can't possibly be used any morein this routine. Assigning to the local variable will thusmunge parent in the parent process. */pid_tp = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();/* Convince the compiler that p..p7 are live; otherwise, it mightuse the same hardware register for all 8 local variables. */if (p != p1 || p != p2 || p != p3 || p != p4|| p != p5 || p != p6 || p != p7)_exit(1);/* On some systems (e.g. IRIX 3.3), vfork doesn't separate parentfrom child file descriptors. If the child closes a descriptorbefore it execs or exits, this munges the parent's descriptoras well. Test for this by closing stdout in the child. */_exit(close(fileno(stdout)) != 0);} else {int status;struct stat st;while (wait(&status) != child);exit(/* Was there some problem with vforking? */child < 0/* Did the child fail? (This shouldn't happen.) */|| status/* Did the vfork/compiler bug occur? */|| parent != getpid()/* Did the file descriptor bug occur? */|| fstat(fileno(stdout), &st) != 0);}}_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } && { ac_try='./conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_func_vfork_works=yeselseecho "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5( exit $ac_status )ac_cv_func_vfork_works=nofirm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfifiecho "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5echo "${ECHO_T}$ac_cv_func_vfork_works" >&6fi;if test "x$ac_cv_func_fork_works" = xcross; thenac_cv_func_vfork_works=$ac_cv_func_vfork{ echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}fiif test "x$ac_cv_func_vfork_works" = xyes; thencat >>confdefs.h <<\_ACEOF#define HAVE_WORKING_VFORK 1_ACEOFelsecat >>confdefs.h <<\_ACEOF#define vfork fork_ACEOFfiif test "x$ac_cv_func_fork_works" = xyes; thencat >>confdefs.h <<\_ACEOF#define HAVE_WORKING_FORK 1_ACEOFfiif test "X$prefix" = "XNONE"; thenacl_final_prefix="$ac_default_prefix"elseacl_final_prefix="$prefix"fiif test "X$exec_prefix" = "XNONE"; thenacl_final_exec_prefix='${prefix}'elseacl_final_exec_prefix="$exec_prefix"fiacl_save_prefix="$prefix"prefix="$acl_final_prefix"eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"prefix="$acl_save_prefix"# Check whether --with-gnu-ld or --without-gnu-ld was given.if test "${with_gnu_ld+set}" = set; thenwithval="$with_gnu_ld"test "$withval" = no || with_gnu_ld=yeselsewith_gnu_ld=nofi;# Prepare PATH_SEPARATOR.# The user is always right.if test "${PATH_SEPARATOR+set}" != set; thenecho "#! /bin/sh" >conf$$.shecho "exit 0" >>conf$$.shchmod +x conf$$.shif (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; thenPATH_SEPARATOR=';'elsePATH_SEPARATOR=:firm -f conf$$.shfiac_prog=ldif test "$GCC" = yes; then# Check if gcc -print-prog-name=ld gives a path.echo "$as_me:$LINENO: checking for ld used by GCC" >&5echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6case $host in*-*-mingw*)# gcc leaves a trailing carriage return which upsets mingwac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;*)ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;esaccase $ac_prog in# Accept absolute paths.[\\/]* | [A-Za-z]:[\\/]*)re_direlt='/[^/][^/]*/\.\./'# Canonicalize the path of ldac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; doac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`donetest -z "$LD" && LD="$ac_prog";;"")# If it fails, then pretend we aren't using GCC.ac_prog=ld;;*)# If it is relative, then search for the first ld in PATH.with_gnu_ld=unknown;;esacelif test "$with_gnu_ld" = yes; thenecho "$as_me:$LINENO: checking for GNU ld" >&5echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6elseecho "$as_me:$LINENO: checking for non-GNU ld" >&5echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6fiif test "${acl_cv_path_LD+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test -z "$LD"; thenIFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"for ac_dir in $PATH; dotest -z "$ac_dir" && ac_dir=.if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; thenacl_cv_path_LD="$ac_dir/$ac_prog"# Check to see if the program is GNU ld. I'd rather use --version,# but apparently some GNU ld's only accept -v.# Break only if it was the GNU/non-GNU ld that we prefer.if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; thentest "$with_gnu_ld" != no && breakelsetest "$with_gnu_ld" != yes && breakfifidoneIFS="$ac_save_ifs"elseacl_cv_path_LD="$LD" # Let the user override the test with a path.fifiLD="$acl_cv_path_LD"if test -n "$LD"; thenecho "$as_me:$LINENO: result: $LD" >&5echo "${ECHO_T}$LD" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fitest -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}{ (exit 1); exit 1; }; }echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6if test "${acl_cv_prog_gnu_ld+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6else# I'd rather use --version here, but apparently some GNU ld's only accept -v.if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; thenacl_cv_prog_gnu_ld=yeselseacl_cv_prog_gnu_ld=nofifiecho "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6with_gnu_ld=$acl_cv_prog_gnu_ldecho "$as_me:$LINENO: checking for shared library run path origin" >&5echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6if test "${acl_cv_rpath+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseCC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh. ./conftest.shrm -f ./conftest.shacl_cv_rpath=donefiecho "$as_me:$LINENO: result: $acl_cv_rpath" >&5echo "${ECHO_T}$acl_cv_rpath" >&6wl="$acl_cv_wl"libext="$acl_cv_libext"shlibext="$acl_cv_shlibext"hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"hardcode_direct="$acl_cv_hardcode_direct"hardcode_minus_L="$acl_cv_hardcode_minus_L"# Check whether --enable-rpath or --disable-rpath was given.if test "${enable_rpath+set}" = set; thenenableval="$enable_rpath":elseenable_rpath=yesfi;use_additional=yesacl_save_prefix="$prefix"prefix="$acl_final_prefix"acl_save_exec_prefix="$exec_prefix"exec_prefix="$acl_final_exec_prefix"eval additional_includedir=\"$includedir\"eval additional_libdir=\"$libdir\"exec_prefix="$acl_save_exec_prefix"prefix="$acl_save_prefix"# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.if test "${with_libiconv_prefix+set}" = set; thenwithval="$with_libiconv_prefix"if test "X$withval" = "Xno"; thenuse_additional=noelseif test "X$withval" = "X"; thenacl_save_prefix="$prefix"prefix="$acl_final_prefix"acl_save_exec_prefix="$exec_prefix"exec_prefix="$acl_final_exec_prefix"eval additional_includedir=\"$includedir\"eval additional_libdir=\"$libdir\"exec_prefix="$acl_save_exec_prefix"prefix="$acl_save_prefix"elseadditional_includedir="$withval/include"additional_libdir="$withval/lib"fififi;LIBICONV=LTLIBICONV=INCICONV=rpathdirs=ltrpathdirs=names_already_handled=names_next_round='iconv 'while test -n "$names_next_round"; donames_this_round="$names_next_round"names_next_round=for name in $names_this_round; doalready_handled=for n in $names_already_handled; doif test "$n" = "$name"; thenalready_handled=yesbreakfidoneif test -z "$already_handled"; thennames_already_handled="$names_already_handled $name"uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`eval value=\"\$HAVE_LIB$uppername\"if test -n "$value"; thenif test "$value" = yes; theneval value=\"\$LIB$uppername\"test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"eval value=\"\$LTLIB$uppername\"test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"else:fielsefound_dir=found_la=found_so=found_a=if test $use_additional = yes; thenif test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; thenfound_dir="$additional_libdir"found_so="$additional_libdir/lib$name.$shlibext"if test -f "$additional_libdir/lib$name.la"; thenfound_la="$additional_libdir/lib$name.la"fielseif test -f "$additional_libdir/lib$name.$libext"; thenfound_dir="$additional_libdir"found_a="$additional_libdir/lib$name.$libext"if test -f "$additional_libdir/lib$name.la"; thenfound_la="$additional_libdir/lib$name.la"fifififiif test "X$found_dir" = "X"; thenfor x in $LDFLAGS $LTLIBICONV; doacl_save_prefix="$prefix"prefix="$acl_final_prefix"acl_save_exec_prefix="$exec_prefix"exec_prefix="$acl_final_exec_prefix"eval x=\"$x\"exec_prefix="$acl_save_exec_prefix"prefix="$acl_save_prefix"case "$x" in-L*)dir=`echo "X$x" | sed -e 's/^X-L//'`if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; thenfound_dir="$dir"found_so="$dir/lib$name.$shlibext"if test -f "$dir/lib$name.la"; thenfound_la="$dir/lib$name.la"fielseif test -f "$dir/lib$name.$libext"; thenfound_dir="$dir"found_a="$dir/lib$name.$libext"if test -f "$dir/lib$name.la"; thenfound_la="$dir/lib$name.la"fififi;;esacif test "X$found_dir" != "X"; thenbreakfidonefiif test "X$found_dir" != "X"; thenLTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"if test "X$found_so" != "X"; thenif test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; thenLIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"elsehaveit=for x in $ltrpathdirs; doif test "X$x" = "X$found_dir"; thenhaveit=yesbreakfidoneif test -z "$haveit"; thenltrpathdirs="$ltrpathdirs $found_dir"fiif test "$hardcode_direct" = yes; thenLIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"elseif test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; thenLIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"haveit=for x in $rpathdirs; doif test "X$x" = "X$found_dir"; thenhaveit=yesbreakfidoneif test -z "$haveit"; thenrpathdirs="$rpathdirs $found_dir"fielsehaveit=for x in $LDFLAGS $LIBICONV; doacl_save_prefix="$prefix"prefix="$acl_final_prefix"acl_save_exec_prefix="$exec_prefix"exec_prefix="$acl_final_exec_prefix"eval x=\"$x\"exec_prefix="$acl_save_exec_prefix"prefix="$acl_save_prefix"if test "X$x" = "X-L$found_dir"; thenhaveit=yesbreakfidoneif test -z "$haveit"; thenLIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"fiif test "$hardcode_minus_L" != no; thenLIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"elseLIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"fifififielseif test "X$found_a" != "X"; thenLIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"elseLIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"fifiadditional_includedir=case "$found_dir" in*/lib | */lib/)basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`additional_includedir="$basedir/include";;esacif test "X$additional_includedir" != "X"; thenif test "X$additional_includedir" != "X/usr/include"; thenhaveit=if test "X$additional_includedir" = "X/usr/local/include"; thenif test -n "$GCC"; thencase $host_os inlinux*) haveit=yes;;esacfifiif test -z "$haveit"; thenfor x in $CPPFLAGS $INCICONV; doacl_save_prefix="$prefix"prefix="$acl_final_prefix"acl_save_exec_prefix="$exec_prefix"exec_prefix="$acl_final_exec_prefix"eval x=\"$x\"exec_prefix="$acl_save_exec_prefix"prefix="$acl_save_prefix"if test "X$x" = "X-I$additional_includedir"; thenhaveit=yesbreakfidoneif test -z "$haveit"; thenif test -d "$additional_includedir"; thenINCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"fififififiif test -n "$found_la"; thensave_libdir="$libdir"case "$found_la" in*/* | *\\*) . "$found_la" ;;*) . "./$found_la" ;;esaclibdir="$save_libdir"for dep in $dependency_libs; docase "$dep" in-L*)additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`if test "X$additional_libdir" != "X/usr/lib"; thenhaveit=if test "X$additional_libdir" = "X/usr/local/lib"; thenif test -n "$GCC"; thencase $host_os inlinux*) haveit=yes;;esacfifiif test -z "$haveit"; thenhaveit=for x in $LDFLAGS $LIBICONV; doacl_save_prefix="$prefix"prefix="$acl_final_prefix"acl_save_exec_prefix="$exec_prefix"exec_prefix="$acl_final_exec_prefix"eval x=\"$x\"exec_prefix="$acl_save_exec_prefix"prefix="$acl_save_prefix"if test "X$x" = "X-L$additional_libdir"; thenhaveit=yesbreakfidoneif test -z "$haveit"; thenif test -d "$additional_libdir"; thenLIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"fifihaveit=for x in $LDFLAGS $LTLIBICONV; doacl_save_prefix="$prefix"prefix="$acl_final_prefix"acl_save_exec_prefix="$exec_prefix"exec_prefix="$acl_final_exec_prefix"eval x=\"$x\"exec_prefix="$acl_save_exec_prefix"prefix="$acl_save_prefix"if test "X$x" = "X-L$additional_libdir"; thenhaveit=yesbreakfidoneif test -z "$haveit"; thenif test -d "$additional_libdir"; thenLTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"fifififi;;-R*)dir=`echo "X$dep" | sed -e 's/^X-R//'`if test "$enable_rpath" != no; thenhaveit=for x in $rpathdirs; doif test "X$x" = "X$dir"; thenhaveit=yesbreakfidoneif test -z "$haveit"; thenrpathdirs="$rpathdirs $dir"fihaveit=for x in $ltrpathdirs; doif test "X$x" = "X$dir"; thenhaveit=yesbreakfidoneif test -z "$haveit"; thenltrpathdirs="$ltrpathdirs $dir"fifi;;-l*)names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`;;*.la)names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`;;*)LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep";;esacdonefielseLIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"fififidonedoneif test "X$rpathdirs" != "X"; thenif test -n "$hardcode_libdir_separator"; thenalldirs=for found_dir in $rpathdirs; doalldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"doneacl_save_libdir="$libdir"libdir="$alldirs"eval flag=\"$hardcode_libdir_flag_spec\"libdir="$acl_save_libdir"LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"elsefor found_dir in $rpathdirs; doacl_save_libdir="$libdir"libdir="$found_dir"eval flag=\"$hardcode_libdir_flag_spec\"libdir="$acl_save_libdir"LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"donefifiif test "X$ltrpathdirs" != "X"; thenfor found_dir in $ltrpathdirs; doLTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"donefiam_save_CPPFLAGS="$CPPFLAGS"for element in $INCICONV; dohaveit=for x in $CPPFLAGS; doacl_save_prefix="$prefix"prefix="$acl_final_prefix"acl_save_exec_prefix="$exec_prefix"exec_prefix="$acl_final_exec_prefix"eval x=\"$x\"exec_prefix="$acl_save_exec_prefix"prefix="$acl_save_prefix"if test "X$x" = "X$element"; thenhaveit=yesbreakfidoneif test -z "$haveit"; thenCPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"fidoneecho "$as_me:$LINENO: checking for iconv" >&5echo $ECHO_N "checking for iconv... $ECHO_C" >&6if test "${am_cv_func_iconv+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseam_cv_func_iconv="no, consider installing GNU libiconv"am_cv_lib_iconv=nocat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <stdlib.h>#include <iconv.h>intmain (){iconv_t cd = iconv_open("","");iconv(cd,NULL,NULL,NULL,NULL);iconv_close(cd);;return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenam_cv_func_iconv=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5firm -f conftest.err conftest.$ac_objext \conftest$ac_exeext conftest.$ac_extif test "$am_cv_func_iconv" != yes; thenam_save_LIBS="$LIBS"LIBS="$LIBS $LIBICONV"cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <stdlib.h>#include <iconv.h>intmain (){iconv_t cd = iconv_open("","");iconv(cd,NULL,NULL,NULL,NULL);iconv_close(cd);;return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenam_cv_lib_iconv=yesam_cv_func_iconv=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5firm -f conftest.err conftest.$ac_objext \conftest$ac_exeext conftest.$ac_extLIBS="$am_save_LIBS"fifiecho "$as_me:$LINENO: result: $am_cv_func_iconv" >&5echo "${ECHO_T}$am_cv_func_iconv" >&6if test "$am_cv_func_iconv" = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_ICONV 1_ACEOFfiif test "$am_cv_lib_iconv" = yes; thenecho "$as_me:$LINENO: checking how to link with libiconv" >&5echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6echo "$as_me:$LINENO: result: $LIBICONV" >&5echo "${ECHO_T}$LIBICONV" >&6elseCPPFLAGS="$am_save_CPPFLAGS"LIBICONV=LTLIBICONV=fiif test "$am_cv_func_iconv" = yes; thenecho "$as_me:$LINENO: checking for iconv declaration" >&5echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6if test "${am_cv_proto_iconv+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <stdlib.h>#include <iconv.h>extern#ifdef __cplusplus"C"#endif#if defined(__STDC__) || defined(__cplusplus)size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);#elsesize_t iconv();#endifintmain (){;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenam_cv_proto_iconv_arg1=""elseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5am_cv_proto_iconv_arg1="const"firm -f conftest.err conftest.$ac_objext conftest.$ac_extam_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"fiam_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`echo "$as_me:$LINENO: result: ${ac_t:-}$am_cv_proto_iconv" >&5echo "${ECHO_T}${ac_t:-}$am_cv_proto_iconv" >&6cat >>confdefs.h <<_ACEOF#define ICONV_CONST $am_cv_proto_iconv_arg1_ACEOFfi# Until we have in-tree GNU iconv:LIBICONV_DEP=echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6if test "${am_cv_val_LC_MESSAGES+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <locale.h>intmain (){return LC_MESSAGES;return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenam_cv_val_LC_MESSAGES=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5am_cv_val_LC_MESSAGES=nofirm -f conftest.err conftest.$ac_objext \conftest$ac_exeext conftest.$ac_extfiecho "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6if test $am_cv_val_LC_MESSAGES = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_LC_MESSAGES 1_ACEOFfiecho "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6if test "${am_cv_langinfo_codeset+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <langinfo.h>intmain (){char* cs = nl_langinfo(CODESET);;return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenam_cv_langinfo_codeset=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5am_cv_langinfo_codeset=nofirm -f conftest.err conftest.$ac_objext \conftest$ac_exeext conftest.$ac_extfiecho "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5echo "${ECHO_T}$am_cv_langinfo_codeset" >&6if test $am_cv_langinfo_codeset = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_LANGINFO_CODESET 1_ACEOFfi# We will need to find libiberty.h and ansidecl.hsaved_CFLAGS="$CFLAGS"CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include"for ac_func in getenv atol asprintf sbrk abort atof getcwd getwd \strsignal strstr strverscmp \errno snprintf vsnprintf vasprintf malloc realloc calloc \free basename getopt clock getpagesize clearerr_unlocked feof_unlocked ferror_unlocked fflush_unlocked fgetc_unlocked fgets_unlocked fileno_unlocked fprintf_unlocked fputc_unlocked fputs_unlocked fread_unlocked fwrite_unlocked getchar_unlocked getc_unlocked putchar_unlocked putc_unlockeddoac_tr_decl=`echo "HAVE_DECL_$ac_func" | $as_tr_cpp`echo "$as_me:$LINENO: checking whether $ac_func is declared" >&5echo $ECHO_N "checking whether $ac_func is declared... $ECHO_C" >&6if eval "test \"\${gcc_cv_have_decl_$ac_func+set}\" = set"; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#undef $ac_tr_decl#define $ac_tr_decl 1#include "ansidecl.h"#include "system.h"intmain (){#ifndef $ac_funcchar *(*pfn) = (char *(*)) $ac_func ;#endif;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; theneval "gcc_cv_have_decl_$ac_func=yes"elseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5eval "gcc_cv_have_decl_$ac_func=no"firm -f conftest.err conftest.$ac_objext conftest.$ac_extfiif eval "test \"`echo '$gcc_cv_have_decl_'$ac_func`\" = yes"; thenecho "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6 ; cat >>confdefs.h <<_ACEOF#define $ac_tr_decl 1_ACEOFelseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6 ; cat >>confdefs.h <<_ACEOF#define $ac_tr_decl 0_ACEOFfidonefor ac_func in getrlimit setrlimit getrusagedoac_tr_decl=`echo "HAVE_DECL_$ac_func" | $as_tr_cpp`echo "$as_me:$LINENO: checking whether $ac_func is declared" >&5echo $ECHO_N "checking whether $ac_func is declared... $ECHO_C" >&6if eval "test \"\${gcc_cv_have_decl_$ac_func+set}\" = set"; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#undef $ac_tr_decl#define $ac_tr_decl 1#include "ansidecl.h"#include "system.h"#ifdef HAVE_SYS_RESOURCE_H#include <sys/resource.h>#endifintmain (){#ifndef $ac_funcchar *(*pfn) = (char *(*)) $ac_func ;#endif;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; theneval "gcc_cv_have_decl_$ac_func=yes"elseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5eval "gcc_cv_have_decl_$ac_func=no"firm -f conftest.err conftest.$ac_objext conftest.$ac_extfiif eval "test \"`echo '$gcc_cv_have_decl_'$ac_func`\" = yes"; thenecho "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6 ; cat >>confdefs.h <<_ACEOF#define $ac_tr_decl 1_ACEOFelseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6 ; cat >>confdefs.h <<_ACEOF#define $ac_tr_decl 0_ACEOFfidonecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include "ansidecl.h"#include "system.h"#ifdef HAVE_SYS_RESOURCE_H#include <sys/resource.h>#endifintmain (){rlim_t l = 0;;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; then:elseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5cat >>confdefs.h <<\_ACEOF#define rlim_t long_ACEOFfirm -f conftest.err conftest.$ac_objext conftest.$ac_ext# On AIX 5.2, <ldfcn.h> conflicts with <fcntl.h>, as both define incompatible# FREAD and FWRITE macros. Fortunately, for GCC's single usage of ldgetname# in collect2.c, <fcntl.h> isn't visible, but the configure test below needs# to undef these macros to get the correct value for HAVE_DECL_LDGETNAME.for ac_func in ldgetnamedoac_tr_decl=`echo "HAVE_DECL_$ac_func" | $as_tr_cpp`echo "$as_me:$LINENO: checking whether $ac_func is declared" >&5echo $ECHO_N "checking whether $ac_func is declared... $ECHO_C" >&6if eval "test \"\${gcc_cv_have_decl_$ac_func+set}\" = set"; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#undef $ac_tr_decl#define $ac_tr_decl 1#include "ansidecl.h"#include "system.h"#ifdef HAVE_LDFCN_H#undef FREAD#undef FWRITE#include <ldfcn.h>#endifintmain (){#ifndef $ac_funcchar *(*pfn) = (char *(*)) $ac_func ;#endif;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; theneval "gcc_cv_have_decl_$ac_func=yes"elseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5eval "gcc_cv_have_decl_$ac_func=no"firm -f conftest.err conftest.$ac_objext conftest.$ac_extfiif eval "test \"`echo '$gcc_cv_have_decl_'$ac_func`\" = yes"; thenecho "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6 ; cat >>confdefs.h <<_ACEOF#define $ac_tr_decl 1_ACEOFelseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6 ; cat >>confdefs.h <<_ACEOF#define $ac_tr_decl 0_ACEOFfidonefor ac_func in timesdoac_tr_decl=`echo "HAVE_DECL_$ac_func" | $as_tr_cpp`echo "$as_me:$LINENO: checking whether $ac_func is declared" >&5echo $ECHO_N "checking whether $ac_func is declared... $ECHO_C" >&6if eval "test \"\${gcc_cv_have_decl_$ac_func+set}\" = set"; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#undef $ac_tr_decl#define $ac_tr_decl 1#include "ansidecl.h"#include "system.h"#ifdef HAVE_SYS_TIMES_H#include <sys/times.h>#endifintmain (){#ifndef $ac_funcchar *(*pfn) = (char *(*)) $ac_func ;#endif;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; theneval "gcc_cv_have_decl_$ac_func=yes"elseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5eval "gcc_cv_have_decl_$ac_func=no"firm -f conftest.err conftest.$ac_objext conftest.$ac_extfiif eval "test \"`echo '$gcc_cv_have_decl_'$ac_func`\" = yes"; thenecho "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6 ; cat >>confdefs.h <<_ACEOF#define $ac_tr_decl 1_ACEOFelseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6 ; cat >>confdefs.h <<_ACEOF#define $ac_tr_decl 0_ACEOFfidonefor ac_func in sigaltstackdoac_tr_decl=`echo "HAVE_DECL_$ac_func" | $as_tr_cpp`echo "$as_me:$LINENO: checking whether $ac_func is declared" >&5echo $ECHO_N "checking whether $ac_func is declared... $ECHO_C" >&6if eval "test \"\${gcc_cv_have_decl_$ac_func+set}\" = set"; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#undef $ac_tr_decl#define $ac_tr_decl 1#include "ansidecl.h"#include "system.h"#include <signal.h>intmain (){#ifndef $ac_funcchar *(*pfn) = (char *(*)) $ac_func ;#endif;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; theneval "gcc_cv_have_decl_$ac_func=yes"elseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5eval "gcc_cv_have_decl_$ac_func=no"firm -f conftest.err conftest.$ac_objext conftest.$ac_extfiif eval "test \"`echo '$gcc_cv_have_decl_'$ac_func`\" = yes"; thenecho "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6 ; cat >>confdefs.h <<_ACEOF#define $ac_tr_decl 1_ACEOFelseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6 ; cat >>confdefs.h <<_ACEOF#define $ac_tr_decl 0_ACEOFfidone# More time-related stuff.echo "$as_me:$LINENO: checking for struct tms" >&5echo $ECHO_N "checking for struct tms... $ECHO_C" >&6if test "${ac_cv_struct_tms+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include "ansidecl.h"#include "system.h"#ifdef HAVE_SYS_TIMES_H#include <sys/times.h>#endifintmain (){struct tms tms;;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_struct_tms=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_struct_tms=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_struct_tms" >&5echo "${ECHO_T}$ac_cv_struct_tms" >&6if test $ac_cv_struct_tms = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_STRUCT_TMS 1_ACEOFfi# use gcc_cv_* here because this doesn't match the behavior of AC_CHECK_TYPE.# revisit after autoconf 2.50.echo "$as_me:$LINENO: checking for clock_t" >&5echo $ECHO_N "checking for clock_t... $ECHO_C" >&6if test "${gcc_cv_type_clock_t+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include "ansidecl.h"#include "system.h"intmain (){clock_t x;;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thengcc_cv_type_clock_t=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5gcc_cv_type_clock_t=nofirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $gcc_cv_type_clock_t" >&5echo "${ECHO_T}$gcc_cv_type_clock_t" >&6if test $gcc_cv_type_clock_t = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_CLOCK_T 1_ACEOFfi# Restore CFLAGS from before the gcc_AC_NEED_DECLARATIONS tests.CFLAGS="$saved_CFLAGS"# Check whether --enable-initfini-array or --disable-initfini-array was given.if test "${enable_initfini_array+set}" = set; thenenableval="$enable_initfini_array"elseecho "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5echo $ECHO_N "checking for .preinit_array/.init_array/.fini_array support... $ECHO_C" >&6if test "${gcc_cv_initfini_array+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test "$cross_compiling" = yes; thengcc_cv_initfini_array=noelsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */static int x = -1;int main (void) { return x; }int foo (void) { x = 0; }int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } && { ac_try='./conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thengcc_cv_initfini_array=yeselseecho "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5( exit $ac_status )gcc_cv_initfini_array=nofirm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfifiecho "$as_me:$LINENO: result: $gcc_cv_initfini_array" >&5echo "${ECHO_T}$gcc_cv_initfini_array" >&6enable_initfini_array=$gcc_cv_initfini_arrayfi;if test $enable_initfini_array = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_INITFINI_ARRAY 1_ACEOFfi# mkdir takes a single argument on some systems.echo "$as_me:$LINENO: checking if mkdir takes one argument" >&5echo $ECHO_N "checking if mkdir takes one argument... $ECHO_C" >&6if test "${gcc_cv_mkdir_takes_one_arg+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <sys/types.h>#ifdef HAVE_SYS_STAT_H# include <sys/stat.h>#endif#ifdef HAVE_UNISTD_H# include <unistd.h>#endif#ifdef HAVE_DIRECT_H# include <direct.h>#endifintmain (){mkdir ("foo", 0);;return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thengcc_cv_mkdir_takes_one_arg=noelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5gcc_cv_mkdir_takes_one_arg=yesfirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $gcc_cv_mkdir_takes_one_arg" >&5echo "${ECHO_T}$gcc_cv_mkdir_takes_one_arg" >&6if test $gcc_cv_mkdir_takes_one_arg = yes ; thencat >>confdefs.h <<\_ACEOF#define MKDIR_TAKES_ONE_ARG 1_ACEOFfi# File extensionsmanext='.1'objext='.o'# With Setjmp/Longjmp based exception handling.# Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.if test "${enable_sjlj_exceptions+set}" = set; thenenableval="$enable_sjlj_exceptions"sjlj=`if test $enableval = yes; then echo 1; else echo 0; fi`cat >>confdefs.h <<_ACEOF#define CONFIG_SJLJ_EXCEPTIONS $sjlj_ACEOFfi;# For platforms with the unwind ABI which includes an unwind library,# libunwind, we can choose to use the system libunwind.# Check whether --with-system-libunwind or --without-system-libunwind was given.if test "${with_system_libunwind+set}" = set; thenwithval="$with_system_libunwind"fi;# config.gcc also contains tests of with_system_libunwind.if test x$with_system_libunwind = xyes; thencat >>confdefs.h <<\_ACEOF#define HAVE_GETIPINFO 1_ACEOFfi# --------------------------------------------------------# Build, host, and target specific configuration fragments# --------------------------------------------------------# Collect build-machine-specific information.. ${srcdir}/config.build# Collect host-machine-specific information.. ${srcdir}/config.hosttarget_gtfiles=# Collect target-machine-specific information.. ${srcdir}/config.gccextra_objs="${host_extra_objs} ${extra_objs}"extra_gcc_objs="${host_extra_gcc_objs} ${extra_gcc_objs}"# Default the target-machine variables that were not explicitly set.if test x"$tm_file" = xthen tm_file=$cpu_type/$cpu_type.h; fiif test x"$extra_headers" = xthen extra_headers=; fiif test x$md_file = xthen md_file=$cpu_type/$cpu_type.md; fiif test x$out_file = xthen out_file=$cpu_type/$cpu_type.c; fiif test x"$tmake_file" = xthen tmake_file=$cpu_type/t-$cpu_typefiif test x"$dwarf2" = xyesthen tm_file="$tm_file tm-dwarf2.h"fi# Say what files are being used for the output code and MD file.echo "Using \`$srcdir/config/$out_file' for machine-specific logic."echo "Using \`$srcdir/config/$md_file' as machine description file."# If any of the xm_file variables contain nonexistent files, warn# about them and drop them.bx=for x in $build_xm_file; doif test -f $srcdir/config/$xthen bx="$bx $x"else { echo "$as_me:$LINENO: WARNING: $srcdir/config/$x does not exist." >&5echo "$as_me: WARNING: $srcdir/config/$x does not exist." >&2;}fidonebuild_xm_file="$bx"hx=for x in $host_xm_file; doif test -f $srcdir/config/$xthen hx="$hx $x"else { echo "$as_me:$LINENO: WARNING: $srcdir/config/$x does not exist." >&5echo "$as_me: WARNING: $srcdir/config/$x does not exist." >&2;}fidonehost_xm_file="$hx"tx=for x in $xm_file; doif test -f $srcdir/config/$xthen tx="$tx $x"else { echo "$as_me:$LINENO: WARNING: $srcdir/config/$x does not exist." >&5echo "$as_me: WARNING: $srcdir/config/$x does not exist." >&2;}fidonexm_file="$tx"count=afor f in $tm_file; docount=${count}xdoneif test $count = ax; thenecho "Using \`$srcdir/config/$tm_file' as target machine macro file."elseecho "Using the following target machine macro files:"for f in $tm_file; doecho " $srcdir/config/$f"donefiif test x$need_64bit_hwint = xyes; thencat >>confdefs.h <<\_ACEOF#define NEED_64BIT_HOST_WIDE_INT 1_ACEOFfiif test x$use_long_long_for_widest_fast_int = xyes; thencat >>confdefs.h <<\_ACEOF#define USE_LONG_LONG_FOR_WIDEST_FAST_INT 1_ACEOFficount=afor f in $host_xm_file; docount=${count}xdoneif test $count = a; then:elif test $count = ax; thenecho "Using \`$srcdir/config/$host_xm_file' as host machine macro file."elseecho "Using the following host machine macro files:"for f in $host_xm_file; doecho " $srcdir/config/$f"donefiecho "Using ${out_host_hook_obj} for host machine hooks."if test "$host_xm_file" != "$build_xm_file"; thencount=afor f in $build_xm_file; docount=${count}xdoneif test $count = a; then:elif test $count = ax; thenecho "Using \`$srcdir/config/$build_xm_file' as build machine macro file."elseecho "Using the following build machine macro files:"for f in $build_xm_file; doecho " $srcdir/config/$f"donefificase ${host} inpowerpc*-*-darwin*)echo "$as_me:$LINENO: checking whether mcontext_t fields have underscores" >&5echo $ECHO_N "checking whether mcontext_t fields have underscores... $ECHO_C" >&6if test "${gcc_cv_mcontext_underscores+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF#include <sys/signal.h>#include <ucontext.h>int main() { mcontext_t m; if (m->ss.srr0) return 0; return 0; }_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5(eval $ac_compile) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest.$ac_objext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thengcc_cv_mcontext_underscores=noelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5gcc_cv_mcontext_underscores=yesfirm -f conftest.err conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $gcc_cv_mcontext_underscores" >&5echo "${ECHO_T}$gcc_cv_mcontext_underscores" >&6if test $gcc_cv_mcontext_underscores = yes; thencat >>confdefs.h <<\_ACEOF#define HAS_MCONTEXT_T_UNDERSCORES_ACEOFfi;;esac# ---------# Threading# ---------# Check if a valid thread packagecase ${enable_threads} in"" | no)# No threadstarget_thread_file='single';;yes)# defaulttarget_thread_file='single';;aix | dce | gnat | irix | posix | posix95 | rtems | \single | solaris | vxworks | win32 )target_thread_file=${enable_threads};;*)echo "${enable_threads} is an unknown thread package" 1>&2exit 1;;esacif test x${thread_file} = x; then# No thread file set by target-specific clauses in config.gcc,# so use file chosen by default logic abovethread_file=${target_thread_file}fi# Make gthr-default.h if we have a thread file.gthread_flags=if test $thread_file != single; thenrm -f gthr-default.hecho "#include \"gthr-${thread_file}.h\"" > gthr-default.hgthread_flags=-DHAVE_GTHR_DEFAULTfi# --------# UNSORTED# --------use_cxa_atexit=noif test x$enable___cxa_atexit = xyes || \test x$enable___cxa_atexit = x -a x$default_use_cxa_atexit = xyes; thenif test x$host = x$target; thenecho "$as_me:$LINENO: checking for __cxa_atexit" >&5echo $ECHO_N "checking for __cxa_atexit... $ECHO_C" >&6if test "${ac_cv_func___cxa_atexit+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. *//* Define __cxa_atexit to an innocuous variant, in case <limits.h> declares __cxa_atexit.For example, HP-UX 11i <limits.h> declares gettimeofday. */#define __cxa_atexit innocuous___cxa_atexit/* System header to define __stub macros and hopefully few prototypes,which can conflict with char __cxa_atexit (); below.Prefer <limits.h> to <assert.h> if __STDC__ is defined, since<limits.h> exists even on freestanding compilers. */#ifdef __STDC__# include <limits.h>#else# include <assert.h>#endif#undef __cxa_atexit/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"{#endif/* We use char because int might match the return type of a gcc2builtin and then its argument prototype would still apply. */char __cxa_atexit ();/* The GNU C library defines this for functions which it implementsto always fail with ENOSYS. Some functions are actually namedsomething starting with __ and the normal name is an alias. */#if defined (__stub___cxa_atexit) || defined (__stub_____cxa_atexit)choke me#elsechar (*f) () = __cxa_atexit;#endif#ifdef __cplusplus}#endifintmain (){return f != __cxa_atexit;;return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_func___cxa_atexit=yeselseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_func___cxa_atexit=nofirm -f conftest.err conftest.$ac_objext \conftest$ac_exeext conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_func___cxa_atexit" >&5echo "${ECHO_T}$ac_cv_func___cxa_atexit" >&6if test $ac_cv_func___cxa_atexit = yes; thenuse_cxa_atexit=yeselseecho "__cxa_atexit can't be enabled on this target"fielse# We can't check for __cxa_atexit when building a cross, so assume# it is availableuse_cxa_atexit=yesfiif test x$use_cxa_atexit = xyes; thencat >>confdefs.h <<\_ACEOF#define DEFAULT_USE_CXA_ATEXIT 2_ACEOFfifiuse_getipinfo=yesif test x$with_system_libunwind = xyes; thenif test x$host = x$target; thenecho "$as_me:$LINENO: checking for library containing _Unwind_GetIPInfo" >&5echo $ECHO_N "checking for library containing _Unwind_GetIPInfo... $ECHO_C" >&6if test "${ac_cv_search__Unwind_GetIPInfo+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseac_func_search_save_LIBS=$LIBSac_cv_search__Unwind_GetIPInfo=nocat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2builtin and then its argument prototype would still apply. */char _Unwind_GetIPInfo ();intmain (){_Unwind_GetIPInfo ();;return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_search__Unwind_GetIPInfo="none required"elseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5firm -f conftest.err conftest.$ac_objext \conftest$ac_exeext conftest.$ac_extif test "$ac_cv_search__Unwind_GetIPInfo" = no; thenfor ac_lib in unwind; doLIBS="-l$ac_lib $ac_func_search_save_LIBS"cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2builtin and then its argument prototype would still apply. */char _Unwind_GetIPInfo ();intmain (){_Unwind_GetIPInfo ();;return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_search__Unwind_GetIPInfo="-l$ac_lib"breakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5firm -f conftest.err conftest.$ac_objext \conftest$ac_exeext conftest.$ac_extdonefiLIBS=$ac_func_search_save_LIBSfiecho "$as_me:$LINENO: result: $ac_cv_search__Unwind_GetIPInfo" >&5echo "${ECHO_T}$ac_cv_search__Unwind_GetIPInfo" >&6if test "$ac_cv_search__Unwind_GetIPInfo" != no; thentest "$ac_cv_search__Unwind_GetIPInfo" = "none required" || LIBS="$ac_cv_search__Unwind_GetIPInfo $LIBS"elseuse_getipinfo=nofififiif test x$use_getipinfo = xyes; thencat >>confdefs.h <<\_ACEOF#define HAVE_GETIPINFO 1_ACEOFelseecho "The system unwind library does not support _Unwind_GetIPInfo."fi# Look for a file containing extra machine modes.if test -n "$extra_modes" && test -f $srcdir/config/$extra_modes; thenextra_modes_file='$(srcdir)'/config/${extra_modes}cat >>confdefs.h <<_ACEOF#define EXTRA_MODES_FILE "config/$extra_modes"_ACEOFfi# Convert extra_options into a form suitable for Makefile use.extra_opt_files=for f in $extra_options; doextra_opt_files="$extra_opt_files \$(srcdir)/config/$f"done# auto-host.h is the file containing items generated by autoconf and is# the first file included by config.h.# If host=build, it is correct to have bconfig include auto-host.h# as well. If host!=build, we are in error and need to do more# work to find out the build config parameters.if test x$host = x$buildthenbuild_auto=auto-host.helse# We create a subdir, then run autoconf in the subdir.# To prevent recursion we set host and build for the new# invocation of configure to the build for this invocation# of configure.tempdir=build.$$rm -rf $tempdirmkdir $tempdircd $tempdircase ${srcdir} in/* | A-Za-z:\\/* ) realsrcdir=${srcdir};;*) realsrcdir=../${srcdir};;esacsaved_CFLAGS="${CFLAGS}"CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \${realsrcdir}/configure \--enable-languages=${enable_languages-all} \--target=$target_alias --host=$build_alias --build=$build_aliasCFLAGS="${saved_CFLAGS}"# We just finished tests for the build machine, so rename# the file auto-build.h in the gcc directory.mv auto-host.h ../auto-build.hcd ..rm -rf $tempdirbuild_auto=auto-build.hfitm_file="${tm_file} defaults.h"tm_p_file="${tm_p_file} tm-preds.h"host_xm_file="auto-host.h ansidecl.h ${host_xm_file}"build_xm_file="${build_auto} ansidecl.h ${build_xm_file}"# We don't want ansidecl.h in target files, write code there in ISO/GNU C.# put this back in temporarily.xm_file="auto-host.h ansidecl.h ${xm_file}"# --------# UNSORTED# --------# Compile in configure arguments.if test -f configargs.h ; then# Being re-configured.gcc_config_arguments=`grep configuration_arguments configargs.h | sed -e 's/.*"\([^"]*\)".*/\1/'`gcc_config_arguments="$gcc_config_arguments : (reconfigured) $TOPLEVEL_CONFIGURE_ARGUMENTS"elsegcc_config_arguments="$TOPLEVEL_CONFIGURE_ARGUMENTS"fi# Double all backslashes and backslash all quotes to turn# gcc_config_arguments into a C string.sed -e 's/\\/\\\\/g; s/"/\\"/g' <<EOF >conftest.out$gcc_config_argumentsEOFgcc_config_arguments_str=`cat conftest.out`rm -f conftest.outcat > configargs.h <<EOF/* Generated automatically. */static const char configuration_arguments[] = "$gcc_config_arguments_str";static const char thread_model[] = "$thread_file";static const struct {const char *name, *value;} configure_default_options[] = $configure_default_options;EOF# Internationalization# If we haven't got the data from the intl directory,# assume NLS is disabled.USE_NLS=noLIBINTL=LIBINTL_DEP=INCINTL=XGETTEXT=GMSGFMT=POSUB=if test -f ../intl/config.intl; then. ../intl/config.intlfiecho "$as_me:$LINENO: checking whether NLS is requested" >&5echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6if test x"$USE_NLS" != xyes; thenecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6elseecho "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6cat >>confdefs.h <<\_ACEOF#define ENABLE_NLS 1_ACEOFecho "$as_me:$LINENO: checking for catalogs to be installed" >&5echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6# Look for .po and .gmo files in the source directory.CATALOGS=XLINGUAS=for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do# If there aren't any .gmo files the shell will give us the# literal string "../path/to/srcdir/po/*.gmo" which has to be# weeded out.case "$cat" in *\**)continue;;esac# The quadruple backslash is collapsed to a double backslash# by the backticks, then collapsed again by the double quotes,# leaving us with one backslash in the sed expression (right# before the dot that mustn't act as a wildcard).cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`lang=`echo $cat | sed -e "s!\\\\.gmo!!"`# The user is allowed to set LINGUAS to a list of languages to# install catalogs for. If it's empty that means "all of them."if test "x$LINGUAS" = x; thenCATALOGS="$CATALOGS $cat"XLINGUAS="$XLINGUAS $lang"elsecase "$LINGUAS" in *$lang*)CATALOGS="$CATALOGS $cat"XLINGUAS="$XLINGUAS $lang";;esacfidoneLINGUAS="$XLINGUAS"echo "$as_me:$LINENO: result: $LINGUAS" >&5echo "${ECHO_T}$LINGUAS" >&6DATADIRNAME=shareINSTOBJEXT=.moGENCAT=gencatCATOBJEXT=.gmofi# If LIBINTL contains LIBICONV, then clear LIBICONV so we don't get# -liconv on the link line twice.case "$LIBINTL" in *$LIBICONV*)LIBICONV= ;;esac# Check whether --enable-secureplt or --disable-secureplt was given.if test "${enable_secureplt+set}" = set; thenenableval="$enable_secureplt"fi;# Windows32 Registry support for specifying GCC installation paths.# Check whether --enable-win32-registry or --disable-win32-registry was given.if test "${enable_win32_registry+set}" = set; thenenableval="$enable_win32_registry"fi;case $host_os inwin32 | pe | cygwin* | mingw32* | uwin*)if test "x$enable_win32_registry" != xno; thenecho "$as_me:$LINENO: checking for library containing RegOpenKeyExA" >&5echo $ECHO_N "checking for library containing RegOpenKeyExA... $ECHO_C" >&6if test "${ac_cv_search_RegOpenKeyExA+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseac_func_search_save_LIBS=$LIBSac_cv_search_RegOpenKeyExA=nocat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2builtin and then its argument prototype would still apply. */char RegOpenKeyExA ();intmain (){RegOpenKeyExA ();;return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_search_RegOpenKeyExA="none required"elseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5firm -f conftest.err conftest.$ac_objext \conftest$ac_exeext conftest.$ac_extif test "$ac_cv_search_RegOpenKeyExA" = no; thenfor ac_lib in advapi32; doLIBS="-l$ac_lib $ac_func_search_save_LIBS"cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2builtin and then its argument prototype would still apply. */char RegOpenKeyExA ();intmain (){RegOpenKeyExA ();;return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5(eval $ac_link) 2>conftest.er1ac_status=$?grep -v '^ *+' conftest.er1 >conftest.errrm -f conftest.er1cat conftest.err >&5echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); } &&{ ac_try='test -z "$ac_c_werror_flag"|| test ! -s conftest.err'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; } &&{ ac_try='test -s conftest$ac_exeext'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thenac_cv_search_RegOpenKeyExA="-l$ac_lib"breakelseecho "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5firm -f conftest.err conftest.$ac_objext \conftest$ac_exeext conftest.$ac_extdonefiLIBS=$ac_func_search_save_LIBSfiecho "$as_me:$LINENO: result: $ac_cv_search_RegOpenKeyExA" >&5echo "${ECHO_T}$ac_cv_search_RegOpenKeyExA" >&6if test "$ac_cv_search_RegOpenKeyExA" != no; thentest "$ac_cv_search_RegOpenKeyExA" = "none required" || LIBS="$ac_cv_search_RegOpenKeyExA $LIBS"elseenable_win32_registry=nofifiif test "x$enable_win32_registry" != xno; thencat >>confdefs.h <<\_ACEOF#define ENABLE_WIN32_REGISTRY 1_ACEOFif test "x$enable_win32_registry" != xyes \&& test "x$enable_win32_registry" != x; thencat >>confdefs.h <<_ACEOF#define WIN32_REGISTRY_KEY "$enable_win32_registry"_ACEOFfifi;;esac# Get an absolute path to the GCC top-level source directoryholddir=`${PWDCMD-pwd}`cd $srcdirtopdir=`${PWDCMD-pwd}`cd $holddir# Conditionalize the makefile for this host machine.xmake_file=for f in ${host_xmake_file}doif test -f ${srcdir}/config/$fthenxmake_file="${xmake_file} \$(srcdir)/config/$f"fidone# Conditionalize the makefile for this target machine.tmake_file_=for f in ${tmake_file}doif test -f ${srcdir}/config/$fthentmake_file_="${tmake_file_} \$(srcdir)/config/$f"fidonetmake_file="${tmake_file_}"# If the host doesn't support symlinks, modify CC in# FLAGS_TO_PASS so CC="stage1/xgcc -Bstage1/" works.# Otherwise, we can use "CC=$(CC)".rm -f symtest.temcase "$LN_S" in*-s*)cc_set_by_configure="\$(CC)"quoted_cc_set_by_configure="\$(CC)"stage_prefix_set_by_configure="\$(STAGE_PREFIX)"quoted_stage_prefix_set_by_configure="\$(STAGE_PREFIX)";;*)cc_set_by_configure="\`case '\$(CC)' in stage*) echo '\$(CC)' | sed -e 's|stage|../stage|g';; *) echo '\$(CC)';; esac\`"quoted_cc_set_by_configure="\\\`case '\\\$(CC)' in stage*) echo '\\\$(CC)' | sed -e 's|stage|../stage|g';; *) echo '\\\$(CC)';; esac\\\`"stage_prefix_set_by_configure="\`case '\$(STAGE_PREFIX)' in stage*) echo '\$(STAGE_PREFIX)' | sed -e 's|stage|../stage|g';; *) echo '\$(STAGE_PREFIX)';; esac\`"quoted_stage_prefix_set_by_configure="\\\`case '\\\$(STAGE_PREFIX)' in stage*) echo '\\\$(STAGE_PREFIX)' | sed -e 's|stage|../stage|g';; *) echo '\\\$(STAGE_PREFIX)';; esac\\\`";;esac# This is a terrible hack which will go away some day.host_cc_for_libada=${CC}out_object_file=`basename $out_file .c`.otm_file_list="options.h"tm_include_list="options.h"for f in $tm_file; docase $f indefaults.h )tm_file_list="${tm_file_list} \$(srcdir)/$f"tm_include_list="${tm_include_list} $f";;* )tm_file_list="${tm_file_list} \$(srcdir)/config/$f"tm_include_list="${tm_include_list} config/$f";;esacdonetm_p_file_list=tm_p_include_list=for f in $tm_p_file; docase $f intm-preds.h )tm_p_file_list="${tm_p_file_list} $f"tm_p_include_list="${tm_p_include_list} $f";;* )tm_p_file_list="${tm_p_file_list} \$(srcdir)/config/$f"tm_p_include_list="${tm_p_include_list} config/$f"esacdonexm_file_list=xm_include_list=for f in $xm_file; docase $f inansidecl.h )xm_file_list="${xm_file_list} \$(srcdir)/../include/$f"xm_include_list="${xm_include_list} $f";;auto-host.h )xm_file_list="${xm_file_list} $f"xm_include_list="${xm_include_list} $f";;* )xm_file_list="${xm_file_list} \$(srcdir)/config/$f"xm_include_list="${xm_include_list} config/$f";;esacdonehost_xm_file_list=host_xm_include_list=for f in $host_xm_file; docase $f inansidecl.h )host_xm_file_list="${host_xm_file_list} \$(srcdir)/../include/$f"host_xm_include_list="${host_xm_include_list} $f";;auto-host.h )host_xm_file_list="${host_xm_file_list} $f"host_xm_include_list="${host_xm_include_list} $f";;* )host_xm_file_list="${host_xm_file_list} \$(srcdir)/config/$f"host_xm_include_list="${host_xm_include_list} config/$f";;esacdonebuild_xm_file_list=for f in $build_xm_file; docase $f inansidecl.h )build_xm_file_list="${build_xm_file_list} \$(srcdir)/../include/$f"build_xm_include_list="${build_xm_include_list} $f";;auto-build.h | auto-host.h )build_xm_file_list="${build_xm_file_list} $f"build_xm_include_list="${build_xm_include_list} $f";;* )build_xm_file_list="${build_xm_file_list} \$(srcdir)/config/$f"build_xm_include_list="${build_xm_include_list} config/$f";;esacdone# Define macro CROSS_COMPILE in compilation if this is a cross-compiler.# Also use all.cross instead of all.internal and adjust SYSTEM_HEADER_DIR.CROSS=ALL=all.internalSYSTEM_HEADER_DIR='$(NATIVE_SYSTEM_HEADER_DIR)'if test "x$with_build_sysroot" != x; thenbuild_system_header_dir=$with_build_sysroot'$(NATIVE_SYSTEM_HEADER_DIR)'else# This value is used, even on a native system, because# CROSS_SYSTEM_HEADER_DIR is just# $(TARGET_SYSTEM_ROOT)$(NATIVE_SYSTEM_HEADER_DIR).build_system_header_dir='$(CROSS_SYSTEM_HEADER_DIR)'fiif test x$host != x$targetthenCROSS="-DCROSS_COMPILE"ALL=all.crossSYSTEM_HEADER_DIR=$build_system_header_dircase "$host","$target" in# Darwin crosses can use the host system's libraries and headers,# because of the fat library support. Of course, it must be the# same version of Darwin on both sides. Allow the user to# just say --target=foo-darwin without a version number to mean# "the version on this system".*-*-darwin*,*-*-darwin*)hostos=`echo $host | sed 's/.*-darwin/darwin/'`targetos=`echo $target | sed 's/.*-darwin/darwin/'`if test $hostos = $targetos -o $targetos = darwin ; thenCROSS=SYSTEM_HEADER_DIR='$(NATIVE_SYSTEM_HEADER_DIR)'with_headers=yesfi;;i?86-*-*,x86_64-*-* \| powerpc*-*-*,powerpc64*-*-*)CROSS="$CROSS -DNATIVE_CROSS" ;;esacelif test "x$TARGET_SYSTEM_ROOT" != x; thenSYSTEM_HEADER_DIR=$build_system_header_dirfi# If this is a cross-compiler that does not# have its own set of headers then define# inhibit_libc# If this is using newlib, without having the headers available now,# then define inhibit_libc in LIBGCC2_CFLAGS.# This prevents libgcc2 from containing any code which requires libc# support.inhibit_libc=falseif { { test x$host != x$target && test "x$with_sysroot" = x ; } ||test x$with_newlib = xyes ; } &&{ test "x$with_headers" = x || test "x$with_headers" = xno ; } ; theninhibit_libc=truefi# When building gcc with a cross-compiler, we need to adjust things so# that the generator programs are still built with the native compiler.# Also, we cannot run fixincludes or fix-header.# These are the normal (build=host) settings:CC_FOR_BUILD='$(CC)'BUILD_CFLAGS='$(ALL_CFLAGS)'STMP_FIXINC=stmp-fixinc# Possibly disable fixproto, on a per-target basis.case ${use_fixproto} inno)STMP_FIXPROTO=;;yes)STMP_FIXPROTO=stmp-fixproto;;esac# And these apply if build != host, or we are generating coverage dataif test x$build != x$host || test "x$coverage_flags" != xthenBUILD_CFLAGS='$(INTERNAL_CFLAGS) $(T_CFLAGS) $(CFLAGS_FOR_BUILD)'if test "x$TARGET_SYSTEM_ROOT" = x; thenif test "x$STMP_FIXPROTO" != x; thenSTMP_FIXPROTO=stmp-install-fixprotofififi# Expand extra_headers to include complete path.# This substitutes for lots of t-* files.extra_headers_list=# Prepend $(srcdir)/config/${cpu_type}/ to every entry in extra_headers.for file in ${extra_headers} ; doextra_headers_list="${extra_headers_list} \$(srcdir)/config/${cpu_type}/${file}"done# Define collect2 in Makefile.case $host_can_use_collect2 inno) collect2= ;;*) collect2='collect2$(exeext)' ;;esac# Add a definition of USE_COLLECT2 if system wants one.case $use_collect2 inno) use_collect2= ;;"") ;;*)host_xm_defines="${host_xm_defines} USE_COLLECT2"xm_defines="${xm_defines} USE_COLLECT2"case $host_can_use_collect2 inno){ { echo "$as_me:$LINENO: error: collect2 is required but cannot be built on this system" >&5echo "$as_me: error: collect2 is required but cannot be built on this system" >&2;}{ (exit 1); exit 1; }; };;esac;;esac# ---------------------------# Assembler & linker features# ---------------------------# Identify the assembler which will work hand-in-glove with the newly# built GCC, so that we can examine its features. This is the assembler# which will be driven by the driver program.## If build != host, and we aren't building gas in-tree, we identify a# build->target assembler and hope that it will have the same features# as the host->target assembler we'll be using.gcc_cv_gas_major_version=gcc_cv_gas_minor_version=gcc_cv_as_gas_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/gasif test "${gcc_cv_as+set}" = set; then:elseif test -x "$DEFAULT_ASSEMBLER"; thengcc_cv_as="$DEFAULT_ASSEMBLER"elif test -f $gcc_cv_as_gas_srcdir/configure.in \&& test -f ../gas/Makefile \&& test x$build = x$host; thengcc_cv_as=../gas/as-new$build_exeextelif test -x as$build_exeext; then# Build using assembler in the current directory.gcc_cv_as=./as$build_exeextelif test -x $AS_FOR_TARGET; thengcc_cv_as="$AS_FOR_TARGET"else# Extract the first word of "$AS_FOR_TARGET", so it can be a program name with args.set dummy $AS_FOR_TARGET; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_path_gcc_cv_as+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecase $gcc_cv_as in[\\/]* | ?:[\\/]*)ac_cv_path_gcc_cv_as="$gcc_cv_as" # Let the user override the test with a path.;;*)as_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; thenac_cv_path_gcc_cv_as="$as_dir/$ac_word$ac_exec_ext"echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5break 2fidonedone;;esacfigcc_cv_as=$ac_cv_path_gcc_cv_asif test -n "$gcc_cv_as"; thenecho "$as_me:$LINENO: result: $gcc_cv_as" >&5echo "${ECHO_T}$gcc_cv_as" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fififiORIGINAL_AS_FOR_TARGET=$gcc_cv_asecho "$as_me:$LINENO: checking what assembler to use" >&5echo $ECHO_N "checking what assembler to use... $ECHO_C" >&6if test "$gcc_cv_as" = ../gas/as-new$build_exeext; then# Single tree build which includes gas. We want to prefer it# over whatever linker top-level may have detected, since# we'll use what we're building after installation anyway.echo "$as_me:$LINENO: result: newly built gas" >&5echo "${ECHO_T}newly built gas" >&6in_tree_gas=yesgcc_cv_as_bfd_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/bfdfor f in $gcc_cv_as_bfd_srcdir/configure \$gcc_cv_as_gas_srcdir/configure \$gcc_cv_as_gas_srcdir/configure.in \$gcc_cv_as_gas_srcdir/Makefile.in ; dogcc_cv_gas_version=`sed -n -e 's/^[ ]*\(VERSION=[0-9]*\.[0-9]*.*\)/\1/p' < $f`if test x$gcc_cv_gas_version != x; thenbreakfidonegcc_cv_gas_major_version=`expr "$gcc_cv_gas_version" : "VERSION=\([0-9]*\)"`gcc_cv_gas_minor_version=`expr "$gcc_cv_gas_version" : "VERSION=[0-9]*\.\([0-9]*\)"`gcc_cv_gas_patch_version=`expr "$gcc_cv_gas_version" : "VERSION=[0-9]*\.[0-9]*\.\([0-9]*\)"`case $gcc_cv_gas_patch_version in"") gcc_cv_gas_patch_version="0" ;;esacgcc_cv_gas_vers=`expr \( \( $gcc_cv_gas_major_version \* 1000 \) \+ $gcc_cv_gas_minor_version \) \* 1000 \+ $gcc_cv_gas_patch_version`in_tree_gas_is_elf=noif grep 'obj_format = elf' ../gas/Makefile > /dev/null \|| (grep 'obj_format = multi' ../gas/Makefile \&& grep 'extra_objects =.* obj-elf' ../gas/Makefile) > /dev/nullthenin_tree_gas_is_elf=yesfielseecho "$as_me:$LINENO: result: $gcc_cv_as" >&5echo "${ECHO_T}$gcc_cv_as" >&6in_tree_gas=nofi# Identify the linker which will work hand-in-glove with the newly# built GCC, so that we can examine its features. This is the linker# which will be driven by the driver program.## If build != host, and we aren't building gas in-tree, we identify a# build->target linker and hope that it will have the same features# as the host->target linker we'll be using.gcc_cv_gld_major_version=gcc_cv_gld_minor_version=gcc_cv_ld_gld_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/ldgcc_cv_ld_bfd_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/bfdif test "${gcc_cv_ld+set}" = set; then:elseif test -x "$DEFAULT_LINKER"; thengcc_cv_ld="$DEFAULT_LINKER"elif test -f $gcc_cv_ld_gld_srcdir/configure.in \&& test -f ../ld/Makefile \&& test x$build = x$host; thengcc_cv_ld=../ld/ld-new$build_exeextelif test -x collect-ld$build_exeext; then# Build using linker in the current directory.gcc_cv_ld=./collect-ld$build_exeextelif test -x $LD_FOR_TARGET; thengcc_cv_ld="$LD_FOR_TARGET"else# Extract the first word of "$LD_FOR_TARGET", so it can be a program name with args.set dummy $LD_FOR_TARGET; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_path_gcc_cv_ld+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecase $gcc_cv_ld in[\\/]* | ?:[\\/]*)ac_cv_path_gcc_cv_ld="$gcc_cv_ld" # Let the user override the test with a path.;;*)as_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; thenac_cv_path_gcc_cv_ld="$as_dir/$ac_word$ac_exec_ext"echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5break 2fidonedone;;esacfigcc_cv_ld=$ac_cv_path_gcc_cv_ldif test -n "$gcc_cv_ld"; thenecho "$as_me:$LINENO: result: $gcc_cv_ld" >&5echo "${ECHO_T}$gcc_cv_ld" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fififiORIGINAL_LD_FOR_TARGET=$gcc_cv_ldecho "$as_me:$LINENO: checking what linker to use" >&5echo $ECHO_N "checking what linker to use... $ECHO_C" >&6if test "$gcc_cv_ld" = ../ld/ld-new$build_exeext; then# Single tree build which includes ld. We want to prefer it# over whatever linker top-level may have detected, since# we'll use what we're building after installation anyway.echo "$as_me:$LINENO: result: newly built ld" >&5echo "${ECHO_T}newly built ld" >&6in_tree_ld=yesin_tree_ld_is_elf=noif (grep 'EMUL = .*elf' ../ld/Makefile \|| grep 'EMUL = .*linux' ../ld/Makefile \|| grep 'EMUL = .*lynx' ../ld/Makefile) > /dev/null; thenin_tree_ld_is_elf=yesfifor f in $gcc_cv_ld_bfd_srcdir/configure $gcc_cv_ld_gld_srcdir/configure $gcc_cv_ld_gld_srcdir/configure.in $gcc_cv_ld_gld_srcdir/Makefile.indogcc_cv_gld_version=`sed -n -e 's/^[ ]*\(VERSION=[0-9]*\.[0-9]*.*\)/\1/p' < $f`if test x$gcc_cv_gld_version != x; thenbreakfidonegcc_cv_gld_major_version=`expr "$gcc_cv_gld_version" : "VERSION=\([0-9]*\)"`gcc_cv_gld_minor_version=`expr "$gcc_cv_gld_version" : "VERSION=[0-9]*\.\([0-9]*\)"`elseecho "$as_me:$LINENO: result: $gcc_cv_ld" >&5echo "${ECHO_T}$gcc_cv_ld" >&6in_tree_ld=nofi# Figure out what nm we will be using.gcc_cv_binutils_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/binutilsif test "${gcc_cv_nm+set}" = set; then:elseif test -f $gcc_cv_binutils_srcdir/configure.in \&& test -f ../binutils/Makefile \&& test x$build = x$host; thengcc_cv_nm=../binutils/nm-new$build_exeextelif test -x nm$build_exeext; thengcc_cv_nm=./nm$build_exeextelif test -x $NM_FOR_TARGET; thengcc_cv_nm="$NM_FOR_TARGET"else# Extract the first word of "$NM_FOR_TARGET", so it can be a program name with args.set dummy $NM_FOR_TARGET; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_path_gcc_cv_nm+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecase $gcc_cv_nm in[\\/]* | ?:[\\/]*)ac_cv_path_gcc_cv_nm="$gcc_cv_nm" # Let the user override the test with a path.;;*)as_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; thenac_cv_path_gcc_cv_nm="$as_dir/$ac_word$ac_exec_ext"echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5break 2fidonedone;;esacfigcc_cv_nm=$ac_cv_path_gcc_cv_nmif test -n "$gcc_cv_nm"; thenecho "$as_me:$LINENO: result: $gcc_cv_nm" >&5echo "${ECHO_T}$gcc_cv_nm" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fififiecho "$as_me:$LINENO: checking what nm to use" >&5echo $ECHO_N "checking what nm to use... $ECHO_C" >&6if test "$gcc_cv_nm" = ../binutils/nm-new$build_exeext; then# Single tree build which includes binutils.echo "$as_me:$LINENO: result: newly built nm" >&5echo "${ECHO_T}newly built nm" >&6in_tree_nm=yeselseecho "$as_me:$LINENO: result: $gcc_cv_nm" >&5echo "${ECHO_T}$gcc_cv_nm" >&6in_tree_nm=nofiORIGINAL_NM_FOR_TARGET=$gcc_cv_nm# Figure out what objdump we will be using.if test "${gcc_cv_objdump+set}" = set; then:elseif test -f $gcc_cv_binutils_srcdir/configure.in \&& test -f ../binutils/Makefile \&& test x$build = x$host; then# Single tree build which includes binutils.gcc_cv_objdump=../binutils/objdump$build_exeextelif test -x objdump$build_exeext; thengcc_cv_objdump=./objdump$build_exeextelif test -x $OBJDUMP_FOR_TARGET; thengcc_cv_objdump="$OBJDUMP_FOR_TARGET"else# Extract the first word of "$OBJDUMP_FOR_TARGET", so it can be a program name with args.set dummy $OBJDUMP_FOR_TARGET; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_path_gcc_cv_objdump+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsecase $gcc_cv_objdump in[\\/]* | ?:[\\/]*)ac_cv_path_gcc_cv_objdump="$gcc_cv_objdump" # Let the user override the test with a path.;;*)as_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for ac_exec_ext in '' $ac_executable_extensions; doif $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; thenac_cv_path_gcc_cv_objdump="$as_dir/$ac_word$ac_exec_ext"echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5break 2fidonedone;;esacfigcc_cv_objdump=$ac_cv_path_gcc_cv_objdumpif test -n "$gcc_cv_objdump"; thenecho "$as_me:$LINENO: result: $gcc_cv_objdump" >&5echo "${ECHO_T}$gcc_cv_objdump" >&6elseecho "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fififiecho "$as_me:$LINENO: checking what objdump to use" >&5echo $ECHO_N "checking what objdump to use... $ECHO_C" >&6if test "$gcc_cv_objdump" = ../binutils/objdump$build_exeext; then# Single tree build which includes binutils.echo "$as_me:$LINENO: result: newly built objdump" >&5echo "${ECHO_T}newly built objdump" >&6elif test x$gcc_cv_objdump = x; thenecho "$as_me:$LINENO: result: not found" >&5echo "${ECHO_T}not found" >&6elseecho "$as_me:$LINENO: result: $gcc_cv_objdump" >&5echo "${ECHO_T}$gcc_cv_objdump" >&6fi# Figure out what assembler alignment features are present.echo "$as_me:$LINENO: checking assembler for .balign and .p2align" >&5echo $ECHO_N "checking assembler for .balign and .p2align... $ECHO_C" >&6if test "${gcc_cv_as_balign_and_p2align+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_balign_and_p2align=noif test $in_tree_gas = yes; thenif test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 6 \) \* 1000 + 0`then gcc_cv_as_balign_and_p2align=yesfielif test x$gcc_cv_as != x; thenecho '.balign 4.p2align 2' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_balign_and_p2align=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_balign_and_p2align" >&5echo "${ECHO_T}$gcc_cv_as_balign_and_p2align" >&6if test $gcc_cv_as_balign_and_p2align = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_GAS_BALIGN_AND_P2ALIGN 1_ACEOFfiecho "$as_me:$LINENO: checking assembler for .p2align with maximum skip" >&5echo $ECHO_N "checking assembler for .p2align with maximum skip... $ECHO_C" >&6if test "${gcc_cv_as_max_skip_p2align+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_max_skip_p2align=noif test $in_tree_gas = yes; thenif test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 8 \) \* 1000 + 0`then gcc_cv_as_max_skip_p2align=yesfielif test x$gcc_cv_as != x; thenecho '.p2align 4,,7' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_max_skip_p2align=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_max_skip_p2align" >&5echo "${ECHO_T}$gcc_cv_as_max_skip_p2align" >&6if test $gcc_cv_as_max_skip_p2align = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_GAS_MAX_SKIP_P2ALIGN 1_ACEOFfiecho "$as_me:$LINENO: checking assembler for working .subsection -1" >&5echo $ECHO_N "checking assembler for working .subsection -1... $ECHO_C" >&6if test "${gcc_cv_as_subsection_m1+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_subsection_m1=noif test $in_tree_gas = yes; thenif test $in_tree_gas_is_elf = yes \&& test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 9 \) \* 1000 + 0`then gcc_cv_as_subsection_m1=yesfielif test x$gcc_cv_as != x; thenecho 'conftest_label1: .word 0.subsection -1conftest_label2: .word 0.previous' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thenif test x$gcc_cv_nm != x; then$gcc_cv_nm conftest.o | grep conftest_label1 > conftest.nm1$gcc_cv_nm conftest.o | grep conftest_label2 | sed -e 's/label2/label1/' > conftest.nm2if cmp conftest.nm1 conftest.nm2 > /dev/null 2>&1then :else gcc_cv_as_subsection_m1=yesfirm -f conftest.nm1 conftest.nm2fielseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_subsection_m1" >&5echo "${ECHO_T}$gcc_cv_as_subsection_m1" >&6if test $gcc_cv_as_subsection_m1 = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_GAS_SUBSECTION_ORDERING 1_ACEOFfiecho "$as_me:$LINENO: checking assembler for .weak" >&5echo $ECHO_N "checking assembler for .weak... $ECHO_C" >&6if test "${gcc_cv_as_weak+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_weak=noif test $in_tree_gas = yes; thenif test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 2 \) \* 1000 + 0`then gcc_cv_as_weak=yesfielif test x$gcc_cv_as != x; thenecho ' .weak foobar' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_weak=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_weak" >&5echo "${ECHO_T}$gcc_cv_as_weak" >&6if test $gcc_cv_as_weak = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_GAS_WEAK 1_ACEOFfiecho "$as_me:$LINENO: checking assembler for .weakref" >&5echo $ECHO_N "checking assembler for .weakref... $ECHO_C" >&6if test "${gcc_cv_as_weakref+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_weakref=noif test $in_tree_gas = yes; thenif test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 17 \) \* 1000 + 0`then gcc_cv_as_weakref=yesfielif test x$gcc_cv_as != x; thenecho ' .weakref foobar, barfnot' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_weakref=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_weakref" >&5echo "${ECHO_T}$gcc_cv_as_weakref" >&6if test $gcc_cv_as_weakref = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_GAS_WEAKREF 1_ACEOFfiecho "$as_me:$LINENO: checking assembler for .nsubspa comdat" >&5echo $ECHO_N "checking assembler for .nsubspa comdat... $ECHO_C" >&6if test "${gcc_cv_as_nsubspa_comdat+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_nsubspa_comdat=noif test $in_tree_gas = yes; thenif test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 15 \) \* 1000 + 91`then gcc_cv_as_nsubspa_comdat=yesfielif test x$gcc_cv_as != x; thenecho ' .SPACE $TEXT$.NSUBSPA $CODE$,COMDAT' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_nsubspa_comdat=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_nsubspa_comdat" >&5echo "${ECHO_T}$gcc_cv_as_nsubspa_comdat" >&6if test $gcc_cv_as_nsubspa_comdat = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_GAS_NSUBSPA_COMDAT 1_ACEOFfi# .hidden needs to be supported in both the assembler and the linker,# because GNU LD versions before 2.12.1 have buggy support for STV_HIDDEN.# This is irritatingly difficult to feature test for; we have to check the# date string after the version number. If we've got an in-tree# ld, we don't know its patchlevel version, so we set the baseline at 2.13# to be safe.# The gcc_GAS_CHECK_FEATURE call just sets a cache variable.echo "$as_me:$LINENO: checking assembler for .hidden" >&5echo $ECHO_N "checking assembler for .hidden... $ECHO_C" >&6if test "${gcc_cv_as_hidden+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_hidden=noif test $in_tree_gas = yes; thenif test $in_tree_gas_is_elf = yes \&& test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 13 \) \* 1000 + 0`then gcc_cv_as_hidden=yesfielif test x$gcc_cv_as != x; thenecho ' .hidden foobarfoobar:' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_hidden=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_hidden" >&5echo "${ECHO_T}$gcc_cv_as_hidden" >&6echo "$as_me:$LINENO: checking linker for .hidden support" >&5echo $ECHO_N "checking linker for .hidden support... $ECHO_C" >&6if test "${gcc_cv_ld_hidden+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elseif test $in_tree_ld = yes ; thengcc_cv_ld_hidden=noif test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 13 -o "$gcc_cv_gld_major_version" -gt 2 \&& test $in_tree_ld_is_elf = yes; thengcc_cv_ld_hidden=yesfielsegcc_cv_ld_hidden=yesld_ver=`$gcc_cv_ld --version 2>/dev/null | sed 1q`if echo "$ld_ver" | grep GNU > /dev/null; thenld_vers=`echo $ld_ver | sed -n \-e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*.*\)$,\1,p' \-e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\)[ ].*$,\1,p' \-e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)[ ].*$,\1,p' \-e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)[ ].*$,\1,p' \-e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)[ -].*$,\1,p'`ld_date=`echo $ld_ver | sed -n 's,^.*\([2-9][0-9][0-9][0-9]\)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,p'`ld_vers_major=`expr "$ld_vers" : '\([0-9]*\)'`ld_vers_minor=`expr "$ld_vers" : '[0-9]*\.\([0-9]*\)'`ld_vers_patch=`expr "$ld_vers" : '[0-9]*\.[0-9]*\.\([0-9]*\)'`if test 0"$ld_date" -lt 20020404; thenif test -n "$ld_date"; then# If there was date string, but was earlier than 2002-04-04, failgcc_cv_ld_hidden=noelif test -z "$ld_vers"; then# If there was no date string nor ld version number, something is wronggcc_cv_ld_hidden=noelsetest -z "$ld_vers_patch" && ld_vers_patch=0if test "$ld_vers_major" -lt 2; thengcc_cv_ld_hidden=noelif test "$ld_vers_major" -eq 2 -a "$ld_vers_minor" -lt 12; thengcc_cv_ld_hidden="no"elif test "$ld_vers_major" -eq 2 -a "$ld_vers_minor" -eq 12 -a "$ld_vers_patch" -eq 0; thengcc_cv_ld_hidden=nofififielsecase "${target}" inhppa64*-*-hpux* | ia64*-*-hpux*)gcc_cv_ld_hidden=yes;;*)gcc_cv_ld_hidden=no;;esacfififiecho "$as_me:$LINENO: result: $gcc_cv_ld_hidden" >&5echo "${ECHO_T}$gcc_cv_ld_hidden" >&6libgcc_visibility=noif test $gcc_cv_as_hidden = yes && test $gcc_cv_ld_hidden = yes; thenlibgcc_visibility=yescat >>confdefs.h <<\_ACEOF#define HAVE_GAS_HIDDEN 1_ACEOFfi# Check if we have .[us]leb128, and support symbol arithmetic with it.echo "$as_me:$LINENO: checking assembler for .sleb128 and .uleb128" >&5echo $ECHO_N "checking assembler for .sleb128 and .uleb128... $ECHO_C" >&6if test "${gcc_cv_as_leb128+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_leb128=noif test $in_tree_gas = yes; thenif test $in_tree_gas_is_elf = yes \&& test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 11 \) \* 1000 + 0`then gcc_cv_as_leb128=yesfielif test x$gcc_cv_as != x; thenecho ' .data.uleb128 L2 - L1L1:.uleb128 1280.sleb128 -1010L2:' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }then# GAS versions before 2.11 do not support uleb128,# despite appearing to.# ??? There exists an elf-specific test that will crash# the assembler. Perhaps it's better to figure out whether# arbitrary sections are supported and try the test.as_ver=`$gcc_cv_as --version 2>/dev/null | sed 1q`if echo "$as_ver" | grep GNU > /dev/null; thenas_ver=`echo $as_ver | sed -e 's/GNU assembler \([0-9.][0-9.]*\).*/\1/'`as_major=`echo $as_ver | sed 's/\..*//'`as_minor=`echo $as_ver | sed 's/[^.]*\.\([0-9]*\).*/\1/'`if test $as_major -eq 2 && test $as_minor -lt 11then :else gcc_cv_as_leb128=yesfifielseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_leb128" >&5echo "${ECHO_T}$gcc_cv_as_leb128" >&6if test $gcc_cv_as_leb128 = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_AS_LEB128 1_ACEOFfi# GAS versions up to and including 2.11.0 may mis-optimize# .eh_frame data.echo "$as_me:$LINENO: checking assembler for eh_frame optimization" >&5echo $ECHO_N "checking assembler for eh_frame optimization... $ECHO_C" >&6if test "${gcc_cv_as_eh_frame+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_eh_frame=noif test $in_tree_gas = yes; thenif test $in_tree_gas_is_elf = yes \&& test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 12 \) \* 1000 + 0`then gcc_cv_as_eh_frame=yesfielif test x$gcc_cv_as != x; thenecho ' .text.LFB1:.4byte 0.L1:.4byte 0.LFE1:.section .eh_frame,"aw",@progbits__FRAME_BEGIN__:.4byte .LECIE1-.LSCIE1.LSCIE1:.4byte 0x0.byte 0x1.ascii "z\0".byte 0x1.byte 0x78.byte 0x1a.byte 0x0.byte 0x4.4byte 1.p2align 1.LECIE1:.LSFDE1:.4byte .LEFDE1-.LASFDE1.LASFDE1:.4byte .LASFDE1-__FRAME_BEGIN__.4byte .LFB1.4byte .LFE1-.LFB1.byte 0x4.4byte .LFE1-.LFB1.byte 0x4.4byte .L1-.LFB1.LEFDE1:' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thencat > conftest.lit <<EOF0000 10000000 00000000 017a0001 781a0004 .........z..x...0010 01000000 12000000 18000000 00000000 ................0020 08000000 04080000 0044 .........DEOFcat > conftest.big <<EOF0000 00000010 00000000 017a0001 781a0004 .........z..x...0010 00000001 00000012 00000018 00000000 ................0020 00000008 04000000 0844 .........DEOF# If the assembler didn't choke, and we can objdump,# and we got the correct data, then succeed.# The text in the here-document typically retains its unix-style line# endings, while the output of objdump will use host line endings.# Therefore, use diff -b for the comparisons.if test x$gcc_cv_objdump != x \&& $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \| tail -3 > conftest.got \&& { diff -b conftest.lit conftest.got > /dev/null 2>&1 \|| diff -b conftest.big conftest.got > /dev/null 2>&1; }thengcc_cv_as_eh_frame=yeselif { ac_try='$gcc_cv_as -o conftest.o --traditional-format /dev/null'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }; thengcc_cv_as_eh_frame=buggyelse# Uh oh, what do we do now?gcc_cv_as_eh_frame=nofielseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_eh_frame" >&5echo "${ECHO_T}$gcc_cv_as_eh_frame" >&6if test $gcc_cv_as_eh_frame = buggy; thencat >>confdefs.h <<\_ACEOF#define USE_AS_TRADITIONAL_FORMAT 1_ACEOFfiecho "$as_me:$LINENO: checking assembler for section merging support" >&5echo $ECHO_N "checking assembler for section merging support... $ECHO_C" >&6if test "${gcc_cv_as_shf_merge+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_shf_merge=noif test $in_tree_gas = yes; thenif test $in_tree_gas_is_elf = yes \&& test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 12 \) \* 1000 + 0`then gcc_cv_as_shf_merge=yesfielif test x$gcc_cv_as != x; thenecho '.section .rodata.str, "aMS", @progbits, 1' > conftest.sif { ac_try='$gcc_cv_as --fatal-warnings -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_shf_merge=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_shf_merge" >&5echo "${ECHO_T}$gcc_cv_as_shf_merge" >&6if test $gcc_cv_as_shf_merge = no; thenecho "$as_me:$LINENO: checking assembler for section merging support" >&5echo $ECHO_N "checking assembler for section merging support... $ECHO_C" >&6if test "${gcc_cv_as_shf_merge+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_shf_merge=noif test $in_tree_gas = yes; thenif test $in_tree_gas_is_elf = yes \&& test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 12 \) \* 1000 + 0`then gcc_cv_as_shf_merge=yesfielif test x$gcc_cv_as != x; thenecho '.section .rodata.str, "aMS", %progbits, 1' > conftest.sif { ac_try='$gcc_cv_as --fatal-warnings -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_shf_merge=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_shf_merge" >&5echo "${ECHO_T}$gcc_cv_as_shf_merge" >&6ficat >>confdefs.h <<_ACEOF#define HAVE_GAS_SHF_MERGE `if test $gcc_cv_as_shf_merge = yes; then echo 1; else echo 0; fi`_ACEOFecho "$as_me:$LINENO: checking assembler for COMDAT group support" >&5echo $ECHO_N "checking assembler for COMDAT group support... $ECHO_C" >&6if test "${gcc_cv_as_comdat_group+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_comdat_group=noif test $in_tree_gas = yes; thenif test $in_tree_gas_is_elf = yes \&& test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 16 \) \* 1000 + 0`then gcc_cv_as_comdat_group=yesfielif test x$gcc_cv_as != x; thenecho '.section .text,"axG",@progbits,.foo,comdat' > conftest.sif { ac_try='$gcc_cv_as --fatal-warnings -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_comdat_group=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_comdat_group" >&5echo "${ECHO_T}$gcc_cv_as_comdat_group" >&6if test $gcc_cv_as_comdat_group = yes; thengcc_cv_as_comdat_group_percent=noelseecho "$as_me:$LINENO: checking assembler for COMDAT group support" >&5echo $ECHO_N "checking assembler for COMDAT group support... $ECHO_C" >&6if test "${gcc_cv_as_comdat_group_percent+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_comdat_group_percent=noif test $in_tree_gas = yes; thenif test $in_tree_gas_is_elf = yes \&& test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 16 \) \* 1000 + 0`then gcc_cv_as_comdat_group_percent=yesfielif test x$gcc_cv_as != x; thenecho '.section .text,"axG",%progbits,.foo,comdat' > conftest.sif { ac_try='$gcc_cv_as --fatal-warnings -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_comdat_group_percent=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_comdat_group_percent" >&5echo "${ECHO_T}$gcc_cv_as_comdat_group_percent" >&6fiif test $in_tree_ld != yes && test x"$ld_vers" != x; thencomdat_group=yesif test 0"$ld_date" -lt 20050308; thenif test -n "$ld_date"; then# If there was date string, but was earlier than 2005-03-08, failcomdat_group=noelif test "$ld_vers_major" -lt 2; thencomdat_group=noelif test "$ld_vers_major" -eq 2 -a "$ld_vers_minor" -lt 16; thencomdat_group=nofifielse# assume linkers other than GNU ld don't support COMDAT groupcomdat_group=nofiif test $comdat_group = no; thengcc_cv_as_comdat_group=nogcc_cv_as_comdat_group_percent=noficat >>confdefs.h <<_ACEOF#define HAVE_COMDAT_GROUP `if test $gcc_cv_as_comdat_group = yes || test $gcc_cv_as_comdat_group_percent = yes; then echo 1; else echo 0; fi`_ACEOF# Thread-local storage - the check is heavily parametrized.conftest_s=tls_first_major=tls_first_minor=tls_as_opt=case "$target" inalpha*-*-*)conftest_s='.section ".tdata","awT",@progbitsfoo: .long 25.textldq $27,__tls_get_addr($29) !literal!1lda $16,foo($29) !tlsgd!1jsr $26,($27),__tls_get_addr !lituse_tlsgd!1ldq $27,__tls_get_addr($29) !literal!2lda $16,foo($29) !tlsldm!2jsr $26,($27),__tls_get_addr !lituse_tlsldm!2ldq $1,foo($29) !gotdtprelldah $2,foo($29) !dtprelhilda $3,foo($2) !dtprellolda $4,foo($29) !dtprelldq $1,foo($29) !gottprelldah $2,foo($29) !tprelhilda $3,foo($2) !tprellolda $4,foo($29) !tprel'tls_first_major=2tls_first_minor=13tls_as_opt=--fatal-warnings;;frv*-*-*)conftest_s='.section ".tdata","awT",@progbitsx: .long 25.textcall #gettlsoff(x)'tls_first_major=2tls_first_minor=14;;hppa*-*-linux*)conftest_s='t1: .reg %r20t2: .reg %r21gp: .reg %r19.section ".tdata","awT",@progbitsfoo: .long 25.text.align 4addil LT%foo-$tls_gdidx$,gpldo RT%foo-$tls_gdidx$(%r1),%arg0b __tls_get_addrnopaddil LT%foo-$tls_ldidx$,gpb __tls_get_addrldo RT%foo-$tls_ldidx$(%r1),%arg0addil LR%foo-$tls_dtpoff$,%ret0ldo RR%foo-$tls_dtpoff$(%r1),%t1mfctl %cr27,%t1addil LT%foo-$tls_ieoff$,gpldw RT%foo-$tls_ieoff$(%r1),%t2add %t1,%t2,%t3mfctl %cr27,%t1addil LR%foo-$tls_leoff$,%t1ldo RR%foo-$tls_leoff$(%r1),%t2'tls_first_major=2tls_first_minor=15tls_as_opt=--fatal-warnings;;arm*-*-*)conftest_s='.section ".tdata","awT",%progbitsfoo: .long 25.text.word foo(gottpoff).word foo(tpoff).word foo(tlsgd).word foo(tlsldm).word foo(tlsldo)'tls_first_major=2tls_first_minor=17;;i[34567]86-*-*)conftest_s='.section ".tdata","awT",@progbitsfoo: .long 25.textmovl %gs:0, %eaxleal foo@TLSGD(,%ebx,1), %eaxleal foo@TLSLDM(%ebx), %eaxleal foo@DTPOFF(%eax), %edxmovl foo@GOTTPOFF(%ebx), %eaxsubl foo@GOTTPOFF(%ebx), %eaxaddl foo@GOTNTPOFF(%ebx), %eaxmovl foo@INDNTPOFF, %eaxmovl $foo@TPOFF, %eaxsubl $foo@TPOFF, %eaxleal foo@NTPOFF(%ecx), %eax'tls_first_major=2tls_first_minor=14tls_as_opt=--fatal-warnings;;x86_64-*-*)conftest_s='.section ".tdata","awT",@progbitsfoo: .long 25.textmovq %fs:0, %raxleaq foo@TLSGD(%rip), %rdileaq foo@TLSLD(%rip), %rdileaq foo@DTPOFF(%rax), %rdxmovq foo@GOTTPOFF(%rip), %raxmovq $foo@TPOFF, %rax'tls_first_major=2tls_first_minor=14tls_as_opt=--fatal-warnings;;ia64-*-*)conftest_s='.section ".tdata","awT",@progbitsfoo: data8 25.textaddl r16 = @ltoff(@dtpmod(foo#)), gpaddl r17 = @ltoff(@dtprel(foo#)), gpaddl r18 = @ltoff(@tprel(foo#)), gpaddl r19 = @dtprel(foo#), gpadds r21 = @dtprel(foo#), r13movl r23 = @dtprel(foo#)addl r20 = @tprel(foo#), gpadds r22 = @tprel(foo#), r13movl r24 = @tprel(foo#)'tls_first_major=2tls_first_minor=13tls_as_opt=--fatal-warnings;;mips*-*-*)conftest_s='.section .tdata,"awT",@progbitsx:.word 2.textaddiu $4, $28, %tlsgd(x)addiu $4, $28, %tlsldm(x)lui $4, %dtprel_hi(x)addiu $4, $4, %dtprel_lo(x)lw $4, %gottprel(x)($28)lui $4, %tprel_hi(x)addiu $4, $4, %tprel_lo(x)'tls_first_major=2tls_first_minor=16tls_as_opt='-32 --fatal-warnings';;powerpc-*-*)conftest_s='.section ".tdata","awT",@progbits.align 2ld0: .space 4ld1: .space 4x1: .space 4x2: .space 4x3: .space 4.textaddi 3,31,ld0@got@tlsgdbl __tls_get_addraddi 3,31,x1@got@tlsldbl __tls_get_addraddi 9,3,x1@dtpreladdis 9,3,x2@dtprel@haaddi 9,9,x2@dtprel@llwz 9,x3@got@tprel(31)add 9,9,x@tlsaddi 9,2,x1@tpreladdis 9,2,x2@tprel@haaddi 9,9,x2@tprel@l'tls_first_major=2tls_first_minor=14tls_as_opt="-a32 --fatal-warnings";;powerpc64-*-*)conftest_s='.section ".tdata","awT",@progbits.align 3ld0: .space 8ld1: .space 8x1: .space 8x2: .space 8x3: .space 8.textaddi 3,2,ld0@got@tlsgdbl .__tls_get_addrnopaddi 3,2,ld1@tocbl .__tls_get_addrnopaddi 3,2,x1@got@tlsldbl .__tls_get_addrnopaddi 9,3,x1@dtprelbl .__tls_get_addrnopaddis 9,3,x2@dtprel@haaddi 9,9,x2@dtprel@lbl .__tls_get_addrnopld 9,x3@got@dtprel(2)add 9,9,3bl .__tls_get_addrnop'tls_first_major=2tls_first_minor=14tls_as_opt="-a64 --fatal-warnings";;s390-*-*)conftest_s='.section ".tdata","awT",@progbitsfoo: .long 25.text.long foo@TLSGD.long foo@TLSLDM.long foo@DTPOFF.long foo@NTPOFF.long foo@GOTNTPOFF.long foo@INDNTPOFFl %r1,foo@GOTNTPOFF(%r12)l %r1,0(%r1):tls_load:foobas %r14,0(%r1,%r13):tls_gdcall:foobas %r14,0(%r1,%r13):tls_ldcall:foo'tls_first_major=2tls_first_minor=14tls_as_opt="-m31 --fatal-warnings";;s390x-*-*)conftest_s='.section ".tdata","awT",@progbitsfoo: .long 25.text.quad foo@TLSGD.quad foo@TLSLDM.quad foo@DTPOFF.quad foo@NTPOFF.quad foo@GOTNTPOFFlg %r1,foo@GOTNTPOFF(%r12)larl %r1,foo@INDNTPOFFbrasl %r14,__tls_get_offset@PLT:tls_gdcall:foobrasl %r14,__tls_get_offset@PLT:tls_ldcall:foo'tls_first_major=2tls_first_minor=14tls_as_opt="-m64 -Aesame --fatal-warnings";;sh-*-* | sh[34]-*-*)conftest_s='.section ".tdata","awT",@progbitsfoo: .long 25.text.long foo@TLSGD.long foo@TLSLDM.long foo@DTPOFF.long foo@GOTTPOFF.long foo@TPOFF'tls_first_major=2tls_first_minor=13tls_as_opt=--fatal-warnings;;sparc*-*-*)case "$target" insparc*-sun-solaris2.[56789]*)# TLS was introduced in the Solaris 9 4/04 release but# we do not enable it by default on Solaris 9 either.if test "x$enable_tls" = xyes ; thenon_solaris=yeselseenable_tls=no;fi;;sparc*-sun-solaris2.*)on_solaris=yes;;*)on_solaris=no;;esacif test x$on_solaris = xyes && test x$gas_flag = xno; thenconftest_s='.section ".tdata",#alloc,#write,#tlsfoo: .long 25.textsethi %tgd_hi22(foo), %o0add %o0, %tgd_lo10(foo), %o1add %l7, %o1, %o0, %tgd_add(foo)call __tls_get_addr, %tgd_call(foo)sethi %tldm_hi22(foo), %l1add %l1, %tldm_lo10(foo), %l2add %l7, %l2, %o0, %tldm_add(foo)call __tls_get_addr, %tldm_call(foo)sethi %tldo_hix22(foo), %l3xor %l3, %tldo_lox10(foo), %l4add %o0, %l4, %l5, %tldo_add(foo)sethi %tie_hi22(foo), %o3add %o3, %tie_lo10(foo), %o3ld [%l7 + %o3], %o2, %tie_ld(foo)add %g7, %o2, %o4, %tie_add(foo)sethi %tle_hix22(foo), %l1xor %l1, %tle_lox10(foo), %o5ld [%g7 + %o5], %o1'tls_first_major=0tls_first_minor=0elseconftest_s='.section ".tdata","awT",@progbitsfoo: .long 25.textsethi %tgd_hi22(foo), %o0add %o0, %tgd_lo10(foo), %o1add %l7, %o1, %o0, %tgd_add(foo)call __tls_get_addr, %tgd_call(foo)sethi %tldm_hi22(foo), %l1add %l1, %tldm_lo10(foo), %l2add %l7, %l2, %o0, %tldm_add(foo)call __tls_get_addr, %tldm_call(foo)sethi %tldo_hix22(foo), %l3xor %l3, %tldo_lox10(foo), %l4add %o0, %l4, %l5, %tldo_add(foo)sethi %tie_hi22(foo), %o3add %o3, %tie_lo10(foo), %o3ld [%l7 + %o3], %o2, %tie_ld(foo)add %g7, %o2, %o4, %tie_add(foo)sethi %tle_hix22(foo), %l1xor %l1, %tle_lox10(foo), %o5ld [%g7 + %o5], %o1'tls_first_major=2tls_first_minor=14tls_as_opt="-32 --fatal-warnings"fi;;esacset_have_as_tls=noif test "x$enable_tls" = xno ; then: # TLS explicitly disabled.elif test "x$enable_tls" = xyes ; thenset_have_as_tls=yes # TLS explicitly enabled.elif test -z "$tls_first_major"; then: # If we don't have a check, assume no support.elseecho "$as_me:$LINENO: checking assembler for thread-local storage support" >&5echo $ECHO_N "checking assembler for thread-local storage support... $ECHO_C" >&6if test "${gcc_cv_as_tls+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_tls=noif test $in_tree_gas = yes; thenif test $gcc_cv_gas_vers -ge `expr \( \( $tls_first_major \* 1000 \) + $tls_first_minor \) \* 1000 + 0`then gcc_cv_as_tls=yesfielif test x$gcc_cv_as != x; thenecho "$conftest_s" > conftest.sif { ac_try='$gcc_cv_as $tls_as_opt -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_tls=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_tls" >&5echo "${ECHO_T}$gcc_cv_as_tls" >&6if test $gcc_cv_as_tls = yes; thenset_have_as_tls=yesfifiif test $set_have_as_tls = yes ; thencat >>confdefs.h <<\_ACEOF#define HAVE_AS_TLS 1_ACEOFfi# Target-specific assembler checks.echo "$as_me:$LINENO: checking linker -Bstatic/-Bdynamic option" >&5echo $ECHO_N "checking linker -Bstatic/-Bdynamic option... $ECHO_C" >&6gcc_cv_ld_static_dynamic=noif test $in_tree_ld = yes ; thenif test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 10; thengcc_cv_ld_static_dynamic=yesfielif test x$gcc_cv_ld != x; then# Check if linker supports -Bstatic/-Bdynamic optionif $gcc_cv_ld --help 2>/dev/null | grep -- -Bstatic > /dev/null \&& $gcc_cv_ld --help 2>/dev/null | grep -- -Bdynamic > /dev/null; thengcc_cv_ld_static_dynamic=yesfifiif test x"$gcc_cv_ld_static_dynamic" = xyes; thencat >>confdefs.h <<\_ACEOF#define HAVE_LD_STATIC_DYNAMIC 1_ACEOFfiecho "$as_me:$LINENO: result: $gcc_cv_ld_static_dynamic" >&5echo "${ECHO_T}$gcc_cv_ld_static_dynamic" >&6if test x"$demangler_in_ld" = xyes; thenecho "$as_me:$LINENO: checking linker --demangle support" >&5echo $ECHO_N "checking linker --demangle support... $ECHO_C" >&6gcc_cv_ld_demangle=noif test $in_tree_ld = yes; thenif test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 14 -o "$gcc_cv_gld_major_version" -gt 2; then \gcc_cv_ld_demangle=yesfielif test x$gcc_cv_ld != x -a x"$gnu_ld" = xyes; then# Check if the GNU linker supports --demangle optionif $gcc_cv_ld --help 2>/dev/null | grep no-demangle > /dev/null; thengcc_cv_ld_demangle=yesfifiif test x"$gcc_cv_ld_demangle" = xyes; thencat >>confdefs.h <<\_ACEOF#define HAVE_LD_DEMANGLE 1_ACEOFfiecho "$as_me:$LINENO: result: $gcc_cv_ld_demangle" >&5echo "${ECHO_T}$gcc_cv_ld_demangle" >&6ficase "$target" in# All TARGET_ABI_OSF targets.alpha*-*-osf* | alpha*-*-linux* | alpha*-*-*bsd*)echo "$as_me:$LINENO: checking assembler for explicit relocation support" >&5echo $ECHO_N "checking assembler for explicit relocation support... $ECHO_C" >&6if test "${gcc_cv_as_alpha_explicit_relocs+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_alpha_explicit_relocs=noif test $in_tree_gas = yes; thenif test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 12 \) \* 1000 + 0`then gcc_cv_as_alpha_explicit_relocs=yesfielif test x$gcc_cv_as != x; thenecho ' .set nomacro.textextbl $3, $2, $3 !lituse_bytoff!1ldq $2, a($29) !literal!1ldq $4, b($29) !literal!2ldq_u $3, 0($2) !lituse_base!1ldq $27, f($29) !literal!5jsr $26, ($27), f !lituse_jsr!5ldah $29, 0($26) !gpdisp!3lda $0, c($29) !gprelldah $1, d($29) !gprelhighlda $1, d($1) !gprellowlda $29, 0($29) !gpdisp!3' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_alpha_explicit_relocs=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_alpha_explicit_relocs" >&5echo "${ECHO_T}$gcc_cv_as_alpha_explicit_relocs" >&6if test $gcc_cv_as_alpha_explicit_relocs = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_AS_EXPLICIT_RELOCS 1_ACEOFfiecho "$as_me:$LINENO: checking assembler for jsrdirect relocation support" >&5echo $ECHO_N "checking assembler for jsrdirect relocation support... $ECHO_C" >&6if test "${gcc_cv_as_alpha_jsrdirect_relocs+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_alpha_jsrdirect_relocs=noif test $in_tree_gas = yes; thenif test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 16 \) \* 1000 + 90`then gcc_cv_as_alpha_jsrdirect_relocs=yesfielif test x$gcc_cv_as != x; thenecho ' .set nomacro.textldq $27, a($29) !literal!1jsr $26, ($27), a !lituse_jsrdirect!1' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_alpha_jsrdirect_relocs=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_alpha_jsrdirect_relocs" >&5echo "${ECHO_T}$gcc_cv_as_alpha_jsrdirect_relocs" >&6if test $gcc_cv_as_alpha_jsrdirect_relocs = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_AS_JSRDIRECT_RELOCS 1_ACEOFfi;;cris-*-*)echo "$as_me:$LINENO: checking assembler for -no-mul-bug-abort option" >&5echo $ECHO_N "checking assembler for -no-mul-bug-abort option... $ECHO_C" >&6if test "${gcc_cv_as_cris_no_mul_bug+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_cris_no_mul_bug=noif test $in_tree_gas = yes; thenif test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 15 \) \* 1000 + 91`then gcc_cv_as_cris_no_mul_bug=yesfielif test x$gcc_cv_as != x; thenecho '.text' > conftest.sif { ac_try='$gcc_cv_as -no-mul-bug-abort -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_cris_no_mul_bug=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_cris_no_mul_bug" >&5echo "${ECHO_T}$gcc_cv_as_cris_no_mul_bug" >&6if test $gcc_cv_as_cris_no_mul_bug = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_AS_NO_MUL_BUG_ABORT_OPTION 1_ACEOFfi;;sparc*-*-*)echo "$as_me:$LINENO: checking assembler for .register" >&5echo $ECHO_N "checking assembler for .register... $ECHO_C" >&6if test "${gcc_cv_as_sparc_register_op+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_sparc_register_op=noif test x$gcc_cv_as != x; thenecho '.register %g2, #scratch' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_sparc_register_op=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_sparc_register_op" >&5echo "${ECHO_T}$gcc_cv_as_sparc_register_op" >&6if test $gcc_cv_as_sparc_register_op = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_AS_REGISTER_PSEUDO_OP 1_ACEOFfiecho "$as_me:$LINENO: checking assembler for -relax option" >&5echo $ECHO_N "checking assembler for -relax option... $ECHO_C" >&6if test "${gcc_cv_as_sparc_relax+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_sparc_relax=noif test x$gcc_cv_as != x; thenecho '.text' > conftest.sif { ac_try='$gcc_cv_as -relax -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_sparc_relax=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_sparc_relax" >&5echo "${ECHO_T}$gcc_cv_as_sparc_relax" >&6if test $gcc_cv_as_sparc_relax = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_AS_RELAX_OPTION 1_ACEOFfiecho "$as_me:$LINENO: checking assembler for unaligned pcrel relocs" >&5echo $ECHO_N "checking assembler for unaligned pcrel relocs... $ECHO_C" >&6if test "${gcc_cv_as_sparc_ua_pcrel+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_sparc_ua_pcrel=noif test x$gcc_cv_as != x; thenecho '.textfoo:nop.data.align 4.byte 0.uaword %r_disp32(foo)' > conftest.sif { ac_try='$gcc_cv_as -K PIC -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thenif test x$gcc_cv_ld != x \&& $gcc_cv_ld -o conftest conftest.o -G > /dev/null 2>&1; thengcc_cv_as_sparc_ua_pcrel=yesfirm -f conftestelseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_sparc_ua_pcrel" >&5echo "${ECHO_T}$gcc_cv_as_sparc_ua_pcrel" >&6if test $gcc_cv_as_sparc_ua_pcrel = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_AS_SPARC_UA_PCREL 1_ACEOFecho "$as_me:$LINENO: checking assembler for unaligned pcrel relocs against hidden symbols" >&5echo $ECHO_N "checking assembler for unaligned pcrel relocs against hidden symbols... $ECHO_C" >&6if test "${gcc_cv_as_sparc_ua_pcrel_hidden+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_sparc_ua_pcrel_hidden=noif test x$gcc_cv_as != x; thenecho '.data.align 4.byte 0x31.uaword %r_disp32(foo).byte 0x32, 0x33, 0x34.global foo.hidden foofoo:.skip 4' > conftest.sif { ac_try='$gcc_cv_as -K PIC -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thenif 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_objdump -s -j .data conftest 2> /dev/null \| grep ' 31000000 07323334' > /dev/null 2>&1; thenif $gcc_cv_objdump -R conftest 2> /dev/null \| grep 'DISP32' > /dev/null 2>&1; then:elsegcc_cv_as_sparc_ua_pcrel_hidden=yesfifirm -f conftestelseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_sparc_ua_pcrel_hidden" >&5echo "${ECHO_T}$gcc_cv_as_sparc_ua_pcrel_hidden" >&6if test $gcc_cv_as_sparc_ua_pcrel_hidden = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_AS_SPARC_UA_PCREL_HIDDEN 1_ACEOFfifi # unaligned pcrel relocsecho "$as_me:$LINENO: checking assembler for offsetable %lo()" >&5echo $ECHO_N "checking assembler for offsetable %lo()... $ECHO_C" >&6if test "${gcc_cv_as_sparc_offsetable_lo10+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_sparc_offsetable_lo10=noif test x$gcc_cv_as != x; thenecho '.textor %g1, %lo(ab) + 12, %g1or %g1, %lo(ab + 12), %g1' > conftest.sif { ac_try='$gcc_cv_as -xarch=v9 -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thenif test x$gcc_cv_objdump != x \&& $gcc_cv_objdump -s -j .text conftest.o 2> /dev/null \| grep ' 82106000 82106000' > /dev/null 2>&1; thengcc_cv_as_sparc_offsetable_lo10=yesfielseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_sparc_offsetable_lo10" >&5echo "${ECHO_T}$gcc_cv_as_sparc_offsetable_lo10" >&6if test $gcc_cv_as_sparc_offsetable_lo10 = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_AS_OFFSETABLE_LO10 1_ACEOFfi;;i[34567]86-*-* | x86_64-*-*)case $target_os incygwin* | pe | mingw32*)# Used for DWARF 2 in PEecho "$as_me:$LINENO: checking assembler for .secrel32 relocs" >&5echo $ECHO_N "checking assembler for .secrel32 relocs... $ECHO_C" >&6if test "${gcc_cv_as_ix86_pe_secrel32+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_ix86_pe_secrel32=noif test $in_tree_gas = yes; thenif test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 15 \) \* 1000 + 91`then gcc_cv_as_ix86_pe_secrel32=yesfielif test x$gcc_cv_as != x; thenecho '.textfoo: nop.data.secrel32 foo' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thenif test x$gcc_cv_ld != x \&& $gcc_cv_ld -o conftest conftest.o > /dev/null 2>&1; thengcc_cv_as_ix86_pe_secrel32=yesfirm -f conftestelseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_ix86_pe_secrel32" >&5echo "${ECHO_T}$gcc_cv_as_ix86_pe_secrel32" >&6if test $gcc_cv_as_ix86_pe_secrel32 = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_GAS_PE_SECREL32_RELOC 1_ACEOFfi;;esacecho "$as_me:$LINENO: checking assembler for filds and fists mnemonics" >&5echo $ECHO_N "checking assembler for filds and fists mnemonics... $ECHO_C" >&6if test "${gcc_cv_as_ix86_filds_fists+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_ix86_filds_fists=noif test $in_tree_gas = yes; thenif test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 9 \) \* 1000 + 0`then gcc_cv_as_ix86_filds_fists=yesfielif test x$gcc_cv_as != x; thenecho 'filds mem; fists mem' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_ix86_filds_fists=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_ix86_filds_fists" >&5echo "${ECHO_T}$gcc_cv_as_ix86_filds_fists" >&6if test $gcc_cv_as_ix86_filds_fists = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_GAS_FILDS_FISTS 1_ACEOFfiecho "$as_me:$LINENO: checking assembler for cmov syntax" >&5echo $ECHO_N "checking assembler for cmov syntax... $ECHO_C" >&6if test "${gcc_cv_as_ix86_cmov_sun_syntax+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_ix86_cmov_sun_syntax=noif test x$gcc_cv_as != x; thenecho 'cmovl.l %edx, %eax' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_ix86_cmov_sun_syntax=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_ix86_cmov_sun_syntax" >&5echo "${ECHO_T}$gcc_cv_as_ix86_cmov_sun_syntax" >&6if test $gcc_cv_as_ix86_cmov_sun_syntax = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_AS_IX86_CMOV_SUN_SYNTAX 1_ACEOFfiecho "$as_me:$LINENO: checking assembler for ffreep mnemonic" >&5echo $ECHO_N "checking assembler for ffreep mnemonic... $ECHO_C" >&6if test "${gcc_cv_as_ix86_ffreep+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_ix86_ffreep=noif test x$gcc_cv_as != x; thenecho 'ffreep %st(1)' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_ix86_ffreep=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_ix86_ffreep" >&5echo "${ECHO_T}$gcc_cv_as_ix86_ffreep" >&6if test $gcc_cv_as_ix86_ffreep = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_AS_IX86_FFREEP 1_ACEOFfi# This one is used unconditionally by i386.[ch]; it is to be defined# to 1 if the feature is present, 0 otherwise.echo "$as_me:$LINENO: checking assembler for GOTOFF in data" >&5echo $ECHO_N "checking assembler for GOTOFF in data... $ECHO_C" >&6if test "${gcc_cv_as_ix86_gotoff_in_data+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_ix86_gotoff_in_data=noif test $in_tree_gas = yes; thenif test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 11 \) \* 1000 + 0`then gcc_cv_as_ix86_gotoff_in_data=yesfielif test x$gcc_cv_as != x; thenecho ' .text.L0:nop.data.long .L0@GOTOFF' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_ix86_gotoff_in_data=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_ix86_gotoff_in_data" >&5echo "${ECHO_T}$gcc_cv_as_ix86_gotoff_in_data" >&6cat >>confdefs.h <<_ACEOF#define HAVE_AS_GOTOFF_IN_DATA `if test $gcc_cv_as_ix86_gotoff_in_data = yes; then echo 1; else echo 0; fi`_ACEOF;;ia64*-*-*)echo "$as_me:$LINENO: checking assembler for ltoffx and ldxmov relocs" >&5echo $ECHO_N "checking assembler for ltoffx and ldxmov relocs... $ECHO_C" >&6if test "${gcc_cv_as_ia64_ltoffx_ldxmov_relocs+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_ia64_ltoffx_ldxmov_relocs=noif test $in_tree_gas = yes; thenif test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 14 \) \* 1000 + 0`then gcc_cv_as_ia64_ltoffx_ldxmov_relocs=yesfielif test x$gcc_cv_as != x; thenecho ' .textaddl r15 = @ltoffx(x#), gp;;ld8.mov r16 = [r15], x#' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_ia64_ltoffx_ldxmov_relocs=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_ia64_ltoffx_ldxmov_relocs" >&5echo "${ECHO_T}$gcc_cv_as_ia64_ltoffx_ldxmov_relocs" >&6if test $gcc_cv_as_ia64_ltoffx_ldxmov_relocs = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_AS_LTOFFX_LDXMOV_RELOCS 1_ACEOFfi;;powerpc*-*-*)case $target in*-*-aix*) conftest_s=' .machine "pwr5".csect .text[PR]mfcr 3,128';;*-*-darwin*)echo "$as_me:$LINENO: checking assembler for .machine directive support" >&5echo $ECHO_N "checking assembler for .machine directive support... $ECHO_C" >&6if test "${gcc_cv_as_machine_directive+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_machine_directive=noif test x$gcc_cv_as != x; thenecho ' .machine ppc7400' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_machine_directive=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_machine_directive" >&5echo "${ECHO_T}$gcc_cv_as_machine_directive" >&6if test x$gcc_cv_as_machine_directive != xyes; thenecho "*** This target requires an assembler supporting \".machine\"" >&2echo you can get it from: ftp://gcc.gnu.org/pub/gcc/infrastructure/cctools-528.5.dmg >&2test x$build = x$target && exit 1ficonftest_s=' .textmfcr r3,128';;*) conftest_s=' .machine power4.textmfcr 3,128';;esacecho "$as_me:$LINENO: checking assembler for mfcr field support" >&5echo $ECHO_N "checking assembler for mfcr field support... $ECHO_C" >&6if test "${gcc_cv_as_powerpc_mfcrf+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_powerpc_mfcrf=noif test $in_tree_gas = yes; thenif test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 14 \) \* 1000 + 0`then gcc_cv_as_powerpc_mfcrf=yesfielif test x$gcc_cv_as != x; thenecho "$conftest_s" > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_powerpc_mfcrf=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_powerpc_mfcrf" >&5echo "${ECHO_T}$gcc_cv_as_powerpc_mfcrf" >&6if test $gcc_cv_as_powerpc_mfcrf = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_AS_MFCRF 1_ACEOFficase $target in*-*-aix*) conftest_s=' .machine "pwr5".csect .text[PR]popcntb 3,3';;*) conftest_s=' .machine power5.textpopcntb 3,3';;esacecho "$as_me:$LINENO: checking assembler for popcntb support" >&5echo $ECHO_N "checking assembler for popcntb support... $ECHO_C" >&6if test "${gcc_cv_as_powerpc_popcntb+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_powerpc_popcntb=noif test $in_tree_gas = yes; thenif test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 17 \) \* 1000 + 0`then gcc_cv_as_powerpc_popcntb=yesfielif test x$gcc_cv_as != x; thenecho "$conftest_s" > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_powerpc_popcntb=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_powerpc_popcntb" >&5echo "${ECHO_T}$gcc_cv_as_powerpc_popcntb" >&6if test $gcc_cv_as_powerpc_popcntb = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_AS_POPCNTB 1_ACEOFficase $target in*-*-aix*) conftest_s=' .machine "pwr5x".csect .text[PR]frin 1,1';;*) conftest_s=' .machine power5.textfrin 1,1';;esacecho "$as_me:$LINENO: checking assembler for fp round support" >&5echo $ECHO_N "checking assembler for fp round support... $ECHO_C" >&6if test "${gcc_cv_as_powerpc_fprnd+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_powerpc_fprnd=noif test $in_tree_gas = yes; thenif test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 17 \) \* 1000 + 0`then gcc_cv_as_powerpc_fprnd=yesfielif test x$gcc_cv_as != x; thenecho "$conftest_s" > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_powerpc_fprnd=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_powerpc_fprnd" >&5echo "${ECHO_T}$gcc_cv_as_powerpc_fprnd" >&6if test $gcc_cv_as_powerpc_fprnd = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_AS_FPRND 1_ACEOFficase $target in*-*-aix*) conftest_s=' .csect .text[PR]LCF..0:addis 11,30,_GLOBAL_OFFSET_TABLE_-LCF..0@ha';;*-*-darwin*)conftest_s=' .textLCF0:addis r11,r30,_GLOBAL_OFFSET_TABLE_-LCF0@ha';;*) conftest_s=' .text.LCF0:addis 11,30,_GLOBAL_OFFSET_TABLE_-.LCF0@ha';;esacecho "$as_me:$LINENO: checking assembler for rel16 relocs" >&5echo $ECHO_N "checking assembler for rel16 relocs... $ECHO_C" >&6if test "${gcc_cv_as_powerpc_rel16+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_powerpc_rel16=noif test $in_tree_gas = yes; thenif test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 17 \) \* 1000 + 0`then gcc_cv_as_powerpc_rel16=yesfielif test x$gcc_cv_as != x; thenecho "$conftest_s" > conftest.sif { ac_try='$gcc_cv_as -a32 -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_powerpc_rel16=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_powerpc_rel16" >&5echo "${ECHO_T}$gcc_cv_as_powerpc_rel16" >&6if test $gcc_cv_as_powerpc_rel16 = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_AS_REL16 1_ACEOFfi;;mips*-*-*)echo "$as_me:$LINENO: checking assembler for explicit relocation support" >&5echo $ECHO_N "checking assembler for explicit relocation support... $ECHO_C" >&6if test "${gcc_cv_as_mips_explicit_relocs+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_mips_explicit_relocs=noif test $in_tree_gas = yes; thenif test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 14 \) \* 1000 + 0`then gcc_cv_as_mips_explicit_relocs=yesfielif test x$gcc_cv_as != x; thenecho ' lw $4,%gp_rel(foo)($4)' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_mips_explicit_relocs=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_mips_explicit_relocs" >&5echo "${ECHO_T}$gcc_cv_as_mips_explicit_relocs" >&6if test $gcc_cv_as_mips_explicit_relocs = yes; thenif test x$target_cpu_default = xthen target_cpu_default=MASK_EXPLICIT_RELOCSelse target_cpu_default="($target_cpu_default)|MASK_EXPLICIT_RELOCS"fifi;;esac# Mips and HP-UX need the GNU assembler.# Linux on IA64 might be able to use the Intel assembler.case "$target" inmips*-*-* | *-*-hpux* )if test x$gas_flag = xyes \|| test x"$host" != x"$build" \|| test ! -x "$gcc_cv_as" \|| "$gcc_cv_as" -v < /dev/null 2>&1 | grep GNU > /dev/null; then:elseecho "*** This configuration requires the GNU assembler" >&2exit 1fi;;esac# ??? Not all targets support dwarf2 debug_line, even within a version# of gas. Moreover, we need to emit a valid instruction to trigger any# info to the output file. So, as supported targets are added to gas 2.11,# add some instruction here to (also) show we expect this might work.# ??? Once 2.11 is released, probably need to add first known working# version to the per-target configury.case "$target" ini?86*-*-* | mips*-*-* | alpha*-*-* | powerpc*-*-* | sparc*-*-* | m68*-*-* \| x86_64*-*-* | hppa*-*-* | arm*-*-* | strongarm*-*-* | xscale*-*-* \| xstormy16*-*-* | cris-*-* | xtensa-*-* | bfin-*-* | score*-*-*)insn="nop";;ia64*-*-* | s390*-*-*)insn="nop 0";;mmix-*-*)insn="swym 0";;esacif test x"$insn" != x; thenconftest_s="\.file 1 \"conftest.s\".loc 1 3 0$insn"echo "$as_me:$LINENO: checking assembler for dwarf2 debug_line support" >&5echo $ECHO_N "checking assembler for dwarf2 debug_line support... $ECHO_C" >&6if test "${gcc_cv_as_dwarf2_debug_line+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_dwarf2_debug_line=noif test $in_tree_gas = yes; thenif test $in_tree_gas_is_elf = yes \&& test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 11 \) \* 1000 + 0`then gcc_cv_as_dwarf2_debug_line=yesfielif test x$gcc_cv_as != x; thenecho "$conftest_s" > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thenif test x$gcc_cv_objdump != x \&& $gcc_cv_objdump -h conftest.o 2> /dev/null \| grep debug_line > /dev/null 2>&1; thengcc_cv_as_dwarf2_debug_line=yesfielseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_dwarf2_debug_line" >&5echo "${ECHO_T}$gcc_cv_as_dwarf2_debug_line" >&6# The .debug_line file table must be in the exact order that# we specified the files, since these indices are also used# by DW_AT_decl_file. Approximate this test by testing if# the assembler bitches if the same index is assigned twice.echo "$as_me:$LINENO: checking assembler for buggy dwarf2 .file directive" >&5echo $ECHO_N "checking assembler for buggy dwarf2 .file directive... $ECHO_C" >&6if test "${gcc_cv_as_dwarf2_file_buggy+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_dwarf2_file_buggy=noif test x$gcc_cv_as != x; thenecho ' .file 1 "foo.s".file 1 "bar.s"' > conftest.sif { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_dwarf2_file_buggy=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_dwarf2_file_buggy" >&5echo "${ECHO_T}$gcc_cv_as_dwarf2_file_buggy" >&6if test $gcc_cv_as_dwarf2_debug_line = yes \&& test $gcc_cv_as_dwarf2_file_buggy = no; thencat >>confdefs.h <<\_ACEOF#define HAVE_AS_DWARF2_DEBUG_LINE 1_ACEOFfiecho "$as_me:$LINENO: checking assembler for --gdwarf2 option" >&5echo $ECHO_N "checking assembler for --gdwarf2 option... $ECHO_C" >&6if test "${gcc_cv_as_gdwarf2_flag+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_gdwarf2_flag=noif test $in_tree_gas = yes; thenif test $in_tree_gas_is_elf = yes \&& test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 11 \) \* 1000 + 0`then gcc_cv_as_gdwarf2_flag=yesfielif test x$gcc_cv_as != x; thenecho "$insn" > conftest.sif { ac_try='$gcc_cv_as --gdwarf2 -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }thengcc_cv_as_gdwarf2_flag=yeselseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_gdwarf2_flag" >&5echo "${ECHO_T}$gcc_cv_as_gdwarf2_flag" >&6if test $gcc_cv_as_gdwarf2_flag = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_AS_GDWARF2_DEBUG_FLAG 1_ACEOFfiecho "$as_me:$LINENO: checking assembler for --gstabs option" >&5echo $ECHO_N "checking assembler for --gstabs option... $ECHO_C" >&6if test "${gcc_cv_as_gstabs_flag+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_as_gstabs_flag=noif test $in_tree_gas = yes; thenif test $in_tree_gas_is_elf = yes \&& test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 11 \) \* 1000 + 0`then gcc_cv_as_gstabs_flag=yesfielif test x$gcc_cv_as != x; thenecho "$insn" > conftest.sif { ac_try='$gcc_cv_as --gstabs -o conftest.o conftest.s >&5'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }then# The native Solaris 9/Intel assembler doesn't understand --gstabs# and warns about it, but still exits successfully. So check for# this.if { ac_try='$gcc_cv_as --gstabs -o conftest.o conftest.s 2>&1 | grep -i warning > /dev/null'{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5(eval $ac_try) 2>&5ac_status=$?echo "$as_me:$LINENO: \$? = $ac_status" >&5(exit $ac_status); }; }then :else gcc_cv_as_gstabs_flag=yesfielseecho "configure: failed program was" >&5cat conftest.s >&5firm -f conftest.o conftest.sfifiecho "$as_me:$LINENO: result: $gcc_cv_as_gstabs_flag" >&5echo "${ECHO_T}$gcc_cv_as_gstabs_flag" >&6if test $gcc_cv_as_gstabs_flag = yes; thencat >>confdefs.h <<\_ACEOF#define HAVE_AS_GSTABS_DEBUG_FLAG 1_ACEOFfifiecho "$as_me:$LINENO: checking linker read-only and read-write section mixing" >&5echo $ECHO_N "checking linker read-only and read-write section mixing... $ECHO_C" >&6gcc_cv_ld_ro_rw_mix=unknownif test $in_tree_ld = yes ; thenif test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 10 -o "$gcc_cv_gld_major_version" -gt 2 \&& test $in_tree_ld_is_elf = yes; thengcc_cv_ld_ro_rw_mix=read-writefielif test x$gcc_cv_as != x -a x$gcc_cv_ld != x -a x$gcc_cv_objdump != x ; thenecho '.section myfoosect, "a"' > conftest1.secho '.section myfoosect, "aw"' > conftest2.secho '.byte 1' >> conftest2.secho '.section myfoosect, "a"' > conftest3.secho '.byte 0' >> conftest3.sif $gcc_cv_as -o conftest1.o conftest1.s > /dev/null 2>&1 \&& $gcc_cv_as -o conftest2.o conftest2.s > /dev/null 2>&1 \&& $gcc_cv_as -o conftest3.o conftest3.s > /dev/null 2>&1 \&& $gcc_cv_ld -shared -o conftest1.so conftest1.o \conftest2.o conftest3.o > /dev/null 2>&1; thengcc_cv_ld_ro_rw_mix=`$gcc_cv_objdump -h conftest1.so \| sed -e '/myfoosect/!d' -e N`if echo "$gcc_cv_ld_ro_rw_mix" | grep CONTENTS > /dev/null; thenif echo "$gcc_cv_ld_ro_rw_mix" | grep READONLY > /dev/null; thengcc_cv_ld_ro_rw_mix=read-onlyelsegcc_cv_ld_ro_rw_mix=read-writefififirm -f conftest.* conftest[123].*fiif test x$gcc_cv_ld_ro_rw_mix = xread-write; thencat >>confdefs.h <<\_ACEOF#define HAVE_LD_RO_RW_SECTION_MIXING 1_ACEOFfiecho "$as_me:$LINENO: result: $gcc_cv_ld_ro_rw_mix" >&5echo "${ECHO_T}$gcc_cv_ld_ro_rw_mix" >&6echo "$as_me:$LINENO: checking linker PT_GNU_EH_FRAME support" >&5echo $ECHO_N "checking linker PT_GNU_EH_FRAME support... $ECHO_C" >&6gcc_cv_ld_eh_frame_hdr=noif test $in_tree_ld = yes ; thenif test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 12 -o "$gcc_cv_gld_major_version" -gt 2 \&& test $in_tree_ld_is_elf = yes; thengcc_cv_ld_eh_frame_hdr=yesfielif test x$gcc_cv_ld != x; then# Check if linker supports --eh-frame-hdr optionif $gcc_cv_ld --help 2>/dev/null | grep eh-frame-hdr > /dev/null; thengcc_cv_ld_eh_frame_hdr=yesfifiif test x"$gcc_cv_ld_eh_frame_hdr" = xyes; thencat >>confdefs.h <<\_ACEOF#define HAVE_LD_EH_FRAME_HDR 1_ACEOFfiecho "$as_me:$LINENO: result: $gcc_cv_ld_eh_frame_hdr" >&5echo "${ECHO_T}$gcc_cv_ld_eh_frame_hdr" >&6echo "$as_me:$LINENO: checking linker position independent executable support" >&5echo $ECHO_N "checking linker position independent executable support... $ECHO_C" >&6gcc_cv_ld_pie=noif test $in_tree_ld = yes ; thenif test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 15 -o "$gcc_cv_gld_major_version" -gt 2 \&& test $in_tree_ld_is_elf = yes; thengcc_cv_ld_pie=yesfielif test x$gcc_cv_ld != x; then# Check if linker supports -pie optionif $gcc_cv_ld --help 2>/dev/null | grep -- -pie > /dev/null; thengcc_cv_ld_pie=yesfifiif test x"$gcc_cv_ld_pie" = xyes; thencat >>confdefs.h <<\_ACEOF#define HAVE_LD_PIE 1_ACEOFfiecho "$as_me:$LINENO: result: $gcc_cv_ld_pie" >&5echo "${ECHO_T}$gcc_cv_ld_pie" >&6# --------# UNSORTED# --------echo "$as_me:$LINENO: checking linker --as-needed support" >&5echo $ECHO_N "checking linker --as-needed support... $ECHO_C" >&6if test "${gcc_cv_ld_as_needed+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_ld_as_needed=noif test $in_tree_ld = yes ; thenif test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 16 -o "$gcc_cv_gld_major_version" -gt 2 \&& test $in_tree_ld_is_elf = yes; thengcc_cv_ld_as_needed=yesfielif test x$gcc_cv_ld != x; then# Check if linker supports --as-needed and --no-as-needed optionsif $gcc_cv_ld --help 2>/dev/null | grep as-needed > /dev/null; thengcc_cv_ld_as_needed=yesfififiecho "$as_me:$LINENO: result: $gcc_cv_ld_as_needed" >&5echo "${ECHO_T}$gcc_cv_ld_as_needed" >&6if test x"$gcc_cv_ld_as_needed" = xyes; thencat >>confdefs.h <<\_ACEOF#define HAVE_LD_AS_NEEDED 1_ACEOFficase "$target:$tm_file" inpowerpc64*-*-linux* | powerpc*-*-linux*rs6000/biarch64.h*)echo "$as_me:$LINENO: checking linker support for omitting dot symbols" >&5echo $ECHO_N "checking linker support for omitting dot symbols... $ECHO_C" >&6if test "${gcc_cv_ld_no_dot_syms+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_ld_no_dot_syms=noif test $in_tree_ld = yes ; thenif test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 16 -o "$gcc_cv_gld_major_version" -gt 2; thengcc_cv_ld_no_dot_syms=yesfielif test x$gcc_cv_as != x -a x$gcc_cv_ld != x ; thencat > conftest1.s <<EOF.textbl .fooEOFcat > conftest2.s <<EOF.section ".opd","aw".align 3.globl foo.type foo,@functionfoo:.quad .LEfoo,.TOC.@tocbase,0.text.LEfoo:blr.size foo,.-.LEfooEOFif $gcc_cv_as -a64 -o conftest1.o conftest1.s > /dev/null 2>&1 \&& $gcc_cv_as -a64 -o conftest2.o conftest2.s > /dev/null 2>&1 \&& $gcc_cv_ld -melf64ppc -o conftest conftest1.o conftest2.o > /dev/null 2>&1; thengcc_cv_ld_no_dot_syms=yesfirm -f conftest conftest1.o conftest2.o conftest1.s conftest2.sfifiecho "$as_me:$LINENO: result: $gcc_cv_ld_no_dot_syms" >&5echo "${ECHO_T}$gcc_cv_ld_no_dot_syms" >&6if test x"$gcc_cv_ld_no_dot_syms" = xyes; thencat >>confdefs.h <<\_ACEOF#define HAVE_LD_NO_DOT_SYMS 1_ACEOFfi;;esacecho "$as_me:$LINENO: checking linker --sysroot support" >&5echo $ECHO_N "checking linker --sysroot support... $ECHO_C" >&6if test "${gcc_cv_ld_sysroot+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_ld_sysroot=noif test $in_tree_ld = yes ; thenif test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 16 -o "$gcc_cv_gld_major_version" -gt 2 ; thengcc_cv_ld_sysroot=yesfielif test x$gcc_cv_ld != x; thenif $gcc_cv_ld --help 2>/dev/null | grep sysroot > /dev/null; thengcc_cv_ld_sysroot=yesfififiecho "$as_me:$LINENO: result: $gcc_cv_ld_sysroot" >&5echo "${ECHO_T}$gcc_cv_ld_sysroot" >&6if test x"$gcc_cv_ld_sysroot" = xyes; thencat >>confdefs.h <<\_ACEOF#define HAVE_LD_SYSROOT 1_ACEOFfiif test x$with_sysroot = x && test x$host = x$target \&& test "$prefix" != "/usr" && test "x$prefix" != "x$local_prefix" ; thencat >>confdefs.h <<_ACEOF#define PREFIX_INCLUDE_DIR "$prefix/include"_ACEOFfi# Test for stack protector support in target C library.case "$target" in*-*-linux*)echo "$as_me:$LINENO: checking __stack_chk_fail in target GNU C library" >&5echo $ECHO_N "checking __stack_chk_fail in target GNU C library... $ECHO_C" >&6if test "${gcc_cv_libc_provides_ssp+set}" = set; thenecho $ECHO_N "(cached) $ECHO_C" >&6elsegcc_cv_libc_provides_ssp=noif test x$host != x$target || test "x$TARGET_SYSTEM_ROOT" != x; thenif test "x$with_sysroot" = x; thenglibc_header_dir="${exec_prefix}/${target_noncanonical}/sys-include"elif test "x$with_sysroot" = xyes; thenglibc_header_dir="${exec_prefix}/${target_noncanonical}/sys-root/usr/include"elseglibc_header_dir="${with_sysroot}/usr/include"fielseglibc_header_dir=/usr/includefi# glibc 2.4 and later provides __stack_chk_fail and# either __stack_chk_guard, or TLS access to stack guard canary.if test -f $glibc_header_dir/features.h \&& $EGREP '^[ ]*#[ ]*define[ ]+__GNU_LIBRARY__[ ]+([1-9][0-9]|[6-9])' \$glibc_header_dir/features.h > /dev/null; thenif $EGREP '^[ ]*#[ ]*define[ ]+__GLIBC__[ ]+([1-9][0-9]|[3-9])' \$glibc_header_dir/features.h > /dev/null; thengcc_cv_libc_provides_ssp=yeselif $EGREP '^[ ]*#[ ]*define[ ]+__GLIBC__[ ]+2' \$glibc_header_dir/features.h > /dev/null \&& $EGREP '^[ ]*#[ ]*define[ ]+__GLIBC_MINOR__[ ]+([1-9][0-9]|[4-9])' \$glibc_header_dir/features.h > /dev/null; thengcc_cv_libc_provides_ssp=yesfififiecho "$as_me:$LINENO: result: $gcc_cv_libc_provides_ssp" >&5echo "${ECHO_T}$gcc_cv_libc_provides_ssp" >&6 ;;*) gcc_cv_libc_provides_ssp=no ;;esacif test x$gcc_cv_libc_provides_ssp = xyes; thencat >>confdefs.h <<\_ACEOF#define TARGET_LIBC_PROVIDES_SSP 1_ACEOFfi# Check if TFmode long double should be used by default or not.# Some glibc targets used DFmode long double, but with glibc 2.4# and later they can use TFmode.case "$target" inpowerpc*-*-*gnu* | \sparc*-*-linux* | \s390*-*-linux* | \alpha*-*-linux*)# Check whether --with-long-double-128 or --without-long-double-128 was given.if test "${with_long_double_128+set}" = set; thenwithval="$with_long_double_128"gcc_cv_target_ldbl128="$with_long_double_128"elsegcc_cv_target_ldbl128=noif test x$host != x$target || test "x$TARGET_SYSTEM_ROOT" != x; thenif test "x$with_sysroot" = x; thenglibc_header_dir="${exec_prefix}/${target_noncanonical}/sys-include"elif test "x$with_sysroot" = xyes; thenglibc_header_dir="${exec_prefix}/${target_noncanonical}/sys-root/usr/include"elseglibc_header_dir="${with_sysroot}/usr/include"fielseglibc_header_dir=/usr/includefigrep '^[ ]*#[ ]*define[ ][ ]*__LONG_DOUBLE_MATH_OPTIONAL' \$glibc_header_dir/bits/wordsize.h > /dev/null 2>&1 \&& gcc_cv_target_ldbl128=yesfi;;;esacif test x$gcc_cv_target_ldbl128 = xyes; thencat >>confdefs.h <<\_ACEOF#define TARGET_DEFAULT_LONG_DOUBLE_128 1_ACEOFfi# Find out what GC implementation we want, or may, use.# Check whether --with-gc or --without-gc was given.if test "${with_gc+set}" = set; thenwithval="$with_gc"case "$withval" inpage)GGC=ggc-$withval;;zone)GGC=ggc-$withvalcat >>confdefs.h <<\_ACEOF#define GGC_ZONE 1_ACEOF;;*){ { echo "$as_me:$LINENO: error: $withval is an invalid option to --with-gc" >&5echo "$as_me: error: $withval is an invalid option to --with-gc" >&2;}{ (exit 1); exit 1; }; };;esacelseGGC=ggc-pagefi;echo "Using $GGC for garbage collection."# Use the system's zlib library.zlibdir=-L../zlibzlibinc="-I\$(srcdir)/../zlib"# Check whether --with-system-zlib or --without-system-zlib was given.if test "${with_system_zlib+set}" = set; thenwithval="$with_system_zlib"zlibdir=zlibinc=fi;echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.if test "${enable_maintainer_mode+set}" = set; thenenableval="$enable_maintainer_mode"maintainer_mode=$enablevalelsemaintainer_mode=nofi;echo "$as_me:$LINENO: result: $maintainer_mode" >&5echo "${ECHO_T}$maintainer_mode" >&6if test "$maintainer_mode" = "yes"; thenMAINT=''elseMAINT='#'fi# --------------# Language hooks# --------------# Make empty files to contain the specs and options for each language.# Then add #include lines to for a compiler that has specs and/or options.subdirs=lang_opt_files=lang_specs_files=lang_tree_files=# These (without "all_") are set in each config-lang.in.# `language' must be a single word so is spelled singularly.all_languages=all_boot_languages=all_compilers=all_stagestuff=all_outputs='Makefile gccbug mklibgcc libada-mk'# List of language makefile fragments.all_lang_makefrags=# List of language subdirectory makefiles. Deprecated.all_lang_makefiles=# Files for gengtypeall_gtfiles="$target_gtfiles"# Files for gengtype with languageall_gtfiles_files_langs=all_gtfiles_files_files=# These are the languages that are set in --enable-languages,# and are available in the GCC tree.all_selected_languages=# Add the language fragments.# Languages are added via two mechanisms. Some information must be# recorded in makefile variables, these are defined in config-lang.in.# We accumulate them and plug them into the main Makefile.# The other mechanism is a set of hooks for each of the main targets# like `clean', `install', etc.language_hooks="Make-hooks"for lang in ${srcdir}/*/config-lang.indotest "$lang" = "${srcdir}/*/config-lang.in" && continuelang_alias=`sed -n -e 's,^language=['"'"'"'"]\(.*\)["'"'"'"'].*$,\1,p' -e 's,^language=\([^ ]*\).*$,\1,p' $lang`if test "x$lang_alias" = xthenecho "$lang doesn't set \$language." 1>&2exit 1fisubdir="`echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'`"subdirs="$subdirs $subdir"case ",$enable_languages," in*,$lang_alias,*)all_selected_languages="$all_selected_languages $lang_alias"if test -f $srcdir/$subdir/lang-specs.h; thenlang_specs_files="$lang_specs_files $srcdir/$subdir/lang-specs.h"fi;;esaclanguage=boot_language=compilers=stagestuff=outputs=gtfiles=subdir_requires=. ${srcdir}/$subdir/config-lang.inif test "x$language" = xthenecho "${srcdir}/$subdir/config-lang.in doesn't set \$language." 1>&2exit 1fiok=:case ",$enable_languages," in*,$lang_alias,*) ;;*)for i in $subdir_requires; dotest -f "${srcdir}/$i/config-lang.in" && continueok=falsebreakdone;;esac$ok || continueall_lang_makefrags="$all_lang_makefrags \$(srcdir)/$subdir/Make-lang.in"if test -f $srcdir/$subdir/lang.opt; thenlang_opt_files="$lang_opt_files $srcdir/$subdir/lang.opt"fiif test -f $srcdir/$subdir/$subdir-tree.def; thenlang_tree_files="$lang_tree_files $srcdir/$subdir/$subdir-tree.def"fiif test -f ${srcdir}/$subdir/Makefile.inthen all_lang_makefiles="$subdir/Makefile"fiall_languages="$all_languages $language"if test "x$boot_language" = xyesthenall_boot_languages="$all_boot_languages $language"fiall_compilers="$all_compilers $compilers"all_stagestuff="$all_stagestuff $stagestuff"all_outputs="$all_outputs $outputs"all_gtfiles="$all_gtfiles $gtfiles"for f in $gtfilesdoall_gtfiles_files_langs="$all_gtfiles_files_langs ${subdir} "all_gtfiles_files_files="$all_gtfiles_files_files ${f} "donedone# Pick up gtfiles for cgtfiles=subdir="c". ${srcdir}/c-config-lang.inall_gtfiles="$all_gtfiles $gtfiles"for f in $gtfilesdoall_gtfiles_files_langs="$all_gtfiles_files_langs ${subdir} "all_gtfiles_files_files="$all_gtfiles_files_files ${f} "donecheck_languages=for language in $all_selected_languagesdocheck_languages="$check_languages check-$language"done# We link each language in with a set of hooks, reached indirectly via# lang.${target}. Only do so for selected languages.rm -f Make-hookstouch Make-hookstarget_list="all.cross start.encap rest.encap tags \install-common install-man install-info dvi pdf html \uninstall info man srcextra srcman srcinfo \mostlyclean clean distclean maintainer-clean \stage1 stage2 stage3 stage4 stageprofile stagefeedback"for t in $target_listdox=for lang in $all_selected_languagesdox="$x $lang.$t"doneecho "lang.$t: $x" >> Make-hooksdone# --------# UNSORTED# --------# Create .gdbinit.echo "dir ." > .gdbinitecho "dir ${srcdir}" >> .gdbinitif test x$gdb_needs_out_file_path = xyesthenecho "dir ${srcdir}/config/"`dirname ${out_file}` >> .gdbinitfiif test "x$subdirs" != x; thenfor s in $subdirsdoecho "dir ${srcdir}/$s" >> .gdbinitdonefiecho "source ${srcdir}/gdbinit.in" >> .gdbinit# If $(exec_prefix) exists and is not the same as $(prefix), then compute an# absolute path for gcc_tooldir based on inserting the number of up-directory# movements required to get from $(exec_prefix) to $(prefix) into the basic# $(libsubdir)/@(unlibsubdir) based path.# Don't set gcc_tooldir to tooldir since that's only passed in by the toplevel# make and thus we'd get different behavior depending on where we built the# sources.if test x$exec_prefix = xNONE -o x$exec_prefix = x$prefix; thengcc_tooldir='$(libsubdir)/$(unlibsubdir)/../$(target_noncanonical)'else# An explanation of the sed strings:# -e 's|^\$(prefix)||' matches and eliminates 'prefix' from 'exec_prefix'# -e 's|/$||' match a trailing forward slash and eliminates it# -e 's|^[^/]|/|' forces the string to start with a forward slash (*)# -e 's|/[^/]*|../|g' replaces each occurrence of /<directory> with ../## (*) Note this pattern overwrites the first character of the string# with a forward slash if one is not already present. This is not a# problem because the exact names of the sub-directories concerned is# unimportant, just the number of them matters.## The practical upshot of these patterns is like this:## prefix exec_prefix result# ------ ----------- ------# /foo /foo/bar ../# /foo/ /foo/bar ../# /foo /foo/bar/ ../# /foo/ /foo/bar/ ../# /foo /foo/bar/ugg ../../#dollar='$$'gcc_tooldir="\$(libsubdir)/\$(unlibsubdir)/\`echo \$(exec_prefix) | sed -e 's|^\$(prefix)||' -e 's|/\$(dollar)||' -e 's|^[^/]|/|' -e 's|/[^/]*|../|g'\`\$(target_noncanonical)"fi# Find a directory in which to install a shared libgcc.# Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.if test "${enable_version_specific_runtime_libs+set}" = set; thenenableval="$enable_version_specific_runtime_libs"fi;# Check whether --with-slibdir or --without-slibdir was given.if test "${with_slibdir+set}" = set; thenwithval="$with_slibdir"slibdir="$with_slibdir"elseif test "${enable_version_specific_runtime_libs+set}" = set; thenslibdir='$(libsubdir)'elif test "$host" != "$target"; thenslibdir='$(build_tooldir)/lib'elseslibdir='$(libdir)'fifi;objdir=`${PWDCMD-pwd}`# Check whether --with-datarootdir or --without-datarootdir was given.if test "${with_datarootdir+set}" = set; thenwithval="$with_datarootdir"datarootdir="\${prefix}/$with_datarootdir"elsedatarootdir='$(prefix)/share'fi;# Check whether --with-docdir or --without-docdir was given.if test "${with_docdir+set}" = set; thenwithval="$with_docdir"docdir="\${prefix}/$with_docdir"elsedocdir='$(datarootdir)'fi;# Check whether --with-htmldir or --without-htmldir was given.if test "${with_htmldir+set}" = set; thenwithval="$with_htmldir"htmldir="\${prefix}/$with_htmldir"elsehtmldir='$(docdir)'fi;# Substitute configuration variables# Echo link setup.if test x${build} = x${host} ; thenif test x${host} = x${target} ; thenecho "Links are now set up to build a native compiler for ${target}." 1>&2elseecho "Links are now set up to build a cross-compiler" 1>&2echo " from ${host} to ${target}." 1>&2fielseif test x${host} = x${target} ; thenecho "Links are now set up to build (on ${build}) a native compiler" 1>&2echo " for ${target}." 1>&2elseecho "Links are now set up to build (on ${build}) a cross-compiler" 1>&2echo " from ${host} to ${target}." 1>&2fifi# Configure the subdirectories# AC_CONFIG_SUBDIRS($subdirs)# Create the Makefile# and configure language subdirectoriesac_config_files="$ac_config_files $all_outputs"ac_config_commands="$ac_config_commands default"cat >confcache <<\_ACEOF# This file is a shell script that caches the results of configure# tests run on this system so they can be shared between configure# scripts and configure runs, see configure's option --config-cache.# It is not useful on other systems. If it contains results you don't# want to keep, you may remove or edit it.## config.status only pays attention to the cache file if you give it# the --recheck option to rerun configure.## `ac_cv_env_foo' variables (set or unset) will be overridden when# loading this file, other *unset* `ac_cv_foo' will be assigned the# following values._ACEOF# The following way of writing the cache mishandles newlines in values,# but we know of no workaround that is simple, portable, and efficient.# So, don't put newlines in cache variables' values.# Ultrix sh set writes to stderr and can't be redirected directly,# and sets the high bit in the cache file unless we assign to the vars.{(set) 2>&1 |case `(ac_space=' '; set | grep ac_space) 2>&1` in*ac_space=\ *)# `set' does not quote correctly, so add quotes (double-quote# substitution turns \\\\ into \\, and sed turns \\ into \).sed -n \"s/'/'\\\\''/g;s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p";;*)# `set' quotes correctly as required by POSIX, so do not add quotes.sed -n \"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p";;esac;} |sed 't clear: clears/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/t end/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/: end' >>confcacheif diff $cache_file confcache >/dev/null 2>&1; then :; elseif test -w $cache_file; thentest "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"cat confcache >$cache_fileelseecho "not updating unwritable cache $cache_file"fifirm -f confcachetest "x$prefix" = xNONE && prefix=$ac_default_prefix# Let make expand exec_prefix.test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'# VPATH may cause trouble with some makes, so we remove $(srcdir),# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and# trailing colons and then remove the whole line if VPATH becomes empty# (actually we leave an empty line to preserve line numbers).if test "x$srcdir" = x.; thenac_vpsub='/^[ ]*VPATH[ ]*=/{s/:*\$(srcdir):*/:/;s/:*\${srcdir}:*/:/;s/:*@srcdir@:*/:/;s/^\([^=]*=[ ]*\):*/\1/;s/:*$//;s/^[^=]*=[ ]*$//;}'fiDEFS=-DHAVE_CONFIG_Hac_libobjs=ac_ltlibobjs=for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue# 1. Remove the extension, and $U if already installed.ac_i=`echo "$ac_i" |sed 's/\$U\././;s/\.o$//;s/\.obj$//'`# 2. Add them.ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'doneLIBOBJS=$ac_libobjsLTLIBOBJS=$ac_ltlibobjs: ${CONFIG_STATUS=./config.status}ac_clean_files_save=$ac_clean_filesac_clean_files="$ac_clean_files $CONFIG_STATUS"{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5echo "$as_me: creating $CONFIG_STATUS" >&6;}cat >$CONFIG_STATUS <<_ACEOF#! $SHELL# Generated by $as_me.# Run this file to recreate the current configuration.# Compiler output produced by configure, useful for debugging# configure, is in config.log if it exists.debug=falseac_cs_recheck=falseac_cs_silent=falseSHELL=\${CONFIG_SHELL-$SHELL}_ACEOFcat >>$CONFIG_STATUS <<\_ACEOF## --------------------- #### M4sh Initialization. #### --------------------- ### Be Bourne compatibleif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; thenemulate shNULLCMD=:# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which# is contrary to our usage. Disable this feature.alias -g '${1+"$@"}'='"$@"'elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; thenset -o posixfiDUALCASE=1; export DUALCASE # for MKS sh# Support unset when possible.if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; thenas_unset=unsetelseas_unset=falsefi# Work around bugs in pre-3.0 UWIN ksh.$as_unset ENV MAIL MAILPATHPS1='$ 'PS2='> 'PS4='+ '# NLS nuisances.for as_var in \LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \LC_TELEPHONE LC_TIMEdoif (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); theneval $as_var=C; export $as_varelse$as_unset $as_varfidone# Required to use basename.if expr a : '\(a\)' >/dev/null 2>&1; thenas_expr=exprelseas_expr=falsefiif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; thenas_basename=basenameelseas_basename=falsefi# Name of the executable.as_me=`$as_basename "$0" ||$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \X"$0" : 'X\(//\)$' \| \X"$0" : 'X\(/\)$' \| \. : '\(.\)' 2>/dev/null ||echo X/"$0" |sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }/^X\/\(\/\/\)$/{ s//\1/; q; }/^X\/\(\/\).*/{ s//\1/; q; }s/.*/./; q'`# PATH needs CR, and LINENO needs CR and PATH.# Avoid depending upon Character Ranges.as_cr_letters='abcdefghijklmnopqrstuvwxyz'as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'as_cr_Letters=$as_cr_letters$as_cr_LETTERSas_cr_digits='0123456789'as_cr_alnum=$as_cr_Letters$as_cr_digits# The user is always right.if test "${PATH_SEPARATOR+set}" != set; thenecho "#! /bin/sh" >conf$$.shecho "exit 0" >>conf$$.shchmod +x conf$$.shif (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; thenPATH_SEPARATOR=';'elsePATH_SEPARATOR=:firm -f conf$$.shfias_lineno_1=$LINENOas_lineno_2=$LINENOas_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`test "x$as_lineno_1" != "x$as_lineno_2" &&test "x$as_lineno_3" = "x$as_lineno_2" || {# Find who we are. Look in the path if we contain no path at all# relative or not.case $0 in*[\\/]* ) as_myself=$0 ;;*) as_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.test -r "$as_dir/$0" && as_myself=$as_dir/$0 && breakdone;;esac# We did not find ourselves, most probably we were run as `sh COMMAND'# in which case we are not to be found in the path.if test "x$as_myself" = x; thenas_myself=$0fiif test ! -f "$as_myself"; then{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}{ (exit 1); exit 1; }; }ficase $CONFIG_SHELL in'')as_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATHdoIFS=$as_save_IFStest -z "$as_dir" && as_dir=.for as_base in sh bash ksh sh5; docase $as_dir in/*)if ("$as_dir/$as_base" -c 'as_lineno_1=$LINENOas_lineno_2=$LINENOas_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`test "x$as_lineno_1" != "x$as_lineno_2" &&test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }CONFIG_SHELL=$as_dir/$as_baseexport CONFIG_SHELLexec "$CONFIG_SHELL" "$0" ${1+"$@"}fi;;esacdonedone;;esac# Create $as_me.lineno as a copy of $as_myself, but with $LINENO# uniformly replaced by the line number. The first 'sed' inserts a# line-number line before each line; the second 'sed' does the real# work. The second script uses 'N' to pair each line-number line# with the numbered line, and appends trailing '-' during# substitution so that $LINENO is not a special case at line end.# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)sed '=' <$as_myself |sed 'Ns,$,-,: loops,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,t loops,-$,,s,^['$as_cr_digits']*\n,,' >$as_me.lineno &&chmod +x $as_me.lineno ||{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}{ (exit 1); exit 1; }; }# Don't try to exec as it changes $[0], causing all sort of problems# (the dirname of $[0] is not the place where we might find the# original and so on. Autoconf is especially sensible to this).. ./$as_me.lineno# Exit status is that of the last command.exit}case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in*c*,-n*) ECHO_N= ECHO_C='' ECHO_T=' ' ;;*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;*) ECHO_N= ECHO_C='\c' ECHO_T= ;;esacif expr a : '\(a\)' >/dev/null 2>&1; thenas_expr=exprelseas_expr=falsefirm -f conf$$ conf$$.exe conf$$.fileecho >conf$$.fileif ln -s conf$$.file conf$$ 2>/dev/null; then# We could just check for DJGPP; but this test a) works b) is more generic# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).if test -f conf$$.exe; then# Don't use ln at all; we don't have any linksas_ln_s='cp -p'elseas_ln_s='ln -s'fielif ln conf$$.file conf$$ 2>/dev/null; thenas_ln_s=lnelseas_ln_s='cp -p'firm -f conf$$ conf$$.exe conf$$.fileif mkdir -p . 2>/dev/null; thenas_mkdir_p=:elsetest -d ./-p && rmdir ./-pas_mkdir_p=falsefias_executable_p="test -f"# Sed expression to map a string onto a valid CPP name.as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"# Sed expression to map a string onto a valid variable name.as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"# IFS# We need space, tab and new line, in precisely that order.as_nl=''IFS=" $as_nl"# CDPATH.$as_unset CDPATHexec 6>&1# Open the log real soon, to keep \$[0] and so on meaningful, and to# report actual input values of CONFIG_FILES etc. instead of their# values after options handling. Logging --version etc. is OK.exec 5>>config.log{echosed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX## Running $as_me. ##_ASBOX} >&5cat >&5 <<_CSEOFThis file was extended by $as_me, which wasgenerated by GNU Autoconf 2.59. Invocation command line wasCONFIG_FILES = $CONFIG_FILESCONFIG_HEADERS = $CONFIG_HEADERSCONFIG_LINKS = $CONFIG_LINKSCONFIG_COMMANDS = $CONFIG_COMMANDS$ $0 $@_CSEOFecho "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5echo >&5_ACEOF# Files that config.status was made for.if test -n "$ac_config_files"; thenecho "config_files=\"$ac_config_files\"" >>$CONFIG_STATUSfiif test -n "$ac_config_headers"; thenecho "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUSfiif test -n "$ac_config_links"; thenecho "config_links=\"$ac_config_links\"" >>$CONFIG_STATUSfiif test -n "$ac_config_commands"; thenecho "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUSficat >>$CONFIG_STATUS <<\_ACEOFac_cs_usage="\\`$as_me' instantiates files from templates according to thecurrent configuration.Usage: $0 [OPTIONS] [FILE]...-h, --help print this help, then exit-V, --version print version number, then exit-q, --quiet do not print progress messages-d, --debug don't remove temporary files--recheck update $as_me by reconfiguring in the same conditions--file=FILE[:TEMPLATE]instantiate the configuration file FILE--header=FILE[:TEMPLATE]instantiate the configuration header FILEConfiguration files:$config_filesConfiguration headers:$config_headersConfiguration commands:$config_commandsReport bugs to <bug-autoconf@gnu.org>."_ACEOFcat >>$CONFIG_STATUS <<_ACEOFac_cs_version="\\config.statusconfigured by $0, generated by GNU Autoconf 2.59,with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"Copyright (C) 2003 Free Software Foundation, Inc.This config.status script is free software; the Free Software Foundationgives unlimited permission to copy, distribute and modify it."srcdir=$srcdir_ACEOFcat >>$CONFIG_STATUS <<\_ACEOF# If no file are specified by the user, then we need to provide default# value. By we need to know if files were specified by the user.ac_need_defaults=:while test $# != 0docase $1 in--*=*)ac_option=`expr "x$1" : 'x\([^=]*\)='`ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`ac_shift=:;;-*)ac_option=$1ac_optarg=$2ac_shift=shift;;*) # This is not an option, so the user has probably given explicit# arguments.ac_option=$1ac_need_defaults=false;;esaccase $ac_option in# Handling of the options._ACEOFcat >>$CONFIG_STATUS <<\_ACEOF-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)ac_cs_recheck=: ;;--version | --vers* | -V )echo "$ac_cs_version"; exit 0 ;;--he | --h)# Conflict between --help and --header{ { echo "$as_me:$LINENO: error: ambiguous option: $1Try \`$0 --help' for more information." >&5echo "$as_me: error: ambiguous option: $1Try \`$0 --help' for more information." >&2;}{ (exit 1); exit 1; }; };;--help | --hel | -h )echo "$ac_cs_usage"; exit 0 ;;--debug | --d* | -d )debug=: ;;--file | --fil | --fi | --f )$ac_shiftCONFIG_FILES="$CONFIG_FILES $ac_optarg"ac_need_defaults=false;;--header | --heade | --head | --hea )$ac_shiftCONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"ac_need_defaults=false;;-q | -quiet | --quiet | --quie | --qui | --qu | --q \| -silent | --silent | --silen | --sile | --sil | --si | --s)ac_cs_silent=: ;;# This is an error.-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1Try \`$0 --help' for more information." >&5echo "$as_me: error: unrecognized option: $1Try \`$0 --help' for more information." >&2;}{ (exit 1); exit 1; }; } ;;*) ac_config_targets="$ac_config_targets $1" ;;esacshiftdoneac_configure_extra_args=if $ac_cs_silent; thenexec 6>/dev/nullac_configure_extra_args="$ac_configure_extra_args --silent"fi_ACEOFcat >>$CONFIG_STATUS <<_ACEOFif \$ac_cs_recheck; thenecho "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursionfi_ACEOFcat >>$CONFIG_STATUS <<_ACEOF## INIT-COMMANDS section.#subdirs='$subdirs'_ACEOFcat >>$CONFIG_STATUS <<\_ACEOFfor ac_config_target in $ac_config_targetsdocase "$ac_config_target" in# Handling of arguments."$all_outputs" ) CONFIG_FILES="$CONFIG_FILES $all_outputs" ;;"default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;"auto-host.h" ) CONFIG_HEADERS="$CONFIG_HEADERS auto-host.h:config.in" ;;*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5echo "$as_me: error: invalid argument: $ac_config_target" >&2;}{ (exit 1); exit 1; }; };;esacdone# If the user did not use the arguments to specify the items to instantiate,# then the envvar interface is used. Set only those that are not.# We use the long form for the default assignment because of an extremely# bizarre bug on SunOS 4.1.3.if $ac_need_defaults; thentest "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_filestest "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headerstest "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commandsfi# Have a temporary directory for convenience. Make it in the build tree# simply because there is no reason to put it here, and in addition,# creating and moving files from /tmp can sometimes cause problems.# Create a temporary directory, and hook for its removal unless debugging.$debug ||{trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0trap '{ (exit 1); exit 1; }' 1 2 13 15}# Create a (secure) tmp directory for tmp files.{tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&test -n "$tmp" && test -d "$tmp"} ||{tmp=./confstat$$-$RANDOM(umask 077 && mkdir $tmp)} ||{echo "$me: cannot create a temporary directory in ." >&2{ (exit 1); exit 1; }}_ACEOFcat >>$CONFIG_STATUS <<_ACEOF## CONFIG_FILES section.## No need to generate the scripts if there are no CONFIG_FILES.# This happens for instance when ./config.status config.hif test -n "\$CONFIG_FILES"; then# Protect against being on the right side of a sed subst in config.status.sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOFs,@SHELL@,$SHELL,;t ts,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t ts,@PACKAGE_NAME@,$PACKAGE_NAME,;t ts,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t ts,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t ts,@PACKAGE_STRING@,$PACKAGE_STRING,;t ts,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t ts,@exec_prefix@,$exec_prefix,;t ts,@prefix@,$prefix,;t ts,@program_transform_name@,$program_transform_name,;t ts,@bindir@,$bindir,;t ts,@sbindir@,$sbindir,;t ts,@libexecdir@,$libexecdir,;t ts,@datadir@,$datadir,;t ts,@sysconfdir@,$sysconfdir,;t ts,@sharedstatedir@,$sharedstatedir,;t ts,@localstatedir@,$localstatedir,;t ts,@libdir@,$libdir,;t ts,@includedir@,$includedir,;t ts,@oldincludedir@,$oldincludedir,;t ts,@infodir@,$infodir,;t ts,@mandir@,$mandir,;t ts,@build_alias@,$build_alias,;t ts,@host_alias@,$host_alias,;t ts,@target_alias@,$target_alias,;t ts,@DEFS@,$DEFS,;t ts,@ECHO_C@,$ECHO_C,;t ts,@ECHO_N@,$ECHO_N,;t ts,@ECHO_T@,$ECHO_T,;t ts,@LIBS@,$LIBS,;t ts,@build@,$build,;t ts,@build_cpu@,$build_cpu,;t ts,@build_vendor@,$build_vendor,;t ts,@build_os@,$build_os,;t ts,@host@,$host,;t ts,@host_cpu@,$host_cpu,;t ts,@host_vendor@,$host_vendor,;t ts,@host_os@,$host_os,;t ts,@target@,$target,;t ts,@target_cpu@,$target_cpu,;t ts,@target_vendor@,$target_vendor,;t ts,@target_os@,$target_os,;t ts,@target_noncanonical@,$target_noncanonical,;t ts,@build_libsubdir@,$build_libsubdir,;t ts,@build_subdir@,$build_subdir,;t ts,@host_subdir@,$host_subdir,;t ts,@target_subdir@,$target_subdir,;t ts,@GENINSRC@,$GENINSRC,;t ts,@CC@,$CC,;t ts,@CFLAGS@,$CFLAGS,;t ts,@LDFLAGS@,$LDFLAGS,;t ts,@CPPFLAGS@,$CPPFLAGS,;t ts,@ac_ct_CC@,$ac_ct_CC,;t ts,@EXEEXT@,$EXEEXT,;t ts,@OBJEXT@,$OBJEXT,;t ts,@NO_MINUS_C_MINUS_O@,$NO_MINUS_C_MINUS_O,;t ts,@OUTPUT_OPTION@,$OUTPUT_OPTION,;t ts,@CPP@,$CPP,;t ts,@EGREP@,$EGREP,;t ts,@strict1_warn@,$strict1_warn,;t ts,@cxx_compat_warn@,$cxx_compat_warn,;t ts,@warn_cflags@,$warn_cflags,;t ts,@WERROR@,$WERROR,;t ts,@nocommon_flag@,$nocommon_flag,;t ts,@TREEBROWSER@,$TREEBROWSER,;t ts,@valgrind_path@,$valgrind_path,;t ts,@valgrind_path_defines@,$valgrind_path_defines,;t ts,@valgrind_command@,$valgrind_command,;t ts,@coverage_flags@,$coverage_flags,;t ts,@enable_multilib@,$enable_multilib,;t ts,@enable_decimal_float@,$enable_decimal_float,;t ts,@enable_shared@,$enable_shared,;t ts,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t ts,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t ts,@CROSS_SYSTEM_HEADER_DIR@,$CROSS_SYSTEM_HEADER_DIR,;t ts,@onestep@,$onestep,;t ts,@datarootdir@,$datarootdir,;t ts,@docdir@,$docdir,;t ts,@htmldir@,$htmldir,;t ts,@SET_MAKE@,$SET_MAKE,;t ts,@AWK@,$AWK,;t ts,@LN_S@,$LN_S,;t ts,@LN@,$LN,;t ts,@RANLIB@,$RANLIB,;t ts,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t ts,@ranlib_flags@,$ranlib_flags,;t ts,@INSTALL@,$INSTALL,;t ts,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t ts,@INSTALL_DATA@,$INSTALL_DATA,;t ts,@make_compare_target@,$make_compare_target,;t ts,@have_mktemp_command@,$have_mktemp_command,;t ts,@MAKEINFO@,$MAKEINFO,;t ts,@BUILD_INFO@,$BUILD_INFO,;t ts,@GENERATED_MANPAGES@,$GENERATED_MANPAGES,;t ts,@FLEX@,$FLEX,;t ts,@BISON@,$BISON,;t ts,@NM@,$NM,;t ts,@AR@,$AR,;t ts,@stage1_cflags@,$stage1_cflags,;t ts,@COLLECT2_LIBS@,$COLLECT2_LIBS,;t ts,@GNAT_LIBEXC@,$GNAT_LIBEXC,;t ts,@LDEXP_LIB@,$LDEXP_LIB,;t ts,@TARGET_GETGROUPS_T@,$TARGET_GETGROUPS_T,;t ts,@LIBICONV@,$LIBICONV,;t ts,@LTLIBICONV@,$LTLIBICONV,;t ts,@LIBICONV_DEP@,$LIBICONV_DEP,;t ts,@manext@,$manext,;t ts,@objext@,$objext,;t ts,@gthread_flags@,$gthread_flags,;t ts,@extra_modes_file@,$extra_modes_file,;t ts,@extra_opt_files@,$extra_opt_files,;t ts,@USE_NLS@,$USE_NLS,;t ts,@LIBINTL@,$LIBINTL,;t ts,@LIBINTL_DEP@,$LIBINTL_DEP,;t ts,@INCINTL@,$INCINTL,;t ts,@XGETTEXT@,$XGETTEXT,;t ts,@GMSGFMT@,$GMSGFMT,;t ts,@POSUB@,$POSUB,;t ts,@CATALOGS@,$CATALOGS,;t ts,@DATADIRNAME@,$DATADIRNAME,;t ts,@INSTOBJEXT@,$INSTOBJEXT,;t ts,@GENCAT@,$GENCAT,;t ts,@CATOBJEXT@,$CATOBJEXT,;t ts,@host_cc_for_libada@,$host_cc_for_libada,;t ts,@CROSS@,$CROSS,;t ts,@ALL@,$ALL,;t ts,@SYSTEM_HEADER_DIR@,$SYSTEM_HEADER_DIR,;t ts,@inhibit_libc@,$inhibit_libc,;t ts,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t ts,@BUILD_CFLAGS@,$BUILD_CFLAGS,;t ts,@STMP_FIXINC@,$STMP_FIXINC,;t ts,@STMP_FIXPROTO@,$STMP_FIXPROTO,;t ts,@collect2@,$collect2,;t ts,@gcc_cv_as@,$gcc_cv_as,;t ts,@ORIGINAL_AS_FOR_TARGET@,$ORIGINAL_AS_FOR_TARGET,;t ts,@gcc_cv_ld@,$gcc_cv_ld,;t ts,@ORIGINAL_LD_FOR_TARGET@,$ORIGINAL_LD_FOR_TARGET,;t ts,@gcc_cv_nm@,$gcc_cv_nm,;t ts,@ORIGINAL_NM_FOR_TARGET@,$ORIGINAL_NM_FOR_TARGET,;t ts,@gcc_cv_objdump@,$gcc_cv_objdump,;t ts,@libgcc_visibility@,$libgcc_visibility,;t ts,@GGC@,$GGC,;t ts,@zlibdir@,$zlibdir,;t ts,@zlibinc@,$zlibinc,;t ts,@MAINT@,$MAINT,;t ts,@gcc_tooldir@,$gcc_tooldir,;t ts,@dollar@,$dollar,;t ts,@slibdir@,$slibdir,;t ts,@objdir@,$objdir,;t ts,@subdirs@,$subdirs,;t ts,@srcdir@,$srcdir,;t ts,@all_boot_languages@,$all_boot_languages,;t ts,@all_compilers@,$all_compilers,;t ts,@all_gtfiles@,$all_gtfiles,;t ts,@all_gtfiles_files_langs@,$all_gtfiles_files_langs,;t ts,@all_gtfiles_files_files@,$all_gtfiles_files_files,;t ts,@all_lang_makefrags@,$all_lang_makefrags,;t ts,@all_lang_makefiles@,$all_lang_makefiles,;t ts,@all_languages@,$all_languages,;t ts,@all_selected_languages@,$all_selected_languages,;t ts,@all_stagestuff@,$all_stagestuff,;t ts,@build_exeext@,$build_exeext,;t ts,@build_install_headers_dir@,$build_install_headers_dir,;t ts,@build_xm_file_list@,$build_xm_file_list,;t ts,@build_xm_include_list@,$build_xm_include_list,;t ts,@build_xm_defines@,$build_xm_defines,;t ts,@check_languages@,$check_languages,;t ts,@cc_set_by_configure@,$cc_set_by_configure,;t ts,@quoted_cc_set_by_configure@,$quoted_cc_set_by_configure,;t ts,@cpp_install_dir@,$cpp_install_dir,;t ts,@xmake_file@,$xmake_file,;t ts,@tmake_file@,$tmake_file,;t ts,@extra_gcc_objs@,$extra_gcc_objs,;t ts,@extra_headers_list@,$extra_headers_list,;t ts,@extra_objs@,$extra_objs,;t ts,@extra_parts@,$extra_parts,;t ts,@extra_passes@,$extra_passes,;t ts,@extra_programs@,$extra_programs,;t ts,@float_h_file@,$float_h_file,;t ts,@gcc_config_arguments@,$gcc_config_arguments,;t ts,@gcc_gxx_include_dir@,$gcc_gxx_include_dir,;t ts,@host_exeext@,$host_exeext,;t ts,@host_xm_file_list@,$host_xm_file_list,;t ts,@host_xm_include_list@,$host_xm_include_list,;t ts,@host_xm_defines@,$host_xm_defines,;t ts,@out_host_hook_obj@,$out_host_hook_obj,;t ts,@install@,$install,;t ts,@lang_opt_files@,$lang_opt_files,;t ts,@lang_specs_files@,$lang_specs_files,;t ts,@lang_tree_files@,$lang_tree_files,;t ts,@local_prefix@,$local_prefix,;t ts,@md_file@,$md_file,;t ts,@objc_boehm_gc@,$objc_boehm_gc,;t ts,@out_file@,$out_file,;t ts,@out_object_file@,$out_object_file,;t ts,@stage_prefix_set_by_configure@,$stage_prefix_set_by_configure,;t ts,@quoted_stage_prefix_set_by_configure@,$quoted_stage_prefix_set_by_configure,;t ts,@thread_file@,$thread_file,;t ts,@tm_file_list@,$tm_file_list,;t ts,@tm_include_list@,$tm_include_list,;t ts,@tm_defines@,$tm_defines,;t ts,@tm_p_file_list@,$tm_p_file_list,;t ts,@tm_p_include_list@,$tm_p_include_list,;t ts,@xm_file_list@,$xm_file_list,;t ts,@xm_include_list@,$xm_include_list,;t ts,@xm_defines@,$xm_defines,;t ts,@c_target_objs@,$c_target_objs,;t ts,@cxx_target_objs@,$cxx_target_objs,;t ts,@target_cpu_default@,$target_cpu_default,;t ts,@GMPLIBS@,$GMPLIBS,;t ts,@GMPINC@,$GMPINC,;t ts,@LIBOBJS@,$LIBOBJS,;t ts,@LTLIBOBJS@,$LTLIBOBJS,;t t/@language_hooks@/r $language_hookss,@language_hooks@,,;t tCEOF_ACEOFcat >>$CONFIG_STATUS <<\_ACEOF# Split the substitutions into bite-sized pieces for seds with# small command number limits, like on Digital OSF/1 and HP-UX.ac_max_sed_lines=48ac_sed_frag=1 # Number of current file.ac_beg=1 # First line for current file.ac_end=$ac_max_sed_lines # Line after last line for current file.ac_more_lines=:ac_sed_cmds=while $ac_more_lines; doif test $ac_beg -gt 1; thensed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.fragelsesed "${ac_end}q" $tmp/subs.sed >$tmp/subs.fragfiif test ! -s $tmp/subs.frag; thenac_more_lines=falseelse# The purpose of the label and of the branching condition is to# speed up the sed processing (if there are no `@' at all, there# is no need to browse any of the substitutions).# These are the two extra sed commands mentioned above.(echo ':t/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sedif test -z "$ac_sed_cmds"; thenac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"elseac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"fiac_sed_frag=`expr $ac_sed_frag + 1`ac_beg=$ac_endac_end=`expr $ac_end + $ac_max_sed_lines`fidoneif test -z "$ac_sed_cmds"; thenac_sed_cmds=catfifi # test -n "$CONFIG_FILES"_ACEOFcat >>$CONFIG_STATUS <<\_ACEOFfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".case $ac_file in- | *:- | *:-:* ) # input from stdincat >$tmp/stdinac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;* ) ac_file_in=$ac_file.in ;;esac# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.ac_dir=`(dirname "$ac_file") 2>/dev/null ||$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \X"$ac_file" : 'X\(//\)[^/]' \| \X"$ac_file" : 'X\(//\)$' \| \X"$ac_file" : 'X\(/\)' \| \. : '\(.\)' 2>/dev/null ||echo X"$ac_file" |sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }/^X\(\/\/\)[^/].*/{ s//\1/; q; }/^X\(\/\/\)$/{ s//\1/; q; }/^X\(\/\).*/{ s//\1/; q; }s/.*/./; q'`{ if $as_mkdir_p; thenmkdir -p "$ac_dir"elseas_dir="$ac_dir"as_dirs=while test ! -d "$as_dir"; doas_dirs="$as_dir $as_dirs"as_dir=`(dirname "$as_dir") 2>/dev/null ||$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \X"$as_dir" : 'X\(//\)[^/]' \| \X"$as_dir" : 'X\(//\)$' \| \X"$as_dir" : 'X\(/\)' \| \. : '\(.\)' 2>/dev/null ||echo X"$as_dir" |sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }/^X\(\/\/\)[^/].*/{ s//\1/; q; }/^X\(\/\/\)$/{ s//\1/; q; }/^X\(\/\).*/{ s//\1/; q; }s/.*/./; q'`donetest ! -n "$as_dirs" || mkdir $as_dirsfi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}{ (exit 1); exit 1; }; }; }ac_builddir=.if test "$ac_dir" != .; thenac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`# A "../" for each directory in $ac_dir_suffix.ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`elseac_dir_suffix= ac_top_builddir=ficase $srcdir in.) # No --srcdir option. We are building in place.ac_srcdir=.if test -z "$ac_top_builddir"; thenac_top_srcdir=.elseac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`fi ;;[\\/]* | ?:[\\/]* ) # Absolute path.ac_srcdir=$srcdir$ac_dir_suffix;ac_top_srcdir=$srcdir ;;*) # Relative path.ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffixac_top_srcdir=$ac_top_builddir$srcdir ;;esac# Do not use `cd foo && pwd` to compute absolute paths, because# the directories may not exist.case `pwd` in.) ac_abs_builddir="$ac_dir";;*)case "$ac_dir" in.) ac_abs_builddir=`pwd`;;[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;*) ac_abs_builddir=`pwd`/"$ac_dir";;esac;;esaccase $ac_abs_builddir in.) ac_abs_top_builddir=${ac_top_builddir}.;;*)case ${ac_top_builddir}. in.) ac_abs_top_builddir=$ac_abs_builddir;;[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;esac;;esaccase $ac_abs_builddir in.) ac_abs_srcdir=$ac_srcdir;;*)case $ac_srcdir in.) ac_abs_srcdir=$ac_abs_builddir;;[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;esac;;esaccase $ac_abs_builddir in.) ac_abs_top_srcdir=$ac_top_srcdir;;*)case $ac_top_srcdir in.) ac_abs_top_srcdir=$ac_abs_builddir;;[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;esac;;esacif test x"$ac_file" != x-; then{ echo "$as_me:$LINENO: creating $ac_file" >&5echo "$as_me: creating $ac_file" >&6;}rm -f "$ac_file"fi# Let's still pretend it is `configure' which instantiates (i.e., don't# use $as_me), people would be surprised to read:# /* config.h. Generated by config.status. */if test x"$ac_file" = x-; thenconfigure_input=elseconfigure_input="$ac_file. "ficonfigure_input=$configure_input"Generated from `echo $ac_file_in |sed 's,.*/,,'` by configure."# First look for the input files in the build tree, otherwise in the# src tree.ac_file_inputs=`IFS=:for f in $ac_file_in; docase $f in-) echo $tmp/stdin ;;[\\/$]*)# Absolute (can't be DOS-style, as IFS=:)test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5echo "$as_me: error: cannot find input file: $f" >&2;}{ (exit 1); exit 1; }; }echo "$f";;*) # Relativeif test -f "$f"; then# Build treeecho "$f"elif test -f "$srcdir/$f"; then# Source treeecho "$srcdir/$f"else# /dev/null tree{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5echo "$as_me: error: cannot find input file: $f" >&2;}{ (exit 1); exit 1; }; }fi;;esacdone` || { (exit 1); exit 1; }_ACEOFcat >>$CONFIG_STATUS <<_ACEOFsed "$ac_vpsub$extrasub_ACEOFcat >>$CONFIG_STATUS <<\_ACEOF:t/@[a-zA-Z_][a-zA-Z_0-9]*@/!bs,@configure_input@,$configure_input,;t ts,@srcdir@,$ac_srcdir,;t ts,@abs_srcdir@,$ac_abs_srcdir,;t ts,@top_srcdir@,$ac_top_srcdir,;t ts,@abs_top_srcdir@,$ac_abs_top_srcdir,;t ts,@builddir@,$ac_builddir,;t ts,@abs_builddir@,$ac_abs_builddir,;t ts,@top_builddir@,$ac_top_builddir,;t ts,@abs_top_builddir@,$ac_abs_top_builddir,;t t" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/outrm -f $tmp/stdinif test x"$ac_file" != x-; thenmv $tmp/out $ac_fileelsecat $tmp/outrm -f $tmp/outfidone_ACEOFcat >>$CONFIG_STATUS <<\_ACEOF## CONFIG_HEADER section.## These sed commands are passed to sed as "A NAME B NAME C VALUE D", where# NAME is the cpp macro being defined and VALUE is the value it is being given.## ac_d sets the value in "#define NAME VALUE" lines.ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'ac_dB='[ ].*$,\1#\2'ac_dC=' 'ac_dD=',;t'# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'ac_uB='$,\1#\2define\3'ac_uC=' 'ac_uD=',;t'for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".case $ac_file in- | *:- | *:-:* ) # input from stdincat >$tmp/stdinac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;* ) ac_file_in=$ac_file.in ;;esactest x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5echo "$as_me: creating $ac_file" >&6;}# First look for the input files in the build tree, otherwise in the# src tree.ac_file_inputs=`IFS=:for f in $ac_file_in; docase $f in-) echo $tmp/stdin ;;[\\/$]*)# Absolute (can't be DOS-style, as IFS=:)test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5echo "$as_me: error: cannot find input file: $f" >&2;}{ (exit 1); exit 1; }; }# Do quote $f, to prevent DOS paths from being IFS'd.echo "$f";;*) # Relativeif test -f "$f"; then# Build treeecho "$f"elif test -f "$srcdir/$f"; then# Source treeecho "$srcdir/$f"else# /dev/null tree{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5echo "$as_me: error: cannot find input file: $f" >&2;}{ (exit 1); exit 1; }; }fi;;esacdone` || { (exit 1); exit 1; }# Remove the trailing spaces.sed 's/[ ]*$//' $ac_file_inputs >$tmp/in_ACEOF# Transform confdefs.h into two sed scripts, `conftest.defines' and# `conftest.undefs', that substitutes the proper values into# config.h.in to produce config.h. The first handles `#define'# templates, and the second `#undef' templates.# And first: Protect against being on the right side of a sed subst in# config.status. Protect against being in an unquoted here document# in config.status.rm -f conftest.defines conftest.undefs# Using a here document instead of a string reduces the quoting nightmare.# Putting comments in sed scripts is not portable.## `end' is used to avoid that the second main sed command (meant for# 0-ary CPP macros) applies to n-ary macro definitions.# See the Autoconf documentation for `clear'.cat >confdef2sed.sed <<\_ACEOFs/[\\&,]/\\&/gs,[\\$`],\\&,gt clear: clears,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gpt ends,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp: end_ACEOF# If some macros were called several times there might be several times# the same #defines, which is useless. Nevertheless, we may not want to# sort them, since we want the *last* AC-DEFINE to be honored.uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.definessed 's/ac_d/ac_u/g' conftest.defines >conftest.undefsrm -f confdef2sed.sed# This sed command replaces #undef with comments. This is necessary, for# example, in the case of _POSIX_SOURCE, which is predefined and required# on some systems where configure will not decide to define it.cat >>conftest.undefs <<\_ACEOFs,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,_ACEOF# Break up conftest.defines because some shells have a limit on the size# of here documents, and old seds have small limits too (100 cmds).echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUSecho ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUSecho ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUSecho ' :' >>$CONFIG_STATUSrm -f conftest.tailwhile grep . conftest.defines >/dev/nulldo# Write a limited-size here document to $tmp/defines.sed.echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS# Speed up: don't consider the non `#define' lines.echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS# Work around the forget-to-reset-the-flag bug.echo 't clr' >>$CONFIG_STATUSecho ': clr' >>$CONFIG_STATUSsed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUSecho 'CEOFsed -f $tmp/defines.sed $tmp/in >$tmp/outrm -f $tmp/inmv $tmp/out $tmp/in' >>$CONFIG_STATUSsed 1,${ac_max_here_lines}d conftest.defines >conftest.tailrm -f conftest.definesmv conftest.tail conftest.definesdonerm -f conftest.definesecho ' fi # grep' >>$CONFIG_STATUSecho >>$CONFIG_STATUS# Break up conftest.undefs because some shells have a limit on the size# of here documents, and old seds have small limits too (100 cmds).echo ' # Handle all the #undef templates' >>$CONFIG_STATUSrm -f conftest.tailwhile grep . conftest.undefs >/dev/nulldo# Write a limited-size here document to $tmp/undefs.sed.echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS# Speed up: don't consider the non `#undef'echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS# Work around the forget-to-reset-the-flag bug.echo 't clr' >>$CONFIG_STATUSecho ': clr' >>$CONFIG_STATUSsed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUSecho 'CEOFsed -f $tmp/undefs.sed $tmp/in >$tmp/outrm -f $tmp/inmv $tmp/out $tmp/in' >>$CONFIG_STATUSsed 1,${ac_max_here_lines}d conftest.undefs >conftest.tailrm -f conftest.undefsmv conftest.tail conftest.undefsdonerm -f conftest.undefscat >>$CONFIG_STATUS <<\_ACEOF# Let's still pretend it is `configure' which instantiates (i.e., don't# use $as_me), people would be surprised to read:# /* config.h. Generated by config.status. */if test x"$ac_file" = x-; thenecho "/* Generated by configure. */" >$tmp/config.helseecho "/* $ac_file. Generated by configure. */" >$tmp/config.hficat $tmp/in >>$tmp/config.hrm -f $tmp/inif test x"$ac_file" != x-; thenif diff $ac_file $tmp/config.h >/dev/null 2>&1; then{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5echo "$as_me: $ac_file is unchanged" >&6;}elseac_dir=`(dirname "$ac_file") 2>/dev/null ||$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \X"$ac_file" : 'X\(//\)[^/]' \| \X"$ac_file" : 'X\(//\)$' \| \X"$ac_file" : 'X\(/\)' \| \. : '\(.\)' 2>/dev/null ||echo X"$ac_file" |sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }/^X\(\/\/\)[^/].*/{ s//\1/; q; }/^X\(\/\/\)$/{ s//\1/; q; }/^X\(\/\).*/{ s//\1/; q; }s/.*/./; q'`{ if $as_mkdir_p; thenmkdir -p "$ac_dir"elseas_dir="$ac_dir"as_dirs=while test ! -d "$as_dir"; doas_dirs="$as_dir $as_dirs"as_dir=`(dirname "$as_dir") 2>/dev/null ||$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \X"$as_dir" : 'X\(//\)[^/]' \| \X"$as_dir" : 'X\(//\)$' \| \X"$as_dir" : 'X\(/\)' \| \. : '\(.\)' 2>/dev/null ||echo X"$as_dir" |sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }/^X\(\/\/\)[^/].*/{ s//\1/; q; }/^X\(\/\/\)$/{ s//\1/; q; }/^X\(\/\).*/{ s//\1/; q; }s/.*/./; q'`donetest ! -n "$as_dirs" || mkdir $as_dirsfi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}{ (exit 1); exit 1; }; }; }rm -f $ac_filemv $tmp/config.h $ac_filefielsecat $tmp/config.hrm -f $tmp/config.hfidone_ACEOFcat >>$CONFIG_STATUS <<\_ACEOF## CONFIG_COMMANDS section.#for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continueac_dest=`echo "$ac_file" | sed 's,:.*,,'`ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`ac_dir=`(dirname "$ac_dest") 2>/dev/null ||$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \X"$ac_dest" : 'X\(//\)[^/]' \| \X"$ac_dest" : 'X\(//\)$' \| \X"$ac_dest" : 'X\(/\)' \| \. : '\(.\)' 2>/dev/null ||echo X"$ac_dest" |sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }/^X\(\/\/\)[^/].*/{ s//\1/; q; }/^X\(\/\/\)$/{ s//\1/; q; }/^X\(\/\).*/{ s//\1/; q; }s/.*/./; q'`{ if $as_mkdir_p; thenmkdir -p "$ac_dir"elseas_dir="$ac_dir"as_dirs=while test ! -d "$as_dir"; doas_dirs="$as_dir $as_dirs"as_dir=`(dirname "$as_dir") 2>/dev/null ||$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \X"$as_dir" : 'X\(//\)[^/]' \| \X"$as_dir" : 'X\(//\)$' \| \X"$as_dir" : 'X\(/\)' \| \. : '\(.\)' 2>/dev/null ||echo X"$as_dir" |sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }/^X\(\/\/\)[^/].*/{ s//\1/; q; }/^X\(\/\/\)$/{ s//\1/; q; }/^X\(\/\).*/{ s//\1/; q; }s/.*/./; q'`donetest ! -n "$as_dirs" || mkdir $as_dirsfi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}{ (exit 1); exit 1; }; }; }ac_builddir=.if test "$ac_dir" != .; thenac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`# A "../" for each directory in $ac_dir_suffix.ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`elseac_dir_suffix= ac_top_builddir=ficase $srcdir in.) # No --srcdir option. We are building in place.ac_srcdir=.if test -z "$ac_top_builddir"; thenac_top_srcdir=.elseac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`fi ;;[\\/]* | ?:[\\/]* ) # Absolute path.ac_srcdir=$srcdir$ac_dir_suffix;ac_top_srcdir=$srcdir ;;*) # Relative path.ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffixac_top_srcdir=$ac_top_builddir$srcdir ;;esac# Do not use `cd foo && pwd` to compute absolute paths, because# the directories may not exist.case `pwd` in.) ac_abs_builddir="$ac_dir";;*)case "$ac_dir" in.) ac_abs_builddir=`pwd`;;[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;*) ac_abs_builddir=`pwd`/"$ac_dir";;esac;;esaccase $ac_abs_builddir in.) ac_abs_top_builddir=${ac_top_builddir}.;;*)case ${ac_top_builddir}. in.) ac_abs_top_builddir=$ac_abs_builddir;;[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;esac;;esaccase $ac_abs_builddir in.) ac_abs_srcdir=$ac_srcdir;;*)case $ac_srcdir in.) ac_abs_srcdir=$ac_abs_builddir;;[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;esac;;esaccase $ac_abs_builddir in.) ac_abs_top_srcdir=$ac_top_srcdir;;*)case $ac_top_srcdir in.) ac_abs_top_srcdir=$ac_abs_builddir;;[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;esac;;esac{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5echo "$as_me: executing $ac_dest commands" >&6;}case $ac_dest indefault )case ${CONFIG_HEADERS} in*auto-host.h:config.in*)echo > cstamp-h ;;esac# Make sure all the subdirs exist.for d in $subdirs doc builddotest -d $d || mkdir $ddone# If the host supports symlinks, point stage[1234] at ../stage[1234] so# bootstrapping and the installation procedure can still use# CC="stage1/xgcc -Bstage1/". If the host doesn't support symlinks,# FLAGS_TO_PASS has been modified to solve the problem there.# This is virtually a duplicate of what happens in configure.lang; we do# an extra check to make sure this only happens if ln -s can be used.case "$LN_S" in*-s*)for d in ${subdirs} ; doSTARTDIR=`${PWDCMD-pwd}`cd $dfor t in stage1 stage2 stage3 stage4 stageprofile stagefeedback includedorm -f $t$LN_S ../$t $t 2>/dev/nulldonecd $STARTDIRdone;;esac;;esacdone_ACEOFcat >>$CONFIG_STATUS <<\_ACEOF{ (exit 0); exit 0; }_ACEOFchmod +x $CONFIG_STATUSac_clean_files=$ac_clean_files_save# configure is writing to config.log, and then calls config.status.# config.status does its own redirection, appending to config.log.# Unfortunately, on DOS this fails, as config.log is still kept open# by configure, so config.status won't be able to write to it; its# output is simply discarded. So we exec the FD to /dev/null,# effectively closing config.log, so it can be properly (re)opened and# appended to by config.status. When coming back to configure, we# need to make the FD available again.if test "$no_create" != yes; thenac_cs_success=:ac_config_status_args=test "$silent" = yes &&ac_config_status_args="$ac_config_status_args --quiet"exec 5>/dev/null$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=falseexec 5>>config.log# Use ||, not &&, to avoid exiting from the if with $? = 1, which# would make configure fail if this is the last instruction.$ac_cs_success || { (exit 1); exit 1; }fi
Go to most recent revision | Compare with Previous | Blame | View Log
