My favorites | Sign in
Project Home Wiki Issues Source
Checkout   Browse   Changes  
Changes to /trunk/llvm-gcc-iphone/gcc/configure
r0 vs. r3 Compare: vs.  Format:
Revision r3
Go to: 
Project members, sign in to write a code review
/trunk/llvm-gcc-iphone/gcc/configure /trunk/llvm-gcc-iphone/gcc/configure   r3
Properties
 svn:executable
   1 *
  
Contents
  1 #! /bin/sh
  2 # Guess values for system-dependent variables and create Makefiles.
  3 # Generated by GNU Autoconf 2.59.
  4 #
  5 # Copyright (C) 2003 Free Software Foundation, Inc.
  6 # This configure script is free software; the Free Software Foundation
  7 # gives unlimited permission to copy, distribute and modify it.
  8 ## --------------------- ##
  9 ## M4sh Initialization. ##
  10 ## --------------------- ##
  11
  12 # Be Bourne compatible
  13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  14 emulate sh
  15 NULLCMD=:
  16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  17 # is contrary to our usage. Disable this feature.
  18 alias -g '${1+"$@"}'='"$@"'
  19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  20 set -o posix
  21 fi
  22 DUALCASE=1; export DUALCASE # for MKS sh
  23
  24 # Support unset when possible.
  25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  26 as_unset=unset
  27 else
  28 as_unset=false
  29 fi
  30
  31
  32 # Work around bugs in pre-3.0 UWIN ksh.
  33 $as_unset ENV MAIL MAILPATH
  34 PS1='$ '
  35 PS2='> '
  36 PS4='+ '
  37
  38 # NLS nuisances.
  39 for as_var in \
  40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  42 LC_TELEPHONE LC_TIME
  43 do
  44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  45 eval $as_var=C; export $as_var
  46 else
  47 $as_unset $as_var
  48 fi
  49 done
  50
  51 # Required to use basename.
  52 if expr a : '\(a\)' >/dev/null 2>&1; then
  53 as_expr=expr
  54 else
  55 as_expr=false
  56 fi
  57
  58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  59 as_basename=basename
  60 else
  61 as_basename=false
  62 fi
  63
  64
  65 # Name of the executable.
  66 as_me=`$as_basename "$0" ||
  67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  68 X"$0" : 'X\(//\)$' \| \
  69 X"$0" : 'X\(/\)$' \| \
  70 . : '\(.\)' 2>/dev/null ||
  71 echo X/"$0" |
  72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  73 /^X\/\(\/\/\)$/{ s//\1/; q; }
  74 /^X\/\(\/\).*/{ s//\1/; q; }
  75 s/.*/./; q'`
  76
  77
  78 # PATH needs CR, and LINENO needs CR and PATH.
  79 # Avoid depending upon Character Ranges.
  80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  83 as_cr_digits='0123456789'
  84 as_cr_alnum=$as_cr_Letters$as_cr_digits
  85
  86 # The user is always right.
  87 if test "${PATH_SEPARATOR+set}" != set; then
  88 echo "#! /bin/sh" >conf$$.sh
  89 echo "exit 0" >>conf$$.sh
  90 chmod +x conf$$.sh
  91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  92 PATH_SEPARATOR=';'
  93 else
  94 PATH_SEPARATOR=:
  95 fi
  96 rm -f conf$$.sh
  97 fi
  98
  99
  100 as_lineno_1=$LINENO
  101 as_lineno_2=$LINENO
  102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  103 test "x$as_lineno_1" != "x$as_lineno_2" &&
  104 test "x$as_lineno_3" = "x$as_lineno_2" || {
  105 # Find who we are. Look in the path if we contain no path at all
  106 # relative or not.
  107 case $0 in
  108 *[\\/]* ) as_myself=$0 ;;
  109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  110 for as_dir in $PATH
  111 do
  112 IFS=$as_save_IFS
  113 test -z "$as_dir" && as_dir=.
  114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  115 done
  116
  117 ;;
  118 esac
  119 # We did not find ourselves, most probably we were run as `sh COMMAND'
  120 # in which case we are not to be found in the path.
  121 if test "x$as_myself" = x; then
  122 as_myself=$0
  123 fi
  124 if test ! -f "$as_myself"; then
  125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  126 { (exit 1); exit 1; }; }
  127 fi
  128 case $CONFIG_SHELL in
  129 '')
  130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  132 do
  133 IFS=$as_save_IFS
  134 test -z "$as_dir" && as_dir=.
  135 for as_base in sh bash ksh sh5; do
  136 case $as_dir in
  137 /*)
  138 if ("$as_dir/$as_base" -c '
  139 as_lineno_1=$LINENO
  140 as_lineno_2=$LINENO
  141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  142 test "x$as_lineno_1" != "x$as_lineno_2" &&
  143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  146 CONFIG_SHELL=$as_dir/$as_base
  147 export CONFIG_SHELL
  148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  149 fi;;
  150 esac
  151 done
  152 done
  153 ;;
  154 esac
  155
  156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  157 # uniformly replaced by the line number. The first 'sed' inserts a
  158 # line-number line before each line; the second 'sed' does the real
  159 # work. The second script uses 'N' to pair each line-number line
  160 # with the numbered line, and appends trailing '-' during
  161 # substitution so that $LINENO is not a special case at line end.
  162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  164 sed '=' <$as_myself |
  165 sed '
  166 N
  167 s,$,-,
  168 : loop
  169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  170 t loop
  171 s,-$,,
  172 s,^['$as_cr_digits']*\n,,
  173 ' >$as_me.lineno &&
  174 chmod +x $as_me.lineno ||
  175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  176 { (exit 1); exit 1; }; }
  177
  178 # Don't try to exec as it changes $[0], causing all sort of problems
  179 # (the dirname of $[0] is not the place where we might find the
  180 # original and so on. Autoconf is especially sensible to this).
  181 . ./$as_me.lineno
  182 # Exit status is that of the last command.
  183 exit
  184 }
  185
  186
  187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  188 *c*,-n*) ECHO_N= ECHO_C='
  189 ' ECHO_T=' ' ;;
  190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  192 esac
  193
  194 if expr a : '\(a\)' >/dev/null 2>&1; then
  195 as_expr=expr
  196 else
  197 as_expr=false
  198 fi
  199
  200 rm -f conf$$ conf$$.exe conf$$.file
  201 echo >conf$$.file
  202 if ln -s conf$$.file conf$$ 2>/dev/null; then
  203 # We could just check for DJGPP; but this test a) works b) is more generic
  204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  205 if test -f conf$$.exe; then
  206 # Don't use ln at all; we don't have any links
  207 as_ln_s='cp -p'
  208 else
  209 as_ln_s='ln -s'
  210 fi
  211 elif ln conf$$.file conf$$ 2>/dev/null; then
  212 as_ln_s=ln
  213 else
  214 as_ln_s='cp -p'
  215 fi
  216 rm -f conf$$ conf$$.exe conf$$.file
  217
  218 if mkdir -p . 2>/dev/null; then
  219 as_mkdir_p=:
  220 else
  221 test -d ./-p && rmdir ./-p
  222 as_mkdir_p=false
  223 fi
  224
  225 as_executable_p="test -f"
  226
  227 # Sed expression to map a string onto a valid CPP name.
  228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  229
  230 # Sed expression to map a string onto a valid variable name.
  231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  232
  233
  234 # IFS
  235 # We need space, tab and new line, in precisely that order.
  236 as_nl='
  237 '
  238 IFS=" $as_nl"
  239
  240 # CDPATH.
  241 $as_unset CDPATH
  242
  243
  244 # Name of the host.
  245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  246 # so uname gets run too.
  247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  248
  249 exec 6>&1
  250
  251 #
  252 # Initializations.
  253 #
  254 ac_default_prefix=/usr/local
  255 ac_config_libobj_dir=.
  256 cross_compiling=no
  257 subdirs=
  258 MFLAGS=
  259 MAKEFLAGS=
  260 SHELL=${CONFIG_SHELL-/bin/sh}
  261
  262 # Maximum number of lines to put in a shell here document.
  263 # This variable seems obsolete. It should probably be removed, and
  264 # only ac_max_sed_lines should be used.
  265 : ${ac_max_here_lines=38}
  266
  267 # Identity of this package.
  268 PACKAGE_NAME=
  269 PACKAGE_TARNAME=
  270 PACKAGE_VERSION=
  271 PACKAGE_STRING=
  272 PACKAGE_BUGREPORT=
  273
  274 ac_unique_file="tree.c"
  275 # Factoring default headers for most tests.
  276 ac_includes_default="\
  277 #include <stdio.h>
  278 #if HAVE_SYS_TYPES_H
  279 # include <sys/types.h>
  280 #endif
  281 #if HAVE_SYS_STAT_H
  282 # include <sys/stat.h>
  283 #endif
  284 #if STDC_HEADERS
  285 # include <stdlib.h>
  286 # include <stddef.h>
  287 #else
  288 # if HAVE_STDLIB_H
  289 # include <stdlib.h>
  290 # endif
  291 #endif
  292 #if HAVE_STRING_H
  293 # if !STDC_HEADERS && HAVE_MEMORY_H
  294 # include <memory.h>
  295 # endif
  296 # include <string.h>
  297 #endif
  298 #if HAVE_STRINGS_H
  299 # include <strings.h>
  300 #endif
  301 #if HAVE_INTTYPES_H
  302 # include <inttypes.h>
  303 #else
  304 # if HAVE_STDINT_H
  305 # include <stdint.h>
  306 # endif
  307 #endif
  308 #if HAVE_UNISTD_H
  309 # include <unistd.h>
  310 #endif"
  311
  312 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 checkingenabled_flag 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 DSYMUTIL LLVMBASEPATH LLVMBUILDMODE datarootdir docdir htmldir SET_MAKE AWK LN_S LN RANLIB ac_ct_RANLIB ranlib_flags INSTALL INSTALL_PROGRAM INSTALL_DATA make_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_cxx_file out_object_file out_cxx_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'
  313 ac_subst_files='language_hooks'
  314
  315 # Initialize some variables set by options.
  316 ac_init_help=
  317 ac_init_version=false
  318 # The variables have the same names as the options, with
  319 # dashes changed to underlines.
  320 cache_file=/dev/null
  321 exec_prefix=NONE
  322 no_create=
  323 no_recursion=
  324 prefix=NONE
  325 program_prefix=NONE
  326 program_suffix=NONE
  327 program_transform_name=s,x,x,
  328 silent=
  329 site=
  330 srcdir=
  331 verbose=
  332 x_includes=NONE
  333 x_libraries=NONE
  334
  335 # Installation directory options.
  336 # These are left unexpanded so users can "make install exec_prefix=/foo"
  337 # and all the variables that are supposed to be based on exec_prefix
  338 # by default will actually change.
  339 # Use braces instead of parens because sh, perl, etc. also accept them.
  340 bindir='${exec_prefix}/bin'
  341 sbindir='${exec_prefix}/sbin'
  342 libexecdir='${exec_prefix}/libexec'
  343 datadir='${prefix}/share'
  344 sysconfdir='${prefix}/etc'
  345 sharedstatedir='${prefix}/com'
  346 localstatedir='${prefix}/var'
  347 libdir='${exec_prefix}/lib'
  348 includedir='${prefix}/include'
  349 oldincludedir='/usr/include'
  350 infodir='${prefix}/info'
  351 mandir='${prefix}/man'
  352
  353 ac_prev=
  354 for ac_option
  355 do
  356 # If the previous option needs an argument, assign it.
  357 if test -n "$ac_prev"; then
  358 eval "$ac_prev=\$ac_option"
  359 ac_prev=
  360 continue
  361 fi
  362
  363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  364
  365 # Accept the important Cygnus configure options, so we can diagnose typos.
  366
  367 case $ac_option in
  368
  369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
  370 ac_prev=bindir ;;
  371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  372 bindir=$ac_optarg ;;
  373
  374 -build | --build | --buil | --bui | --bu)
  375 ac_prev=build_alias ;;
  376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  377 build_alias=$ac_optarg ;;
  378
  379 -cache-file | --cache-file | --cache-fil | --cache-fi \
  380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  381 ac_prev=cache_file ;;
  382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  384 cache_file=$ac_optarg ;;
  385
  386 --config-cache | -C)
  387 cache_file=config.cache ;;
  388
  389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  390 ac_prev=datadir ;;
  391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  392 | --da=*)
  393 datadir=$ac_optarg ;;
  394
  395 -disable-* | --disable-*)
  396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  397 # Reject names that are not valid shell variable names.
  398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  400 { (exit 1); exit 1; }; }
  401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  402 eval "enable_$ac_feature=no" ;;
  403
  404 -enable-* | --enable-*)
  405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  406 # Reject names that are not valid shell variable names.
  407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  409 { (exit 1); exit 1; }; }
  410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  411 case $ac_option in
  412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  413 *) ac_optarg=yes ;;
  414 esac
  415 eval "enable_$ac_feature='$ac_optarg'" ;;
  416
  417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  419 | --exec | --exe | --ex)
  420 ac_prev=exec_prefix ;;
  421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  423 | --exec=* | --exe=* | --ex=*)
  424 exec_prefix=$ac_optarg ;;
  425
  426 -gas | --gas | --ga | --g)
  427 # Obsolete; use --with-gas.
  428 with_gas=yes ;;
  429
  430 -help | --help | --hel | --he | -h)
  431 ac_init_help=long ;;
  432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  433 ac_init_help=recursive ;;
  434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  435 ac_init_help=short ;;
  436
  437 -host | --host | --hos | --ho)
  438 ac_prev=host_alias ;;
  439 -host=* | --host=* | --hos=* | --ho=*)
  440 host_alias=$ac_optarg ;;
  441
  442 -includedir | --includedir | --includedi | --included | --include \
  443 | --includ | --inclu | --incl | --inc)
  444 ac_prev=includedir ;;
  445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  446 | --includ=* | --inclu=* | --incl=* | --inc=*)
  447 includedir=$ac_optarg ;;
  448
  449 -infodir | --infodir | --infodi | --infod | --info | --inf)
  450 ac_prev=infodir ;;
  451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  452 infodir=$ac_optarg ;;
  453
  454 -libdir | --libdir | --libdi | --libd)
  455 ac_prev=libdir ;;
  456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
  457 libdir=$ac_optarg ;;
  458
  459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  460 | --libexe | --libex | --libe)
  461 ac_prev=libexecdir ;;
  462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  463 | --libexe=* | --libex=* | --libe=*)
  464 libexecdir=$ac_optarg ;;
  465
  466 -localstatedir | --localstatedir | --localstatedi | --localstated \
  467 | --localstate | --localstat | --localsta | --localst \
  468 | --locals | --local | --loca | --loc | --lo)
  469 ac_prev=localstatedir ;;
  470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  473 localstatedir=$ac_optarg ;;
  474
  475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  476 ac_prev=mandir ;;
  477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  478 mandir=$ac_optarg ;;
  479
  480 -nfp | --nfp | --nf)
  481 # Obsolete; use --without-fp.
  482 with_fp=no ;;
  483
  484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  485 | --no-cr | --no-c | -n)
  486 no_create=yes ;;
  487
  488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  490 no_recursion=yes ;;
  491
  492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  494 | --oldin | --oldi | --old | --ol | --o)
  495 ac_prev=oldincludedir ;;
  496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  499 oldincludedir=$ac_optarg ;;
  500
  501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  502 ac_prev=prefix ;;
  503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  504 prefix=$ac_optarg ;;
  505
  506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
  507 | --program-pre | --program-pr | --program-p)
  508 ac_prev=program_prefix ;;
  509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
  510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  511 program_prefix=$ac_optarg ;;
  512
  513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
  514 | --program-suf | --program-su | --program-s)
  515 ac_prev=program_suffix ;;
  516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
  517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  518 program_suffix=$ac_optarg ;;
  519
  520 -program-transform-name | --program-transform-name \
  521 | --program-transform-nam | --program-transform-na \
  522 | --program-transform-n | --program-transform- \
  523 | --program-transform | --program-transfor \
  524 | --program-transfo | --program-transf \
  525 | --program-trans | --program-tran \
  526 | --progr-tra | --program-tr | --program-t)
  527 ac_prev=program_transform_name ;;
  528 -program-transform-name=* | --program-transform-name=* \
  529 | --program-transform-nam=* | --program-transform-na=* \
  530 | --program-transform-n=* | --program-transform-=* \
  531 | --program-transform=* | --program-transfor=* \
  532 | --program-transfo=* | --program-transf=* \
  533 | --program-trans=* | --program-tran=* \
  534 | --progr-tra=* | --program-tr=* | --program-t=*)
  535 program_transform_name=$ac_optarg ;;
  536
  537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  538 | -silent | --silent | --silen | --sile | --sil)
  539 silent=yes ;;
  540
  541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  542 ac_prev=sbindir ;;
  543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  544 | --sbi=* | --sb=*)
  545 sbindir=$ac_optarg ;;
  546
  547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
  548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  549 | --sharedst | --shareds | --shared | --share | --shar \
  550 | --sha | --sh)
  551 ac_prev=sharedstatedir ;;
  552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  555 | --sha=* | --sh=*)
  556 sharedstatedir=$ac_optarg ;;
  557
  558 -site | --site | --sit)
  559 ac_prev=site ;;
  560 -site=* | --site=* | --sit=*)
  561 site=$ac_optarg ;;
  562
  563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  564 ac_prev=srcdir ;;
  565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  566 srcdir=$ac_optarg ;;
  567
  568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  569 | --syscon | --sysco | --sysc | --sys | --sy)
  570 ac_prev=sysconfdir ;;
  571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  573 sysconfdir=$ac_optarg ;;
  574
  575 -target | --target | --targe | --targ | --tar | --ta | --t)
  576 ac_prev=target_alias ;;
  577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  578 target_alias=$ac_optarg ;;
  579
  580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
  581 verbose=yes ;;
  582
  583 -version | --version | --versio | --versi | --vers | -V)
  584 ac_init_version=: ;;
  585
  586 -with-* | --with-*)
  587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  588 # Reject names that are not valid shell variable names.
  589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  590 { echo "$as_me: error: invalid package name: $ac_package" >&2
  591 { (exit 1); exit 1; }; }
  592 ac_package=`echo $ac_package| sed 's/-/_/g'`
  593 case $ac_option in
  594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  595 *) ac_optarg=yes ;;
  596 esac
  597 eval "with_$ac_package='$ac_optarg'" ;;
  598
  599 -without-* | --without-*)
  600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  601 # Reject names that are not valid shell variable names.
  602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  603 { echo "$as_me: error: invalid package name: $ac_package" >&2
  604 { (exit 1); exit 1; }; }
  605 ac_package=`echo $ac_package | sed 's/-/_/g'`
  606 eval "with_$ac_package=no" ;;
  607
  608 --x)
  609 # Obsolete; use --with-x.
  610 with_x=yes ;;
  611
  612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  613 | --x-incl | --x-inc | --x-in | --x-i)
  614 ac_prev=x_includes ;;
  615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  617 x_includes=$ac_optarg ;;
  618
  619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
  620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  621 ac_prev=x_libraries ;;
  622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  624 x_libraries=$ac_optarg ;;
  625
  626 -*) { echo "$as_me: error: unrecognized option: $ac_option
  627 Try \`$0 --help' for more information." >&2
  628 { (exit 1); exit 1; }; }
  629 ;;
  630
  631 *=*)
  632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  633 # Reject names that are not valid shell variable names.
  634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  636 { (exit 1); exit 1; }; }
  637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  638 eval "$ac_envvar='$ac_optarg'"
  639 export $ac_envvar ;;
  640
  641 *)
  642 # FIXME: should be removed in autoconf 3.0.
  643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  647 ;;
  648
  649 esac
  650 done
  651
  652 if test -n "$ac_prev"; then
  653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  654 { echo "$as_me: error: missing argument to $ac_option" >&2
  655 { (exit 1); exit 1; }; }
  656 fi
  657
  658 # Be sure to have absolute paths.
  659 for ac_var in exec_prefix prefix
  660 do
  661 eval ac_val=$`echo $ac_var`
  662 case $ac_val in
  663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  665 { (exit 1); exit 1; }; };;
  666 esac
  667 done
  668
  669 # Be sure to have absolute paths.
  670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  671 localstatedir libdir includedir oldincludedir infodir mandir
  672 do
  673 eval ac_val=$`echo $ac_var`
  674 case $ac_val in
  675 [\\/$]* | ?:[\\/]* ) ;;
  676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  677 { (exit 1); exit 1; }; };;
  678 esac
  679 done
  680
  681 # There might be people who depend on the old broken behavior: `$host'
  682 # used to hold the argument of --host etc.
  683 # FIXME: To remove some day.
  684 build=$build_alias
  685 host=$host_alias
  686 target=$target_alias
  687
  688 # FIXME: To remove some day.
  689 if test "x$host_alias" != x; then
  690 if test "x$build_alias" = x; then
  691 cross_compiling=maybe
  692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  693 If a cross compiler is detected then cross compile mode will be used." >&2
  694 elif test "x$build_alias" != "x$host_alias"; then
  695 cross_compiling=yes
  696 fi
  697 fi
  698
  699 ac_tool_prefix=
  700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  701
  702 test "$silent" = yes && exec 6>/dev/null
  703
  704
  705 # Find the source files, if location was not specified.
  706 if test -z "$srcdir"; then
  707 ac_srcdir_defaulted=yes
  708 # Try the directory containing this script, then its parent.
  709 ac_confdir=`(dirname "$0") 2>/dev/null ||
  710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  711 X"$0" : 'X\(//\)[^/]' \| \
  712 X"$0" : 'X\(//\)$' \| \
  713 X"$0" : 'X\(/\)' \| \
  714 . : '\(.\)' 2>/dev/null ||
  715 echo X"$0" |
  716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  718 /^X\(\/\/\)$/{ s//\1/; q; }
  719 /^X\(\/\).*/{ s//\1/; q; }
  720 s/.*/./; q'`
  721 srcdir=$ac_confdir
  722 if test ! -r $srcdir/$ac_unique_file; then
  723 srcdir=..
  724 fi
  725 else
  726 ac_srcdir_defaulted=no
  727 fi
  728 if test ! -r $srcdir/$ac_unique_file; then
  729 if test "$ac_srcdir_defaulted" = yes; then
  730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  731 { (exit 1); exit 1; }; }
  732 else
  733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  734 { (exit 1); exit 1; }; }
  735 fi
  736 fi
  737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  739 { (exit 1); exit 1; }; }
  740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  741 ac_env_build_alias_set=${build_alias+set}
  742 ac_env_build_alias_value=$build_alias
  743 ac_cv_env_build_alias_set=${build_alias+set}
  744 ac_cv_env_build_alias_value=$build_alias
  745 ac_env_host_alias_set=${host_alias+set}
  746 ac_env_host_alias_value=$host_alias
  747 ac_cv_env_host_alias_set=${host_alias+set}
  748 ac_cv_env_host_alias_value=$host_alias
  749 ac_env_target_alias_set=${target_alias+set}
  750 ac_env_target_alias_value=$target_alias
  751 ac_cv_env_target_alias_set=${target_alias+set}
  752 ac_cv_env_target_alias_value=$target_alias
  753 ac_env_CC_set=${CC+set}
  754 ac_env_CC_value=$CC
  755 ac_cv_env_CC_set=${CC+set}
  756 ac_cv_env_CC_value=$CC
  757 ac_env_CFLAGS_set=${CFLAGS+set}
  758 ac_env_CFLAGS_value=$CFLAGS
  759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
  760 ac_cv_env_CFLAGS_value=$CFLAGS
  761 ac_env_LDFLAGS_set=${LDFLAGS+set}
  762 ac_env_LDFLAGS_value=$LDFLAGS
  763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  764 ac_cv_env_LDFLAGS_value=$LDFLAGS
  765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  766 ac_env_CPPFLAGS_value=$CPPFLAGS
  767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  769 ac_env_CPP_set=${CPP+set}
  770 ac_env_CPP_value=$CPP
  771 ac_cv_env_CPP_set=${CPP+set}
  772 ac_cv_env_CPP_value=$CPP
  773 ac_env_GMPLIBS_set=${GMPLIBS+set}
  774 ac_env_GMPLIBS_value=$GMPLIBS
  775 ac_cv_env_GMPLIBS_set=${GMPLIBS+set}
  776 ac_cv_env_GMPLIBS_value=$GMPLIBS
  777 ac_env_GMPINC_set=${GMPINC+set}
  778 ac_env_GMPINC_value=$GMPINC
  779 ac_cv_env_GMPINC_set=${GMPINC+set}
  780 ac_cv_env_GMPINC_value=$GMPINC
  781
  782 #
  783 # Report the --help message.
  784 #
  785 if test "$ac_init_help" = "long"; then
  786 # Omit some internal or obsolete options to make the list less imposing.
  787 # This message is too long to be a string in the A/UX 3.1 sh.
  788 cat <<_ACEOF
  789 \`configure' configures this package to adapt to many kinds of systems.
  790
  791 Usage: $0 [OPTION]... [VAR=VALUE]...
  792
  793 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  794 VAR=VALUE. See below for descriptions of some of the useful variables.
  795
  796 Defaults for the options are specified in brackets.
  797
  798 Configuration:
  799 -h, --help display this help and exit
  800 --help=short display options specific to this package
  801 --help=recursive display the short help of all the included packages
  802 -V, --version display version information and exit
  803 -q, --quiet, --silent do not print \`checking...' messages
  804 --cache-file=FILE cache test results in FILE [disabled]
  805 -C, --config-cache alias for \`--cache-file=config.cache'
  806 -n, --no-create do not create output files
  807 --srcdir=DIR find the sources in DIR [configure dir or \`..']
  808
  809 _ACEOF
  810
  811 cat <<_ACEOF
  812 Installation directories:
  813 --prefix=PREFIX install architecture-independent files in PREFIX
  814 [$ac_default_prefix]
  815 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  816 [PREFIX]
  817
  818 By default, \`make install' will install all the files in
  819 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  820 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  821 for instance \`--prefix=\$HOME'.
  822
  823 For better control, use the options below.
  824
  825 Fine tuning of the installation directories:
  826 --bindir=DIR user executables [EPREFIX/bin]
  827 --sbindir=DIR system admin executables [EPREFIX/sbin]
  828 --libexecdir=DIR program executables [EPREFIX/libexec]
  829 --datadir=DIR read-only architecture-independent data [PREFIX/share]
  830 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  831 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  832 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  833 --libdir=DIR object code libraries [EPREFIX/lib]
  834 --includedir=DIR C header files [PREFIX/include]
  835 --oldincludedir=DIR C header files for non-gcc [/usr/include]
  836 --infodir=DIR info documentation [PREFIX/info]
  837 --mandir=DIR man documentation [PREFIX/man]
  838 _ACEOF
  839
  840 cat <<\_ACEOF
  841
  842 Program names:
  843 --program-prefix=PREFIX prepend PREFIX to installed program names
  844 --program-suffix=SUFFIX append SUFFIX to installed program names
  845 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  846
  847 System types:
  848 --build=BUILD configure for building on BUILD [guessed]
  849 --host=HOST cross-compile to build programs to run on HOST [BUILD]
  850 --target=TARGET configure for building compilers for TARGET [HOST]
  851 _ACEOF
  852 fi
  853
  854 if test -n "$ac_init_help"; then
  855
  856 cat <<\_ACEOF
  857
  858 Optional Features:
  859 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  860 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  861 --enable-generated-files-in-srcdir
  862 put copies of generated files in source dir
  863 intended for creating source tarballs for users
  864 without texinfo bison or flex.
  865 --enable-werror-always enable -Werror always
  866 --enable-werror enable -Werror in bootstrap stage2 and later
  867 --enable-checking=LIST
  868 enable expensive run-time checks. With LIST,
  869 enable only specific categories of checks.
  870 Categories are: yes,no,all,none,release.
  871 Flags are: assert,fold,gc,gcac,misc,
  872 rtlflag,rtl,runtime,tree,valgrind.
  873 --enable-mapped-location location_t is fileline integer cookie
  874 --enable-coverage=LEVEL
  875 enable compiler's code coverage collection.
  876 Use to measure compiler performance and locate
  877 unused parts of the compiler. With LEVEL, specify
  878 optimization. Values are opt, noopt,
  879 default is noopt
  880 --enable-gather-detailed-mem-stats enable detailed memory allocation stats gathering
  881 --enable-multilib enable library support for multiple ABIs
  882 --enable-__cxa_atexit enable __cxa_atexit for C++
  883 --enable-decimal-float enable decimal float extension to C
  884 --enable-threads enable thread usage for target GCC
  885 --enable-threads=LIB use LIB thread package for target GCC
  886 --enable-tls enable or disable generation of tls code
  887 overriding the assembler check for tls support
  888 --enable-objc-gc enable the use of Boehm's garbage collector with
  889 the GNU Objective-C runtime
  890 --disable-shared don't provide a shared libgcc
  891 --enable-intermodule build the compiler in one step
  892 --enable-llvm=DIR enable the LLVM backend, use DIR as LLVM root
  893 --enable-languages=LIST specify which front-ends to build
  894 --disable-rpath do not hardcode runtime library paths
  895 --enable-initfini-array use .init_array/.fini_array sections
  896 --enable-sjlj-exceptions
  897 arrange to use setjmp/longjmp exception handling
  898 --enable-secureplt enable -msecure-plt by default for PowerPC
  899 --disable-win32-registry
  900 disable lookup of installation paths in the
  901 Registry on Windows hosts
  902 --enable-win32-registry enable registry lookup (default)
  903 --enable-win32-registry=KEY
  904 use KEY instead of GCC version as the last portion
  905 of the registry key
  906 --enable-maintainer-mode
  907 enable make rules and dependencies not useful
  908 (and sometimes confusing) to the casual installer
  909 --enable-version-specific-runtime-libs
  910 specify that runtime libraries should be
  911 installed in a compiler-specific directory
  912
  913 Optional Packages:
  914 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  915 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  916 --with-build-libsubdir=DIR Directory where to find libraries for build system
  917 --with-local-prefix=DIR specifies directory to put local include
  918 --with-gxx-include-dir=DIR
  919 specifies directory to put g++ header files
  920 --with-cpp-install-dir=DIR
  921 install the user visible C preprocessor in DIR
  922 (relative to PREFIX) as well as PREFIX/bin
  923 --with-gnu-ld arrange to work with GNU ld.
  924 --with-ld arrange to use the specified ld (full pathname)
  925 --with-demangler-in-ld try to use demangler in GNU ld.
  926 --with-gnu-as arrange to work with GNU as
  927 --with-as arrange to use the specified as (full pathname)
  928 --with-stabs arrange to use stabs instead of host debug format
  929 --with-dwarf2 force the default debug format to be DWARF 2
  930 --with-heavenly=path specify the path to the unpacked iPhone filesystem
  931 --with-build-sysroot=sysroot
  932 use sysroot as the system root during the build
  933 --with-sysroot=DIR Search for usr/lib, usr/include, et al, within DIR.
  934 --with-gnu-ld assume the C compiler uses GNU ld default=no
  935 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
  936 --without-libiconv-prefix don't search for libiconv in includedir and libdir
  937 --with-system-libunwind use installed libunwind
  938 --with-long-double-128 Use 128-bit long double by default.
  939 --with-gc={page,zone} choose the garbage collection mechanism to use
  940 with the compiler
  941 --with-system-zlib use installed libz
  942 --with-slibdir=DIR shared libraries in DIR [LIBDIR]
  943 --with-datarootdir=DIR Use DIR as the data root [PREFIX/share]
  944 --with-docdir=DIR Install documentation in DIR [DATAROOTDIR]
  945 --with-htmldir=DIR html documentation in in DIR [DOCDIR]
  946
  947 Some influential environment variables:
  948 CC C compiler command
  949 CFLAGS C compiler flags
  950 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  951 nonstandard directory <lib dir>
  952 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
  953 headers in a nonstandard directory <include dir>
  954 CPP C preprocessor
  955 GMPLIBS How to link GMP
  956 GMPINC How to find GMP include files
  957
  958 Use these variables to override the choices made by `configure' or to help
  959 it to find libraries and programs with nonstandard names/locations.
  960
  961 _ACEOF
  962 fi
  963
  964 if test "$ac_init_help" = "recursive"; then
  965 # If there are subdirs, report their specific --help.
  966 ac_popdir=`pwd`
  967 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  968 test -d $ac_dir || continue
  969 ac_builddir=.
  970
  971 if test "$ac_dir" != .; then
  972 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  973 # A "../" for each directory in $ac_dir_suffix.
  974 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  975 else
  976 ac_dir_suffix= ac_top_builddir=
  977 fi
  978
  979 case $srcdir in
  980 .) # No --srcdir option. We are building in place.
  981 ac_srcdir=.
  982 if test -z "$ac_top_builddir"; then
  983 ac_top_srcdir=.
  984 else
  985 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  986 fi ;;
  987 [\\/]* | ?:[\\/]* ) # Absolute path.
  988 ac_srcdir=$srcdir$ac_dir_suffix;
  989 ac_top_srcdir=$srcdir ;;
  990 *) # Relative path.
  991 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  992 ac_top_srcdir=$ac_top_builddir$srcdir ;;
  993 esac
  994
  995 # Do not use `cd foo && pwd` to compute absolute paths, because
  996 # the directories may not exist.
  997 case `pwd` in
  998 .) ac_abs_builddir="$ac_dir";;
  999 *)
  1000 case "$ac_dir" in
  1001 .) ac_abs_builddir=`pwd`;;
  1002 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  1003 *) ac_abs_builddir=`pwd`/"$ac_dir";;
  1004 esac;;
  1005 esac
  1006 case $ac_abs_builddir in
  1007 .) ac_abs_top_builddir=${ac_top_builddir}.;;
  1008 *)
  1009 case ${ac_top_builddir}. in
  1010 .) ac_abs_top_builddir=$ac_abs_builddir;;
  1011 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  1012 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  1013 esac;;
  1014 esac
  1015 case $ac_abs_builddir in
  1016 .) ac_abs_srcdir=$ac_srcdir;;
  1017 *)
  1018 case $ac_srcdir in
  1019 .) ac_abs_srcdir=$ac_abs_builddir;;
  1020 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  1021 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  1022 esac;;
  1023 esac
  1024 case $ac_abs_builddir in
  1025 .) ac_abs_top_srcdir=$ac_top_srcdir;;
  1026 *)
  1027 case $ac_top_srcdir in
  1028 .) ac_abs_top_srcdir=$ac_abs_builddir;;
  1029 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  1030 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  1031 esac;;
  1032 esac
  1033
  1034 cd $ac_dir
  1035 # Check for guested configure; otherwise get Cygnus style configure.
  1036 if test -f $ac_srcdir/configure.gnu; then
  1037 echo
  1038 $SHELL $ac_srcdir/configure.gnu --help=recursive
  1039 elif test -f $ac_srcdir/configure; then
  1040 echo
  1041 $SHELL $ac_srcdir/configure --help=recursive
  1042 elif test -f $ac_srcdir/configure.ac ||
  1043 test -f $ac_srcdir/configure.in; then
  1044 echo
  1045 $ac_configure --help
  1046 else
  1047 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1048 fi
  1049 cd $ac_popdir
  1050 done
  1051 fi
  1052
  1053 test -n "$ac_init_help" && exit 0
  1054 if $ac_init_version; then
  1055 cat <<\_ACEOF
  1056
  1057 Copyright (C) 2003 Free Software Foundation, Inc.
  1058 This configure script is free software; the Free Software Foundation
  1059 gives unlimited permission to copy, distribute and modify it.
  1060 _ACEOF
  1061 exit 0
  1062 fi
  1063 exec 5>config.log
  1064 cat >&5 <<_ACEOF
  1065 This file contains any messages produced by compilers while
  1066 running configure, to aid debugging if configure makes a mistake.
  1067
  1068 It was created by $as_me, which was
  1069 generated by GNU Autoconf 2.59. Invocation command line was
  1070
  1071 $ $0 $@
  1072
  1073 _ACEOF
  1074 {
  1075 cat <<_ASUNAME
  1076 ## --------- ##
  1077 ## Platform. ##
  1078 ## --------- ##
  1079
  1080 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1081 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1082 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1083 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1084 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1085
  1086 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1087 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1088
  1089 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1090 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1091 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1092 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
  1093 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1094 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1095 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1096
  1097 _ASUNAME
  1098
  1099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1100 for as_dir in $PATH
  1101 do
  1102 IFS=$as_save_IFS
  1103 test -z "$as_dir" && as_dir=.
  1104 echo "PATH: $as_dir"
  1105 done
  1106
  1107 } >&5
  1108
  1109 cat >&5 <<_ACEOF
  1110
  1111
  1112 ## ----------- ##
  1113 ## Core tests. ##
  1114 ## ----------- ##
  1115
  1116 _ACEOF
  1117
  1118
  1119 # Keep a trace of the command line.
  1120 # Strip out --no-create and --no-recursion so they do not pile up.
  1121 # Strip out --silent because we don't want to record it for future runs.
  1122 # Also quote any args containing shell meta-characters.
  1123 # Make two passes to allow for proper duplicate-argument suppression.
  1124 ac_configure_args=
  1125 ac_configure_args0=
  1126 ac_configure_args1=
  1127 ac_sep=
  1128 ac_must_keep_next=false
  1129 for ac_pass in 1 2
  1130 do
  1131 for ac_arg
  1132 do
  1133 case $ac_arg in
  1134 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1136 | -silent | --silent | --silen | --sile | --sil)
  1137 continue ;;
  1138 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1139 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1140 esac
  1141 case $ac_pass in
  1142 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1143 2)
  1144 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1145 if test $ac_must_keep_next = true; then
  1146 ac_must_keep_next=false # Got value, back to normal.
  1147 else
  1148 case $ac_arg in
  1149 *=* | --config-cache | -C | -disable-* | --disable-* \
  1150 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1151 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1152 | -with-* | --with-* | -without-* | --without-* | --x)
  1153 case "$ac_configure_args0 " in
  1154 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1155 esac
  1156 ;;
  1157 -* ) ac_must_keep_next=true ;;
  1158 esac
  1159 fi
  1160 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  1161 # Get rid of the leading space.
  1162 ac_sep=" "
  1163 ;;
  1164 esac
  1165 done
  1166 done
  1167 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1168 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1169
  1170 # When interrupted or exit'd, cleanup temporary files, and complete
  1171 # config.log. We remove comments because anyway the quotes in there
  1172 # would cause problems or look ugly.
  1173 # WARNING: Be sure not to use single quotes in there, as some shells,
  1174 # such as our DU 5.0 friend, will then `close' the trap.
  1175 trap 'exit_status=$?
  1176 # Save into config.log some information that might help in debugging.
  1177 {
  1178 echo
  1179
  1180 cat <<\_ASBOX
  1181 ## ---------------- ##
  1182 ## Cache variables. ##
  1183 ## ---------------- ##
  1184 _ASBOX
  1185 echo
  1186 # The following way of writing the cache mishandles newlines in values,
  1187 {
  1188 (set) 2>&1 |
  1189 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  1190 *ac_space=\ *)
  1191 sed -n \
  1192 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  1193 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  1194 ;;
  1195 *)
  1196 sed -n \
  1197 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  1198 ;;
  1199 esac;
  1200 }
  1201 echo
  1202
  1203 cat <<\_ASBOX
  1204 ## ----------------- ##
  1205 ## Output variables. ##
  1206 ## ----------------- ##
  1207 _ASBOX
  1208 echo
  1209 for ac_var in $ac_subst_vars
  1210 do
  1211 eval ac_val=$`echo $ac_var`
  1212 echo "$ac_var='"'"'$ac_val'"'"'"
  1213 done | sort
  1214 echo
  1215
  1216 if test -n "$ac_subst_files"; then
  1217 cat <<\_ASBOX
  1218 ## ------------- ##
  1219 ## Output files. ##
  1220 ## ------------- ##
  1221 _ASBOX
  1222 echo
  1223 for ac_var in $ac_subst_files
  1224 do
  1225 eval ac_val=$`echo $ac_var`
  1226 echo "$ac_var='"'"'$ac_val'"'"'"
  1227 done | sort
  1228 echo
  1229 fi
  1230
  1231 if test -s confdefs.h; then
  1232 cat <<\_ASBOX
  1233 ## ----------- ##
  1234 ## confdefs.h. ##
  1235 ## ----------- ##
  1236 _ASBOX
  1237 echo
  1238 sed "/^$/d" confdefs.h | sort
  1239 echo
  1240 fi
  1241 test "$ac_signal" != 0 &&
  1242 echo "$as_me: caught signal $ac_signal"
  1243 echo "$as_me: exit $exit_status"
  1244 } >&5
  1245 rm -f core *.core &&
  1246 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  1247 exit $exit_status
  1248 ' 0
  1249 for ac_signal in 1 2 13 15; do
  1250 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1251 done
  1252 ac_signal=0
  1253
  1254 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1255 rm -rf conftest* confdefs.h
  1256 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1257 echo >confdefs.h
  1258
  1259 # Predefined preprocessor variables.
  1260
  1261 cat >>confdefs.h <<_ACEOF
  1262 #define PACKAGE_NAME "$PACKAGE_NAME"
  1263 _ACEOF
  1264
  1265
  1266 cat >>confdefs.h <<_ACEOF
  1267 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1268 _ACEOF
  1269
  1270
  1271 cat >>confdefs.h <<_ACEOF
  1272 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1273 _ACEOF
  1274
  1275
  1276 cat >>confdefs.h <<_ACEOF
  1277 #define PACKAGE_STRING "$PACKAGE_STRING"
  1278 _ACEOF
  1279
  1280
  1281 cat >>confdefs.h <<_ACEOF
  1282 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1283 _ACEOF
  1284
  1285
  1286 # Let the site file select an alternate cache file if it wants to.
  1287 # Prefer explicitly selected file to automatically selected ones.
  1288 if test -z "$CONFIG_SITE"; then
  1289 if test "x$prefix" != xNONE; then
  1290 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1291 else
  1292 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1293 fi
  1294 fi
  1295 for ac_site_file in $CONFIG_SITE; do
  1296 if test -r "$ac_site_file"; then
  1297 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1298 echo "$as_me: loading site script $ac_site_file" >&6;}
  1299 sed 's/^/| /' "$ac_site_file" >&5
  1300 . "$ac_site_file"
  1301 fi
  1302 done
  1303
  1304 if test -r "$cache_file"; then
  1305 # Some versions of bash will fail to source /dev/null (special
  1306 # files actually), so we avoid doing that.
  1307 if test -f "$cache_file"; then
  1308 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1309 echo "$as_me: loading cache $cache_file" >&6;}
  1310 case $cache_file in
  1311 [\\/]* | ?:[\\/]* ) . $cache_file;;
  1312 *) . ./$cache_file;;
  1313 esac
  1314 fi
  1315 else
  1316 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1317 echo "$as_me: creating cache $cache_file" >&6;}
  1318 >$cache_file
  1319 fi
  1320
  1321 # Check that the precious variables saved in the cache have kept the same
  1322 # value.
  1323 ac_cache_corrupted=false
  1324 for ac_var in `(set) 2>&1 |
  1325 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  1326 eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1327 eval ac_new_set=\$ac_env_${ac_var}_set
  1328 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  1329 eval ac_new_val="\$ac_env_${ac_var}_value"
  1330 case $ac_old_set,$ac_new_set in
  1331 set,)
  1332 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1333 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1334 ac_cache_corrupted=: ;;
  1335 ,set)
  1336 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1337 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1338 ac_cache_corrupted=: ;;
  1339 ,);;
  1340 *)
  1341 if test "x$ac_old_val" != "x$ac_new_val"; then
  1342 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1343 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1344 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  1345 echo "$as_me: former value: $ac_old_val" >&2;}
  1346 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
  1347 echo "$as_me: current value: $ac_new_val" >&2;}
  1348 ac_cache_corrupted=:
  1349 fi;;
  1350 esac
  1351 # Pass precious variables to config.status.
  1352 if test "$ac_new_set" = set; then
  1353 case $ac_new_val in
  1354 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1355 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1356 *) ac_arg=$ac_var=$ac_new_val ;;
  1357 esac
  1358 case " $ac_configure_args " in
  1359 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1360 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1361 esac
  1362 fi
  1363 done
  1364 if $ac_cache_corrupted; then
  1365 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1366 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1367 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1368 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1369 { (exit 1); exit 1; }; }
  1370 fi
  1371
  1372 ac_ext=c
  1373 ac_cpp='$CPP $CPPFLAGS'
  1374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1377
  1378
  1379
  1380
  1381
  1382
  1383
  1384
  1385
  1386
  1387
  1388
  1389
  1390
  1391
  1392
  1393
  1394
  1395
  1396
  1397 ac_config_headers="$ac_config_headers auto-host.h:config.in"
  1398
  1399
  1400 gcc_version=`cat $srcdir/BASE-VER`
  1401
  1402 # Determine the host, build, and target systems
  1403 ac_aux_dir=
  1404 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  1405 if test -f $ac_dir/install-sh; then
  1406 ac_aux_dir=$ac_dir
  1407 ac_install_sh="$ac_aux_dir/install-sh -c"
  1408 break
  1409 elif test -f $ac_dir/install.sh; then
  1410 ac_aux_dir=$ac_dir
  1411 ac_install_sh="$ac_aux_dir/install.sh -c"
  1412 break
  1413 elif test -f $ac_dir/shtool; then
  1414 ac_aux_dir=$ac_dir
  1415 ac_install_sh="$ac_aux_dir/shtool install -c"
  1416 break
  1417 fi
  1418 done
  1419 if test -z "$ac_aux_dir"; then
  1420 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
  1421 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
  1422 { (exit 1); exit 1; }; }
  1423 fi
  1424 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  1425 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  1426 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
  1427
  1428 # Make sure we can run config.sub.
  1429 $ac_config_sub sun4 >/dev/null 2>&1 ||
  1430 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
  1431 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
  1432 { (exit 1); exit 1; }; }
  1433
  1434 echo "$as_me:$LINENO: checking build system type" >&5
  1435 echo $ECHO_N "checking build system type... $ECHO_C" >&6
  1436 if test "${ac_cv_build+set}" = set; then
  1437 echo $ECHO_N "(cached) $ECHO_C" >&6
  1438 else
  1439 ac_cv_build_alias=$build_alias
  1440 test -z "$ac_cv_build_alias" &&
  1441 ac_cv_build_alias=`$ac_config_guess`
  1442 test -z "$ac_cv_build_alias" &&
  1443 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  1444 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  1445 { (exit 1); exit 1; }; }
  1446 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
  1447 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
  1448 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
  1449 { (exit 1); exit 1; }; }
  1450
  1451 fi
  1452 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  1453 echo "${ECHO_T}$ac_cv_build" >&6
  1454 build=$ac_cv_build
  1455 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  1456 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  1457 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  1458
  1459
  1460 echo "$as_me:$LINENO: checking host system type" >&5
  1461 echo $ECHO_N "checking host system type... $ECHO_C" >&6
  1462 if test "${ac_cv_host+set}" = set; then
  1463 echo $ECHO_N "(cached) $ECHO_C" >&6
  1464 else
  1465 ac_cv_host_alias=$host_alias
  1466 test -z "$ac_cv_host_alias" &&
  1467 ac_cv_host_alias=$ac_cv_build_alias
  1468 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
  1469 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
  1470 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
  1471 { (exit 1); exit 1; }; }
  1472
  1473 fi
  1474 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  1475 echo "${ECHO_T}$ac_cv_host" >&6
  1476 host=$ac_cv_host
  1477 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  1478 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  1479 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  1480
  1481
  1482 echo "$as_me:$LINENO: checking target system type" >&5
  1483 echo $ECHO_N "checking target system type... $ECHO_C" >&6
  1484 if test "${ac_cv_target+set}" = set; then
  1485 echo $ECHO_N "(cached) $ECHO_C" >&6
  1486 else
  1487 ac_cv_target_alias=$target_alias
  1488 test "x$ac_cv_target_alias" = "x" &&
  1489 ac_cv_target_alias=$ac_cv_host_alias
  1490 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
  1491 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
  1492 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
  1493 { (exit 1); exit 1; }; }
  1494
  1495 fi
  1496 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
  1497 echo "${ECHO_T}$ac_cv_target" >&6
  1498 target=$ac_cv_target
  1499 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  1500 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  1501 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  1502
  1503
  1504 # The aliases save the names the user supplied, while $host etc.
  1505 # will get canonicalized.
  1506 test -n "$target_alias" &&
  1507 test "$program_prefix$program_suffix$program_transform_name" = \
  1508 NONENONEs,x,x, &&
  1509 program_prefix=${target_alias}-
  1510
  1511 # Determine the noncanonical target name, for directory use.
  1512 case ${build_alias} in
  1513 "") build_noncanonical=${build} ;;
  1514 *) build_noncanonical=${build_alias} ;;
  1515 esac
  1516
  1517 case ${host_alias} in
  1518 "") host_noncanonical=${build_noncanonical} ;;
  1519 *) host_noncanonical=${host_alias} ;;
  1520 esac
  1521
  1522 case ${target_alias} in
  1523 "") target_noncanonical=${host_noncanonical} ;;
  1524 *) target_noncanonical=${target_alias} ;;
  1525 esac
  1526
  1527
  1528
  1529
  1530 # Determine the target- and build-specific subdirectories
  1531
  1532 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
  1533 # have matching libraries, they should use host libraries: Makefile.tpl
  1534 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
  1535 # However, they still use the build modules, because the corresponding
  1536 # host modules (e.g. bison) are only built for the host when bootstrap
  1537 # finishes. So:
  1538 # - build_subdir is where we find build modules, and never changes.
  1539 # - build_libsubdir is where we find build libraries, and can be overridden.
  1540
  1541 # Prefix 'build-' so this never conflicts with target_subdir.
  1542 build_subdir="build-${build_noncanonical}"
  1543
  1544 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
  1545 if test "${with_build_libsubdir+set}" = set; then
  1546 withval="$with_build_libsubdir"
  1547 build_libsubdir="$withval"
  1548 else
  1549 build_libsubdir="$build_subdir"
  1550 fi;
  1551 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
  1552 if ( test $srcdir = . && test -d gcc ) \
  1553 || test -d $srcdir/../host-${host_noncanonical}; then
  1554 host_subdir="host-${host_noncanonical}"
  1555 else
  1556 host_subdir=.
  1557 fi
  1558 # No prefix.
  1559 target_subdir=${target_noncanonical}
  1560
  1561
  1562 # Set program_transform_name
  1563 test "$program_prefix" != NONE &&
  1564 program_transform_name="s,^,$program_prefix,;$program_transform_name"
  1565 # Use a double $ so make ignores it.
  1566 test "$program_suffix" != NONE &&
  1567 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
  1568 # Double any \ or $. echo might interpret backslashes.
  1569 # By default was `s,x,x', remove it if useless.
  1570 cat <<\_ACEOF >conftest.sed
  1571 s/[\\$]/&&/g;s/;s,x,x,$//
  1572 _ACEOF
  1573 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  1574 rm conftest.sed
  1575
  1576
  1577 # Check for bogus environment variables.
  1578 # Test if LIBRARY_PATH contains the notation for the current directory
  1579 # since this would lead to problems installing/building glibc.
  1580 # LIBRARY_PATH contains the current directory if one of the following
  1581 # is true:
  1582 # - one of the terminals (":" and ";") is the first or last sign
  1583 # - two terminals occur directly after each other
  1584 # - the path contains an element with a dot in it
  1585 echo "$as_me:$LINENO: checking LIBRARY_PATH variable" >&5
  1586 echo $ECHO_N "checking LIBRARY_PATH variable... $ECHO_C" >&6
  1587 case ${LIBRARY_PATH} in
  1588 [:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
  1589 library_path_setting="contains current directory"
  1590 ;;
  1591 *)
  1592 library_path_setting="ok"
  1593 ;;
  1594 esac
  1595 echo "$as_me:$LINENO: result: $library_path_setting" >&5
  1596 echo "${ECHO_T}$library_path_setting" >&6
  1597 if test "$library_path_setting" != "ok"; then
  1598 { { echo "$as_me:$LINENO: error:
  1599 *** LIBRARY_PATH shouldn't contain the current directory when
  1600 *** building gcc. Please change the environment variable
  1601 *** and run configure again." >&5
  1602 echo "$as_me: error:
  1603 *** LIBRARY_PATH shouldn't contain the current directory when
  1604 *** building gcc. Please change the environment variable
  1605 *** and run configure again." >&2;}
  1606 { (exit 1); exit 1; }; }
  1607 fi
  1608
  1609 # Test if GCC_EXEC_PREFIX contains the notation for the current directory
  1610 # since this would lead to problems installing/building glibc.
  1611 # GCC_EXEC_PREFIX contains the current directory if one of the following
  1612 # is true:
  1613 # - one of the terminals (":" and ";") is the first or last sign
  1614 # - two terminals occur directly after each other
  1615 # - the path contains an element with a dot in it
  1616 echo "$as_me:$LINENO: checking GCC_EXEC_PREFIX variable" >&5
  1617 echo $ECHO_N "checking GCC_EXEC_PREFIX variable... $ECHO_C" >&6
  1618 case ${GCC_EXEC_PREFIX} in
  1619 [:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
  1620 gcc_exec_prefix_setting="contains current directory"
  1621 ;;
  1622 *)
  1623 gcc_exec_prefix_setting="ok"
  1624 ;;
  1625 esac
  1626 echo "$as_me:$LINENO: result: $gcc_exec_prefix_setting" >&5
  1627 echo "${ECHO_T}$gcc_exec_prefix_setting" >&6
  1628 if test "$gcc_exec_prefix_setting" != "ok"; then
  1629 { { echo "$as_me:$LINENO: error:
  1630 *** GCC_EXEC_PREFIX shouldn't contain the current directory when
  1631 *** building gcc. Please change the environment variable
  1632 *** and run configure again." >&5
  1633 echo "$as_me: error:
  1634 *** GCC_EXEC_PREFIX shouldn't contain the current directory when
  1635 *** building gcc. Please change the environment variable
  1636 *** and run configure again." >&2;}
  1637 { (exit 1); exit 1; }; }
  1638 fi
  1639
  1640 # -----------
  1641 # Directories
  1642 # -----------
  1643
  1644 # Specify the local prefix
  1645 local_prefix=
  1646
  1647 # Check whether --with-local-prefix or --without-local-prefix was given.
  1648 if test "${with_local_prefix+set}" = set; then
  1649 withval="$with_local_prefix"
  1650 case "${withval}" in
  1651 yes) { { echo "$as_me:$LINENO: error: bad value ${withval} given for local include directory prefix" >&5
  1652 echo "$as_me: error: bad value ${withval} given for local include directory prefix" >&2;}
  1653 { (exit 1); exit 1; }; } ;;
  1654 no) ;;
  1655 *) local_prefix=$with_local_prefix ;;
  1656 esac
  1657 fi;
  1658
  1659 # Default local prefix if it is empty
  1660 if test x$local_prefix = x; then
  1661 local_prefix=/usr/local
  1662 fi
  1663
  1664 # Don't set gcc_gxx_include_dir to gxx_include_dir since that's only
  1665 # passed in by the toplevel make and thus we'd get different behavior
  1666 # depending on where we built the sources.
  1667 gcc_gxx_include_dir=
  1668 # Specify the g++ header file directory
  1669
  1670 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
  1671 if test "${with_gxx_include_dir+set}" = set; then
  1672 withval="$with_gxx_include_dir"
  1673 case "${withval}" in
  1674 yes) { { echo "$as_me:$LINENO: error: bad value ${withval} given for g++ include directory" >&5
  1675 echo "$as_me: error: bad value ${withval} given for g++ include directory" >&2;}
  1676 { (exit 1); exit 1; }; } ;;
  1677 no) ;;
  1678 *) gcc_gxx_include_dir=$with_gxx_include_dir ;;
  1679 esac
  1680 fi;
  1681
  1682 # This logic must match libstdc++-v3/acinclude.m4:GLIBCXX_EXPORT_INSTALL_INFO.
  1683 if test x${gcc_gxx_include_dir} = x; then
  1684 if test x${enable_version_specific_runtime_libs} = xyes; then
  1685 gcc_gxx_include_dir='${libsubdir}/include/c++'
  1686 else
  1687 libstdcxx_incdir='include/c++/$(version)'
  1688 if test x$host != x$target; then
  1689 libstdcxx_incdir="$target_alias/$libstdcxx_incdir"
  1690 fi
  1691 gcc_gxx_include_dir="\$(libsubdir)/\$(unlibsubdir)/..\`echo \$(exec_prefix) | sed -e 's|^\$(prefix)||' -e 's|/[^/]*|/..|g'\`/$libstdcxx_incdir"
  1692 fi
  1693 fi
  1694
  1695
  1696 # Check whether --with-cpp_install_dir or --without-cpp_install_dir was given.
  1697 if test "${with_cpp_install_dir+set}" = set; then
  1698 withval="$with_cpp_install_dir"
  1699 if test x$withval = xyes; then
  1700 { { echo "$as_me:$LINENO: error: option --with-cpp-install-dir requires an argument" >&5
  1701 echo "$as_me: error: option --with-cpp-install-dir requires an argument" >&2;}
  1702 { (exit 1); exit 1; }; }
  1703 elif test x$withval != xno; then
  1704 cpp_install_dir=$withval
  1705 fi
  1706 fi;
  1707
  1708 # We would like to our source tree to be readonly. However when releases or
  1709 # pre-releases are generated, the flex/bison generated files as well as the
  1710 # various formats of manuals need to be included along with the rest of the
  1711 # sources. Therefore we have --enable-generated-files-in-srcdir to do
  1712 # just that.
  1713
  1714 echo "$as_me:$LINENO: checking whether to place generated files in the source directory" >&5
  1715 echo $ECHO_N "checking whether to place generated files in the source directory... $ECHO_C" >&6
  1716 # Check whether --enable-generated-files-in-srcdir or --disable-generated-files-in-srcdir was given.
  1717 if test "${enable_generated_files_in_srcdir+set}" = set; then
  1718 enableval="$enable_generated_files_in_srcdir"
  1719 generated_files_in_srcdir=$enableval
  1720 else
  1721 generated_files_in_srcdir=no
  1722 fi;
  1723
  1724 echo "$as_me:$LINENO: result: $generated_files_in_srcdir" >&5
  1725 echo "${ECHO_T}$generated_files_in_srcdir" >&6
  1726
  1727 if test "$generated_files_in_srcdir" = "yes"; then
  1728 GENINSRC=''
  1729 else
  1730 GENINSRC='#'
  1731 fi
  1732
  1733
  1734 # -------------------
  1735 # Find default linker
  1736 # -------------------
  1737
  1738 # With GNU ld
  1739
  1740 # Check whether --with-gnu-ld or --without-gnu-ld was given.
  1741 if test "${with_gnu_ld+set}" = set; then
  1742 withval="$with_gnu_ld"
  1743 gnu_ld_flag="$with_gnu_ld"
  1744 else
  1745 gnu_ld_flag=no
  1746 fi;
  1747
  1748 # With pre-defined ld
  1749
  1750 # Check whether --with-ld or --without-ld was given.
  1751 if test "${with_ld+set}" = set; then
  1752 withval="$with_ld"
  1753 DEFAULT_LINKER="$with_ld"
  1754 fi;
  1755 if test x"${DEFAULT_LINKER+set}" = x"set"; then
  1756 if test ! -x "$DEFAULT_LINKER"; then
  1757 { { echo "$as_me:$LINENO: error: cannot execute: $DEFAULT_LINKER: check --with-ld or env. var. DEFAULT_LINKER" >&5
  1758 echo "$as_me: error: cannot execute: $DEFAULT_LINKER: check --with-ld or env. var. DEFAULT_LINKER" >&2;}
  1759 { (exit 1); exit 1; }; }
  1760 elif $DEFAULT_LINKER -v < /dev/null 2>&1 | grep GNU > /dev/null; then
  1761 gnu_ld_flag=yes
  1762 fi
  1763
  1764 cat >>confdefs.h <<_ACEOF
  1765 #define DEFAULT_LINKER "$DEFAULT_LINKER"
  1766 _ACEOF
  1767
  1768 fi
  1769
  1770 echo "$as_me:$LINENO: checking whether a default linker was specified" >&5
  1771 echo $ECHO_N "checking whether a default linker was specified... $ECHO_C" >&6
  1772 if test x"${DEFAULT_LINKER+set}" = x"set"; then
  1773 if test x"$gnu_ld_flag" = x"no"; then
  1774 echo "$as_me:$LINENO: result: yes ($DEFAULT_LINKER)" >&5
  1775 echo "${ECHO_T}yes ($DEFAULT_LINKER)" >&6
  1776 else
  1777 echo "$as_me:$LINENO: result: yes ($DEFAULT_LINKER - GNU ld)" >&5
  1778 echo "${ECHO_T}yes ($DEFAULT_LINKER - GNU ld)" >&6
  1779 fi
  1780 else
  1781 echo "$as_me:$LINENO: result: no" >&5
  1782 echo "${ECHO_T}no" >&6
  1783 fi
  1784
  1785 # With demangler in GNU ld
  1786
  1787 # Check whether --with-demangler-in-ld or --without-demangler-in-ld was given.
  1788 if test "${with_demangler_in_ld+set}" = set; then
  1789 withval="$with_demangler_in_ld"
  1790 demangler_in_ld="$with_demangler_in_ld"
  1791 else
  1792 demangler_in_ld=no
  1793 fi;
  1794
  1795 # ----------------------
  1796 # Find default assembler
  1797 # ----------------------
  1798
  1799 # With GNU as
  1800
  1801 # Check whether --with-gnu-as or --without-gnu-as was given.
  1802 if test "${with_gnu_as+set}" = set; then
  1803 withval="$with_gnu_as"
  1804 gas_flag="$with_gnu_as"
  1805 else
  1806 gas_flag=no
  1807 fi;
  1808
  1809
  1810 # Check whether --with-as or --without-as was given.
  1811 if test "${with_as+set}" = set; then
  1812 withval="$with_as"
  1813 DEFAULT_ASSEMBLER="$with_as"
  1814 fi;
  1815 if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then
  1816 if test ! -x "$DEFAULT_ASSEMBLER"; then
  1817 { { echo "$as_me:$LINENO: error: cannot execute: $DEFAULT_ASSEMBLER: check --with-as or env. var. DEFAULT_ASSEMBLER" >&5
  1818 echo "$as_me: error: cannot execute: $DEFAULT_ASSEMBLER: check --with-as or env. var. DEFAULT_ASSEMBLER" >&2;}
  1819 { (exit 1); exit 1; }; }
  1820 elif $DEFAULT_ASSEMBLER -v < /dev/null 2>&1 | grep GNU > /dev/null; then
  1821 gas_flag=yes
  1822 fi
  1823
  1824 cat >>confdefs.h <<_ACEOF
  1825 #define DEFAULT_ASSEMBLER "$DEFAULT_ASSEMBLER"
  1826 _ACEOF
  1827
  1828 fi
  1829
  1830 echo "$as_me:$LINENO: checking whether a default assembler was specified" >&5
  1831 echo $ECHO_N "checking whether a default assembler was specified... $ECHO_C" >&6
  1832 if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then
  1833 if test x"$gas_flag" = x"no"; then
  1834 echo "$as_me:$LINENO: result: yes ($DEFAULT_ASSEMBLER)" >&5
  1835 echo "${ECHO_T}yes ($DEFAULT_ASSEMBLER)" >&6
  1836 else
  1837 echo "$as_me:$LINENO: result: yes ($DEFAULT_ASSEMBLER - GNU as)" >&5
  1838 echo "${ECHO_T}yes ($DEFAULT_ASSEMBLER - GNU as)" >&6
  1839 fi
  1840 else
  1841 echo "$as_me:$LINENO: result: no" >&5
  1842 echo "${ECHO_T}no" >&6
  1843 fi
  1844
  1845 # ---------------
  1846 # Find C compiler
  1847 # ---------------
  1848
  1849 # If a non-executable a.out is present (e.g. created by GNU as above even if
  1850 # invoked with -v only), the IRIX 6 native ld just overwrites the existing
  1851 # file, even when creating an executable, so an execution test fails.
  1852 # Remove possible default executable files to avoid this.
  1853 #
  1854 # FIXME: This really belongs into AC_PROG_CC and can be removed once
  1855 # Autoconf includes it.
  1856 rm -f a.out a.exe b.out
  1857
  1858 # Find the native compiler
  1859 ac_ext=c
  1860 ac_cpp='$CPP $CPPFLAGS'
  1861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1864 if test -n "$ac_tool_prefix"; then
  1865 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1866 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1867 echo "$as_me:$LINENO: checking for $ac_word" >&5
  1868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1869 if test "${ac_cv_prog_CC+set}" = set; then
  1870 echo $ECHO_N "(cached) $ECHO_C" >&6
  1871 else
  1872 if test -n "$CC"; then
  1873 ac_cv_prog_CC="$CC" # Let the user override the test.
  1874 else
  1875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1876 for as_dir in $PATH
  1877 do
  1878 IFS=$as_save_IFS
  1879 test -z "$as_dir" && as_dir=.
  1880 for ac_exec_ext in '' $ac_executable_extensions; do
  1881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1882 ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1884 break 2
  1885 fi
  1886 done
  1887 done
  1888
  1889 fi
  1890 fi
  1891 CC=$ac_cv_prog_CC
  1892 if test -n "$CC"; then
  1893 echo "$as_me:$LINENO: result: $CC" >&5
  1894 echo "${ECHO_T}$CC" >&6
  1895 else
  1896 echo "$as_me:$LINENO: result: no" >&5
  1897 echo "${ECHO_T}no" >&6
  1898 fi
  1899
  1900 fi
  1901 if test -z "$ac_cv_prog_CC"; then
  1902 ac_ct_CC=$CC
  1903 # Extract the first word of "gcc", so it can be a program name with args.
  1904 set dummy gcc; ac_word=$2
  1905 echo "$as_me:$LINENO: checking for $ac_word" >&5
  1906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1907 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1908 echo $ECHO_N "(cached) $ECHO_C" >&6
  1909 else
  1910 if test -n "$ac_ct_CC"; then
  1911 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1912 else
  1913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1914 for as_dir in $PATH
  1915 do
  1916 IFS=$as_save_IFS
  1917 test -z "$as_dir" && as_dir=.
  1918 for ac_exec_ext in '' $ac_executable_extensions; do
  1919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1920 ac_cv_prog_ac_ct_CC="gcc"
  1921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1922 break 2
  1923 fi
  1924 done
  1925 done
  1926
  1927 fi
  1928 fi
  1929 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1930 if test -n "$ac_ct_CC"; then
  1931 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1932 echo "${ECHO_T}$ac_ct_CC" >&6
  1933 else
  1934 echo "$as_me:$LINENO: result: no" >&5
  1935 echo "${ECHO_T}no" >&6
  1936 fi
  1937
  1938 CC=$ac_ct_CC
  1939 else
  1940 CC="$ac_cv_prog_CC"
  1941 fi
  1942
  1943 if test -z "$CC"; then
  1944 if test -n "$ac_tool_prefix"; then
  1945 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1946 set dummy ${ac_tool_prefix}cc; ac_word=$2
  1947 echo "$as_me:$LINENO: checking for $ac_word" >&5
  1948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1949 if test "${ac_cv_prog_CC+set}" = set; then
  1950 echo $ECHO_N "(cached) $ECHO_C" >&6
  1951 else
  1952 if test -n "$CC"; then
  1953 ac_cv_prog_CC="$CC" # Let the user override the test.
  1954 else
  1955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1956 for as_dir in $PATH
  1957 do
  1958 IFS=$as_save_IFS
  1959 test -z "$as_dir" && as_dir=.
  1960 for ac_exec_ext in '' $ac_executable_extensions; do
  1961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1962 ac_cv_prog_CC="${ac_tool_prefix}cc"
  1963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1964 break 2
  1965 fi
  1966 done
  1967 done
  1968
  1969 fi
  1970 fi
  1971 CC=$ac_cv_prog_CC
  1972 if test -n "$CC"; then
  1973 echo "$as_me:$LINENO: result: $CC" >&5
  1974 echo "${ECHO_T}$CC" >&6
  1975 else
  1976 echo "$as_me:$LINENO: result: no" >&5
  1977 echo "${ECHO_T}no" >&6
  1978 fi
  1979
  1980 fi
  1981 if test -z "$ac_cv_prog_CC"; then
  1982 ac_ct_CC=$CC
  1983 # Extract the first word of "cc", so it can be a program name with args.
  1984 set dummy cc; ac_word=$2
  1985 echo "$as_me:$LINENO: checking for $ac_word" >&5
  1986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1987 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1988 echo $ECHO_N "(cached) $ECHO_C" >&6
  1989 else
  1990 if test -n "$ac_ct_CC"; then
  1991 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1992 else
  1993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1994 for as_dir in $PATH
  1995 do
  1996 IFS=$as_save_IFS
  1997 test -z "$as_dir" && as_dir=.
  1998 for ac_exec_ext in '' $ac_executable_extensions; do
  1999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2000 ac_cv_prog_ac_ct_CC="cc"
  2001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2002 break 2
  2003 fi
  2004 done
  2005 done
  2006
  2007 fi
  2008 fi
  2009 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2010 if test -n "$ac_ct_CC"; then
  2011 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2012 echo "${ECHO_T}$ac_ct_CC" >&6
  2013 else
  2014 echo "$as_me:$LINENO: result: no" >&5
  2015 echo "${ECHO_T}no" >&6
  2016 fi
  2017
  2018 CC=$ac_ct_CC
  2019 else
  2020 CC="$ac_cv_prog_CC"
  2021 fi
  2022
  2023 fi
  2024 if test -z "$CC"; then
  2025 # Extract the first word of "cc", so it can be a program name with args.
  2026 set dummy cc; ac_word=$2
  2027 echo "$as_me:$LINENO: checking for $ac_word" >&5
  2028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2029 if test "${ac_cv_prog_CC+set}" = set; then
  2030 echo $ECHO_N "(cached) $ECHO_C" >&6
  2031 else
  2032 if test -n "$CC"; then
  2033 ac_cv_prog_CC="$CC" # Let the user override the test.
  2034 else
  2035 ac_prog_rejected=no
  2036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2037 for as_dir in $PATH
  2038 do
  2039 IFS=$as_save_IFS
  2040 test -z "$as_dir" && as_dir=.
  2041 for ac_exec_ext in '' $ac_executable_extensions; do
  2042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2043 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2044 ac_prog_rejected=yes
  2045 continue
  2046 fi
  2047 ac_cv_prog_CC="cc"
  2048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2049 break 2
  2050 fi
  2051 done
  2052 done
  2053
  2054 if test $ac_prog_rejected = yes; then
  2055 # We found a bogon in the path, so make sure we never use it.
  2056 set dummy $ac_cv_prog_CC
  2057 shift
  2058 if test $# != 0; then
  2059 # We chose a different compiler from the bogus one.
  2060 # However, it has the same basename, so the bogon will be chosen
  2061 # first if we set CC to just the basename; use the full file name.
  2062 shift
  2063 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2064 fi
  2065 fi
  2066 fi
  2067 fi
  2068 CC=$ac_cv_prog_CC
  2069 if test -n "$CC"; then
  2070 echo "$as_me:$LINENO: result: $CC" >&5
  2071 echo "${ECHO_T}$CC" >&6
  2072 else
  2073 echo "$as_me:$LINENO: result: no" >&5
  2074 echo "${ECHO_T}no" >&6
  2075 fi
  2076
  2077 fi
  2078 if test -z "$CC"; then
  2079 if test -n "$ac_tool_prefix"; then
  2080 for ac_prog in cl
  2081 do
  2082 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2083 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2084 echo "$as_me:$LINENO: checking for $ac_word" >&5
  2085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2086 if test "${ac_cv_prog_CC+set}" = set; then
  2087 echo $ECHO_N "(cached) $ECHO_C" >&6
  2088 else
  2089 if test -n "$CC"; then
  2090 ac_cv_prog_CC="$CC" # Let the user override the test.
  2091 else
  2092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2093 for as_dir in $PATH
  2094 do
  2095 IFS=$as_save_IFS
  2096 test -z "$as_dir" && as_dir=.
  2097 for ac_exec_ext in '' $ac_executable_extensions; do
  2098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2099 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2101 break 2
  2102 fi
  2103 done
  2104 done
  2105
  2106 fi
  2107 fi
  2108 CC=$ac_cv_prog_CC
  2109 if test -n "$CC"; then
  2110 echo "$as_me:$LINENO: result: $CC" >&5
  2111 echo "${ECHO_T}$CC" >&6
  2112 else
  2113 echo "$as_me:$LINENO: result: no" >&5
  2114 echo "${ECHO_T}no" >&6
  2115 fi
  2116
  2117 test -n "$CC" && break
  2118 done
  2119 fi
  2120 if test -z "$CC"; then
  2121 ac_ct_CC=$CC
  2122 for ac_prog in cl
  2123 do
  2124 # Extract the first word of "$ac_prog", so it can be a program name with args.
  2125 set dummy $ac_prog; ac_word=$2
  2126 echo "$as_me:$LINENO: checking for $ac_word" >&5
  2127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2128 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2129 echo $ECHO_N "(cached) $ECHO_C" >&6
  2130 else
  2131 if test -n "$ac_ct_CC"; then
  2132 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2133 else
  2134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2135 for as_dir in $PATH
  2136 do
  2137 IFS=$as_save_IFS
  2138 test -z "$as_dir" && as_dir=.
  2139 for ac_exec_ext in '' $ac_executable_extensions; do
  2140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2141 ac_cv_prog_ac_ct_CC="$ac_prog"
  2142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2143 break 2
  2144 fi
  2145 done
  2146 done
  2147
  2148 fi
  2149 fi
  2150 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2151 if test -n "$ac_ct_CC"; then
  2152 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2153 echo "${ECHO_T}$ac_ct_CC" >&6
  2154 else
  2155 echo "$as_me:$LINENO: result: no" >&5
  2156 echo "${ECHO_T}no" >&6
  2157 fi
  2158
  2159 test -n "$ac_ct_CC" && break
  2160 done
  2161
  2162 CC=$ac_ct_CC
  2163 fi
  2164
  2165 fi
  2166
  2167
  2168 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2169 See \`config.log' for more details." >&5
  2170 echo "$as_me: error: no acceptable C compiler found in \$PATH
  2171 See \`config.log' for more details." >&2;}
  2172 { (exit 1); exit 1; }; }
  2173
  2174 # Provide some information about the compiler.
  2175 echo "$as_me:$LINENO:" \
  2176 "checking for C compiler version" >&5
  2177 ac_compiler=`set X $ac_compile; echo $2`
  2178 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  2179 (eval $ac_compiler --version </dev/null >&5) 2>&5
  2180 ac_status=$?
  2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2182 (exit $ac_status); }
  2183 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  2184 (eval $ac_compiler -v </dev/null >&5) 2>&5
  2185 ac_status=$?
  2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2187 (exit $ac_status); }
  2188 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  2189 (eval $ac_compiler -V </dev/null >&5) 2>&5
  2190 ac_status=$?
  2191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2192 (exit $ac_status); }
  2193
  2194 cat >conftest.$ac_ext <<_ACEOF
  2195 /* confdefs.h. */
  2196 _ACEOF
  2197 cat confdefs.h >>conftest.$ac_ext
  2198 cat >>conftest.$ac_ext <<_ACEOF
  2199 /* end confdefs.h. */
  2200
  2201 int
  2202 main ()
  2203 {
  2204
  2205 ;
  2206 return 0;
  2207 }
  2208 _ACEOF
  2209 ac_clean_files_save=$ac_clean_files
  2210 ac_clean_files="$ac_clean_files a.out a.exe b.out"
  2211 # Try to create an executable without -o first, disregard a.out.
  2212 # It will help us diagnose broken compilers, and finding out an intuition
  2213 # of exeext.
  2214 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2215 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
  2216 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2217 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  2218 (eval $ac_link_default) 2>&5
  2219 ac_status=$?
  2220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2221 (exit $ac_status); }; then
  2222 # Find the output, starting from the most likely. This scheme is
  2223 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
  2224 # resort.
  2225
  2226 # Be careful to initialize this variable, since it used to be cached.
  2227 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
  2228 ac_cv_exeext=
  2229 # b.out is created by i960 compilers.
  2230 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
  2231 do
  2232 test -f "$ac_file" || continue
  2233 case $ac_file in
  2234 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
  2235 ;;
  2236 conftest.$ac_ext )
  2237 # This is the source file.
  2238 ;;
  2239 [ab].out )
  2240 # We found the default executable, but exeext='' is most
  2241 # certainly right.
  2242 break;;
  2243 *.* )
  2244 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2245 # FIXME: I believe we export ac_cv_exeext for Libtool,
  2246 # but it would be cool to find out if it's true. Does anybody
  2247 # maintain Libtool? --akim.
  2248 export ac_cv_exeext
  2249 break;;
  2250 * )
  2251 break;;
  2252 esac
  2253 done
  2254 else
  2255 echo "$as_me: failed program was:" >&5
  2256 sed 's/^/| /' conftest.$ac_ext >&5
  2257
  2258 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  2259 See \`config.log' for more details." >&5
  2260 echo "$as_me: error: C compiler cannot create executables
  2261 See \`config.log' for more details." >&2;}
  2262 { (exit 77); exit 77; }; }
  2263 fi
  2264
  2265 ac_exeext=$ac_cv_exeext
  2266 echo "$as_me:$LINENO: result: $ac_file" >&5
  2267 echo "${ECHO_T}$ac_file" >&6
  2268
  2269 # Check the compiler produces executables we can run. If not, either
  2270 # the compiler is broken, or we cross compile.
  2271 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2272 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
  2273 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2274 # If not cross compiling, check that we can run a simple program.
  2275 if test "$cross_compiling" != yes; then
  2276 if { ac_try='./$ac_file'
  2277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2278 (eval $ac_try) 2>&5
  2279 ac_status=$?
  2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2281 (exit $ac_status); }; }; then
  2282 cross_compiling=no
  2283 else
  2284 if test "$cross_compiling" = maybe; then
  2285 cross_compiling=yes
  2286 else
  2287 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2288 If you meant to cross compile, use \`--host'.
  2289 See \`config.log' for more details." >&5
  2290 echo "$as_me: error: cannot run C compiled programs.
  2291 If you meant to cross compile, use \`--host'.
  2292 See \`config.log' for more details." >&2;}
  2293 { (exit 1); exit 1; }; }
  2294 fi
  2295 fi
  2296 fi
  2297 echo "$as_me:$LINENO: result: yes" >&5
  2298 echo "${ECHO_T}yes" >&6
  2299
  2300 rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2301 ac_clean_files=$ac_clean_files_save
  2302 # Check the compiler produces executables we can run. If not, either
  2303 # the compiler is broken, or we cross compile.
  2304 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2305 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
  2306 echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2307 echo "${ECHO_T}$cross_compiling" >&6
  2308
  2309 echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2310 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
  2311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2312 (eval $ac_link) 2>&5
  2313 ac_status=$?
  2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2315 (exit $ac_status); }; then
  2316 # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2317 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  2318 # work properly (i.e., refer to `conftest.exe'), while it won't with
  2319 # `rm'.
  2320 for ac_file in conftest.exe conftest conftest.*; do
  2321 test -f "$ac_file" || continue
  2322 case $ac_file in
  2323 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
  2324 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2325 export ac_cv_exeext
  2326 break;;
  2327 * ) break;;
  2328 esac
  2329 done
  2330 else
  2331 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  2332 See \`config.log' for more details." >&5
  2333 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  2334 See \`config.log' for more details." >&2;}
  2335 { (exit 1); exit 1; }; }
  2336 fi
  2337
  2338 rm -f conftest$ac_cv_exeext
  2339 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2340 echo "${ECHO_T}$ac_cv_exeext" >&6
  2341
  2342 rm -f conftest.$ac_ext
  2343 EXEEXT=$ac_cv_exeext
  2344 ac_exeext=$EXEEXT
  2345 echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2346 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
  2347 if test "${ac_cv_objext+set}" = set; then
  2348 echo $ECHO_N "(cached) $ECHO_C" >&6
  2349 else
  2350 cat >conftest.$ac_ext <<_ACEOF
  2351 /* confdefs.h. */
  2352 _ACEOF
  2353 cat confdefs.h >>conftest.$ac_ext
  2354 cat >>conftest.$ac_ext <<_ACEOF
  2355 /* end confdefs.h. */
  2356
  2357 int
  2358 main ()
  2359 {
  2360
  2361 ;
  2362 return 0;
  2363 }
  2364 _ACEOF
  2365 rm -f conftest.o conftest.obj
  2366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2367 (eval $ac_compile) 2>&5
  2368 ac_status=$?
  2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2370 (exit $ac_status); }; then
  2371 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
  2372 case $ac_file in
  2373 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
  2374 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2375 break;;
  2376 esac
  2377 done
  2378 else
  2379 echo "$as_me: failed program was:" >&5
  2380 sed 's/^/| /' conftest.$ac_ext >&5
  2381
  2382 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  2383 See \`config.log' for more details." >&5
  2384 echo "$as_me: error: cannot compute suffix of object files: cannot compile
  2385 See \`config.log' for more details." >&2;}
  2386 { (exit 1); exit 1; }; }
  2387 fi
  2388
  2389 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2390 fi
  2391 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2392 echo "${ECHO_T}$ac_cv_objext" >&6
  2393 OBJEXT=$ac_cv_objext
  2394 ac_objext=$OBJEXT
  2395 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2396 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
  2397 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2398 echo $ECHO_N "(cached) $ECHO_C" >&6
  2399 else
  2400 cat >conftest.$ac_ext <<_ACEOF
  2401 /* confdefs.h. */
  2402 _ACEOF
  2403 cat confdefs.h >>conftest.$ac_ext
  2404 cat >>conftest.$ac_ext <<_ACEOF
  2405 /* end confdefs.h. */
  2406
  2407 int
  2408 main ()
  2409 {
  2410 #ifndef __GNUC__
  2411 choke me
  2412 #endif
  2413
  2414 ;
  2415 return 0;
  2416 }
  2417 _ACEOF
  2418 rm -f conftest.$ac_objext
  2419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2420 (eval $ac_compile) 2>conftest.er1
  2421 ac_status=$?
  2422 grep -v '^ *+' conftest.er1 >conftest.err
  2423 rm -f conftest.er1
  2424 cat conftest.err >&5
  2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2426 (exit $ac_status); } &&
  2427 { ac_try='test -z "$ac_c_werror_flag"
  2428 || test ! -s conftest.err'
  2429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2430 (eval $ac_try) 2>&5
  2431 ac_status=$?
  2432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2433 (exit $ac_status); }; } &&
  2434 { ac_try='test -s conftest.$ac_objext'
  2435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2436 (eval $ac_try) 2>&5
  2437 ac_status=$?
  2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2439 (exit $ac_status); }; }; then
  2440 ac_compiler_gnu=yes
  2441 else
  2442 echo "$as_me: failed program was:" >&5
  2443 sed 's/^/| /' conftest.$ac_ext >&5
  2444
  2445 ac_compiler_gnu=no
  2446 fi
  2447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2448 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2449
  2450 fi
  2451 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2452 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
  2453 GCC=`test $ac_compiler_gnu = yes && echo yes`
  2454 ac_test_CFLAGS=${CFLAGS+set}
  2455 ac_save_CFLAGS=$CFLAGS
  2456 CFLAGS="-g"
  2457 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2458 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
  2459 if test "${ac_cv_prog_cc_g+set}" = set; then
  2460 echo $ECHO_N "(cached) $ECHO_C" >&6
  2461 else
  2462 cat >conftest.$ac_ext <<_ACEOF
  2463 /* confdefs.h. */
  2464 _ACEOF
  2465 cat confdefs.h >>conftest.$ac_ext
  2466 cat >>conftest.$ac_ext <<_ACEOF
  2467 /* end confdefs.h. */
  2468
  2469 int
  2470 main ()
  2471 {
  2472
  2473 ;
  2474 return 0;
  2475 }
  2476 _ACEOF
  2477 rm -f conftest.$ac_objext
  2478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2479 (eval $ac_compile) 2>conftest.er1
  2480 ac_status=$?
  2481 grep -v '^ *+' conftest.er1 >conftest.err
  2482 rm -f conftest.er1
  2483 cat conftest.err >&5
  2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2485 (exit $ac_status); } &&
  2486 { ac_try='test -z "$ac_c_werror_flag"
  2487 || test ! -s conftest.err'
  2488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2489 (eval $ac_try) 2>&5
  2490 ac_status=$?
  2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2492 (exit $ac_status); }; } &&
  2493 { ac_try='test -s conftest.$ac_objext'
  2494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2495 (eval $ac_try) 2>&5
  2496 ac_status=$?
  2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2498 (exit $ac_status); }; }; then
  2499 ac_cv_prog_cc_g=yes
  2500 else
  2501 echo "$as_me: failed program was:" >&5
  2502 sed 's/^/| /' conftest.$ac_ext >&5
  2503
  2504 ac_cv_prog_cc_g=no
  2505 fi
  2506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2507 fi
  2508 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2509 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  2510 if test "$ac_test_CFLAGS" = set; then
  2511 CFLAGS=$ac_save_CFLAGS
  2512 elif test $ac_cv_prog_cc_g = yes; then
  2513 if test "$GCC" = yes; then
  2514 CFLAGS="-g -O2"
  2515 else
  2516 CFLAGS="-g"
  2517 fi
  2518 else
  2519 if test "$GCC" = yes; then
  2520 CFLAGS="-O2"
  2521 else
  2522 CFLAGS=
  2523 fi
  2524 fi
  2525 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
  2526 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
  2527 if test "${ac_cv_prog_cc_stdc+set}" = set; then
  2528 echo $ECHO_N "(cached) $ECHO_C" >&6
  2529 else
  2530 ac_cv_prog_cc_stdc=no
  2531 ac_save_CC=$CC
  2532 cat >conftest.$ac_ext <<_ACEOF
  2533 /* confdefs.h. */
  2534 _ACEOF
  2535 cat confdefs.h >>conftest.$ac_ext
  2536 cat >>conftest.$ac_ext <<_ACEOF
  2537 /* end confdefs.h. */
  2538 #include <stdarg.h>
  2539 #include <stdio.h>
  2540 #include <sys/types.h>
  2541 #include <sys/stat.h>
  2542 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  2543 struct buf { int x; };
  2544 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  2545 static char *e (p, i)
  2546 char **p;
  2547 int i;
  2548 {
  2549 return p[i];
  2550 }
  2551 static char *f (char * (*g) (char **, int), char **p, ...)
  2552 {
  2553 char *s;
  2554 va_list v;
  2555 va_start (v,p);
  2556 s = g (p, va_arg (v,int));
  2557 va_end (v);
  2558 return s;
  2559 }
  2560
  2561 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  2562 function prototypes and stuff, but not '\xHH' hex character constants.
  2563 These don't provoke an error unfortunately, instead are silently treated
  2564 as 'x'. The following induces an error, until -std1 is added to get
  2565 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  2566 array size at least. It's necessary to write '\x00'==0 to get something
  2567 that's true only with -std1. */
  2568 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  2569
  2570 int test (int i, double x);
  2571 struct s1 {int (*f) (int a);};
  2572 struct s2 {int (*f) (double a);};
  2573 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  2574 int argc;
  2575 char **argv;
  2576 int
  2577 main ()
  2578 {
  2579 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  2580 ;
  2581 return 0;
  2582 }
  2583 _ACEOF
  2584 # Don't try gcc -ansi; that turns off useful extensions and
  2585 # breaks some systems' header files.
  2586 # AIX -qlanglvl=ansi
  2587 # Ultrix and OSF/1 -std1
  2588 # HP-UX 10.20 and later -Ae
  2589 # HP-UX older versions -Aa -D_HPUX_SOURCE
  2590 # SVR4 -Xc -D__EXTENSIONS__
  2591 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2592 do
  2593 CC="$ac_save_CC $ac_arg"
  2594 rm -f conftest.$ac_objext
  2595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2596 (eval $ac_compile) 2>conftest.er1
  2597 ac_status=$?
  2598 grep -v '^ *+' conftest.er1 >conftest.err
  2599 rm -f conftest.er1
  2600 cat conftest.err >&5
  2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2602 (exit $ac_status); } &&
  2603 { ac_try='test -z "$ac_c_werror_flag"
  2604 || test ! -s conftest.err'
  2605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2606 (eval $ac_try) 2>&5
  2607 ac_status=$?
  2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2609 (exit $ac_status); }; } &&
  2610 { ac_try='test -s conftest.$ac_objext'
  2611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2612 (eval $ac_try) 2>&5
  2613 ac_status=$?
  2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2615 (exit $ac_status); }; }; then
  2616 ac_cv_prog_cc_stdc=$ac_arg
  2617 break
  2618 else
  2619 echo "$as_me: failed program was:" >&5
  2620 sed 's/^/| /' conftest.$ac_ext >&5
  2621
  2622 fi
  2623 rm -f conftest.err conftest.$ac_objext
  2624 done
  2625 rm -f conftest.$ac_ext conftest.$ac_objext
  2626 CC=$ac_save_CC
  2627
  2628 fi
  2629
  2630 case "x$ac_cv_prog_cc_stdc" in
  2631 x|xno)
  2632 echo "$as_me:$LINENO: result: none needed" >&5
  2633 echo "${ECHO_T}none needed" >&6 ;;
  2634 *)
  2635 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
  2636 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
  2637 CC="$CC $ac_cv_prog_cc_stdc" ;;
  2638 esac
  2639
  2640 # Some people use a C++ compiler to compile C. Since we use `exit',
  2641 # in C++ we need to declare it. In case someone uses the same compiler
  2642 # for both compiling C and C++ we need to have the C++ compiler decide
  2643 # the declaration of exit, since it's the most demanding environment.
  2644 cat >conftest.$ac_ext <<_ACEOF
  2645 #ifndef __cplusplus
  2646 choke me
  2647 #endif
  2648 _ACEOF
  2649 rm -f conftest.$ac_objext
  2650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2651 (eval $ac_compile) 2>conftest.er1
  2652 ac_status=$?
  2653 grep -v '^ *+' conftest.er1 >conftest.err
  2654 rm -f conftest.er1
  2655 cat conftest.err >&5
  2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2657 (exit $ac_status); } &&
  2658 { ac_try='test -z "$ac_c_werror_flag"
  2659 || test ! -s conftest.err'
  2660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2661 (eval $ac_try) 2>&5
  2662 ac_status=$?
  2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2664 (exit $ac_status); }; } &&
  2665 { ac_try='test -s conftest.$ac_objext'
  2666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2667 (eval $ac_try) 2>&5
  2668 ac_status=$?
  2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2670 (exit $ac_status); }; }; then
  2671 for ac_declaration in \
  2672 '' \
  2673 'extern "C" void std::exit (int) throw (); using std::exit;' \
  2674 'extern "C" void std::exit (int); using std::exit;' \
  2675 'extern "C" void exit (int) throw ();' \
  2676 'extern "C" void exit (int);' \
  2677 'void exit (int);'
  2678 do
  2679 cat >conftest.$ac_ext <<_ACEOF
  2680 /* confdefs.h. */
  2681 _ACEOF
  2682 cat confdefs.h >>conftest.$ac_ext
  2683 cat >>conftest.$ac_ext <<_ACEOF
  2684 /* end confdefs.h. */
  2685 $ac_declaration
  2686 #include <stdlib.h>
  2687 int
  2688 main ()
  2689 {
  2690 exit (42);
  2691 ;
  2692 return 0;
  2693 }
  2694 _ACEOF
  2695 rm -f conftest.$ac_objext
  2696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2697 (eval $ac_compile) 2>conftest.er1
  2698 ac_status=$?
  2699 grep -v '^ *+' conftest.er1 >conftest.err
  2700 rm -f conftest.er1
  2701 cat conftest.err >&5
  2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2703 (exit $ac_status); } &&
  2704 { ac_try='test -z "$ac_c_werror_flag"
  2705 || test ! -s conftest.err'
  2706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2707 (eval $ac_try) 2>&5
  2708 ac_status=$?
  2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2710 (exit $ac_status); }; } &&
  2711 { ac_try='test -s conftest.$ac_objext'
  2712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2713 (eval $ac_try) 2>&5
  2714 ac_status=$?
  2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2716 (exit $ac_status); }; }; then
  2717 :
  2718 else
  2719 echo "$as_me: failed program was:" >&5
  2720 sed 's/^/| /' conftest.$ac_ext >&5
  2721
  2722 continue
  2723 fi
  2724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2725 cat >conftest.$ac_ext <<_ACEOF
  2726 /* confdefs.h. */
  2727 _ACEOF
  2728 cat confdefs.h >>conftest.$ac_ext
  2729 cat >>conftest.$ac_ext <<_ACEOF
  2730 /* end confdefs.h. */
  2731 $ac_declaration
  2732 int
  2733 main ()
  2734 {
  2735 exit (42);
  2736 ;
  2737 return 0;
  2738 }
  2739 _ACEOF
  2740 rm -f conftest.$ac_objext
  2741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2742 (eval $ac_compile) 2>conftest.er1
  2743 ac_status=$?
  2744 grep -v '^ *+' conftest.er1 >conftest.err
  2745 rm -f conftest.er1
  2746 cat conftest.err >&5
  2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2748 (exit $ac_status); } &&
  2749 { ac_try='test -z "$ac_c_werror_flag"
  2750 || test ! -s conftest.err'
  2751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2752 (eval $ac_try) 2>&5
  2753 ac_status=$?
  2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2755 (exit $ac_status); }; } &&
  2756 { ac_try='test -s conftest.$ac_objext'
  2757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2758 (eval $ac_try) 2>&5
  2759 ac_status=$?
  2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2761 (exit $ac_status); }; }; then
  2762 break
  2763 else
  2764 echo "$as_me: failed program was:" >&5
  2765 sed 's/^/| /' conftest.$ac_ext >&5
  2766
  2767 fi
  2768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2769 done
  2770 rm -f conftest*
  2771 if test -n "$ac_declaration"; then
  2772 echo '#ifdef __cplusplus' >>confdefs.h
  2773 echo $ac_declaration >>confdefs.h
  2774 echo '#endif' >>confdefs.h
  2775 fi
  2776
  2777 else
  2778 echo "$as_me: failed program was:" >&5
  2779 sed 's/^/| /' conftest.$ac_ext >&5
  2780
  2781 fi
  2782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2783 ac_ext=c
  2784 ac_cpp='$CPP $CPPFLAGS'
  2785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2788
  2789 if test "x$CC" != xcc; then
  2790 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
  2791 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
  2792 else
  2793 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
  2794 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
  2795 fi
  2796 set dummy $CC; ac_cc=`echo $2 |
  2797 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  2798 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
  2799 echo $ECHO_N "(cached) $ECHO_C" >&6
  2800 else
  2801 cat >conftest.$ac_ext <<_ACEOF
  2802 /* confdefs.h. */
  2803 _ACEOF
  2804 cat confdefs.h >>conftest.$ac_ext
  2805 cat >>conftest.$ac_ext <<_ACEOF
  2806 /* end confdefs.h. */
  2807
  2808 int
  2809 main ()
  2810 {
  2811
  2812 ;
  2813 return 0;
  2814 }
  2815 _ACEOF
  2816 # Make sure it works both with $CC and with simple cc.
  2817 # We do the test twice because some compilers refuse to overwrite an
  2818 # existing .o file with -o, though they will create one.
  2819 ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
  2820 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2821 (eval $ac_try) 2>&5
  2822 ac_status=$?
  2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2824 (exit $ac_status); } &&
  2825 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2826 (eval $ac_try) 2>&5
  2827 ac_status=$?
  2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2829 (exit $ac_status); };
  2830 then
  2831 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
  2832 if test "x$CC" != xcc; then
  2833 # Test first that cc exists at all.
  2834 if { ac_try='cc -c conftest.$ac_ext >&5'
  2835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2836 (eval $ac_try) 2>&5
  2837 ac_status=$?
  2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2839 (exit $ac_status); }; }; then
  2840 ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
  2841 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2842 (eval $ac_try) 2>&5
  2843 ac_status=$?
  2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2845 (exit $ac_status); } &&
  2846 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2847 (eval $ac_try) 2>&5
  2848 ac_status=$?
  2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2850 (exit $ac_status); };
  2851 then
  2852 # cc works too.
  2853 :
  2854 else
  2855 # cc exists but doesn't like -o.
  2856 eval ac_cv_prog_cc_${ac_cc}_c_o=no
  2857 fi
  2858 fi
  2859 fi
  2860 else
  2861 eval ac_cv_prog_cc_${ac_cc}_c_o=no
  2862 fi
  2863 rm -f conftest*
  2864
  2865 fi
  2866 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
  2867 echo "$as_me:$LINENO: result: yes" >&5
  2868 echo "${ECHO_T}yes" >&6
  2869 else
  2870 echo "$as_me:$LINENO: result: no" >&5
  2871 echo "${ECHO_T}no" >&6
  2872
  2873 cat >>confdefs.h <<\_ACEOF
  2874 #define NO_MINUS_C_MINUS_O 1
  2875 _ACEOF
  2876
  2877 fi
  2878
  2879 # expand $ac_aux_dir to an absolute path
  2880 am_aux_dir=`cd $ac_aux_dir && pwd`
  2881
  2882 # FIXME: we rely on the cache variable name because
  2883 # there is no other way.
  2884 set dummy $CC
  2885 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  2886 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
  2887 # Losing compiler, so override with the script.
  2888 # FIXME: It is wrong to rewrite CC.
  2889 # But if we don't then we get into trouble of one sort or another.
  2890 # A longer-term fix would be to have automake use am__CC in this case,
  2891 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  2892 CC="$am_aux_dir/compile $CC"
  2893 fi
  2894
  2895 # autoconf is lame and doesn't give us any substitution variable for this.
  2896 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = no"; then
  2897 NO_MINUS_C_MINUS_O=yes
  2898 else
  2899 OUTPUT_OPTION='-o $@'
  2900 fi
  2901
  2902
  2903
  2904 # Remove the -O2: for historical reasons, unless bootstrapping we prefer
  2905 # optimizations to be activated explicitly by the toplevel.
  2906 case "$CC" in
  2907 */prev-gcc/xgcc*) ;;
  2908 *) CFLAGS=`echo $CFLAGS | sed "s/-O[s0-9]* *//" ` ;;
  2909 esac
  2910
  2911
  2912 # -------------------------
  2913 # Check C compiler features
  2914 # -------------------------
  2915
  2916 ac_ext=c
  2917 ac_cpp='$CPP $CPPFLAGS'
  2918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2921 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  2922 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
  2923 # On Suns, sometimes $CPP names a directory.
  2924 if test -n "$CPP" && test -d "$CPP"; then
  2925 CPP=
  2926 fi
  2927 if test -z "$CPP"; then
  2928 if test "${ac_cv_prog_CPP+set}" = set; then
  2929 echo $ECHO_N "(cached) $ECHO_C" >&6
  2930 else
  2931 # Double quotes because CPP needs to be expanded
  2932 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  2933 do
  2934 ac_preproc_ok=false
  2935 for ac_c_preproc_warn_flag in '' yes
  2936 do
  2937 # Use a header file that comes with gcc, so configuring glibc
  2938 # with a fresh cross-compiler works.
  2939 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2940 # <limits.h> exists even on freestanding compilers.
  2941 # On the NeXT, cc -E runs the code through the compiler's parser,
  2942 # not just through cpp. "Syntax error" is here to catch this case.
  2943 cat >conftest.$ac_ext <<_ACEOF
  2944 /* confdefs.h. */
  2945 _ACEOF
  2946 cat confdefs.h >>conftest.$ac_ext
  2947 cat >>conftest.$ac_ext <<_ACEOF
  2948 /* end confdefs.h. */
  2949 #ifdef __STDC__
  2950 # include <limits.h>
  2951 #else
  2952 # include <assert.h>
  2953 #endif
  2954 Syntax error
  2955 _ACEOF
  2956 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2957 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2958 ac_status=$?
  2959 grep -v '^ *+' conftest.er1 >conftest.err
  2960 rm -f conftest.er1
  2961 cat conftest.err >&5
  2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2963 (exit $ac_status); } >/dev/null; then
  2964 if test -s conftest.err; then
  2965 ac_cpp_err=$ac_c_preproc_warn_flag
  2966 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  2967 else
  2968 ac_cpp_err=
  2969 fi
  2970 else
  2971 ac_cpp_err=yes
  2972 fi
  2973 if test -z "$ac_cpp_err"; then
  2974 :
  2975 else
  2976 echo "$as_me: failed program was:" >&5
  2977 sed 's/^/| /' conftest.$ac_ext >&5
  2978
  2979 # Broken: fails on valid input.
  2980 continue
  2981 fi
  2982 rm -f conftest.err conftest.$ac_ext
  2983
  2984 # OK, works on sane cases. Now check whether non-existent headers
  2985 # can be detected and how.
  2986 cat >conftest.$ac_ext <<_ACEOF
  2987 /* confdefs.h. */
  2988 _ACEOF
  2989 cat confdefs.h >>conftest.$ac_ext
  2990 cat >>conftest.$ac_ext <<_ACEOF
  2991 /* end confdefs.h. */
  2992 #include <ac_nonexistent.h>
  2993 _ACEOF
  2994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2995 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2996 ac_status=$?
  2997 grep -v '^ *+' conftest.er1 >conftest.err
  2998 rm -f conftest.er1
  2999 cat conftest.err >&5
  3000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3001 (exit $ac_status); } >/dev/null; then
  3002 if test -s conftest.err; then
  3003 ac_cpp_err=$ac_c_preproc_warn_flag
  3004 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3005 else
  3006 ac_cpp_err=
  3007 fi
  3008 else
  3009 ac_cpp_err=yes
  3010 fi
  3011 if test -z "$ac_cpp_err"; then
  3012 # Broken: success on invalid input.
  3013 continue
  3014 else
  3015 echo "$as_me: failed program was:" >&5
  3016 sed 's/^/| /' conftest.$ac_ext >&5
  3017
  3018 # Passes both tests.
  3019 ac_preproc_ok=:
  3020 break
  3021 fi
  3022 rm -f conftest.err conftest.$ac_ext
  3023
  3024 done
  3025 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3026 rm -f conftest.err conftest.$ac_ext
  3027 if $ac_preproc_ok; then
  3028 break
  3029 fi
  3030
  3031 done
  3032 ac_cv_prog_CPP=$CPP
  3033
  3034 fi
  3035 CPP=$ac_cv_prog_CPP
  3036 else
  3037 ac_cv_prog_CPP=$CPP
  3038 fi
  3039 echo "$as_me:$LINENO: result: $CPP" >&5
  3040 echo "${ECHO_T}$CPP" >&6
  3041 ac_preproc_ok=false
  3042 for ac_c_preproc_warn_flag in '' yes
  3043 do
  3044 # Use a header file that comes with gcc, so configuring glibc
  3045 # with a fresh cross-compiler works.
  3046 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3047 # <limits.h> exists even on freestanding compilers.
  3048 # On the NeXT, cc -E runs the code through the compiler's parser,
  3049 # not just through cpp. "Syntax error" is here to catch this case.
  3050 cat >conftest.$ac_ext <<_ACEOF
  3051 /* confdefs.h. */
  3052 _ACEOF
  3053 cat confdefs.h >>conftest.$ac_ext
  3054 cat >>conftest.$ac_ext <<_ACEOF
  3055 /* end confdefs.h. */
  3056 #ifdef __STDC__
  3057 # include <limits.h>
  3058 #else
  3059 # include <assert.h>
  3060 #endif
  3061 Syntax error
  3062 _ACEOF
  3063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3064 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3065 ac_status=$?
  3066 grep -v '^ *+' conftest.er1 >conftest.err
  3067 rm -f conftest.er1
  3068 cat conftest.err >&5
  3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3070 (exit $ac_status); } >/dev/null; then
  3071 if test -s conftest.err; then
  3072 ac_cpp_err=$ac_c_preproc_warn_flag
  3073 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3074 else
  3075 ac_cpp_err=
  3076 fi
  3077 else
  3078 ac_cpp_err=yes
  3079 fi
  3080 if test -z "$ac_cpp_err"; then
  3081 :
  3082 else
  3083 echo "$as_me: failed program was:" >&5
  3084 sed 's/^/| /' conftest.$ac_ext >&5
  3085
  3086 # Broken: fails on valid input.
  3087 continue
  3088 fi
  3089 rm -f conftest.err conftest.$ac_ext
  3090
  3091 # OK, works on sane cases. Now check whether non-existent headers
  3092 # can be detected and how.
  3093 cat >conftest.$ac_ext <<_ACEOF
  3094 /* confdefs.h. */
  3095 _ACEOF
  3096 cat confdefs.h >>conftest.$ac_ext
  3097 cat >>conftest.$ac_ext <<_ACEOF
  3098 /* end confdefs.h. */
  3099 #include <ac_nonexistent.h>
  3100 _ACEOF
  3101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3102 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3103 ac_status=$?
  3104 grep -v '^ *+' conftest.er1 >conftest.err
  3105 rm -f conftest.er1
  3106 cat conftest.err >&5
  3107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3108 (exit $ac_status); } >/dev/null; then
  3109 if test -s conftest.err; then
  3110 ac_cpp_err=$ac_c_preproc_warn_flag
  3111 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3112 else
  3113 ac_cpp_err=
  3114 fi
  3115 else
  3116 ac_cpp_err=yes
  3117 fi
  3118 if test -z "$ac_cpp_err"; then
  3119 # Broken: success on invalid input.
  3120 continue
  3121 else
  3122 echo "$as_me: failed program was:" >&5
  3123 sed 's/^/| /' conftest.$ac_ext >&5
  3124
  3125 # Passes both tests.
  3126 ac_preproc_ok=:
  3127 break
  3128 fi
  3129 rm -f conftest.err conftest.$ac_ext
  3130
  3131 done
  3132 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3133 rm -f conftest.err conftest.$ac_ext
  3134 if $ac_preproc_ok; then
  3135 :
  3136 else
  3137 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  3138 See \`config.log' for more details." >&5
  3139 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  3140 See \`config.log' for more details." >&2;}
  3141 { (exit 1); exit 1; }; }
  3142 fi
  3143
  3144 ac_ext=c
  3145 ac_cpp='$CPP $CPPFLAGS'
  3146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3149
  3150
  3151 echo "$as_me:$LINENO: checking for inline" >&5
  3152 echo $ECHO_N "checking for inline... $ECHO_C" >&6
  3153 if test "${ac_cv_c_inline+set}" = set; then
  3154 echo $ECHO_N "(cached) $ECHO_C" >&6
  3155 else
  3156 ac_cv_c_inline=no
  3157 for ac_kw in inline __inline__ __inline; do
  3158 cat >conftest.$ac_ext <<_ACEOF
  3159 /* confdefs.h. */
  3160 _ACEOF
  3161 cat confdefs.h >>conftest.$ac_ext
  3162 cat >>conftest.$ac_ext <<_ACEOF
  3163 /* end confdefs.h. */
  3164 #ifndef __cplusplus
  3165 typedef int foo_t;
  3166 static $ac_kw foo_t static_foo () {return 0; }
  3167 $ac_kw foo_t foo () {return 0; }
  3168 #endif
  3169
  3170 _ACEOF
  3171 rm -f conftest.$ac_objext
  3172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3173 (eval $ac_compile) 2>conftest.er1
  3174 ac_status=$?
  3175 grep -v '^ *+' conftest.er1 >conftest.err
  3176 rm -f conftest.er1
  3177 cat conftest.err >&5
  3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3179 (exit $ac_status); } &&
  3180 { ac_try='test -z "$ac_c_werror_flag"
  3181 || test ! -s conftest.err'
  3182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3183 (eval $ac_try) 2>&5
  3184 ac_status=$?
  3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3186 (exit $ac_status); }; } &&
  3187 { ac_try='test -s conftest.$ac_objext'
  3188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3189 (eval $ac_try) 2>&5
  3190 ac_status=$?
  3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3192 (exit $ac_status); }; }; then
  3193 ac_cv_c_inline=$ac_kw; break
  3194 else
  3195 echo "$as_me: failed program was:" >&5
  3196 sed 's/^/| /' conftest.$ac_ext >&5
  3197
  3198 fi
  3199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3200 done
  3201
  3202 fi
  3203 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
  3204 echo "${ECHO_T}$ac_cv_c_inline" >&6
  3205
  3206
  3207 case $ac_cv_c_inline in
  3208 inline | yes) ;;
  3209 *)
  3210 case $ac_cv_c_inline in
  3211 no) ac_val=;;
  3212 *) ac_val=$ac_cv_c_inline;;
  3213 esac
  3214 cat >>confdefs.h <<_ACEOF
  3215 #ifndef __cplusplus
  3216 #define inline $ac_val
  3217 #endif
  3218 _ACEOF
  3219 ;;
  3220 esac
  3221
  3222
  3223 # sizeof(char) is 1 by definition.
  3224
  3225 echo "$as_me:$LINENO: checking for egrep" >&5
  3226 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
  3227 if test "${ac_cv_prog_egrep+set}" = set; then
  3228 echo $ECHO_N "(cached) $ECHO_C" >&6
  3229 else
  3230 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  3231 then ac_cv_prog_egrep='grep -E'
  3232 else ac_cv_prog_egrep='egrep'
  3233 fi
  3234 fi
  3235 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
  3236 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
  3237 EGREP=$ac_cv_prog_egrep
  3238
  3239
  3240 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  3241 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
  3242 if test "${ac_cv_header_stdc+set}" = set; then
  3243 echo $ECHO_N "(cached) $ECHO_C" >&6
  3244 else
  3245 cat >conftest.$ac_ext <<_ACEOF
  3246 /* confdefs.h. */
  3247 _ACEOF
  3248 cat confdefs.h >>conftest.$ac_ext
  3249 cat >>conftest.$ac_ext <<_ACEOF
  3250 /* end confdefs.h. */
  3251 #include <stdlib.h>
  3252 #include <stdarg.h>
  3253 #include <string.h>
  3254 #include <float.h>
  3255
  3256 int
  3257 main ()
  3258 {
  3259
  3260 ;
  3261 return 0;
  3262 }
  3263 _ACEOF
  3264 rm -f conftest.$ac_objext
  3265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3266 (eval $ac_compile) 2>conftest.er1
  3267 ac_status=$?
  3268 grep -v '^ *+' conftest.er1 >conftest.err
  3269 rm -f conftest.er1
  3270 cat conftest.err >&5
  3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3272 (exit $ac_status); } &&
  3273 { ac_try='test -z "$ac_c_werror_flag"
  3274 || test ! -s conftest.err'
  3275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3276 (eval $ac_try) 2>&5
  3277 ac_status=$?
  3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3279 (exit $ac_status); }; } &&
  3280 { ac_try='test -s conftest.$ac_objext'
  3281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3282 (eval $ac_try) 2>&5
  3283 ac_status=$?
  3284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3285 (exit $ac_status); }; }; then
  3286 ac_cv_header_stdc=yes
  3287 else
  3288 echo "$as_me: failed program was:" >&5
  3289 sed 's/^/| /' conftest.$ac_ext >&5
  3290
  3291 ac_cv_header_stdc=no
  3292 fi
  3293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3294
  3295 if test $ac_cv_header_stdc = yes; then
  3296 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  3297 cat >conftest.$ac_ext <<_ACEOF
  3298 /* confdefs.h. */
  3299 _ACEOF
  3300 cat confdefs.h >>conftest.$ac_ext
  3301 cat >>conftest.$ac_ext <<_ACEOF
  3302 /* end confdefs.h. */
  3303 #include <string.h>
  3304
  3305 _ACEOF
  3306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3307 $EGREP "memchr" >/dev/null 2>&1; then
  3308 :
  3309 else
  3310 ac_cv_header_stdc=no
  3311 fi
  3312 rm -f conftest*
  3313
  3314 fi
  3315
  3316 if test $ac_cv_header_stdc = yes; then
  3317 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  3318 cat >conftest.$ac_ext <<_ACEOF
  3319 /* confdefs.h. */
  3320 _ACEOF
  3321 cat confdefs.h >>conftest.$ac_ext
  3322 cat >>conftest.$ac_ext <<_ACEOF
  3323 /* end confdefs.h. */
  3324 #include <stdlib.h>
  3325
  3326 _ACEOF
  3327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3328 $EGREP "free" >/dev/null 2>&1; then
  3329 :
  3330 else
  3331 ac_cv_header_stdc=no
  3332 fi
  3333 rm -f conftest*
  3334
  3335 fi
  3336
  3337 if test $ac_cv_header_stdc = yes; then
  3338 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  3339 if test "$cross_compiling" = yes; then
  3340 :
  3341 else
  3342 cat >conftest.$ac_ext <<_ACEOF
  3343 /* confdefs.h. */
  3344 _ACEOF
  3345 cat confdefs.h >>conftest.$ac_ext
  3346 cat >>conftest.$ac_ext <<_ACEOF
  3347 /* end confdefs.h. */
  3348 #include <ctype.h>
  3349 #if ((' ' & 0x0FF) == 0x020)
  3350 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  3351 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  3352 #else
  3353 # define ISLOWER(c) \
  3354 (('a' <= (c) && (c) <= 'i') \
  3355 || ('j' <= (c) && (c) <= 'r') \
  3356 || ('s' <= (c) && (c) <= 'z'))
  3357 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  3358 #endif
  3359
  3360 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  3361 int
  3362 main ()
  3363 {
  3364 int i;
  3365 for (i = 0; i < 256; i++)
  3366 if (XOR (islower (i), ISLOWER (i))
  3367 || toupper (i) != TOUPPER (i))
  3368 exit(2);
  3369 exit (0);
  3370 }
  3371 _ACEOF
  3372 rm -f conftest$ac_exeext
  3373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3374 (eval $ac_link) 2>&5
  3375 ac_status=$?
  3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3377 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  3378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3379 (eval $ac_try) 2>&5
  3380 ac_status=$?
  3381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3382 (exit $ac_status); }; }; then
  3383 :
  3384 else
  3385 echo "$as_me: program exited with status $ac_status" >&5
  3386 echo "$as_me: failed program was:" >&5
  3387 sed 's/^/| /' conftest.$ac_ext >&5
  3388
  3389 ( exit $ac_status )
  3390 ac_cv_header_stdc=no
  3391 fi
  3392 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  3393 fi
  3394 fi
  3395 fi
  3396 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  3397 echo "${ECHO_T}$ac_cv_header_stdc" >&6
  3398 if test $ac_cv_header_stdc = yes; then
  3399
  3400 cat >>confdefs.h <<\_ACEOF
  3401 #define STDC_HEADERS 1
  3402 _ACEOF
  3403
  3404 fi
  3405
  3406 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  3407
  3408
  3409
  3410
  3411
  3412
  3413
  3414
  3415
  3416 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  3417 inttypes.h stdint.h unistd.h
  3418 do
  3419 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  3420 echo "$as_me:$LINENO: checking for $ac_header" >&5
  3421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  3422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
  3423 echo $ECHO_N "(cached) $ECHO_C" >&6
  3424 else
  3425 cat >conftest.$ac_ext <<_ACEOF
  3426 /* confdefs.h. */
  3427 _ACEOF
  3428 cat confdefs.h >>conftest.$ac_ext
  3429 cat >>conftest.$ac_ext <<_ACEOF
  3430 /* end confdefs.h. */
  3431 $ac_includes_default
  3432
  3433 #include <$ac_header>
  3434 _ACEOF
  3435 rm -f conftest.$ac_objext
  3436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3437 (eval $ac_compile) 2>conftest.er1
  3438 ac_status=$?
  3439 grep -v '^ *+' conftest.er1 >conftest.err
  3440 rm -f conftest.er1
  3441 cat conftest.err >&5
  3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3443 (exit $ac_status); } &&
  3444 { ac_try='test -z "$ac_c_werror_flag"
  3445 || test ! -s conftest.err'
  3446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3447 (eval $ac_try) 2>&5
  3448 ac_status=$?
  3449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3450 (exit $ac_status); }; } &&
  3451 { ac_try='test -s conftest.$ac_objext'
  3452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3453 (eval $ac_try) 2>&5
  3454 ac_status=$?
  3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3456 (exit $ac_status); }; }; then
  3457 eval "$as_ac_Header=yes"
  3458 else
  3459 echo "$as_me: failed program was:" >&5
  3460 sed 's/^/| /' conftest.$ac_ext >&5
  3461
  3462 eval "$as_ac_Header=no"
  3463 fi
  3464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3465 fi
  3466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  3467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  3468 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  3469 cat >>confdefs.h <<_ACEOF
  3470 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  3471 _ACEOF
  3472
  3473 fi
  3474
  3475 done
  3476
  3477
  3478 echo "$as_me:$LINENO: checking for void *" >&5
  3479 echo $ECHO_N "checking for void *... $ECHO_C" >&6
  3480 if test "${ac_cv_type_void_p+set}" = set; then
  3481 echo $ECHO_N "(cached) $ECHO_C" >&6
  3482 else
  3483 cat >conftest.$ac_ext <<_ACEOF
  3484 /* confdefs.h. */
  3485 _ACEOF
  3486 cat confdefs.h >>conftest.$ac_ext
  3487 cat >>conftest.$ac_ext <<_ACEOF
  3488 /* end confdefs.h. */
  3489 $ac_includes_default
  3490 int
  3491 main ()
  3492 {
  3493 if ((void * *) 0)
  3494 return 0;
  3495 if (sizeof (void *))
  3496 return 0;
  3497 ;
  3498 return 0;
  3499 }
  3500 _ACEOF
  3501 rm -f conftest.$ac_objext
  3502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3503 (eval $ac_compile) 2>conftest.er1
  3504 ac_status=$?
  3505 grep -v '^ *+' conftest.er1 >conftest.err
  3506 rm -f conftest.er1
  3507 cat conftest.err >&5
  3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3509 (exit $ac_status); } &&
  3510 { ac_try='test -z "$ac_c_werror_flag"
  3511 || test ! -s conftest.err'
  3512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3513 (eval $ac_try) 2>&5
  3514 ac_status=$?
  3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3516 (exit $ac_status); }; } &&
  3517 { ac_try='test -s conftest.$ac_objext'
  3518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3519 (eval $ac_try) 2>&5
  3520 ac_status=$?
  3521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3522 (exit $ac_status); }; }; then
  3523 ac_cv_type_void_p=yes
  3524 else
  3525 echo "$as_me: failed program was:" >&5
  3526 sed 's/^/| /' conftest.$ac_ext >&5
  3527
  3528 ac_cv_type_void_p=no
  3529 fi
  3530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3531 fi
  3532 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
  3533 echo "${ECHO_T}$ac_cv_type_void_p" >&6
  3534
  3535 echo "$as_me:$LINENO: checking size of void *" >&5
  3536 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
  3537 if test "${ac_cv_sizeof_void_p+set}" = set; then
  3538 echo $ECHO_N "(cached) $ECHO_C" >&6
  3539 else
  3540 if test "$ac_cv_type_void_p" = yes; then
  3541 # The cast to unsigned long works around a bug in the HP C Compiler
  3542 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  3543 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  3544 # This bug is HP SR number 8606223364.
  3545 if test "$cross_compiling" = yes; then
  3546 # Depending upon the size, compute the lo and hi bounds.
  3547 cat >conftest.$ac_ext <<_ACEOF
  3548 /* confdefs.h. */
  3549 _ACEOF
  3550 cat confdefs.h >>conftest.$ac_ext
  3551 cat >>conftest.$ac_ext <<_ACEOF
  3552 /* end confdefs.h. */
  3553 $ac_includes_default
  3554 int
  3555 main ()
  3556 {
  3557 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
  3558 test_array [0] = 0
  3559
  3560 ;
  3561 return 0;
  3562 }
  3563 _ACEOF
  3564 rm -f conftest.$ac_objext
  3565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3566 (eval $ac_compile) 2>conftest.er1
  3567 ac_status=$?
  3568 grep -v '^ *+' conftest.er1 >conftest.err
  3569 rm -f conftest.er1
  3570 cat conftest.err >&5
  3571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3572 (exit $ac_status); } &&
  3573 { ac_try='test -z "$ac_c_werror_flag"
  3574 || test ! -s conftest.err'
  3575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3576 (eval $ac_try) 2>&5
  3577 ac_status=$?
  3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3579 (exit $ac_status); }; } &&
  3580 { ac_try='test -s conftest.$ac_objext'
  3581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3582 (eval $ac_try) 2>&5
  3583 ac_status=$?
  3584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3585 (exit $ac_status); }; }; then
  3586 ac_lo=0 ac_mid=0
  3587 while :; do
  3588 cat >conftest.$ac_ext <<_ACEOF
  3589 /* confdefs.h. */
  3590 _ACEOF
  3591 cat confdefs.h >>conftest.$ac_ext
  3592 cat >>conftest.$ac_ext <<_ACEOF
  3593 /* end confdefs.h. */
  3594 $ac_includes_default
  3595 int
  3596 main ()
  3597 {
  3598 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
  3599 test_array [0] = 0
  3600
  3601 ;
  3602 return 0;
  3603 }
  3604 _ACEOF
  3605 rm -f conftest.$ac_objext
  3606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3607 (eval $ac_compile) 2>conftest.er1
  3608 ac_status=$?
  3609 grep -v '^ *+' conftest.er1 >conftest.err
  3610 rm -f conftest.er1
  3611 cat conftest.err >&5
  3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3613 (exit $ac_status); } &&
  3614 { ac_try='test -z "$ac_c_werror_flag"
  3615 || test ! -s conftest.err'
  3616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3617 (eval $ac_try) 2>&5
  3618 ac_status=$?
  3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3620 (exit $ac_status); }; } &&
  3621 { ac_try='test -s conftest.$ac_objext'
  3622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3623 (eval $ac_try) 2>&5
  3624 ac_status=$?
  3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3626 (exit $ac_status); }; }; then
  3627 ac_hi=$ac_mid; break
  3628 else
  3629 echo "$as_me: failed program was:" >&5
  3630 sed 's/^/| /' conftest.$ac_ext >&5
  3631
  3632 ac_lo=`expr $ac_mid + 1`
  3633 if test $ac_lo -le $ac_mid; then
  3634 ac_lo= ac_hi=
  3635 break
  3636 fi
  3637 ac_mid=`expr 2 '*' $ac_mid + 1`
  3638 fi
  3639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3640 done
  3641 else
  3642 echo "$as_me: failed program was:" >&5
  3643 sed 's/^/| /' conftest.$ac_ext >&5
  3644
  3645 cat >conftest.$ac_ext <<_ACEOF
  3646 /* confdefs.h. */
  3647 _ACEOF
  3648 cat confdefs.h >>conftest.$ac_ext
  3649 cat >>conftest.$ac_ext <<_ACEOF
  3650 /* end confdefs.h. */
  3651 $ac_includes_default
  3652 int
  3653 main ()
  3654 {
  3655 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
  3656 test_array [0] = 0
  3657
  3658 ;
  3659 return 0;
  3660 }
  3661 _ACEOF
  3662 rm -f conftest.$ac_objext
  3663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3664 (eval $ac_compile) 2>conftest.er1
  3665 ac_status=$?
  3666 grep -v '^ *+' conftest.er1 >conftest.err
  3667 rm -f conftest.er1
  3668 cat conftest.err >&5
  3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3670 (exit $ac_status); } &&
  3671 { ac_try='test -z "$ac_c_werror_flag"
  3672 || test ! -s conftest.err'
  3673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3674 (eval $ac_try) 2>&5
  3675 ac_status=$?
  3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3677 (exit $ac_status); }; } &&
  3678 { ac_try='test -s conftest.$ac_objext'
  3679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3680 (eval $ac_try) 2>&5
  3681 ac_status=$?
  3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3683 (exit $ac_status); }; }; then
  3684 ac_hi=-1 ac_mid=-1
  3685 while :; do
  3686 cat >conftest.$ac_ext <<_ACEOF
  3687 /* confdefs.h. */
  3688 _ACEOF
  3689 cat confdefs.h >>conftest.$ac_ext
  3690 cat >>conftest.$ac_ext <<_ACEOF
  3691 /* end confdefs.h. */
  3692 $ac_includes_default
  3693 int
  3694 main ()
  3695 {
  3696 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
  3697 test_array [0] = 0
  3698
  3699 ;
  3700 return 0;
  3701 }
  3702 _ACEOF
  3703 rm -f conftest.$ac_objext
  3704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3705 (eval $ac_compile) 2>conftest.er1
  3706 ac_status=$?
  3707 grep -v '^ *+' conftest.er1 >conftest.err
  3708 rm -f conftest.er1
  3709 cat conftest.err >&5
  3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3711 (exit $ac_status); } &&
  3712 { ac_try='test -z "$ac_c_werror_flag"
  3713 || test ! -s conftest.err'
  3714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3715 (eval $ac_try) 2>&5
  3716 ac_status=$?
  3717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3718 (exit $ac_status); }; } &&
  3719 { ac_try='test -s conftest.$ac_objext'
  3720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3721 (eval $ac_try) 2>&5
  3722 ac_status=$?
  3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3724 (exit $ac_status); }; }; then
  3725 ac_lo=$ac_mid; break
  3726 else
  3727 echo "$as_me: failed program was:" >&5
  3728 sed 's/^/| /' conftest.$ac_ext >&5
  3729
  3730 ac_hi=`expr '(' $ac_mid ')' - 1`
  3731 if test $ac_mid -le $ac_hi; then
  3732 ac_lo= ac_hi=
  3733 break
  3734 fi
  3735 ac_mid=`expr 2 '*' $ac_mid`
  3736 fi
  3737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3738 done
  3739 else
  3740 echo "$as_me: failed program was:" >&5
  3741 sed 's/^/| /' conftest.$ac_ext >&5
  3742
  3743 ac_lo= ac_hi=
  3744 fi
  3745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3746 fi
  3747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3748 # Binary search between lo and hi bounds.
  3749 while test "x$ac_lo" != "x$ac_hi"; do
  3750 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  3751 cat >conftest.$ac_ext <<_ACEOF
  3752 /* confdefs.h. */
  3753 _ACEOF
  3754 cat confdefs.h >>conftest.$ac_ext
  3755 cat >>conftest.$ac_ext <<_ACEOF
  3756 /* end confdefs.h. */
  3757 $ac_includes_default
  3758 int
  3759 main ()
  3760 {
  3761 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
  3762 test_array [0] = 0
  3763
  3764 ;
  3765 return 0;
  3766 }
  3767 _ACEOF
  3768 rm -f conftest.$ac_objext
  3769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3770 (eval $ac_compile) 2>conftest.er1
  3771 ac_status=$?
  3772 grep -v '^ *+' conftest.er1 >conftest.err
  3773 rm -f conftest.er1
  3774 cat conftest.err >&5
  3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3776 (exit $ac_status); } &&
  3777 { ac_try='test -z "$ac_c_werror_flag"
  3778 || test ! -s conftest.err'
  3779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3780 (eval $ac_try) 2>&5
  3781 ac_status=$?
  3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3783 (exit $ac_status); }; } &&
  3784 { ac_try='test -s conftest.$ac_objext'
  3785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3786 (eval $ac_try) 2>&5
  3787 ac_status=$?
  3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3789 (exit $ac_status); }; }; then
  3790 ac_hi=$ac_mid
  3791 else
  3792 echo "$as_me: failed program was:" >&5
  3793 sed 's/^/| /' conftest.$ac_ext >&5
  3794
  3795 ac_lo=`expr '(' $ac_mid ')' + 1`
  3796 fi
  3797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3798 done
  3799 case $ac_lo in
  3800 ?*) ac_cv_sizeof_void_p=$ac_lo;;
  3801 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
  3802 See \`config.log' for more details." >&5
  3803 echo "$as_me: error: cannot compute sizeof (void *), 77
  3804 See \`config.log' for more details." >&2;}
  3805 { (exit 1); exit 1; }; } ;;
  3806 esac
  3807 else
  3808 if test "$cross_compiling" = yes; then
  3809 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  3810 See \`config.log' for more details." >&5
  3811 echo "$as_me: error: cannot run test program while cross compiling
  3812 See \`config.log' for more details." >&2;}
  3813 { (exit 1); exit 1; }; }
  3814 else
  3815 cat >conftest.$ac_ext <<_ACEOF
  3816 /* confdefs.h. */
  3817 _ACEOF
  3818 cat confdefs.h >>conftest.$ac_ext
  3819 cat >>conftest.$ac_ext <<_ACEOF
  3820 /* end confdefs.h. */
  3821 $ac_includes_default
  3822 long longval () { return (long) (sizeof (void *)); }
  3823 unsigned long ulongval () { return (long) (sizeof (void *)); }
  3824 #include <stdio.h>
  3825 #include <stdlib.h>
  3826 int
  3827 main ()
  3828 {
  3829
  3830 FILE *f = fopen ("conftest.val", "w");
  3831 if (! f)
  3832 exit (1);
  3833 if (((long) (sizeof (void *))) < 0)
  3834 {
  3835 long i = longval ();
  3836 if (i != ((long) (sizeof (void *))))
  3837 exit (1);
  3838 fprintf (f, "%ld\n", i);
  3839 }
  3840 else
  3841 {
  3842 unsigned long i = ulongval ();
  3843 if (i != ((long) (sizeof (void *))))
  3844 exit (1);
  3845 fprintf (f, "%lu\n", i);
  3846 }
  3847 exit (ferror (f) || fclose (f) != 0);
  3848
  3849 ;
  3850 return 0;
  3851 }
  3852 _ACEOF
  3853 rm -f conftest$ac_exeext
  3854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3855 (eval $ac_link) 2>&5
  3856 ac_status=$?
  3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3858 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  3859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3860 (eval $ac_try) 2>&5
  3861 ac_status=$?
  3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3863 (exit $ac_status); }; }; then
  3864 ac_cv_sizeof_void_p=`cat conftest.val`
  3865 else
  3866 echo "$as_me: program exited with status $ac_status" >&5
  3867 echo "$as_me: failed program was:" >&5
  3868 sed 's/^/| /' conftest.$ac_ext >&5
  3869
  3870 ( exit $ac_status )
  3871 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
  3872 See \`config.log' for more details." >&5
  3873 echo "$as_me: error: cannot compute sizeof (void *), 77
  3874 See \`config.log' for more details." >&2;}
  3875 { (exit 1); exit 1; }; }
  3876 fi
  3877 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  3878 fi
  3879 fi
  3880 rm -f conftest.val
  3881 else
  3882 ac_cv_sizeof_void_p=0
  3883 fi
  3884 fi
  3885 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
  3886 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
  3887 cat >>confdefs.h <<_ACEOF
  3888 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  3889 _ACEOF
  3890
  3891
  3892 echo "$as_me:$LINENO: checking for short" >&5
  3893 echo $ECHO_N "checking for short... $ECHO_C" >&6
  3894 if test "${ac_cv_type_short+set}" = set; then
  3895 echo $ECHO_N "(cached) $ECHO_C" >&6
  3896 else
  3897 cat >conftest.$ac_ext <<_ACEOF
  3898 /* confdefs.h. */
  3899 _ACEOF
  3900 cat confdefs.h >>conftest.$ac_ext
  3901 cat >>conftest.$ac_ext <<_ACEOF
  3902 /* end confdefs.h. */
  3903 $ac_includes_default
  3904 int
  3905 main ()
  3906 {
  3907 if ((short *) 0)
  3908 return 0;
  3909 if (sizeof (short))
  3910 return 0;
  3911 ;
  3912 return 0;
  3913 }
  3914 _ACEOF
  3915 rm -f conftest.$ac_objext
  3916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3917 (eval $ac_compile) 2>conftest.er1
  3918 ac_status=$?
  3919 grep -v '^ *+' conftest.er1 >conftest.err
  3920 rm -f conftest.er1
  3921 cat conftest.err >&5
  3922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3923 (exit $ac_status); } &&
  3924 { ac_try='test -z "$ac_c_werror_flag"
  3925 || test ! -s conftest.err'
  3926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3927 (eval $ac_try) 2>&5
  3928 ac_status=$?
  3929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3930 (exit $ac_status); }; } &&
  3931 { ac_try='test -s conftest.$ac_objext'
  3932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3933 (eval $ac_try) 2>&5
  3934 ac_status=$?
  3935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3936 (exit $ac_status); }; }; then
  3937 ac_cv_type_short=yes
  3938 else
  3939 echo "$as_me: failed program was:" >&5
  3940 sed 's/^/| /' conftest.$ac_ext >&5
  3941
  3942 ac_cv_type_short=no
  3943 fi
  3944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3945 fi
  3946 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
  3947 echo "${ECHO_T}$ac_cv_type_short" >&6
  3948
  3949 echo "$as_me:$LINENO: checking size of short" >&5
  3950 echo $ECHO_N "checking size of short... $ECHO_C" >&6
  3951 if test "${ac_cv_sizeof_short+set}" = set; then
  3952 echo $ECHO_N "(cached) $ECHO_C" >&6
  3953 else
  3954 if test "$ac_cv_type_short" = yes; then
  3955 # The cast to unsigned long works around a bug in the HP C Compiler
  3956 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  3957 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  3958 # This bug is HP SR number 8606223364.
  3959 if test "$cross_compiling" = yes; then
  3960 # Depending upon the size, compute the lo and hi bounds.
  3961 cat >conftest.$ac_ext <<_ACEOF
  3962 /* confdefs.h. */
  3963 _ACEOF
  3964 cat confdefs.h >>conftest.$ac_ext
  3965 cat >>conftest.$ac_ext <<_ACEOF
  3966 /* end confdefs.h. */
  3967 $ac_includes_default
  3968 int
  3969 main ()
  3970 {
  3971 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
  3972 test_array [0] = 0
  3973
  3974 ;
  3975 return 0;
  3976 }
  3977 _ACEOF
  3978 rm -f conftest.$ac_objext
  3979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3980 (eval $ac_compile) 2>conftest.er1
  3981 ac_status=$?
  3982 grep -v '^ *+' conftest.er1 >conftest.err
  3983 rm -f conftest.er1
  3984 cat conftest.err >&5
  3985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3986 (exit $ac_status); } &&
  3987 { ac_try='test -z "$ac_c_werror_flag"
  3988 || test ! -s conftest.err'
  3989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3990 (eval $ac_try) 2>&5
  3991 ac_status=$?
  3992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3993 (exit $ac_status); }; } &&
  3994 { ac_try='test -s conftest.$ac_objext'
  3995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3996 (eval $ac_try) 2>&5
  3997 ac_status=$?
  3998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3999 (exit $ac_status); }; }; then
  4000 ac_lo=0 ac_mid=0
  4001 while :; do
  4002 cat >conftest.$ac_ext <<_ACEOF
  4003 /* confdefs.h. */
  4004 _ACEOF
  4005 cat confdefs.h >>conftest.$ac_ext
  4006 cat >>conftest.$ac_ext <<_ACEOF
  4007 /* end confdefs.h. */
  4008 $ac_includes_default
  4009 int
  4010 main ()
  4011 {
  4012 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
  4013 test_array [0] = 0
  4014
  4015 ;
  4016 return 0;
  4017 }
  4018 _ACEOF
  4019 rm -f conftest.$ac_objext
  4020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4021 (eval $ac_compile) 2>conftest.er1
  4022 ac_status=$?
  4023 grep -v '^ *+' conftest.er1 >conftest.err
  4024 rm -f conftest.er1
  4025 cat conftest.err >&5
  4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4027 (exit $ac_status); } &&
  4028 { ac_try='test -z "$ac_c_werror_flag"
  4029 || test ! -s conftest.err'
  4030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4031 (eval $ac_try) 2>&5
  4032 ac_status=$?
  4033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4034 (exit $ac_status); }; } &&
  4035 { ac_try='test -s conftest.$ac_objext'
  4036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4037 (eval $ac_try) 2>&5
  4038 ac_status=$?
  4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4040 (exit $ac_status); }; }; then
  4041 ac_hi=$ac_mid; break
  4042 else
  4043 echo "$as_me: failed program was:" >&5
  4044 sed 's/^/| /' conftest.$ac_ext >&5
  4045
  4046 ac_lo=`expr $ac_mid + 1`
  4047 if test $ac_lo -le $ac_mid; then
  4048 ac_lo= ac_hi=
  4049 break
  4050 fi
  4051 ac_mid=`expr 2 '*' $ac_mid + 1`
  4052 fi
  4053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4054 done
  4055 else
  4056 echo "$as_me: failed program was:" >&5
  4057 sed 's/^/| /' conftest.$ac_ext >&5
  4058
  4059 cat >conftest.$ac_ext <<_ACEOF
  4060 /* confdefs.h. */
  4061 _ACEOF
  4062 cat confdefs.h >>conftest.$ac_ext
  4063 cat >>conftest.$ac_ext <<_ACEOF
  4064 /* end confdefs.h. */
  4065 $ac_includes_default
  4066 int
  4067 main ()
  4068 {
  4069 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
  4070 test_array [0] = 0
  4071
  4072 ;
  4073 return 0;
  4074 }
  4075 _ACEOF
  4076 rm -f conftest.$ac_objext
  4077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4078 (eval $ac_compile) 2>conftest.er1
  4079 ac_status=$?
  4080 grep -v '^ *+' conftest.er1 >conftest.err
  4081 rm -f conftest.er1
  4082 cat conftest.err >&5
  4083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4084 (exit $ac_status); } &&
  4085 { ac_try='test -z "$ac_c_werror_flag"
  4086 || test ! -s conftest.err'
  4087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4088 (eval $ac_try) 2>&5
  4089 ac_status=$?
  4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4091 (exit $ac_status); }; } &&
  4092 { ac_try='test -s conftest.$ac_objext'
  4093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4094 (eval $ac_try) 2>&5
  4095 ac_status=$?
  4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4097 (exit $ac_status); }; }; then
  4098 ac_hi=-1 ac_mid=-1
  4099 while :; do
  4100 cat >conftest.$ac_ext <<_ACEOF
  4101 /* confdefs.h. */
  4102 _ACEOF
  4103 cat confdefs.h >>conftest.$ac_ext
  4104 cat >>conftest.$ac_ext <<_ACEOF
  4105 /* end confdefs.h. */
  4106 $ac_includes_default
  4107 int
  4108 main ()
  4109 {
  4110 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
  4111 test_array [0] = 0
  4112
  4113 ;
  4114 return 0;
  4115 }
  4116 _ACEOF
  4117 rm -f conftest.$ac_objext
  4118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4119 (eval $ac_compile) 2>conftest.er1
  4120 ac_status=$?
  4121 grep -v '^ *+' conftest.er1 >conftest.err
  4122 rm -f conftest.er1
  4123 cat conftest.err >&5
  4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4125 (exit $ac_status); } &&
  4126 { ac_try='test -z "$ac_c_werror_flag"
  4127 || test ! -s conftest.err'
  4128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4129 (eval $ac_try) 2>&5
  4130 ac_status=$?
  4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4132 (exit $ac_status); }; } &&
  4133 { ac_try='test -s conftest.$ac_objext'
  4134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4135 (eval $ac_try) 2>&5
  4136 ac_status=$?
  4137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4138 (exit $ac_status); }; }; then
  4139 ac_lo=$ac_mid; break
  4140 else
  4141 echo "$as_me: failed program was:" >&5
  4142 sed 's/^/| /' conftest.$ac_ext >&5
  4143
  4144 ac_hi=`expr '(' $ac_mid ')' - 1`
  4145 if test $ac_mid -le $ac_hi; then
  4146 ac_lo= ac_hi=
  4147 break
  4148 fi
  4149 ac_mid=`expr 2 '*' $ac_mid`
  4150 fi
  4151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4152 done
  4153 else
  4154 echo "$as_me: failed program was:" >&5
  4155 sed 's/^/| /' conftest.$ac_ext >&5
  4156
  4157 ac_lo= ac_hi=
  4158 fi
  4159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4160 fi
  4161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4162 # Binary search between lo and hi bounds.
  4163 while test "x$ac_lo" != "x$ac_hi"; do
  4164 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  4165 cat >conftest.$ac_ext <<_ACEOF
  4166 /* confdefs.h. */
  4167 _ACEOF
  4168 cat confdefs.h >>conftest.$ac_ext
  4169 cat >>conftest.$ac_ext <<_ACEOF
  4170 /* end confdefs.h. */
  4171 $ac_includes_default
  4172 int
  4173 main ()
  4174 {
  4175 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
  4176 test_array [0] = 0
  4177
  4178 ;
  4179 return 0;
  4180 }
  4181 _ACEOF
  4182 rm -f conftest.$ac_objext
  4183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4184 (eval $ac_compile) 2>conftest.er1
  4185 ac_status=$?
  4186 grep -v '^ *+' conftest.er1 >conftest.err
  4187 rm -f conftest.er1
  4188 cat conftest.err >&5
  4189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4190 (exit $ac_status); } &&
  4191 { ac_try='test -z "$ac_c_werror_flag"
  4192 || test ! -s conftest.err'
  4193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4194 (eval $ac_try) 2>&5
  4195 ac_status=$?
  4196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4197 (exit $ac_status); }; } &&
  4198 { ac_try='test -s conftest.$ac_objext'
  4199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4200 (eval $ac_try) 2>&5
  4201 ac_status=$?
  4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4203 (exit $ac_status); }; }; then
  4204 ac_hi=$ac_mid
  4205 else
  4206 echo "$as_me: failed program was:" >&5
  4207 sed 's/^/| /' conftest.$ac_ext >&5
  4208
  4209 ac_lo=`expr '(' $ac_mid ')' + 1`
  4210 fi
  4211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4212 done
  4213 case $ac_lo in
  4214 ?*) ac_cv_sizeof_short=$ac_lo;;
  4215 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
  4216 See \`config.log' for more details." >&5
  4217 echo "$as_me: error: cannot compute sizeof (short), 77
  4218 See \`config.log' for more details." >&2;}
  4219 { (exit 1); exit 1; }; } ;;
  4220 esac
  4221 else
  4222 if test "$cross_compiling" = yes; then
  4223 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  4224 See \`config.log' for more details." >&5
  4225 echo "$as_me: error: cannot run test program while cross compiling
  4226 See \`config.log' for more details." >&2;}
  4227 { (exit 1); exit 1; }; }
  4228 else
  4229 cat >conftest.$ac_ext <<_ACEOF
  4230 /* confdefs.h. */
  4231 _ACEOF
  4232 cat confdefs.h >>conftest.$ac_ext
  4233 cat >>conftest.$ac_ext <<_ACEOF
  4234 /* end confdefs.h. */
  4235 $ac_includes_default
  4236 long longval () { return (long) (sizeof (short)); }
  4237 unsigned long ulongval () { return (long) (sizeof (short)); }
  4238 #include <stdio.h>
  4239 #include <stdlib.h>
  4240 int
  4241 main ()
  4242 {
  4243
  4244 FILE *f = fopen ("conftest.val", "w");
  4245 if (! f)
  4246 exit (1);
  4247 if (((long) (sizeof (short))) < 0)
  4248 {
  4249 long i = longval ();
  4250 if (i != ((long) (sizeof (short))))
  4251 exit (1);
  4252 fprintf (f, "%ld\n", i);
  4253 }
  4254 else
  4255 {
  4256 unsigned long i = ulongval ();
  4257 if (i != ((long) (sizeof (short))))
  4258 exit (1);
  4259 fprintf (f, "%lu\n", i);
  4260 }
  4261 exit (ferror (f) || fclose (f) != 0);
  4262
  4263 ;
  4264 return 0;
  4265 }
  4266 _ACEOF
  4267 rm -f conftest$ac_exeext
  4268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4269 (eval $ac_link) 2>&5
  4270 ac_status=$?
  4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4272 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  4273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4274 (eval $ac_try) 2>&5
  4275 ac_status=$?
  4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4277 (exit $ac_status); }; }; then
  4278 ac_cv_sizeof_short=`cat conftest.val`
  4279 else
  4280 echo "$as_me: program exited with status $ac_status" >&5
  4281 echo "$as_me: failed program was:" >&5
  4282 sed 's/^/| /' conftest.$ac_ext >&5
  4283
  4284 ( exit $ac_status )
  4285 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
  4286 See \`config.log' for more details." >&5
  4287 echo "$as_me: error: cannot compute sizeof (short), 77
  4288 See \`config.log' for more details." >&2;}
  4289 { (exit 1); exit 1; }; }
  4290 fi
  4291 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  4292 fi
  4293 fi
  4294 rm -f conftest.val
  4295 else
  4296 ac_cv_sizeof_short=0
  4297 fi
  4298 fi
  4299 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
  4300 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
  4301 cat >>confdefs.h <<_ACEOF
  4302 #define SIZEOF_SHORT $ac_cv_sizeof_short
  4303 _ACEOF
  4304
  4305
  4306 echo "$as_me:$LINENO: checking for int" >&5
  4307 echo $ECHO_N "checking for int... $ECHO_C" >&6
  4308 if test "${ac_cv_type_int+set}" = set; then
  4309 echo $ECHO_N "(cached) $ECHO_C" >&6
  4310 else
  4311 cat >conftest.$ac_ext <<_ACEOF
  4312 /* confdefs.h. */
  4313 _ACEOF
  4314 cat confdefs.h >>conftest.$ac_ext
  4315 cat >>conftest.$ac_ext <<_ACEOF
  4316 /* end confdefs.h. */
  4317 $ac_includes_default
  4318 int
  4319 main ()
  4320 {
  4321 if ((int *) 0)
  4322 return 0;
  4323 if (sizeof (int))
  4324 return 0;
  4325 ;
  4326 return 0;
  4327 }
  4328 _ACEOF
  4329 rm -f conftest.$ac_objext
  4330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4331 (eval $ac_compile) 2>conftest.er1
  4332 ac_status=$?
  4333 grep -v '^ *+' conftest.er1 >conftest.err
  4334 rm -f conftest.er1
  4335 cat conftest.err >&5
  4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4337 (exit $ac_status); } &&
  4338 { ac_try='test -z "$ac_c_werror_flag"
  4339 || test ! -s conftest.err'
  4340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4341 (eval $ac_try) 2>&5
  4342 ac_status=$?
  4343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4344 (exit $ac_status); }; } &&
  4345 { ac_try='test -s conftest.$ac_objext'
  4346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4347 (eval $ac_try) 2>&5
  4348 ac_status=$?
  4349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4350 (exit $ac_status); }; }; then
  4351 ac_cv_type_int=yes
  4352 else
  4353 echo "$as_me: failed program was:" >&5
  4354 sed 's/^/| /' conftest.$ac_ext >&5
  4355
  4356 ac_cv_type_int=no
  4357 fi
  4358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4359 fi
  4360 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
  4361 echo "${ECHO_T}$ac_cv_type_int" >&6
  4362
  4363 echo "$as_me:$LINENO: checking size of int" >&5
  4364 echo $ECHO_N "checking size of int... $ECHO_C" >&6
  4365 if test "${ac_cv_sizeof_int+set}" = set; then
  4366 echo $ECHO_N "(cached) $ECHO_C" >&6
  4367 else
  4368 if test "$ac_cv_type_int" = yes; then
  4369 # The cast to unsigned long works around a bug in the HP C Compiler
  4370 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  4371 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  4372 # This bug is HP SR number 8606223364.
  4373 if test "$cross_compiling" = yes; then
  4374 # Depending upon the size, compute the lo and hi bounds.
  4375 cat >conftest.$ac_ext <<_ACEOF
  4376 /* confdefs.h. */
  4377 _ACEOF
  4378 cat confdefs.h >>conftest.$ac_ext
  4379 cat >>conftest.$ac_ext <<_ACEOF
  4380 /* end confdefs.h. */
  4381 $ac_includes_default
  4382 int
  4383 main ()
  4384 {
  4385 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
  4386 test_array [0] = 0
  4387
  4388 ;
  4389 return 0;
  4390 }
  4391 _ACEOF
  4392 rm -f conftest.$ac_objext
  4393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4394 (eval $ac_compile) 2>conftest.er1
  4395 ac_status=$?
  4396 grep -v '^ *+' conftest.er1 >conftest.err
  4397 rm -f conftest.er1
  4398 cat conftest.err >&5
  4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4400 (exit $ac_status); } &&
  4401 { ac_try='test -z "$ac_c_werror_flag"
  4402 || test ! -s conftest.err'
  4403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4404 (eval $ac_try) 2>&5
  4405 ac_status=$?
  4406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4407 (exit $ac_status); }; } &&
  4408 { ac_try='test -s conftest.$ac_objext'
  4409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4410 (eval $ac_try) 2>&5
  4411 ac_status=$?
  4412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4413 (exit $ac_status); }; }; then
  4414 ac_lo=0 ac_mid=0
  4415 while :; do
  4416 cat >conftest.$ac_ext <<_ACEOF
  4417 /* confdefs.h. */
  4418 _ACEOF
  4419 cat confdefs.h >>conftest.$ac_ext
  4420 cat >>conftest.$ac_ext <<_ACEOF
  4421 /* end confdefs.h. */
  4422 $ac_includes_default
  4423 int
  4424 main ()
  4425 {
  4426 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
  4427 test_array [0] = 0
  4428
  4429 ;
  4430 return 0;
  4431 }
  4432 _ACEOF
  4433 rm -f conftest.$ac_objext
  4434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4435 (eval $ac_compile) 2>conftest.er1
  4436 ac_status=$?
  4437 grep -v '^ *+' conftest.er1 >conftest.err
  4438 rm -f conftest.er1
  4439 cat conftest.err >&5
  4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4441 (exit $ac_status); } &&
  4442 { ac_try='test -z "$ac_c_werror_flag"
  4443 || test ! -s conftest.err'
  4444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4445 (eval $ac_try) 2>&5
  4446 ac_status=$?
  4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4448 (exit $ac_status); }; } &&
  4449 { ac_try='test -s conftest.$ac_objext'
  4450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4451 (eval $ac_try) 2>&5
  4452 ac_status=$?
  4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4454 (exit $ac_status); }; }; then
  4455 ac_hi=$ac_mid; break
  4456 else
  4457 echo "$as_me: failed program was:" >&5
  4458 sed 's/^/| /' conftest.$ac_ext >&5
  4459
  4460 ac_lo=`expr $ac_mid + 1`
  4461 if test $ac_lo -le $ac_mid; then
  4462 ac_lo= ac_hi=
  4463 break
  4464 fi
  4465 ac_mid=`expr 2 '*' $ac_mid + 1`
  4466 fi
  4467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4468 done
  4469 else
  4470 echo "$as_me: failed program was:" >&5
  4471 sed 's/^/| /' conftest.$ac_ext >&5
  4472
  4473 cat >conftest.$ac_ext <<_ACEOF
  4474 /* confdefs.h. */
  4475 _ACEOF
  4476 cat confdefs.h >>conftest.$ac_ext
  4477 cat >>conftest.$ac_ext <<_ACEOF
  4478 /* end confdefs.h. */
  4479 $ac_includes_default
  4480 int
  4481 main ()
  4482 {
  4483 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
  4484 test_array [0] = 0
  4485
  4486 ;
  4487 return 0;
  4488 }
  4489 _ACEOF
  4490 rm -f conftest.$ac_objext
  4491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4492 (eval $ac_compile) 2>conftest.er1
  4493 ac_status=$?
  4494 grep -v '^ *+' conftest.er1 >conftest.err
  4495 rm -f conftest.er1
  4496 cat conftest.err >&5
  4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4498 (exit $ac_status); } &&
  4499 { ac_try='test -z "$ac_c_werror_flag"
  4500 || test ! -s conftest.err'
  4501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4502 (eval $ac_try) 2>&5
  4503 ac_status=$?
  4504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4505 (exit $ac_status); }; } &&
  4506 { ac_try='test -s conftest.$ac_objext'
  4507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4508 (eval $ac_try) 2>&5
  4509 ac_status=$?
  4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4511 (exit $ac_status); }; }; then
  4512 ac_hi=-1 ac_mid=-1
  4513 while :; do
  4514 cat >conftest.$ac_ext <<_ACEOF
  4515 /* confdefs.h. */
  4516 _ACEOF
  4517 cat confdefs.h >>conftest.$ac_ext
  4518 cat >>conftest.$ac_ext <<_ACEOF
  4519 /* end confdefs.h. */
  4520 $ac_includes_default
  4521 int
  4522 main ()
  4523 {
  4524 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
  4525 test_array [0] = 0
  4526
  4527 ;
  4528 return 0;
  4529 }
  4530 _ACEOF
  4531 rm -f conftest.$ac_objext
  4532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4533 (eval $ac_compile) 2>conftest.er1
  4534 ac_status=$?
  4535 grep -v '^ *+' conftest.er1 >conftest.err
  4536 rm -f conftest.er1
  4537 cat conftest.err >&5
  4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4539 (exit $ac_status); } &&
  4540 { ac_try='test -z "$ac_c_werror_flag"
  4541 || test ! -s conftest.err'
  4542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4543 (eval $ac_try) 2>&5
  4544 ac_status=$?
  4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4546 (exit $ac_status); }; } &&
  4547 { ac_try='test -s conftest.$ac_objext'
  4548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4549 (eval $ac_try) 2>&5
  4550 ac_status=$?
  4551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4552 (exit $ac_status); }; }; then
  4553 ac_lo=$ac_mid; break
  4554 else
  4555 echo "$as_me: failed program was:" >&5
  4556 sed 's/^/| /' conftest.$ac_ext >&5
  4557
  4558 ac_hi=`expr '(' $ac_mid ')' - 1`
  4559 if test $ac_mid -le $ac_hi; then
  4560 ac_lo= ac_hi=
  4561 break
  4562 fi
  4563 ac_mid=`expr 2 '*' $ac_mid`
  4564 fi
  4565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4566 done
  4567 else
  4568 echo "$as_me: failed program was:" >&5
  4569 sed 's/^/| /' conftest.$ac_ext >&5
  4570
  4571 ac_lo= ac_hi=
  4572 fi
  4573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4574 fi
  4575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4576 # Binary search between lo and hi bounds.
  4577 while test "x$ac_lo" != "x$ac_hi"; do
  4578 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  4579 cat >conftest.$ac_ext <<_ACEOF
  4580 /* confdefs.h. */
  4581 _ACEOF
  4582 cat confdefs.h >>conftest.$ac_ext
  4583 cat >>conftest.$ac_ext <<_ACEOF
  4584 /* end confdefs.h. */
  4585 $ac_includes_default
  4586 int
  4587 main ()
  4588 {
  4589 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
  4590 test_array [0] = 0
  4591
  4592 ;
  4593 return 0;
  4594 }
  4595 _ACEOF
  4596 rm -f conftest.$ac_objext
  4597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4598 (eval $ac_compile) 2>conftest.er1
  4599 ac_status=$?
  4600 grep -v '^ *+' conftest.er1 >conftest.err
  4601 rm -f conftest.er1
  4602 cat conftest.err >&5
  4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4604 (exit $ac_status); } &&
  4605 { ac_try='test -z "$ac_c_werror_flag"
  4606 || test ! -s conftest.err'
  4607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4608 (eval $ac_try) 2>&5
  4609 ac_status=$?
  4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4611 (exit $ac_status); }; } &&
  4612 { ac_try='test -s conftest.$ac_objext'
  4613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4614 (eval $ac_try) 2>&5
  4615 ac_status=$?
  4616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4617 (exit $ac_status); }; }; then
  4618 ac_hi=$ac_mid
  4619 else
  4620 echo "$as_me: failed program was:" >&5
  4621 sed 's/^/| /' conftest.$ac_ext >&5
  4622
  4623 ac_lo=`expr '(' $ac_mid ')' + 1`
  4624 fi
  4625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4626 done
  4627 case $ac_lo in
  4628 ?*) ac_cv_sizeof_int=$ac_lo;;
  4629 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
  4630 See \`config.log' for more details." >&5
  4631 echo "$as_me: error: cannot compute sizeof (int), 77
  4632 See \`config.log' for more details." >&2;}
  4633 { (exit 1); exit 1; }; } ;;
  4634 esac
  4635 else
  4636 if test "$cross_compiling" = yes; then
  4637 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  4638 See \`config.log' for more details." >&5
  4639 echo "$as_me: error: cannot run test program while cross compiling
  4640 See \`config.log' for more details." >&2;}
  4641 { (exit 1); exit 1; }; }
  4642 else
  4643 cat >conftest.$ac_ext <<_ACEOF
  4644 /* confdefs.h. */
  4645 _ACEOF
  4646 cat confdefs.h >>conftest.$ac_ext
  4647 cat >>conftest.$ac_ext <<_ACEOF
  4648 /* end confdefs.h. */
  4649 $ac_includes_default
  4650 long longval () { return (long) (sizeof (int)); }
  4651 unsigned long ulongval () { return (long) (sizeof (int)); }
  4652 #include <stdio.h>
  4653 #include <stdlib.h>
  4654 int
  4655 main ()
  4656 {
  4657
  4658 FILE *f = fopen ("conftest.val", "w");
  4659 if (! f)
  4660 exit (1);
  4661 if (((long) (sizeof (int))) < 0)
  4662 {
  4663 long i = longval ();
  4664 if (i != ((long) (sizeof (int))))
  4665 exit (1);
  4666 fprintf (f, "%ld\n", i);
  4667 }
  4668 else
  4669 {
  4670 unsigned long i = ulongval ();
  4671 if (i != ((long) (sizeof (int))))
  4672 exit (1);
  4673 fprintf (f, "%lu\n", i);
  4674 }
  4675 exit (ferror (f) || fclose (f) != 0);
  4676
  4677 ;
  4678 return 0;
  4679 }
  4680 _ACEOF
  4681 rm -f conftest$ac_exeext
  4682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4683 (eval $ac_link) 2>&5
  4684 ac_status=$?
  4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4686 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  4687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4688 (eval $ac_try) 2>&5
  4689 ac_status=$?
  4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4691 (exit $ac_status); }; }; then
  4692 ac_cv_sizeof_int=`cat conftest.val`
  4693 else
  4694 echo "$as_me: program exited with status $ac_status" >&5
  4695 echo "$as_me: failed program was:" >&5
  4696 sed 's/^/| /' conftest.$ac_ext >&5
  4697
  4698 ( exit $ac_status )
  4699 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
  4700 See \`config.log' for more details." >&5
  4701 echo "$as_me: error: cannot compute sizeof (int), 77
  4702 See \`config.log' for more details." >&2;}
  4703 { (exit 1); exit 1; }; }
  4704 fi
  4705 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  4706 fi
  4707 fi
  4708 rm -f conftest.val
  4709 else
  4710 ac_cv_sizeof_int=0
  4711 fi
  4712 fi
  4713 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
  4714 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
  4715 cat >>confdefs.h <<_ACEOF
  4716 #define SIZEOF_INT $ac_cv_sizeof_int
  4717 _ACEOF
  4718
  4719
  4720 echo "$as_me:$LINENO: checking for long" >&5
  4721 echo $ECHO_N "checking for long... $ECHO_C" >&6
  4722 if test "${ac_cv_type_long+set}" = set; then
  4723 echo $ECHO_N "(cached) $ECHO_C" >&6
  4724 else
  4725 cat >conftest.$ac_ext <<_ACEOF
  4726 /* confdefs.h. */
  4727 _ACEOF
  4728 cat confdefs.h >>conftest.$ac_ext
  4729 cat >>conftest.$ac_ext <<_ACEOF
  4730 /* end confdefs.h. */
  4731 $ac_includes_default
  4732 int
  4733 main ()
  4734 {
  4735 if ((long *) 0)
  4736 return 0;
  4737 if (sizeof (long))
  4738 return 0;
  4739 ;
  4740 return 0;
  4741 }
  4742 _ACEOF
  4743 rm -f conftest.$ac_objext
  4744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4745 (eval $ac_compile) 2>conftest.er1
  4746 ac_status=$?
  4747 grep -v '^ *+' conftest.er1 >conftest.err
  4748 rm -f conftest.er1
  4749 cat conftest.err >&5
  4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4751 (exit $ac_status); } &&
  4752 { ac_try='test -z "$ac_c_werror_flag"
  4753 || test ! -s conftest.err'
  4754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4755 (eval $ac_try) 2>&5
  4756 ac_status=$?
  4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4758 (exit $ac_status); }; } &&
  4759 { ac_try='test -s conftest.$ac_objext'
  4760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4761 (eval $ac_try) 2>&5
  4762 ac_status=$?
  4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4764 (exit $ac_status); }; }; then
  4765 ac_cv_type_long=yes
  4766 else
  4767 echo "$as_me: failed program was:" >&5
  4768 sed 's/^/| /' conftest.$ac_ext >&5
  4769
  4770 ac_cv_type_long=no
  4771 fi
  4772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4773 fi
  4774 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
  4775 echo "${ECHO_T}$ac_cv_type_long" >&6
  4776
  4777 echo "$as_me:$LINENO: checking size of long" >&5
  4778 echo $ECHO_N "checking size of long... $ECHO_C" >&6
  4779 if test "${ac_cv_sizeof_long+set}" = set; then
  4780 echo $ECHO_N "(cached) $ECHO_C" >&6
  4781 else
  4782 if test "$ac_cv_type_long" = yes; then
  4783 # The cast to unsigned long works around a bug in the HP C Compiler
  4784 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  4785 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  4786 # This bug is HP SR number 8606223364.
  4787 if test "$cross_compiling" = yes; then
  4788 # Depending upon the size, compute the lo and hi bounds.
  4789 cat >conftest.$ac_ext <<_ACEOF
  4790 /* confdefs.h. */
  4791 _ACEOF
  4792 cat confdefs.h >>conftest.$ac_ext
  4793 cat >>conftest.$ac_ext <<_ACEOF
  4794 /* end confdefs.h. */
  4795 $ac_includes_default
  4796 int
  4797 main ()
  4798 {
  4799 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
  4800 test_array [0] = 0
  4801
  4802 ;
  4803 return 0;
  4804 }
  4805 _ACEOF
  4806 rm -f conftest.$ac_objext
  4807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4808 (eval $ac_compile) 2>conftest.er1
  4809 ac_status=$?
  4810 grep -v '^ *+' conftest.er1 >conftest.err
  4811 rm -f conftest.er1
  4812 cat conftest.err >&5
  4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4814 (exit $ac_status); } &&
  4815 { ac_try='test -z "$ac_c_werror_flag"
  4816 || test ! -s conftest.err'
  4817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4818 (eval $ac_try) 2>&5
  4819 ac_status=$?
  4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4821 (exit $ac_status); }; } &&
  4822 { ac_try='test -s conftest.$ac_objext'
  4823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4824 (eval $ac_try) 2>&5
  4825 ac_status=$?
  4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4827 (exit $ac_status); }; }; then
  4828 ac_lo=0 ac_mid=0
  4829 while :; do
  4830 cat >conftest.$ac_ext <<_ACEOF
  4831 /* confdefs.h. */
  4832 _ACEOF
  4833 cat confdefs.h >>conftest.$ac_ext
  4834 cat >>conftest.$ac_ext <<_ACEOF
  4835 /* end confdefs.h. */
  4836 $ac_includes_default
  4837 int
  4838 main ()
  4839 {
  4840 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
  4841 test_array [0] = 0
  4842
  4843 ;
  4844 return 0;
  4845 }
  4846 _ACEOF
  4847 rm -f conftest.$ac_objext
  4848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4849 (eval $ac_compile) 2>conftest.er1
  4850 ac_status=$?
  4851 grep -v '^ *+' conftest.er1 >conftest.err
  4852 rm -f conftest.er1
  4853 cat conftest.err >&5
  4854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4855 (exit $ac_status); } &&
  4856 { ac_try='test -z "$ac_c_werror_flag"
  4857 || test ! -s conftest.err'
  4858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4859 (eval $ac_try) 2>&5
  4860 ac_status=$?
  4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4862 (exit $ac_status); }; } &&
  4863 { ac_try='test -s conftest.$ac_objext'
  4864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4865 (eval $ac_try) 2>&5
  4866 ac_status=$?
  4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4868 (exit $ac_status); }; }; then
  4869 ac_hi=$ac_mid; break
  4870 else
  4871 echo "$as_me: failed program was:" >&5
  4872 sed 's/^/| /' conftest.$ac_ext >&5
  4873
  4874 ac_lo=`expr $ac_mid + 1`
  4875 if test $ac_lo -le $ac_mid; then
  4876 ac_lo= ac_hi=
  4877 break
  4878 fi
  4879 ac_mid=`expr 2 '*' $ac_mid + 1`
  4880 fi
  4881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4882 done
  4883 else
  4884 echo "$as_me: failed program was:" >&5
  4885 sed 's/^/| /' conftest.$ac_ext >&5
  4886
  4887 cat >conftest.$ac_ext <<_ACEOF
  4888 /* confdefs.h. */
  4889 _ACEOF
  4890 cat confdefs.h >>conftest.$ac_ext
  4891 cat >>conftest.$ac_ext <<_ACEOF
  4892 /* end confdefs.h. */
  4893 $ac_includes_default
  4894 int
  4895 main ()
  4896 {
  4897 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
  4898 test_array [0] = 0
  4899
  4900 ;
  4901 return 0;
  4902 }
  4903 _ACEOF
  4904 rm -f conftest.$ac_objext
  4905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4906 (eval $ac_compile) 2>conftest.er1
  4907 ac_status=$?
  4908 grep -v '^ *+' conftest.er1 >conftest.err
  4909 rm -f conftest.er1
  4910 cat conftest.err >&5
  4911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4912 (exit $ac_status); } &&
  4913 { ac_try='test -z "$ac_c_werror_flag"
  4914 || test ! -s conftest.err'
  4915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4916 (eval $ac_try) 2>&5
  4917 ac_status=$?
  4918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4919 (exit $ac_status); }; } &&
  4920 { ac_try='test -s conftest.$ac_objext'
  4921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4922 (eval $ac_try) 2>&5
  4923 ac_status=$?
  4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4925 (exit $ac_status); }; }; then
  4926 ac_hi=-1 ac_mid=-1
  4927 while :; do
  4928 cat >conftest.$ac_ext <<_ACEOF
  4929 /* confdefs.h. */
  4930 _ACEOF
  4931 cat confdefs.h >>conftest.$ac_ext
  4932 cat >>conftest.$ac_ext <<_ACEOF
  4933 /* end confdefs.h. */
  4934 $ac_includes_default
  4935 int
  4936 main ()
  4937 {
  4938 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
  4939 test_array [0] = 0
  4940
  4941 ;
  4942 return 0;
  4943 }
  4944 _ACEOF
  4945 rm -f conftest.$ac_objext
  4946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4947 (eval $ac_compile) 2>conftest.er1
  4948 ac_status=$?
  4949 grep -v '^ *+' conftest.er1 >conftest.err
  4950 rm -f conftest.er1
  4951 cat conftest.err >&5
  4952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4953 (exit $ac_status); } &&
  4954 { ac_try='test -z "$ac_c_werror_flag"
  4955 || test ! -s conftest.err'
  4956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4957 (eval $ac_try) 2>&5
  4958 ac_status=$?
  4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4960 (exit $ac_status); }; } &&
  4961 { ac_try='test -s conftest.$ac_objext'
  4962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4963 (eval $ac_try) 2>&5
  4964 ac_status=$?
  4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4966 (exit $ac_status); }; }; then
  4967 ac_lo=$ac_mid; break
  4968 else
  4969 echo "$as_me: failed program was:" >&5
  4970 sed 's/^/| /' conftest.$ac_ext >&5
  4971
  4972 ac_hi=`expr '(' $ac_mid ')' - 1`
  4973 if test $ac_mid -le $ac_hi; then
  4974 ac_lo= ac_hi=
  4975 break
  4976 fi
  4977 ac_mid=`expr 2 '*' $ac_mid`
  4978 fi
  4979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4980 done
  4981 else
  4982 echo "$as_me: failed program was:" >&5
  4983 sed 's/^/| /' conftest.$ac_ext >&5
  4984
  4985 ac_lo= ac_hi=
  4986 fi
  4987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4988 fi
  4989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4990 # Binary search between lo and hi bounds.
  4991 while test "x$ac_lo" != "x$ac_hi"; do
  4992 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  4993 cat >conftest.$ac_ext <<_ACEOF
  4994 /* confdefs.h. */
  4995 _ACEOF
  4996 cat confdefs.h >>conftest.$ac_ext
  4997 cat >>conftest.$ac_ext <<_ACEOF
  4998 /* end confdefs.h. */
  4999 $ac_includes_default
  5000 int
  5001 main ()
  5002 {
  5003 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
  5004 test_array [0] = 0
  5005
  5006 ;
  5007 return 0;
  5008 }
  5009 _ACEOF
  5010 rm -f conftest.$ac_objext
  5011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5012 (eval $ac_compile) 2>conftest.er1
  5013 ac_status=$?
  5014 grep -v '^ *+' conftest.er1 >conftest.err
  5015 rm -f conftest.er1
  5016 cat conftest.err >&5
  5017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5018 (exit $ac_status); } &&
  5019 { ac_try='test -z "$ac_c_werror_flag"
  5020 || test ! -s conftest.err'
  5021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5022 (eval $ac_try) 2>&5
  5023 ac_status=$?
  5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5025 (exit $ac_status); }; } &&
  5026 { ac_try='test -s conftest.$ac_objext'
  5027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5028 (eval $ac_try) 2>&5
  5029 ac_status=$?
  5030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5031 (exit $ac_status); }; }; then
  5032 ac_hi=$ac_mid
  5033 else
  5034 echo "$as_me: failed program was:" >&5
  5035 sed 's/^/| /' conftest.$ac_ext >&5
  5036
  5037 ac_lo=`expr '(' $ac_mid ')' + 1`
  5038 fi
  5039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5040 done
  5041 case $ac_lo in
  5042 ?*) ac_cv_sizeof_long=$ac_lo;;
  5043 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
  5044 See \`config.log' for more details." >&5
  5045 echo "$as_me: error: cannot compute sizeof (long), 77
  5046 See \`config.log' for more details." >&2;}
  5047 { (exit 1); exit 1; }; } ;;
  5048 esac
  5049 else
  5050 if test "$cross_compiling" = yes; then
  5051 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  5052 See \`config.log' for more details." >&5
  5053 echo "$as_me: error: cannot run test program while cross compiling
  5054 See \`config.log' for more details." >&2;}
  5055 { (exit 1); exit 1; }; }
  5056 else
  5057 cat >conftest.$ac_ext <<_ACEOF
  5058 /* confdefs.h. */
  5059 _ACEOF
  5060 cat confdefs.h >>conftest.$ac_ext
  5061 cat >>conftest.$ac_ext <<_ACEOF
  5062 /* end confdefs.h. */
  5063 $ac_includes_default
  5064 long longval () { return (long) (sizeof (long)); }
  5065 unsigned long ulongval () { return (long) (sizeof (long)); }
  5066 #include <stdio.h>
  5067 #include <stdlib.h>
  5068 int
  5069 main ()
  5070 {
  5071
  5072 FILE *f = fopen ("conftest.val", "w");
  5073 if (! f)
  5074 exit (1);
  5075 if (((long) (sizeof (long))) < 0)
  5076 {
  5077 long i = longval ();
  5078 if (i != ((long) (sizeof (long))))
  5079 exit (1);
  5080 fprintf (f, "%ld\n", i);
  5081 }
  5082 else
  5083 {
  5084 unsigned long i = ulongval ();
  5085 if (i != ((long) (sizeof (long))))
  5086 exit (1);
  5087 fprintf (f, "%lu\n", i);
  5088 }
  5089 exit (ferror (f) || fclose (f) != 0);
  5090
  5091 ;
  5092 return 0;
  5093 }
  5094 _ACEOF
  5095 rm -f conftest$ac_exeext
  5096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5097 (eval $ac_link) 2>&5
  5098 ac_status=$?
  5099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5100 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  5101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5102 (eval $ac_try) 2>&5
  5103 ac_status=$?
  5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5105 (exit $ac_status); }; }; then
  5106 ac_cv_sizeof_long=`cat conftest.val`
  5107 else
  5108 echo "$as_me: program exited with status $ac_status" >&5
  5109 echo "$as_me: failed program was:" >&5
  5110 sed 's/^/| /' conftest.$ac_ext >&5
  5111
  5112 ( exit $ac_status )
  5113 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
  5114 See \`config.log' for more details." >&5
  5115 echo "$as_me: error: cannot compute sizeof (long), 77
  5116 See \`config.log' for more details." >&2;}
  5117 { (exit 1); exit 1; }; }
  5118 fi
  5119 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5120 fi
  5121 fi
  5122 rm -f conftest.val
  5123 else
  5124 ac_cv_sizeof_long=0
  5125 fi
  5126 fi
  5127 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
  5128 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
  5129 cat >>confdefs.h <<_ACEOF
  5130 #define SIZEOF_LONG $ac_cv_sizeof_long
  5131 _ACEOF
  5132
  5133
  5134 echo "$as_me:$LINENO: checking for long long" >&5
  5135 echo $ECHO_N "checking for long long... $ECHO_C" >&6
  5136 if test "${ac_cv_type_long_long+set}" = set; then
  5137 echo $ECHO_N "(cached) $ECHO_C" >&6
  5138 else
  5139 cat >conftest.$ac_ext <<_ACEOF
  5140 /* confdefs.h. */
  5141 _ACEOF
  5142 cat confdefs.h >>conftest.$ac_ext
  5143 cat >>conftest.$ac_ext <<_ACEOF
  5144 /* end confdefs.h. */
  5145 $ac_includes_default
  5146 int
  5147 main ()
  5148 {
  5149 if ((long long *) 0)
  5150 return 0;
  5151 if (sizeof (long long))
  5152 return 0;
  5153 ;
  5154 return 0;
  5155 }
  5156 _ACEOF
  5157 rm -f conftest.$ac_objext
  5158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5159 (eval $ac_compile) 2>conftest.er1
  5160 ac_status=$?
  5161 grep -v '^ *+' conftest.er1 >conftest.err
  5162 rm -f conftest.er1
  5163 cat conftest.err >&5
  5164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5165 (exit $ac_status); } &&
  5166 { ac_try='test -z "$ac_c_werror_flag"
  5167 || test ! -s conftest.err'
  5168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5169 (eval $ac_try) 2>&5
  5170 ac_status=$?
  5171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5172 (exit $ac_status); }; } &&
  5173 { ac_try='test -s conftest.$ac_objext'
  5174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5175 (eval $ac_try) 2>&5
  5176 ac_status=$?
  5177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5178 (exit $ac_status); }; }; then
  5179 ac_cv_type_long_long=yes
  5180 else
  5181 echo "$as_me: failed program was:" >&5
  5182 sed 's/^/| /' conftest.$ac_ext >&5
  5183
  5184 ac_cv_type_long_long=no
  5185 fi
  5186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5187 fi
  5188 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
  5189 echo "${ECHO_T}$ac_cv_type_long_long" >&6
  5190 if test $ac_cv_type_long_long = yes; then
  5191
  5192 cat >>confdefs.h <<_ACEOF
  5193 #define HAVE_LONG_LONG 1
  5194 _ACEOF
  5195
  5196 echo "$as_me:$LINENO: checking for long long" >&5
  5197 echo $ECHO_N "checking for long long... $ECHO_C" >&6
  5198 if test "${ac_cv_type_long_long+set}" = set; then
  5199 echo $ECHO_N "(cached) $ECHO_C" >&6
  5200 else
  5201 cat >conftest.$ac_ext <<_ACEOF
  5202 /* confdefs.h. */
  5203 _ACEOF
  5204 cat confdefs.h >>conftest.$ac_ext
  5205 cat >>conftest.$ac_ext <<_ACEOF
  5206 /* end confdefs.h. */
  5207 $ac_includes_default
  5208 int
  5209 main ()
  5210 {
  5211 if ((long long *) 0)
  5212 return 0;
  5213 if (sizeof (long long))
  5214 return 0;
  5215 ;
  5216 return 0;
  5217 }
  5218 _ACEOF
  5219 rm -f conftest.$ac_objext
  5220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5221 (eval $ac_compile) 2>conftest.er1
  5222 ac_status=$?
  5223 grep -v '^ *+' conftest.er1 >conftest.err
  5224 rm -f conftest.er1
  5225 cat conftest.err >&5
  5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5227 (exit $ac_status); } &&
  5228 { ac_try='test -z "$ac_c_werror_flag"
  5229 || test ! -s conftest.err'
  5230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5231 (eval $ac_try) 2>&5
  5232 ac_status=$?
  5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5234 (exit $ac_status); }; } &&
  5235 { ac_try='test -s conftest.$ac_objext'
  5236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5237 (eval $ac_try) 2>&5
  5238 ac_status=$?
  5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5240 (exit $ac_status); }; }; then
  5241 ac_cv_type_long_long=yes
  5242 else
  5243 echo "$as_me: failed program was:" >&5
  5244 sed 's/^/| /' conftest.$ac_ext >&5
  5245
  5246 ac_cv_type_long_long=no
  5247 fi
  5248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5249 fi
  5250 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
  5251 echo "${ECHO_T}$ac_cv_type_long_long" >&6
  5252
  5253 echo "$as_me:$LINENO: checking size of long long" >&5
  5254 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
  5255 if test "${ac_cv_sizeof_long_long+set}" = set; then
  5256 echo $ECHO_N "(cached) $ECHO_C" >&6
  5257 else
  5258 if test "$ac_cv_type_long_long" = yes; then
  5259 # The cast to unsigned long works around a bug in the HP C Compiler
  5260 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  5261 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  5262 # This bug is HP SR number 8606223364.
  5263 if test "$cross_compiling" = yes; then
  5264 # Depending upon the size, compute the lo and hi bounds.
  5265 cat >conftest.$ac_ext <<_ACEOF
  5266 /* confdefs.h. */
  5267 _ACEOF
  5268 cat confdefs.h >>conftest.$ac_ext
  5269 cat >>conftest.$ac_ext <<_ACEOF
  5270 /* end confdefs.h. */
  5271 $ac_includes_default
  5272 int
  5273 main ()
  5274 {
  5275 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
  5276 test_array [0] = 0
  5277
  5278 ;
  5279 return 0;
  5280 }
  5281 _ACEOF
  5282 rm -f conftest.$ac_objext
  5283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5284 (eval $ac_compile) 2>conftest.er1
  5285 ac_status=$?
  5286 grep -v '^ *+' conftest.er1 >conftest.err
  5287 rm -f conftest.er1
  5288 cat conftest.err >&5
  5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5290 (exit $ac_status); } &&
  5291 { ac_try='test -z "$ac_c_werror_flag"
  5292 || test ! -s conftest.err'
  5293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5294 (eval $ac_try) 2>&5
  5295 ac_status=$?
  5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5297 (exit $ac_status); }; } &&
  5298 { ac_try='test -s conftest.$ac_objext'
  5299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5300 (eval $ac_try) 2>&5
  5301 ac_status=$?
  5302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5303 (exit $ac_status); }; }; then
  5304 ac_lo=0 ac_mid=0
  5305 while :; do
  5306 cat >conftest.$ac_ext <<_ACEOF
  5307 /* confdefs.h. */
  5308 _ACEOF
  5309 cat confdefs.h >>conftest.$ac_ext