2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
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 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
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 \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
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 ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
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
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
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
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
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
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
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
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 |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
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; }; }
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).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe 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
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
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'"
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'"
235 # We need space, tab and new line, in precisely that order.
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`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
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}
267 # Identity of this package.
274 ac_unique_file="Makefile.conf.in"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MKDIR RM CP LN TAR RPM SED FIND CPP EGREP LD ac_ct_LD AS ac_ct_AS OBJCOPY ac_ct_OBJCOPY I386_CC I386_CPP I386_LD I386_AS I386_OBJCOPY IA64_CC IA64_CPP IA64_LD IA64_AS IA64_OBJCOPY HOST_CC HOST_CFLAGS I386_CFLAGS I386_ASFLAGS I386_LDFLAGS IA64_CFLAGS IA64_ASFLAGS IA64_LDFLAGS LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
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'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
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 ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
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" ;;
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'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
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 ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
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 ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
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 ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
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 ;;
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 ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
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 ;;
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 ;;
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 ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
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 ;;
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 ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
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'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
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" ;;
609 # Obsolete; use --with-x.
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 ;;
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 ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
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'"
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}
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; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
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
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
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.
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
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
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 ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
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; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
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}
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
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --build=BUILD configure for building on BUILD [guessed]
836 --host=HOST cross-compile to build programs to run on HOST [BUILD]
840 if test -n "$ac_init_help"; then
845 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
846 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
847 --with-i386 enable building i386 code
848 --with-ia64 enable building ia64 code
850 Some influential environment variables:
851 CC C compiler command
852 CFLAGS C compiler flags
853 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
854 nonstandard directory <lib dir>
855 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
856 headers in a nonstandard directory <include dir>
859 Use these variables to override the choices made by `configure' or to help
860 it to find libraries and programs with nonstandard names/locations.
865 if test "$ac_init_help" = "recursive"; then
866 # If there are subdirs, report their specific --help.
868 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
869 test -d $ac_dir || continue
872 if test "$ac_dir" != .; then
873 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
874 # A "../" for each directory in $ac_dir_suffix.
875 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
877 ac_dir_suffix= ac_top_builddir=
881 .) # No --srcdir option. We are building in place.
883 if test -z "$ac_top_builddir"; then
886 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
888 [\\/]* | ?:[\\/]* ) # Absolute path.
889 ac_srcdir=$srcdir$ac_dir_suffix;
890 ac_top_srcdir=$srcdir ;;
892 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
893 ac_top_srcdir=$ac_top_builddir$srcdir ;;
896 # Do not use `cd foo && pwd` to compute absolute paths, because
897 # the directories may not exist.
899 .) ac_abs_builddir="$ac_dir";;
902 .) ac_abs_builddir=`pwd`;;
903 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
904 *) ac_abs_builddir=`pwd`/"$ac_dir";;
907 case $ac_abs_builddir in
908 .) ac_abs_top_builddir=${ac_top_builddir}.;;
910 case ${ac_top_builddir}. in
911 .) ac_abs_top_builddir=$ac_abs_builddir;;
912 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
913 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
916 case $ac_abs_builddir in
917 .) ac_abs_srcdir=$ac_srcdir;;
920 .) ac_abs_srcdir=$ac_abs_builddir;;
921 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
922 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
925 case $ac_abs_builddir in
926 .) ac_abs_top_srcdir=$ac_top_srcdir;;
928 case $ac_top_srcdir in
929 .) ac_abs_top_srcdir=$ac_abs_builddir;;
930 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
931 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
936 # Check for guested configure; otherwise get Cygnus style configure.
937 if test -f $ac_srcdir/configure.gnu; then
939 $SHELL $ac_srcdir/configure.gnu --help=recursive
940 elif test -f $ac_srcdir/configure; then
942 $SHELL $ac_srcdir/configure --help=recursive
943 elif test -f $ac_srcdir/configure.ac ||
944 test -f $ac_srcdir/configure.in; then
948 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
954 test -n "$ac_init_help" && exit 0
955 if $ac_init_version; then
958 Copyright (C) 2003 Free Software Foundation, Inc.
959 This configure script is free software; the Free Software Foundation
960 gives unlimited permission to copy, distribute and modify it.
966 This file contains any messages produced by compilers while
967 running configure, to aid debugging if configure makes a mistake.
969 It was created by $as_me, which was
970 generated by GNU Autoconf 2.59. Invocation command line was
981 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
982 uname -m = `(uname -m) 2>/dev/null || echo unknown`
983 uname -r = `(uname -r) 2>/dev/null || echo unknown`
984 uname -s = `(uname -s) 2>/dev/null || echo unknown`
985 uname -v = `(uname -v) 2>/dev/null || echo unknown`
987 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
988 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
990 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
991 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
992 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
993 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
994 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
995 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
996 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1004 test -z "$as_dir" && as_dir=.
1005 echo "PATH: $as_dir"
1020 # Keep a trace of the command line.
1021 # Strip out --no-create and --no-recursion so they do not pile up.
1022 # Strip out --silent because we don't want to record it for future runs.
1023 # Also quote any args containing shell meta-characters.
1024 # Make two passes to allow for proper duplicate-argument suppression.
1029 ac_must_keep_next=false
1035 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1036 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1037 | -silent | --silent | --silen | --sile | --sil)
1039 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1040 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1043 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1045 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1046 if test $ac_must_keep_next = true; then
1047 ac_must_keep_next=false # Got value, back to normal.
1050 *=* | --config-cache | -C | -disable-* | --disable-* \
1051 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1052 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1053 | -with-* | --with-* | -without-* | --without-* | --x)
1054 case "$ac_configure_args0 " in
1055 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1058 -* ) ac_must_keep_next=true ;;
1061 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1062 # Get rid of the leading space.
1068 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1069 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1071 # When interrupted or exit'd, cleanup temporary files, and complete
1072 # config.log. We remove comments because anyway the quotes in there
1073 # would cause problems or look ugly.
1074 # WARNING: Be sure not to use single quotes in there, as some shells,
1075 # such as our DU 5.0 friend, will then `close' the trap.
1076 trap 'exit_status=$?
1077 # Save into config.log some information that might help in debugging.
1082 ## ---------------- ##
1083 ## Cache variables. ##
1084 ## ---------------- ##
1087 # The following way of writing the cache mishandles newlines in values,
1090 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1093 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1094 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1098 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1105 ## ----------------- ##
1106 ## Output variables. ##
1107 ## ----------------- ##
1110 for ac_var in $ac_subst_vars
1112 eval ac_val=$`echo $ac_var`
1113 echo "$ac_var='"'"'$ac_val'"'"'"
1117 if test -n "$ac_subst_files"; then
1124 for ac_var in $ac_subst_files
1126 eval ac_val=$`echo $ac_var`
1127 echo "$ac_var='"'"'$ac_val'"'"'"
1132 if test -s confdefs.h; then
1139 sed "/^$/d" confdefs.h | sort
1142 test "$ac_signal" != 0 &&
1143 echo "$as_me: caught signal $ac_signal"
1144 echo "$as_me: exit $exit_status"
1146 rm -f core *.core &&
1147 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1150 for ac_signal in 1 2 13 15; do
1151 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1155 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1156 rm -rf conftest* confdefs.h
1157 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1160 # Predefined preprocessor variables.
1162 cat >>confdefs.h <<_ACEOF
1163 #define PACKAGE_NAME "$PACKAGE_NAME"
1167 cat >>confdefs.h <<_ACEOF
1168 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1172 cat >>confdefs.h <<_ACEOF
1173 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1177 cat >>confdefs.h <<_ACEOF
1178 #define PACKAGE_STRING "$PACKAGE_STRING"
1182 cat >>confdefs.h <<_ACEOF
1183 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1187 # Let the site file select an alternate cache file if it wants to.
1188 # Prefer explicitly selected file to automatically selected ones.
1189 if test -z "$CONFIG_SITE"; then
1190 if test "x$prefix" != xNONE; then
1191 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1193 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1196 for ac_site_file in $CONFIG_SITE; do
1197 if test -r "$ac_site_file"; then
1198 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1199 echo "$as_me: loading site script $ac_site_file" >&6;}
1200 sed 's/^/| /' "$ac_site_file" >&5
1205 if test -r "$cache_file"; then
1206 # Some versions of bash will fail to source /dev/null (special
1207 # files actually), so we avoid doing that.
1208 if test -f "$cache_file"; then
1209 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1210 echo "$as_me: loading cache $cache_file" >&6;}
1212 [\\/]* | ?:[\\/]* ) . $cache_file;;
1213 *) . ./$cache_file;;
1217 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1218 echo "$as_me: creating cache $cache_file" >&6;}
1222 # Check that the precious variables saved in the cache have kept the same
1224 ac_cache_corrupted=false
1225 for ac_var in `(set) 2>&1 |
1226 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1227 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1228 eval ac_new_set=\$ac_env_${ac_var}_set
1229 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1230 eval ac_new_val="\$ac_env_${ac_var}_value"
1231 case $ac_old_set,$ac_new_set in
1233 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1234 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1235 ac_cache_corrupted=: ;;
1237 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1238 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1239 ac_cache_corrupted=: ;;
1242 if test "x$ac_old_val" != "x$ac_new_val"; then
1243 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1244 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1245 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1246 echo "$as_me: former value: $ac_old_val" >&2;}
1247 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1248 echo "$as_me: current value: $ac_new_val" >&2;}
1249 ac_cache_corrupted=:
1252 # Pass precious variables to config.status.
1253 if test "$ac_new_set" = set; then
1255 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1256 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1257 *) ac_arg=$ac_var=$ac_new_val ;;
1259 case " $ac_configure_args " in
1260 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1261 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1265 if $ac_cache_corrupted; then
1266 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1267 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1268 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1269 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1270 { (exit 1); exit 1; }; }
1274 ac_cpp='$CPP $CPPFLAGS'
1275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1298 for ac_dir in ./config $srcdir/./config; do
1299 if test -f $ac_dir/install-sh; then
1301 ac_install_sh="$ac_aux_dir/install-sh -c"
1303 elif test -f $ac_dir/install.sh; then
1305 ac_install_sh="$ac_aux_dir/install.sh -c"
1307 elif test -f $ac_dir/shtool; then
1309 ac_install_sh="$ac_aux_dir/shtool install -c"
1313 if test -z "$ac_aux_dir"; then
1314 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ./config $srcdir/./config" >&5
1315 echo "$as_me: error: cannot find install-sh or install.sh in ./config $srcdir/./config" >&2;}
1316 { (exit 1); exit 1; }; }
1318 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1319 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1320 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1325 # Make sure we can run config.sub.
1326 $ac_config_sub sun4 >/dev/null 2>&1 ||
1327 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1328 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1329 { (exit 1); exit 1; }; }
1331 echo "$as_me:$LINENO: checking build system type" >&5
1332 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1333 if test "${ac_cv_build+set}" = set; then
1334 echo $ECHO_N "(cached) $ECHO_C" >&6
1336 ac_cv_build_alias=$build_alias
1337 test -z "$ac_cv_build_alias" &&
1338 ac_cv_build_alias=`$ac_config_guess`
1339 test -z "$ac_cv_build_alias" &&
1340 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1341 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1342 { (exit 1); exit 1; }; }
1343 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1344 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1345 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1346 { (exit 1); exit 1; }; }
1349 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1350 echo "${ECHO_T}$ac_cv_build" >&6
1352 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1353 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1354 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1357 echo "$as_me:$LINENO: checking host system type" >&5
1358 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1359 if test "${ac_cv_host+set}" = set; then
1360 echo $ECHO_N "(cached) $ECHO_C" >&6
1362 ac_cv_host_alias=$host_alias
1363 test -z "$ac_cv_host_alias" &&
1364 ac_cv_host_alias=$ac_cv_build_alias
1365 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1366 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1367 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1368 { (exit 1); exit 1; }; }
1371 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1372 echo "${ECHO_T}$ac_cv_host" >&6
1374 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1375 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1376 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1379 #AC_CANONICAL_TARGET
1387 target_cpu="$host_cpu"
1394 # Check whether --with-i386 or --without-i386 was given.
1395 if test "${with_i386+set}" = set; then
1396 withval="$with_i386"
1397 if test "withval" = "yes" ; then with_i386="i386"; else with_i386="$withval"; fi
1403 # Check whether --with-ia64 or --without-ia64 was given.
1404 if test "${with_ia64+set}" = set; then
1405 withval="$with_ia64"
1406 if test "withval" = "yes" ; then with_ia64="ia64"; else with_ia64="$withval"; fi
1412 if test "$with_i386" = "no" &&
1413 test "$with_ia64" = "no" ; then
1414 with_default=`echo $target_cpu | tr a-z A-Z`
1417 { echo "$as_me:$LINENO: with_default=$with_default" >&5
1418 echo "$as_me: with_default=$with_default" >&6;}
1419 { echo "$as_me:$LINENO: with_i386=$with_i386" >&5
1420 echo "$as_me: with_i386=$with_i386" >&6;}
1421 { echo "$as_me:$LINENO: with_ia64=$with_ia64" >&5
1422 echo "$as_me: with_ia64=$with_ia64" >&6;}
1426 ac_cpp='$CPP $CPPFLAGS'
1427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1430 if test -n "$ac_tool_prefix"; then
1431 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1432 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1433 echo "$as_me:$LINENO: checking for $ac_word" >&5
1434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1435 if test "${ac_cv_prog_CC+set}" = set; then
1436 echo $ECHO_N "(cached) $ECHO_C" >&6
1438 if test -n "$CC"; then
1439 ac_cv_prog_CC="$CC" # Let the user override the test.
1441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1445 test -z "$as_dir" && as_dir=.
1446 for ac_exec_ext in '' $ac_executable_extensions; do
1447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1448 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1458 if test -n "$CC"; then
1459 echo "$as_me:$LINENO: result: $CC" >&5
1460 echo "${ECHO_T}$CC" >&6
1462 echo "$as_me:$LINENO: result: no" >&5
1463 echo "${ECHO_T}no" >&6
1467 if test -z "$ac_cv_prog_CC"; then
1469 # Extract the first word of "gcc", so it can be a program name with args.
1470 set dummy gcc; ac_word=$2
1471 echo "$as_me:$LINENO: checking for $ac_word" >&5
1472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1473 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1474 echo $ECHO_N "(cached) $ECHO_C" >&6
1476 if test -n "$ac_ct_CC"; then
1477 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1483 test -z "$as_dir" && as_dir=.
1484 for ac_exec_ext in '' $ac_executable_extensions; do
1485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1486 ac_cv_prog_ac_ct_CC="gcc"
1487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1495 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1496 if test -n "$ac_ct_CC"; then
1497 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1498 echo "${ECHO_T}$ac_ct_CC" >&6
1500 echo "$as_me:$LINENO: result: no" >&5
1501 echo "${ECHO_T}no" >&6
1509 if test -z "$CC"; then
1510 if test -n "$ac_tool_prefix"; then
1511 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1512 set dummy ${ac_tool_prefix}cc; ac_word=$2
1513 echo "$as_me:$LINENO: checking for $ac_word" >&5
1514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1515 if test "${ac_cv_prog_CC+set}" = set; then
1516 echo $ECHO_N "(cached) $ECHO_C" >&6
1518 if test -n "$CC"; then
1519 ac_cv_prog_CC="$CC" # Let the user override the test.
1521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1525 test -z "$as_dir" && as_dir=.
1526 for ac_exec_ext in '' $ac_executable_extensions; do
1527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1528 ac_cv_prog_CC="${ac_tool_prefix}cc"
1529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1538 if test -n "$CC"; then
1539 echo "$as_me:$LINENO: result: $CC" >&5
1540 echo "${ECHO_T}$CC" >&6
1542 echo "$as_me:$LINENO: result: no" >&5
1543 echo "${ECHO_T}no" >&6
1547 if test -z "$ac_cv_prog_CC"; then
1549 # Extract the first word of "cc", so it can be a program name with args.
1550 set dummy cc; ac_word=$2
1551 echo "$as_me:$LINENO: checking for $ac_word" >&5
1552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1553 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 if test -n "$ac_ct_CC"; then
1557 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1563 test -z "$as_dir" && as_dir=.
1564 for ac_exec_ext in '' $ac_executable_extensions; do
1565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1566 ac_cv_prog_ac_ct_CC="cc"
1567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1575 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1576 if test -n "$ac_ct_CC"; then
1577 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1578 echo "${ECHO_T}$ac_ct_CC" >&6
1580 echo "$as_me:$LINENO: result: no" >&5
1581 echo "${ECHO_T}no" >&6
1590 if test -z "$CC"; then
1591 # Extract the first word of "cc", so it can be a program name with args.
1592 set dummy cc; ac_word=$2
1593 echo "$as_me:$LINENO: checking for $ac_word" >&5
1594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1595 if test "${ac_cv_prog_CC+set}" = set; then
1596 echo $ECHO_N "(cached) $ECHO_C" >&6
1598 if test -n "$CC"; then
1599 ac_cv_prog_CC="$CC" # Let the user override the test.
1602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1606 test -z "$as_dir" && as_dir=.
1607 for ac_exec_ext in '' $ac_executable_extensions; do
1608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1609 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1610 ac_prog_rejected=yes
1614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1620 if test $ac_prog_rejected = yes; then
1621 # We found a bogon in the path, so make sure we never use it.
1622 set dummy $ac_cv_prog_CC
1624 if test $# != 0; then
1625 # We chose a different compiler from the bogus one.
1626 # However, it has the same basename, so the bogon will be chosen
1627 # first if we set CC to just the basename; use the full file name.
1629 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1635 if test -n "$CC"; then
1636 echo "$as_me:$LINENO: result: $CC" >&5
1637 echo "${ECHO_T}$CC" >&6
1639 echo "$as_me:$LINENO: result: no" >&5
1640 echo "${ECHO_T}no" >&6
1644 if test -z "$CC"; then
1645 if test -n "$ac_tool_prefix"; then
1648 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1649 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1650 echo "$as_me:$LINENO: checking for $ac_word" >&5
1651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1652 if test "${ac_cv_prog_CC+set}" = set; then
1653 echo $ECHO_N "(cached) $ECHO_C" >&6
1655 if test -n "$CC"; then
1656 ac_cv_prog_CC="$CC" # Let the user override the test.
1658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1662 test -z "$as_dir" && as_dir=.
1663 for ac_exec_ext in '' $ac_executable_extensions; do
1664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1665 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1675 if test -n "$CC"; then
1676 echo "$as_me:$LINENO: result: $CC" >&5
1677 echo "${ECHO_T}$CC" >&6
1679 echo "$as_me:$LINENO: result: no" >&5
1680 echo "${ECHO_T}no" >&6
1683 test -n "$CC" && break
1686 if test -z "$CC"; then
1690 # Extract the first word of "$ac_prog", so it can be a program name with args.
1691 set dummy $ac_prog; ac_word=$2
1692 echo "$as_me:$LINENO: checking for $ac_word" >&5
1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1694 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1695 echo $ECHO_N "(cached) $ECHO_C" >&6
1697 if test -n "$ac_ct_CC"; then
1698 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1704 test -z "$as_dir" && as_dir=.
1705 for ac_exec_ext in '' $ac_executable_extensions; do
1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1707 ac_cv_prog_ac_ct_CC="$ac_prog"
1708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1716 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1717 if test -n "$ac_ct_CC"; then
1718 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1719 echo "${ECHO_T}$ac_ct_CC" >&6
1721 echo "$as_me:$LINENO: result: no" >&5
1722 echo "${ECHO_T}no" >&6
1725 test -n "$ac_ct_CC" && break
1734 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1735 See \`config.log' for more details." >&5
1736 echo "$as_me: error: no acceptable C compiler found in \$PATH
1737 See \`config.log' for more details." >&2;}
1738 { (exit 1); exit 1; }; }
1740 # Provide some information about the compiler.
1741 echo "$as_me:$LINENO:" \
1742 "checking for C compiler version" >&5
1743 ac_compiler=`set X $ac_compile; echo $2`
1744 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1745 (eval $ac_compiler --version </dev/null >&5) 2>&5
1747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1748 (exit $ac_status); }
1749 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1750 (eval $ac_compiler -v </dev/null >&5) 2>&5
1752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1753 (exit $ac_status); }
1754 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1755 (eval $ac_compiler -V </dev/null >&5) 2>&5
1757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758 (exit $ac_status); }
1760 cat >conftest.$ac_ext <<_ACEOF
1763 cat confdefs.h >>conftest.$ac_ext
1764 cat >>conftest.$ac_ext <<_ACEOF
1765 /* end confdefs.h. */
1775 ac_clean_files_save=$ac_clean_files
1776 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1777 # Try to create an executable without -o first, disregard a.out.
1778 # It will help us diagnose broken compilers, and finding out an intuition
1780 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1781 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1782 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1783 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1784 (eval $ac_link_default) 2>&5
1786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1787 (exit $ac_status); }; then
1788 # Find the output, starting from the most likely. This scheme is
1789 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1792 # Be careful to initialize this variable, since it used to be cached.
1793 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1795 # b.out is created by i960 compilers.
1796 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1798 test -f "$ac_file" || continue
1800 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1803 # This is the source file.
1806 # We found the default executable, but exeext='' is most
1810 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1811 # FIXME: I believe we export ac_cv_exeext for Libtool,
1812 # but it would be cool to find out if it's true. Does anybody
1813 # maintain Libtool? --akim.
1821 echo "$as_me: failed program was:" >&5
1822 sed 's/^/| /' conftest.$ac_ext >&5
1824 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1825 See \`config.log' for more details." >&5
1826 echo "$as_me: error: C compiler cannot create executables
1827 See \`config.log' for more details." >&2;}
1828 { (exit 77); exit 77; }; }
1831 ac_exeext=$ac_cv_exeext
1832 echo "$as_me:$LINENO: result: $ac_file" >&5
1833 echo "${ECHO_T}$ac_file" >&6
1835 # Check the compiler produces executables we can run. If not, either
1836 # the compiler is broken, or we cross compile.
1837 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1838 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1839 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1840 # If not cross compiling, check that we can run a simple program.
1841 if test "$cross_compiling" != yes; then
1842 if { ac_try='./$ac_file'
1843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1847 (exit $ac_status); }; }; then
1850 if test "$cross_compiling" = maybe; then
1853 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1854 If you meant to cross compile, use \`--host'.
1855 See \`config.log' for more details." >&5
1856 echo "$as_me: error: cannot run C compiled programs.
1857 If you meant to cross compile, use \`--host'.
1858 See \`config.log' for more details." >&2;}
1859 { (exit 1); exit 1; }; }
1863 echo "$as_me:$LINENO: result: yes" >&5
1864 echo "${ECHO_T}yes" >&6
1866 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1867 ac_clean_files=$ac_clean_files_save
1868 # Check the compiler produces executables we can run. If not, either
1869 # the compiler is broken, or we cross compile.
1870 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1871 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1872 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1873 echo "${ECHO_T}$cross_compiling" >&6
1875 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1876 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1878 (eval $ac_link) 2>&5
1880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1881 (exit $ac_status); }; then
1882 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1883 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1884 # work properly (i.e., refer to `conftest.exe'), while it won't with
1886 for ac_file in conftest.exe conftest conftest.*; do
1887 test -f "$ac_file" || continue
1889 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1890 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1897 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1898 See \`config.log' for more details." >&5
1899 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1900 See \`config.log' for more details." >&2;}
1901 { (exit 1); exit 1; }; }
1904 rm -f conftest$ac_cv_exeext
1905 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1906 echo "${ECHO_T}$ac_cv_exeext" >&6
1908 rm -f conftest.$ac_ext
1909 EXEEXT=$ac_cv_exeext
1911 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1912 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1913 if test "${ac_cv_objext+set}" = set; then
1914 echo $ECHO_N "(cached) $ECHO_C" >&6
1916 cat >conftest.$ac_ext <<_ACEOF
1919 cat confdefs.h >>conftest.$ac_ext
1920 cat >>conftest.$ac_ext <<_ACEOF
1921 /* end confdefs.h. */
1931 rm -f conftest.o conftest.obj
1932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1933 (eval $ac_compile) 2>&5
1935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936 (exit $ac_status); }; then
1937 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1939 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1940 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1945 echo "$as_me: failed program was:" >&5
1946 sed 's/^/| /' conftest.$ac_ext >&5
1948 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1949 See \`config.log' for more details." >&5
1950 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1951 See \`config.log' for more details." >&2;}
1952 { (exit 1); exit 1; }; }
1955 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1957 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1958 echo "${ECHO_T}$ac_cv_objext" >&6
1959 OBJEXT=$ac_cv_objext
1961 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1962 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1963 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1964 echo $ECHO_N "(cached) $ECHO_C" >&6
1966 cat >conftest.$ac_ext <<_ACEOF
1969 cat confdefs.h >>conftest.$ac_ext
1970 cat >>conftest.$ac_ext <<_ACEOF
1971 /* end confdefs.h. */
1984 rm -f conftest.$ac_objext
1985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1986 (eval $ac_compile) 2>conftest.er1
1988 grep -v '^ *+' conftest.er1 >conftest.err
1990 cat conftest.err >&5
1991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1992 (exit $ac_status); } &&
1993 { ac_try='test -z "$ac_c_werror_flag"
1994 || test ! -s conftest.err'
1995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1999 (exit $ac_status); }; } &&
2000 { ac_try='test -s conftest.$ac_objext'
2001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2005 (exit $ac_status); }; }; then
2008 echo "$as_me: failed program was:" >&5
2009 sed 's/^/| /' conftest.$ac_ext >&5
2013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2014 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2017 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2018 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2019 GCC=`test $ac_compiler_gnu = yes && echo yes`
2020 ac_test_CFLAGS=${CFLAGS+set}
2021 ac_save_CFLAGS=$CFLAGS
2023 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2024 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2025 if test "${ac_cv_prog_cc_g+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 cat >conftest.$ac_ext <<_ACEOF
2031 cat confdefs.h >>conftest.$ac_ext
2032 cat >>conftest.$ac_ext <<_ACEOF
2033 /* end confdefs.h. */
2043 rm -f conftest.$ac_objext
2044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2045 (eval $ac_compile) 2>conftest.er1
2047 grep -v '^ *+' conftest.er1 >conftest.err
2049 cat conftest.err >&5
2050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2051 (exit $ac_status); } &&
2052 { ac_try='test -z "$ac_c_werror_flag"
2053 || test ! -s conftest.err'
2054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058 (exit $ac_status); }; } &&
2059 { ac_try='test -s conftest.$ac_objext'
2060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2064 (exit $ac_status); }; }; then
2067 echo "$as_me: failed program was:" >&5
2068 sed 's/^/| /' conftest.$ac_ext >&5
2072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2074 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2075 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2076 if test "$ac_test_CFLAGS" = set; then
2077 CFLAGS=$ac_save_CFLAGS
2078 elif test $ac_cv_prog_cc_g = yes; then
2079 if test "$GCC" = yes; then
2085 if test "$GCC" = yes; then
2091 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2092 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2093 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2096 ac_cv_prog_cc_stdc=no
2098 cat >conftest.$ac_ext <<_ACEOF
2101 cat confdefs.h >>conftest.$ac_ext
2102 cat >>conftest.$ac_ext <<_ACEOF
2103 /* end confdefs.h. */
2106 #include <sys/types.h>
2107 #include <sys/stat.h>
2108 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2109 struct buf { int x; };
2110 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2111 static char *e (p, i)
2117 static char *f (char * (*g) (char **, int), char **p, ...)
2122 s = g (p, va_arg (v,int));
2127 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2128 function prototypes and stuff, but not '\xHH' hex character constants.
2129 These don't provoke an error unfortunately, instead are silently treated
2130 as 'x'. The following induces an error, until -std1 is added to get
2131 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2132 array size at least. It's necessary to write '\x00'==0 to get something
2133 that's true only with -std1. */
2134 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2136 int test (int i, double x);
2137 struct s1 {int (*f) (int a);};
2138 struct s2 {int (*f) (double a);};
2139 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2145 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2150 # Don't try gcc -ansi; that turns off useful extensions and
2151 # breaks some systems' header files.
2152 # AIX -qlanglvl=ansi
2153 # Ultrix and OSF/1 -std1
2154 # HP-UX 10.20 and later -Ae
2155 # HP-UX older versions -Aa -D_HPUX_SOURCE
2156 # SVR4 -Xc -D__EXTENSIONS__
2157 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2159 CC="$ac_save_CC $ac_arg"
2160 rm -f conftest.$ac_objext
2161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2162 (eval $ac_compile) 2>conftest.er1
2164 grep -v '^ *+' conftest.er1 >conftest.err
2166 cat conftest.err >&5
2167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2168 (exit $ac_status); } &&
2169 { ac_try='test -z "$ac_c_werror_flag"
2170 || test ! -s conftest.err'
2171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); }; } &&
2176 { ac_try='test -s conftest.$ac_objext'
2177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 (exit $ac_status); }; }; then
2182 ac_cv_prog_cc_stdc=$ac_arg
2185 echo "$as_me: failed program was:" >&5
2186 sed 's/^/| /' conftest.$ac_ext >&5
2189 rm -f conftest.err conftest.$ac_objext
2191 rm -f conftest.$ac_ext conftest.$ac_objext
2196 case "x$ac_cv_prog_cc_stdc" in
2198 echo "$as_me:$LINENO: result: none needed" >&5
2199 echo "${ECHO_T}none needed" >&6 ;;
2201 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2202 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2203 CC="$CC $ac_cv_prog_cc_stdc" ;;
2206 # Some people use a C++ compiler to compile C. Since we use `exit',
2207 # in C++ we need to declare it. In case someone uses the same compiler
2208 # for both compiling C and C++ we need to have the C++ compiler decide
2209 # the declaration of exit, since it's the most demanding environment.
2210 cat >conftest.$ac_ext <<_ACEOF
2215 rm -f conftest.$ac_objext
2216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2217 (eval $ac_compile) 2>conftest.er1
2219 grep -v '^ *+' conftest.er1 >conftest.err
2221 cat conftest.err >&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); } &&
2224 { ac_try='test -z "$ac_c_werror_flag"
2225 || test ! -s conftest.err'
2226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2230 (exit $ac_status); }; } &&
2231 { ac_try='test -s conftest.$ac_objext'
2232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2236 (exit $ac_status); }; }; then
2237 for ac_declaration in \
2239 'extern "C" void std::exit (int) throw (); using std::exit;' \
2240 'extern "C" void std::exit (int); using std::exit;' \
2241 'extern "C" void exit (int) throw ();' \
2242 'extern "C" void exit (int);' \
2245 cat >conftest.$ac_ext <<_ACEOF
2248 cat confdefs.h >>conftest.$ac_ext
2249 cat >>conftest.$ac_ext <<_ACEOF
2250 /* end confdefs.h. */
2261 rm -f conftest.$ac_objext
2262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2263 (eval $ac_compile) 2>conftest.er1
2265 grep -v '^ *+' conftest.er1 >conftest.err
2267 cat conftest.err >&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); } &&
2270 { ac_try='test -z "$ac_c_werror_flag"
2271 || test ! -s conftest.err'
2272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); }; } &&
2277 { ac_try='test -s conftest.$ac_objext'
2278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2282 (exit $ac_status); }; }; then
2285 echo "$as_me: failed program was:" >&5
2286 sed 's/^/| /' conftest.$ac_ext >&5
2290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2291 cat >conftest.$ac_ext <<_ACEOF
2294 cat confdefs.h >>conftest.$ac_ext
2295 cat >>conftest.$ac_ext <<_ACEOF
2296 /* end confdefs.h. */
2306 rm -f conftest.$ac_objext
2307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2308 (eval $ac_compile) 2>conftest.er1
2310 grep -v '^ *+' conftest.er1 >conftest.err
2312 cat conftest.err >&5
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); } &&
2315 { ac_try='test -z "$ac_c_werror_flag"
2316 || test ! -s conftest.err'
2317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); }; } &&
2322 { ac_try='test -s conftest.$ac_objext'
2323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327 (exit $ac_status); }; }; then
2330 echo "$as_me: failed program was:" >&5
2331 sed 's/^/| /' conftest.$ac_ext >&5
2334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2337 if test -n "$ac_declaration"; then
2338 echo '#ifdef __cplusplus' >>confdefs.h
2339 echo $ac_declaration >>confdefs.h
2340 echo '#endif' >>confdefs.h
2344 echo "$as_me: failed program was:" >&5
2345 sed 's/^/| /' conftest.$ac_ext >&5
2348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2350 ac_cpp='$CPP $CPPFLAGS'
2351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2357 # Extract the first word of "mkdir", so it can be a program name with args.
2358 set dummy mkdir; ac_word=$2
2359 echo "$as_me:$LINENO: checking for $ac_word" >&5
2360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2361 if test "${ac_cv_prog_MKDIR+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6
2364 if test -n "$MKDIR"; then
2365 ac_cv_prog_MKDIR="$MKDIR" # Let the user override the test.
2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 test -z "$as_dir" && as_dir=.
2372 for ac_exec_ext in '' $ac_executable_extensions; do
2373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2374 ac_cv_prog_MKDIR="mkdir"
2375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2383 MKDIR=$ac_cv_prog_MKDIR
2384 if test -n "$MKDIR"; then
2385 echo "$as_me:$LINENO: result: $MKDIR" >&5
2386 echo "${ECHO_T}$MKDIR" >&6
2388 echo "$as_me:$LINENO: result: no" >&5
2389 echo "${ECHO_T}no" >&6
2392 # Extract the first word of "rm", so it can be a program name with args.
2393 set dummy rm; ac_word=$2
2394 echo "$as_me:$LINENO: checking for $ac_word" >&5
2395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2396 if test "${ac_cv_prog_RM+set}" = set; then
2397 echo $ECHO_N "(cached) $ECHO_C" >&6
2399 if test -n "$RM"; then
2400 ac_cv_prog_RM="$RM" # Let the user override the test.
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2406 test -z "$as_dir" && as_dir=.
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2419 if test -n "$RM"; then
2420 echo "$as_me:$LINENO: result: $RM" >&5
2421 echo "${ECHO_T}$RM" >&6
2423 echo "$as_me:$LINENO: result: no" >&5
2424 echo "${ECHO_T}no" >&6
2427 # Extract the first word of "cp", so it can be a program name with args.
2428 set dummy cp; ac_word=$2
2429 echo "$as_me:$LINENO: checking for $ac_word" >&5
2430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2431 if test "${ac_cv_prog_CP+set}" = set; then
2432 echo $ECHO_N "(cached) $ECHO_C" >&6
2434 if test -n "$CP"; then
2435 ac_cv_prog_CP="$CP" # Let the user override the test.
2437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2441 test -z "$as_dir" && as_dir=.
2442 for ac_exec_ext in '' $ac_executable_extensions; do
2443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2454 if test -n "$CP"; then
2455 echo "$as_me:$LINENO: result: $CP" >&5
2456 echo "${ECHO_T}$CP" >&6
2458 echo "$as_me:$LINENO: result: no" >&5
2459 echo "${ECHO_T}no" >&6
2462 # Extract the first word of "ln", so it can be a program name with args.
2463 set dummy ln; ac_word=$2
2464 echo "$as_me:$LINENO: checking for $ac_word" >&5
2465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2466 if test "${ac_cv_prog_LN+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 if test -n "$LN"; then
2470 ac_cv_prog_LN="$LN" # Let the user override the test.
2472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2476 test -z "$as_dir" && as_dir=.
2477 for ac_exec_ext in '' $ac_executable_extensions; do
2478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 if test -n "$LN"; then
2490 echo "$as_me:$LINENO: result: $LN" >&5
2491 echo "${ECHO_T}$LN" >&6
2493 echo "$as_me:$LINENO: result: no" >&5
2494 echo "${ECHO_T}no" >&6
2497 # Extract the first word of "tar", so it can be a program name with args.
2498 set dummy tar; ac_word=$2
2499 echo "$as_me:$LINENO: checking for $ac_word" >&5
2500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2501 if test "${ac_cv_prog_TAR+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 if test -n "$TAR"; then
2505 ac_cv_prog_TAR="$TAR" # Let the user override the test.
2507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511 test -z "$as_dir" && as_dir=.
2512 for ac_exec_ext in '' $ac_executable_extensions; do
2513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2514 ac_cv_prog_TAR="tar"
2515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 if test -n "$TAR"; then
2525 echo "$as_me:$LINENO: result: $TAR" >&5
2526 echo "${ECHO_T}$TAR" >&6
2528 echo "$as_me:$LINENO: result: no" >&5
2529 echo "${ECHO_T}no" >&6
2532 # Extract the first word of "rpm", so it can be a program name with args.
2533 set dummy rpm; ac_word=$2
2534 echo "$as_me:$LINENO: checking for $ac_word" >&5
2535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2536 if test "${ac_cv_prog_RPM+set}" = set; then
2537 echo $ECHO_N "(cached) $ECHO_C" >&6
2539 if test -n "$RPM"; then
2540 ac_cv_prog_RPM="$RPM" # Let the user override the test.
2542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2546 test -z "$as_dir" && as_dir=.
2547 for ac_exec_ext in '' $ac_executable_extensions; do
2548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2549 ac_cv_prog_RPM="rpm"
2550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2559 if test -n "$RPM"; then
2560 echo "$as_me:$LINENO: result: $RPM" >&5
2561 echo "${ECHO_T}$RPM" >&6
2563 echo "$as_me:$LINENO: result: no" >&5
2564 echo "${ECHO_T}no" >&6
2567 # Extract the first word of "sed", so it can be a program name with args.
2568 set dummy sed; ac_word=$2
2569 echo "$as_me:$LINENO: checking for $ac_word" >&5
2570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2571 if test "${ac_cv_prog_SED+set}" = set; then
2572 echo $ECHO_N "(cached) $ECHO_C" >&6
2574 if test -n "$SED"; then
2575 ac_cv_prog_SED="$SED" # Let the user override the test.
2577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581 test -z "$as_dir" && as_dir=.
2582 for ac_exec_ext in '' $ac_executable_extensions; do
2583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2584 ac_cv_prog_SED="sed"
2585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2594 if test -n "$SED"; then
2595 echo "$as_me:$LINENO: result: $SED" >&5
2596 echo "${ECHO_T}$SED" >&6
2598 echo "$as_me:$LINENO: result: no" >&5
2599 echo "${ECHO_T}no" >&6
2602 # Extract the first word of "find", so it can be a program name with args.
2603 set dummy find; ac_word=$2
2604 echo "$as_me:$LINENO: checking for $ac_word" >&5
2605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2606 if test "${ac_cv_prog_FIND+set}" = set; then
2607 echo $ECHO_N "(cached) $ECHO_C" >&6
2609 if test -n "$FIND"; then
2610 ac_cv_prog_FIND="$FIND" # Let the user override the test.
2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2616 test -z "$as_dir" && as_dir=.
2617 for ac_exec_ext in '' $ac_executable_extensions; do
2618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2619 ac_cv_prog_FIND="find"
2620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2628 FIND=$ac_cv_prog_FIND
2629 if test -n "$FIND"; then
2630 echo "$as_me:$LINENO: result: $FIND" >&5
2631 echo "${ECHO_T}$FIND" >&6
2633 echo "$as_me:$LINENO: result: no" >&5
2634 echo "${ECHO_T}no" >&6
2639 ac_cpp='$CPP $CPPFLAGS'
2640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2643 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2644 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2645 # On Suns, sometimes $CPP names a directory.
2646 if test -n "$CPP" && test -d "$CPP"; then
2649 if test -z "$CPP"; then
2650 if test "${ac_cv_prog_CPP+set}" = set; then
2651 echo $ECHO_N "(cached) $ECHO_C" >&6
2653 # Double quotes because CPP needs to be expanded
2654 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2657 for ac_c_preproc_warn_flag in '' yes
2659 # Use a header file that comes with gcc, so configuring glibc
2660 # with a fresh cross-compiler works.
2661 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2662 # <limits.h> exists even on freestanding compilers.
2663 # On the NeXT, cc -E runs the code through the compiler's parser,
2664 # not just through cpp. "Syntax error" is here to catch this case.
2665 cat >conftest.$ac_ext <<_ACEOF
2668 cat confdefs.h >>conftest.$ac_ext
2669 cat >>conftest.$ac_ext <<_ACEOF
2670 /* end confdefs.h. */
2672 # include <limits.h>
2674 # include <assert.h>
2678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2679 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2681 grep -v '^ *+' conftest.er1 >conftest.err
2683 cat conftest.err >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); } >/dev/null; then
2686 if test -s conftest.err; then
2687 ac_cpp_err=$ac_c_preproc_warn_flag
2688 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2695 if test -z "$ac_cpp_err"; then
2698 echo "$as_me: failed program was:" >&5
2699 sed 's/^/| /' conftest.$ac_ext >&5
2701 # Broken: fails on valid input.
2704 rm -f conftest.err conftest.$ac_ext
2706 # OK, works on sane cases. Now check whether non-existent headers
2707 # can be detected and how.
2708 cat >conftest.$ac_ext <<_ACEOF
2711 cat confdefs.h >>conftest.$ac_ext
2712 cat >>conftest.$ac_ext <<_ACEOF
2713 /* end confdefs.h. */
2714 #include <ac_nonexistent.h>
2716 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2717 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2719 grep -v '^ *+' conftest.er1 >conftest.err
2721 cat conftest.err >&5
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); } >/dev/null; then
2724 if test -s conftest.err; then
2725 ac_cpp_err=$ac_c_preproc_warn_flag
2726 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2733 if test -z "$ac_cpp_err"; then
2734 # Broken: success on invalid input.
2737 echo "$as_me: failed program was:" >&5
2738 sed 's/^/| /' conftest.$ac_ext >&5
2740 # Passes both tests.
2744 rm -f conftest.err conftest.$ac_ext
2747 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2748 rm -f conftest.err conftest.$ac_ext
2749 if $ac_preproc_ok; then
2761 echo "$as_me:$LINENO: result: $CPP" >&5
2762 echo "${ECHO_T}$CPP" >&6
2764 for ac_c_preproc_warn_flag in '' yes
2766 # Use a header file that comes with gcc, so configuring glibc
2767 # with a fresh cross-compiler works.
2768 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2769 # <limits.h> exists even on freestanding compilers.
2770 # On the NeXT, cc -E runs the code through the compiler's parser,
2771 # not just through cpp. "Syntax error" is here to catch this case.
2772 cat >conftest.$ac_ext <<_ACEOF
2775 cat confdefs.h >>conftest.$ac_ext
2776 cat >>conftest.$ac_ext <<_ACEOF
2777 /* end confdefs.h. */
2779 # include <limits.h>
2781 # include <assert.h>
2785 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2786 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2788 grep -v '^ *+' conftest.er1 >conftest.err
2790 cat conftest.err >&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); } >/dev/null; then
2793 if test -s conftest.err; then
2794 ac_cpp_err=$ac_c_preproc_warn_flag
2795 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2802 if test -z "$ac_cpp_err"; then
2805 echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.$ac_ext >&5
2808 # Broken: fails on valid input.
2811 rm -f conftest.err conftest.$ac_ext
2813 # OK, works on sane cases. Now check whether non-existent headers
2814 # can be detected and how.
2815 cat >conftest.$ac_ext <<_ACEOF
2818 cat confdefs.h >>conftest.$ac_ext
2819 cat >>conftest.$ac_ext <<_ACEOF
2820 /* end confdefs.h. */
2821 #include <ac_nonexistent.h>
2823 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2824 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2826 grep -v '^ *+' conftest.er1 >conftest.err
2828 cat conftest.err >&5
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830 (exit $ac_status); } >/dev/null; then
2831 if test -s conftest.err; then
2832 ac_cpp_err=$ac_c_preproc_warn_flag
2833 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2840 if test -z "$ac_cpp_err"; then
2841 # Broken: success on invalid input.
2844 echo "$as_me: failed program was:" >&5
2845 sed 's/^/| /' conftest.$ac_ext >&5
2847 # Passes both tests.
2851 rm -f conftest.err conftest.$ac_ext
2854 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2855 rm -f conftest.err conftest.$ac_ext
2856 if $ac_preproc_ok; then
2859 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2860 See \`config.log' for more details." >&5
2861 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2862 See \`config.log' for more details." >&2;}
2863 { (exit 1); exit 1; }; }
2867 ac_cpp='$CPP $CPPFLAGS'
2868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2873 echo "$as_me:$LINENO: checking for egrep" >&5
2874 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2875 if test "${ac_cv_prog_egrep+set}" = set; then
2876 echo $ECHO_N "(cached) $ECHO_C" >&6
2878 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2879 then ac_cv_prog_egrep='grep -E'
2880 else ac_cv_prog_egrep='egrep'
2883 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2884 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2885 EGREP=$ac_cv_prog_egrep
2888 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2889 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2890 if test "${ac_cv_header_stdc+set}" = set; then
2891 echo $ECHO_N "(cached) $ECHO_C" >&6
2893 cat >conftest.$ac_ext <<_ACEOF
2896 cat confdefs.h >>conftest.$ac_ext
2897 cat >>conftest.$ac_ext <<_ACEOF
2898 /* end confdefs.h. */
2912 rm -f conftest.$ac_objext
2913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2914 (eval $ac_compile) 2>conftest.er1
2916 grep -v '^ *+' conftest.er1 >conftest.err
2918 cat conftest.err >&5
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); } &&
2921 { ac_try='test -z "$ac_c_werror_flag"
2922 || test ! -s conftest.err'
2923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }; } &&
2928 { ac_try='test -s conftest.$ac_objext'
2929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; }; then
2934 ac_cv_header_stdc=yes
2936 echo "$as_me: failed program was:" >&5
2937 sed 's/^/| /' conftest.$ac_ext >&5
2939 ac_cv_header_stdc=no
2941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2943 if test $ac_cv_header_stdc = yes; then
2944 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2945 cat >conftest.$ac_ext <<_ACEOF
2948 cat confdefs.h >>conftest.$ac_ext
2949 cat >>conftest.$ac_ext <<_ACEOF
2950 /* end confdefs.h. */
2954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2955 $EGREP "memchr" >/dev/null 2>&1; then
2958 ac_cv_header_stdc=no
2964 if test $ac_cv_header_stdc = yes; then
2965 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2966 cat >conftest.$ac_ext <<_ACEOF
2969 cat confdefs.h >>conftest.$ac_ext
2970 cat >>conftest.$ac_ext <<_ACEOF
2971 /* end confdefs.h. */
2975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2976 $EGREP "free" >/dev/null 2>&1; then
2979 ac_cv_header_stdc=no
2985 if test $ac_cv_header_stdc = yes; then
2986 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2987 if test "$cross_compiling" = yes; then
2990 cat >conftest.$ac_ext <<_ACEOF
2993 cat confdefs.h >>conftest.$ac_ext
2994 cat >>conftest.$ac_ext <<_ACEOF
2995 /* end confdefs.h. */
2997 #if ((' ' & 0x0FF) == 0x020)
2998 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2999 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3001 # define ISLOWER(c) \
3002 (('a' <= (c) && (c) <= 'i') \
3003 || ('j' <= (c) && (c) <= 'r') \
3004 || ('s' <= (c) && (c) <= 'z'))
3005 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3008 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3013 for (i = 0; i < 256; i++)
3014 if (XOR (islower (i), ISLOWER (i))
3015 || toupper (i) != TOUPPER (i))
3020 rm -f conftest$ac_exeext
3021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3022 (eval $ac_link) 2>&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030 (exit $ac_status); }; }; then
3033 echo "$as_me: program exited with status $ac_status" >&5
3034 echo "$as_me: failed program was:" >&5
3035 sed 's/^/| /' conftest.$ac_ext >&5
3038 ac_cv_header_stdc=no
3040 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3044 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3045 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3046 if test $ac_cv_header_stdc = yes; then
3048 cat >>confdefs.h <<\_ACEOF
3049 #define STDC_HEADERS 1
3054 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3064 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3065 inttypes.h stdint.h unistd.h
3067 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3068 echo "$as_me:$LINENO: checking for $ac_header" >&5
3069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3071 echo $ECHO_N "(cached) $ECHO_C" >&6
3073 cat >conftest.$ac_ext <<_ACEOF
3076 cat confdefs.h >>conftest.$ac_ext
3077 cat >>conftest.$ac_ext <<_ACEOF
3078 /* end confdefs.h. */
3079 $ac_includes_default
3081 #include <$ac_header>
3083 rm -f conftest.$ac_objext
3084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3085 (eval $ac_compile) 2>conftest.er1
3087 grep -v '^ *+' conftest.er1 >conftest.err
3089 cat conftest.err >&5
3090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091 (exit $ac_status); } &&
3092 { ac_try='test -z "$ac_c_werror_flag"
3093 || test ! -s conftest.err'
3094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 (exit $ac_status); }; } &&
3099 { ac_try='test -s conftest.$ac_objext'
3100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }; }; then
3105 eval "$as_ac_Header=yes"
3107 echo "$as_me: failed program was:" >&5
3108 sed 's/^/| /' conftest.$ac_ext >&5
3110 eval "$as_ac_Header=no"
3112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3115 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3117 cat >>confdefs.h <<_ACEOF
3118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3126 if test "${ac_cv_header_zlib_h+set}" = set; then
3127 echo "$as_me:$LINENO: checking for zlib.h" >&5
3128 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
3129 if test "${ac_cv_header_zlib_h+set}" = set; then
3130 echo $ECHO_N "(cached) $ECHO_C" >&6
3132 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
3133 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
3135 # Is the header compilable?
3136 echo "$as_me:$LINENO: checking zlib.h usability" >&5
3137 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
3138 cat >conftest.$ac_ext <<_ACEOF
3141 cat confdefs.h >>conftest.$ac_ext
3142 cat >>conftest.$ac_ext <<_ACEOF
3143 /* end confdefs.h. */
3144 $ac_includes_default
3147 rm -f conftest.$ac_objext
3148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3149 (eval $ac_compile) 2>conftest.er1
3151 grep -v '^ *+' conftest.er1 >conftest.err
3153 cat conftest.err >&5
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); } &&
3156 { ac_try='test -z "$ac_c_werror_flag"
3157 || test ! -s conftest.err'
3158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); }; } &&
3163 { ac_try='test -s conftest.$ac_objext'
3164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); }; }; then
3169 ac_header_compiler=yes
3171 echo "$as_me: failed program was:" >&5
3172 sed 's/^/| /' conftest.$ac_ext >&5
3174 ac_header_compiler=no
3176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3177 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3178 echo "${ECHO_T}$ac_header_compiler" >&6
3180 # Is the header present?
3181 echo "$as_me:$LINENO: checking zlib.h presence" >&5
3182 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
3183 cat >conftest.$ac_ext <<_ACEOF
3186 cat confdefs.h >>conftest.$ac_ext
3187 cat >>conftest.$ac_ext <<_ACEOF
3188 /* end confdefs.h. */
3191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3192 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3194 grep -v '^ *+' conftest.er1 >conftest.err
3196 cat conftest.err >&5
3197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); } >/dev/null; then
3199 if test -s conftest.err; then
3200 ac_cpp_err=$ac_c_preproc_warn_flag
3201 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3208 if test -z "$ac_cpp_err"; then
3209 ac_header_preproc=yes
3211 echo "$as_me: failed program was:" >&5
3212 sed 's/^/| /' conftest.$ac_ext >&5
3214 ac_header_preproc=no
3216 rm -f conftest.err conftest.$ac_ext
3217 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3218 echo "${ECHO_T}$ac_header_preproc" >&6
3220 # So? What about this header?
3221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3223 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
3224 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3225 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
3226 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
3227 ac_header_preproc=yes
3230 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
3231 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
3232 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
3233 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
3234 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
3235 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
3236 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
3237 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
3238 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
3239 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
3240 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
3241 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
3244 ## ------------------------------------------ ##
3245 ## Report this to the AC_PACKAGE_NAME lists. ##
3246 ## ------------------------------------------ ##
3249 sed "s/^/$as_me: WARNING: /" >&2
3252 echo "$as_me:$LINENO: checking for zlib.h" >&5
3253 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
3254 if test "${ac_cv_header_zlib_h+set}" = set; then
3255 echo $ECHO_N "(cached) $ECHO_C" >&6
3257 ac_cv_header_zlib_h=$ac_header_preproc
3259 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
3260 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
3263 if test $ac_cv_header_zlib_h = yes; then
3264 echo "$as_me:$LINENO: checking for inflateInit_ in -lz" >&5
3265 echo $ECHO_N "checking for inflateInit_ in -lz... $ECHO_C" >&6
3266 if test "${ac_cv_lib_z_inflateInit_+set}" = set; then
3267 echo $ECHO_N "(cached) $ECHO_C" >&6
3269 ac_check_lib_save_LIBS=$LIBS
3272 cat >conftest.$ac_ext <<_ACEOF
3275 cat confdefs.h >>conftest.$ac_ext
3276 cat >>conftest.$ac_ext <<_ACEOF
3277 /* end confdefs.h. */
3279 /* Override any gcc2 internal prototype to avoid an error. */
3283 /* We use char because int might match the return type of a gcc2
3284 builtin and then its argument prototype would still apply. */
3285 char inflateInit_ ();
3294 rm -f conftest.$ac_objext conftest$ac_exeext
3295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3296 (eval $ac_link) 2>conftest.er1
3298 grep -v '^ *+' conftest.er1 >conftest.err
3300 cat conftest.err >&5
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); } &&
3303 { ac_try='test -z "$ac_c_werror_flag"
3304 || test ! -s conftest.err'
3305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); }; } &&
3310 { ac_try='test -s conftest$ac_exeext'
3311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); }; }; then
3316 ac_cv_lib_z_inflateInit_=yes
3318 echo "$as_me: failed program was:" >&5
3319 sed 's/^/| /' conftest.$ac_ext >&5
3321 ac_cv_lib_z_inflateInit_=no
3323 rm -f conftest.err conftest.$ac_objext \
3324 conftest$ac_exeext conftest.$ac_ext
3325 LIBS=$ac_check_lib_save_LIBS
3327 echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateInit_" >&5
3328 echo "${ECHO_T}$ac_cv_lib_z_inflateInit_" >&6
3329 if test $ac_cv_lib_z_inflateInit_ = yes; then
3330 cat >>confdefs.h <<\_ACEOF
3331 #define HAVE_ZLIB_H 1
3340 if test "with_default" != no ; then
3341 if test "$CC" = no; then
3342 { { echo "$as_me:$LINENO: error: cc not found" >&5
3343 echo "$as_me: error: cc not found" >&2;}
3344 { (exit 1); exit 1; }; }
3346 eval "${with_default}_CC='$CC'"
3348 ac_cpp='$CPP $CPPFLAGS'
3349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3352 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3353 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3354 # On Suns, sometimes $CPP names a directory.
3355 if test -n "$CPP" && test -d "$CPP"; then
3358 if test -z "$CPP"; then
3359 if test "${ac_cv_prog_CPP+set}" = set; then
3360 echo $ECHO_N "(cached) $ECHO_C" >&6
3362 # Double quotes because CPP needs to be expanded
3363 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3366 for ac_c_preproc_warn_flag in '' yes
3368 # Use a header file that comes with gcc, so configuring glibc
3369 # with a fresh cross-compiler works.
3370 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3371 # <limits.h> exists even on freestanding compilers.
3372 # On the NeXT, cc -E runs the code through the compiler's parser,
3373 # not just through cpp. "Syntax error" is here to catch this case.
3374 cat >conftest.$ac_ext <<_ACEOF
3377 cat confdefs.h >>conftest.$ac_ext
3378 cat >>conftest.$ac_ext <<_ACEOF
3379 /* end confdefs.h. */
3381 # include <limits.h>
3383 # include <assert.h>
3387 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3388 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3390 grep -v '^ *+' conftest.er1 >conftest.err
3392 cat conftest.err >&5
3393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3394 (exit $ac_status); } >/dev/null; then
3395 if test -s conftest.err; then
3396 ac_cpp_err=$ac_c_preproc_warn_flag
3397 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3404 if test -z "$ac_cpp_err"; then
3407 echo "$as_me: failed program was:" >&5
3408 sed 's/^/| /' conftest.$ac_ext >&5
3410 # Broken: fails on valid input.
3413 rm -f conftest.err conftest.$ac_ext
3415 # OK, works on sane cases. Now check whether non-existent headers
3416 # can be detected and how.
3417 cat >conftest.$ac_ext <<_ACEOF
3420 cat confdefs.h >>conftest.$ac_ext
3421 cat >>conftest.$ac_ext <<_ACEOF
3422 /* end confdefs.h. */
3423 #include <ac_nonexistent.h>
3425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3426 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3428 grep -v '^ *+' conftest.er1 >conftest.err
3430 cat conftest.err >&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } >/dev/null; then
3433 if test -s conftest.err; then
3434 ac_cpp_err=$ac_c_preproc_warn_flag
3435 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3442 if test -z "$ac_cpp_err"; then
3443 # Broken: success on invalid input.
3446 echo "$as_me: failed program was:" >&5
3447 sed 's/^/| /' conftest.$ac_ext >&5
3449 # Passes both tests.
3453 rm -f conftest.err conftest.$ac_ext
3456 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3457 rm -f conftest.err conftest.$ac_ext
3458 if $ac_preproc_ok; then
3470 echo "$as_me:$LINENO: result: $CPP" >&5
3471 echo "${ECHO_T}$CPP" >&6
3473 for ac_c_preproc_warn_flag in '' yes
3475 # Use a header file that comes with gcc, so configuring glibc
3476 # with a fresh cross-compiler works.
3477 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3478 # <limits.h> exists even on freestanding compilers.
3479 # On the NeXT, cc -E runs the code through the compiler's parser,
3480 # not just through cpp. "Syntax error" is here to catch this case.
3481 cat >conftest.$ac_ext <<_ACEOF
3484 cat confdefs.h >>conftest.$ac_ext
3485 cat >>conftest.$ac_ext <<_ACEOF
3486 /* end confdefs.h. */
3488 # include <limits.h>
3490 # include <assert.h>
3494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3497 grep -v '^ *+' conftest.er1 >conftest.err
3499 cat conftest.err >&5
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); } >/dev/null; then
3502 if test -s conftest.err; then
3503 ac_cpp_err=$ac_c_preproc_warn_flag
3504 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3511 if test -z "$ac_cpp_err"; then
3514 echo "$as_me: failed program was:" >&5
3515 sed 's/^/| /' conftest.$ac_ext >&5
3517 # Broken: fails on valid input.
3520 rm -f conftest.err conftest.$ac_ext
3522 # OK, works on sane cases. Now check whether non-existent headers
3523 # can be detected and how.
3524 cat >conftest.$ac_ext <<_ACEOF
3527 cat confdefs.h >>conftest.$ac_ext
3528 cat >>conftest.$ac_ext <<_ACEOF
3529 /* end confdefs.h. */
3530 #include <ac_nonexistent.h>
3532 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3533 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3535 grep -v '^ *+' conftest.er1 >conftest.err
3537 cat conftest.err >&5
3538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3539 (exit $ac_status); } >/dev/null; then
3540 if test -s conftest.err; then
3541 ac_cpp_err=$ac_c_preproc_warn_flag
3542 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3549 if test -z "$ac_cpp_err"; then
3550 # Broken: success on invalid input.
3553 echo "$as_me: failed program was:" >&5
3554 sed 's/^/| /' conftest.$ac_ext >&5
3556 # Passes both tests.
3560 rm -f conftest.err conftest.$ac_ext
3563 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3564 rm -f conftest.err conftest.$ac_ext
3565 if $ac_preproc_ok; then
3568 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3569 See \`config.log' for more details." >&5
3570 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3571 See \`config.log' for more details." >&2;}
3572 { (exit 1); exit 1; }; }
3576 ac_cpp='$CPP $CPPFLAGS'
3577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3581 if test "$CPP" = no; then
3582 { { echo "$as_me:$LINENO: error: cpp not found" >&5
3583 echo "$as_me: error: cpp not found" >&2;}
3584 { (exit 1); exit 1; }; }
3586 eval "${with_default}_CPP='$CPP'"
3587 if test -n "$ac_tool_prefix"; then
3588 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3589 set dummy ${ac_tool_prefix}ld; ac_word=$2
3590 echo "$as_me:$LINENO: checking for $ac_word" >&5
3591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3592 if test "${ac_cv_prog_LD+set}" = set; then
3593 echo $ECHO_N "(cached) $ECHO_C" >&6
3595 if test -n "$LD"; then
3596 ac_cv_prog_LD="$LD" # Let the user override the test.
3598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3602 test -z "$as_dir" && as_dir=.
3603 for ac_exec_ext in '' $ac_executable_extensions; do
3604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3605 ac_cv_prog_LD="${ac_tool_prefix}ld"
3606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3615 if test -n "$LD"; then
3616 echo "$as_me:$LINENO: result: $LD" >&5
3617 echo "${ECHO_T}$LD" >&6
3619 echo "$as_me:$LINENO: result: no" >&5
3620 echo "${ECHO_T}no" >&6
3624 if test -z "$ac_cv_prog_LD"; then
3626 # Extract the first word of "ld", so it can be a program name with args.
3627 set dummy ld; ac_word=$2
3628 echo "$as_me:$LINENO: checking for $ac_word" >&5
3629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3630 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
3631 echo $ECHO_N "(cached) $ECHO_C" >&6
3633 if test -n "$ac_ct_LD"; then
3634 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
3636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3640 test -z "$as_dir" && as_dir=.
3641 for ac_exec_ext in '' $ac_executable_extensions; do
3642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3643 ac_cv_prog_ac_ct_LD="ld"
3644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3650 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="no"
3653 ac_ct_LD=$ac_cv_prog_ac_ct_LD
3654 if test -n "$ac_ct_LD"; then
3655 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
3656 echo "${ECHO_T}$ac_ct_LD" >&6
3658 echo "$as_me:$LINENO: result: no" >&5
3659 echo "${ECHO_T}no" >&6
3667 if test "$LD" = no; then
3668 { { echo "$as_me:$LINENO: error: ld not found" >&5
3669 echo "$as_me: error: ld not found" >&2;}
3670 { (exit 1); exit 1; }; }
3672 eval "${with_default}_LD='$LD'"
3673 if test -n "$ac_tool_prefix"; then
3674 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3675 set dummy ${ac_tool_prefix}as; ac_word=$2
3676 echo "$as_me:$LINENO: checking for $ac_word" >&5
3677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3678 if test "${ac_cv_prog_AS+set}" = set; then
3679 echo $ECHO_N "(cached) $ECHO_C" >&6
3681 if test -n "$AS"; then
3682 ac_cv_prog_AS="$AS" # Let the user override the test.
3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3688 test -z "$as_dir" && as_dir=.
3689 for ac_exec_ext in '' $ac_executable_extensions; do
3690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3691 ac_cv_prog_AS="${ac_tool_prefix}as"
3692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3701 if test -n "$AS"; then
3702 echo "$as_me:$LINENO: result: $AS" >&5
3703 echo "${ECHO_T}$AS" >&6
3705 echo "$as_me:$LINENO: result: no" >&5
3706 echo "${ECHO_T}no" >&6
3710 if test -z "$ac_cv_prog_AS"; then
3712 # Extract the first word of "as", so it can be a program name with args.
3713 set dummy as; ac_word=$2
3714 echo "$as_me:$LINENO: checking for $ac_word" >&5
3715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3716 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3717 echo $ECHO_N "(cached) $ECHO_C" >&6
3719 if test -n "$ac_ct_AS"; then
3720 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3726 test -z "$as_dir" && as_dir=.
3727 for ac_exec_ext in '' $ac_executable_extensions; do
3728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3729 ac_cv_prog_ac_ct_AS="as"
3730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3736 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="no"
3739 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3740 if test -n "$ac_ct_AS"; then
3741 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3742 echo "${ECHO_T}$ac_ct_AS" >&6
3744 echo "$as_me:$LINENO: result: no" >&5
3745 echo "${ECHO_T}no" >&6
3753 if test "$AS" = no; then
3754 { { echo "$as_me:$LINENO: error: as not found" >&5
3755 echo "$as_me: error: as not found" >&2;}
3756 { (exit 1); exit 1; }; }
3758 eval "${with_default}_AS='$AS'"
3759 if test -n "$ac_tool_prefix"; then
3760 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
3761 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
3762 echo "$as_me:$LINENO: checking for $ac_word" >&5
3763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3764 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
3765 echo $ECHO_N "(cached) $ECHO_C" >&6
3767 if test -n "$OBJCOPY"; then
3768 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
3770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3774 test -z "$as_dir" && as_dir=.
3775 for ac_exec_ext in '' $ac_executable_extensions; do
3776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3777 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
3778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3786 OBJCOPY=$ac_cv_prog_OBJCOPY
3787 if test -n "$OBJCOPY"; then
3788 echo "$as_me:$LINENO: result: $OBJCOPY" >&5
3789 echo "${ECHO_T}$OBJCOPY" >&6
3791 echo "$as_me:$LINENO: result: no" >&5
3792 echo "${ECHO_T}no" >&6
3796 if test -z "$ac_cv_prog_OBJCOPY"; then
3797 ac_ct_OBJCOPY=$OBJCOPY
3798 # Extract the first word of "objcopy", so it can be a program name with args.
3799 set dummy objcopy; ac_word=$2
3800 echo "$as_me:$LINENO: checking for $ac_word" >&5
3801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3802 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then
3803 echo $ECHO_N "(cached) $ECHO_C" >&6
3805 if test -n "$ac_ct_OBJCOPY"; then
3806 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
3808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812 test -z "$as_dir" && as_dir=.
3813 for ac_exec_ext in '' $ac_executable_extensions; do
3814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3815 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
3816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3822 test -z "$ac_cv_prog_ac_ct_OBJCOPY" && ac_cv_prog_ac_ct_OBJCOPY="no"
3825 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
3826 if test -n "$ac_ct_OBJCOPY"; then
3827 echo "$as_me:$LINENO: result: $ac_ct_OBJCOPY" >&5
3828 echo "${ECHO_T}$ac_ct_OBJCOPY" >&6
3830 echo "$as_me:$LINENO: result: no" >&5
3831 echo "${ECHO_T}no" >&6
3834 OBJCOPY=$ac_ct_OBJCOPY
3836 OBJCOPY="$ac_cv_prog_OBJCOPY"
3839 if test "$OBJCOPY" = no; then
3840 { { echo "$as_me:$LINENO: error: objcopy not found" >&5
3841 echo "$as_me: error: objcopy not found" >&2;}
3842 { (exit 1); exit 1; }; }
3844 eval "${with_default}_OBJCOPY='$OBJCOPY'"
3845 if test "$with_default" = "X86_64" ; then
3850 if test "$with_i386" != "no" ; then
3856 if test "$with_i386" != "" -a "$with_i386" != "yes" ; then
3858 cpp="$with_i386-$cpp"
3861 objcopy="$with_i386-$objcopy"
3863 # Extract the first word of "$cc", so it can be a program name with args.
3864 set dummy $cc; ac_word=$2
3865 echo "$as_me:$LINENO: checking for $ac_word" >&5
3866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3867 if test "${ac_cv_prog_I386_CC+set}" = set; then
3868 echo $ECHO_N "(cached) $ECHO_C" >&6
3870 if test -n "$I386_CC"; then
3871 ac_cv_prog_I386_CC="$I386_CC" # Let the user override the test.
3873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3877 test -z "$as_dir" && as_dir=.
3878 for ac_exec_ext in '' $ac_executable_extensions; do
3879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3880 ac_cv_prog_I386_CC="$cc"
3881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3887 test -z "$ac_cv_prog_I386_CC" && ac_cv_prog_I386_CC=""""
3890 I386_CC=$ac_cv_prog_I386_CC
3891 if test -n "$I386_CC"; then
3892 echo "$as_me:$LINENO: result: $I386_CC" >&5
3893 echo "${ECHO_T}$I386_CC" >&6
3895 echo "$as_me:$LINENO: result: no" >&5
3896 echo "${ECHO_T}no" >&6
3899 if test "$I386_CC" = no; then
3901 { { echo "$as_me:$LINENO: error: $cc not found" >&5
3902 echo "$as_me: error: $cc not found" >&2;}
3903 { (exit 1); exit 1; }; }
3905 # Extract the first word of "$cpp", so it can be a program name with args.
3906 set dummy $cpp; ac_word=$2
3907 echo "$as_me:$LINENO: checking for $ac_word" >&5
3908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3909 if test "${ac_cv_prog_I386_CPP+set}" = set; then
3910 echo $ECHO_N "(cached) $ECHO_C" >&6
3912 if test -n "$I386_CPP"; then
3913 ac_cv_prog_I386_CPP="$I386_CPP" # Let the user override the test.
3915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3919 test -z "$as_dir" && as_dir=.
3920 for ac_exec_ext in '' $ac_executable_extensions; do
3921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3922 ac_cv_prog_I386_CPP="$cpp"
3923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3929 test -z "$ac_cv_prog_I386_CPP" && ac_cv_prog_I386_CPP=""""
3932 I386_CPP=$ac_cv_prog_I386_CPP
3933 if test -n "$I386_CPP"; then
3934 echo "$as_me:$LINENO: result: $I386_CPP" >&5
3935 echo "${ECHO_T}$I386_CPP" >&6
3937 echo "$as_me:$LINENO: result: no" >&5
3938 echo "${ECHO_T}no" >&6
3941 if test "$I386_CPP" = no; then
3942 { { echo "$as_me:$LINENO: error: $cpp not found" >&5
3943 echo "$as_me: error: $cpp not found" >&2;}
3944 { (exit 1); exit 1; }; }
3946 # Extract the first word of "$ld", so it can be a program name with args.
3947 set dummy $ld; ac_word=$2
3948 echo "$as_me:$LINENO: checking for $ac_word" >&5
3949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3950 if test "${ac_cv_prog_I386_LD+set}" = set; then
3951 echo $ECHO_N "(cached) $ECHO_C" >&6
3953 if test -n "$I386_LD"; then
3954 ac_cv_prog_I386_LD="$I386_LD" # Let the user override the test.
3956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3960 test -z "$as_dir" && as_dir=.
3961 for ac_exec_ext in '' $ac_executable_extensions; do
3962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3963 ac_cv_prog_I386_LD="$ld"
3964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3970 test -z "$ac_cv_prog_I386_LD" && ac_cv_prog_I386_LD=""""
3973 I386_LD=$ac_cv_prog_I386_LD
3974 if test -n "$I386_LD"; then
3975 echo "$as_me:$LINENO: result: $I386_LD" >&5
3976 echo "${ECHO_T}$I386_LD" >&6
3978 echo "$as_me:$LINENO: result: no" >&5
3979 echo "${ECHO_T}no" >&6
3982 if test "$I386_AS" = no; then
3983 { { echo "$as_me:$LINENO: error: $ld not found" >&5
3984 echo "$as_me: error: $ld not found" >&2;}
3985 { (exit 1); exit 1; }; }
3987 # Extract the first word of "$as", so it can be a program name with args.
3988 set dummy $as; ac_word=$2
3989 echo "$as_me:$LINENO: checking for $ac_word" >&5
3990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3991 if test "${ac_cv_prog_I386_AS+set}" = set; then
3992 echo $ECHO_N "(cached) $ECHO_C" >&6
3994 if test -n "$I386_AS"; then
3995 ac_cv_prog_I386_AS="$I386_AS" # Let the user override the test.
3997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4001 test -z "$as_dir" && as_dir=.
4002 for ac_exec_ext in '' $ac_executable_extensions; do
4003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4004 ac_cv_prog_I386_AS="$as"
4005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4011 test -z "$ac_cv_prog_I386_AS" && ac_cv_prog_I386_AS=""""
4014 I386_AS=$ac_cv_prog_I386_AS
4015 if test -n "$I386_AS"; then
4016 echo "$as_me:$LINENO: result: $I386_AS" >&5
4017 echo "${ECHO_T}$I386_AS" >&6
4019 echo "$as_me:$LINENO: result: no" >&5
4020 echo "${ECHO_T}no" >&6
4023 if test "$I386_AS" = no; then
4024 { { echo "$as_me:$LINENO: error: $as not found" >&5
4025 echo "$as_me: error: $as not found" >&2;}
4026 { (exit 1); exit 1; }; }
4028 # Extract the first word of "$objcopy", so it can be a program name with args.
4029 set dummy $objcopy; ac_word=$2
4030 echo "$as_me:$LINENO: checking for $ac_word" >&5
4031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4032 if test "${ac_cv_prog_I386_OBJCOPY+set}" = set; then
4033 echo $ECHO_N "(cached) $ECHO_C" >&6
4035 if test -n "$I386_OBJCOPY"; then
4036 ac_cv_prog_I386_OBJCOPY="$I386_OBJCOPY" # Let the user override the test.
4038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4042 test -z "$as_dir" && as_dir=.
4043 for ac_exec_ext in '' $ac_executable_extensions; do
4044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4045 ac_cv_prog_I386_OBJCOPY="$objcopy"
4046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4052 test -z "$ac_cv_prog_I386_OBJCOPY" && ac_cv_prog_I386_OBJCOPY=""""
4055 I386_OBJCOPY=$ac_cv_prog_I386_OBJCOPY
4056 if test -n "$I386_OBJCOPY"; then
4057 echo "$as_me:$LINENO: result: $I386_OBJCOPY" >&5
4058 echo "${ECHO_T}$I386_OBJCOPY" >&6
4060 echo "$as_me:$LINENO: result: no" >&5
4061 echo "${ECHO_T}no" >&6
4064 if test "$I386_OBJCOPY" = no; then
4065 { { echo "$as_me:$LINENO: error: $objcopy not found" >&5
4066 echo "$as_me: error: $objcopy not found" >&2;}
4067 { (exit 1); exit 1; }; }
4071 if test "$with_ia64" != "no" ; then
4077 if test "$with_ia64" != "" -a "$with_ia64" != "yes" ; then
4079 cpp="$with_ia64-$cpp"
4082 objcopy="$with_ia64-$objcopy"
4084 # Extract the first word of "$cc", so it can be a program name with args.
4085 set dummy $cc; ac_word=$2
4086 echo "$as_me:$LINENO: checking for $ac_word" >&5
4087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4088 if test "${ac_cv_prog_IA64_CC+set}" = set; then
4089 echo $ECHO_N "(cached) $ECHO_C" >&6
4091 if test -n "$IA64_CC"; then
4092 ac_cv_prog_IA64_CC="$IA64_CC" # Let the user override the test.
4094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4098 test -z "$as_dir" && as_dir=.
4099 for ac_exec_ext in '' $ac_executable_extensions; do
4100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4101 ac_cv_prog_IA64_CC="$cc"
4102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4108 test -z "$ac_cv_prog_IA64_CC" && ac_cv_prog_IA64_CC=""""
4111 IA64_CC=$ac_cv_prog_IA64_CC
4112 if test -n "$IA64_CC"; then
4113 echo "$as_me:$LINENO: result: $IA64_CC" >&5
4114 echo "${ECHO_T}$IA64_CC" >&6
4116 echo "$as_me:$LINENO: result: no" >&5
4117 echo "${ECHO_T}no" >&6
4120 if test "$IA64_CC" = no; then
4122 { { echo "$as_me:$LINENO: error: $cc not found" >&5
4123 echo "$as_me: error: $cc not found" >&2;}
4124 { (exit 1); exit 1; }; }
4126 # Extract the first word of "$cpp", so it can be a program name with args.
4127 set dummy $cpp; ac_word=$2
4128 echo "$as_me:$LINENO: checking for $ac_word" >&5
4129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4130 if test "${ac_cv_prog_IA64_CPP+set}" = set; then
4131 echo $ECHO_N "(cached) $ECHO_C" >&6
4133 if test -n "$IA64_CPP"; then
4134 ac_cv_prog_IA64_CPP="$IA64_CPP" # Let the user override the test.
4136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4140 test -z "$as_dir" && as_dir=.
4141 for ac_exec_ext in '' $ac_executable_extensions; do
4142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4143 ac_cv_prog_IA64_CPP="$cpp"
4144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4150 test -z "$ac_cv_prog_IA64_CPP" && ac_cv_prog_IA64_CPP=""""
4153 IA64_CPP=$ac_cv_prog_IA64_CPP
4154 if test -n "$IA64_CPP"; then
4155 echo "$as_me:$LINENO: result: $IA64_CPP" >&5
4156 echo "${ECHO_T}$IA64_CPP" >&6
4158 echo "$as_me:$LINENO: result: no" >&5
4159 echo "${ECHO_T}no" >&6
4162 if test "$IA64_CPP" = no; then
4163 { { echo "$as_me:$LINENO: error: $cpp not found" >&5
4164 echo "$as_me: error: $cpp not found" >&2;}
4165 { (exit 1); exit 1; }; }
4167 # Extract the first word of "$ld", so it can be a program name with args.
4168 set dummy $ld; ac_word=$2
4169 echo "$as_me:$LINENO: checking for $ac_word" >&5
4170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4171 if test "${ac_cv_prog_IA64_LD+set}" = set; then
4172 echo $ECHO_N "(cached) $ECHO_C" >&6
4174 if test -n "$IA64_LD"; then
4175 ac_cv_prog_IA64_LD="$IA64_LD" # Let the user override the test.
4177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4181 test -z "$as_dir" && as_dir=.
4182 for ac_exec_ext in '' $ac_executable_extensions; do
4183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4184 ac_cv_prog_IA64_LD="$ld"
4185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4191 test -z "$ac_cv_prog_IA64_LD" && ac_cv_prog_IA64_LD=""""
4194 IA64_LD=$ac_cv_prog_IA64_LD
4195 if test -n "$IA64_LD"; then
4196 echo "$as_me:$LINENO: result: $IA64_LD" >&5
4197 echo "${ECHO_T}$IA64_LD" >&6
4199 echo "$as_me:$LINENO: result: no" >&5
4200 echo "${ECHO_T}no" >&6
4203 if test "$IA64_AS" = no; then
4204 { { echo "$as_me:$LINENO: error: $ld not found" >&5
4205 echo "$as_me: error: $ld not found" >&2;}
4206 { (exit 1); exit 1; }; }
4208 # Extract the first word of "$as", so it can be a program name with args.
4209 set dummy $as; ac_word=$2
4210 echo "$as_me:$LINENO: checking for $ac_word" >&5
4211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4212 if test "${ac_cv_prog_IA64_AS+set}" = set; then
4213 echo $ECHO_N "(cached) $ECHO_C" >&6
4215 if test -n "$IA64_AS"; then
4216 ac_cv_prog_IA64_AS="$IA64_AS" # Let the user override the test.
4218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4222 test -z "$as_dir" && as_dir=.
4223 for ac_exec_ext in '' $ac_executable_extensions; do
4224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4225 ac_cv_prog_IA64_AS="$as"
4226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4232 test -z "$ac_cv_prog_IA64_AS" && ac_cv_prog_IA64_AS=""""
4235 IA64_AS=$ac_cv_prog_IA64_AS
4236 if test -n "$IA64_AS"; then
4237 echo "$as_me:$LINENO: result: $IA64_AS" >&5
4238 echo "${ECHO_T}$IA64_AS" >&6
4240 echo "$as_me:$LINENO: result: no" >&5
4241 echo "${ECHO_T}no" >&6
4244 if test "$IA64_AS" = no; then
4245 { { echo "$as_me:$LINENO: error: $as not found" >&5
4246 echo "$as_me: error: $as not found" >&2;}
4247 { (exit 1); exit 1; }; }
4249 # Extract the first word of "$objcopy", so it can be a program name with args.
4250 set dummy $objcopy; ac_word=$2
4251 echo "$as_me:$LINENO: checking for $ac_word" >&5
4252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4253 if test "${ac_cv_prog_IA64_OBJCOPY+set}" = set; then
4254 echo $ECHO_N "(cached) $ECHO_C" >&6
4256 if test -n "$IA64_OBJCOPY"; then
4257 ac_cv_prog_IA64_OBJCOPY="$IA64_OBJCOPY" # Let the user override the test.
4259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4263 test -z "$as_dir" && as_dir=.
4264 for ac_exec_ext in '' $ac_executable_extensions; do
4265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4266 ac_cv_prog_IA64_OBJCOPY="$objcopy"
4267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4273 test -z "$ac_cv_prog_IA64_OBJCOPY" && ac_cv_prog_IA64_OBJCOPY=""""
4276 IA64_OBJCOPY=$ac_cv_prog_IA64_OBJCOPY
4277 if test -n "$IA64_OBJCOPY"; then
4278 echo "$as_me:$LINENO: result: $IA64_OBJCOPY" >&5
4279 echo "${ECHO_T}$IA64_OBJCOPY" >&6
4281 echo "$as_me:$LINENO: result: no" >&5
4282 echo "${ECHO_T}no" >&6
4285 if test "$IA64_OBJCOPY" = no; then
4286 { { echo "$as_me:$LINENO: error: $objcopy not found" >&5
4287 echo "$as_me: error: $objcopy not found" >&2;}
4288 { (exit 1); exit 1; }; }
4295 HOST_CFLAGS='-O2 -Wall $(HOST_CPPFLAGS)'
4297 I386_CFLAGS='-Os -ffreestanding -Wall -W -Wno-format $(I386_CPPFLAGS)'
4299 I386_LDFLAGS='-static --warn-multiple-gp --warn-common'
4301 IA64_CFLAGS='-Os -ffreestanding -Wall -W -Wno-format -fpic -mconstant-gp -mauto-pic -fno-unwind-tables $(IA64_CPPFLAGS)'
4302 IA64_ASFLAGS='-mconstant-gp -mauto-pic'
4303 IA64_LDFLAGS='-static --warn-multiple-gp --warn-common'
4326 ac_config_files="$ac_config_files Makefile.conf"
4327 cat >confcache <<\_ACEOF
4328 # This file is a shell script that caches the results of configure
4329 # tests run on this system so they can be shared between configure
4330 # scripts and configure runs, see configure's option --config-cache.
4331 # It is not useful on other systems. If it contains results you don't
4332 # want to keep, you may remove or edit it.
4334 # config.status only pays attention to the cache file if you give it
4335 # the --recheck option to rerun configure.
4337 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4338 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4343 # The following way of writing the cache mishandles newlines in values,
4344 # but we know of no workaround that is simple, portable, and efficient.
4345 # So, don't put newlines in cache variables' values.
4346 # Ultrix sh set writes to stderr and can't be redirected directly,
4347 # and sets the high bit in the cache file unless we assign to the vars.
4350 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4352 # `set' does not quote correctly, so add quotes (double-quote
4353 # substitution turns \\\\ into \\, and sed turns \\ into \).
4356 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4359 # `set' quotes correctly as required by POSIX, so do not add quotes.
4361 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4368 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4370 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4372 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4373 if test -w $cache_file; then
4374 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4375 cat confcache >$cache_file
4377 echo "not updating unwritable cache $cache_file"
4382 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4383 # Let make expand exec_prefix.
4384 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4386 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4387 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4388 # trailing colons and then remove the whole line if VPATH becomes empty
4389 # (actually we leave an empty line to preserve line numbers).
4390 if test "x$srcdir" = x.; then
4391 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4392 s/:*\$(srcdir):*/:/;
4393 s/:*\${srcdir}:*/:/;
4395 s/^\([^=]*=[ ]*\):*/\1/;
4401 # Transform confdefs.h into DEFS.
4402 # Protect against shell expansion while executing Makefile rules.
4403 # Protect against Makefile macro expansion.
4405 # If the first sed substitution is executed (which looks for macros that
4406 # take arguments), then we branch to the quote section. Otherwise,
4407 # look for a macro that doesn't take arguments.
4408 cat >confdef2opt.sed <<\_ACEOF
4411 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4413 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4417 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4423 # We use echo to avoid assuming a particular line-breaking character.
4424 # The extra dot is to prevent the shell from consuming trailing
4425 # line-breaks from the sub-command output. A line-break within
4426 # single-quotes doesn't work because, if this script is created in a
4427 # platform that uses two characters for line-breaks (e.g., DOS), tr
4429 ac_LF_and_DOT=`echo; echo .`
4430 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4431 rm -f confdef2opt.sed
4436 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4437 # 1. Remove the extension, and $U if already installed.
4438 ac_i=`echo "$ac_i" |
4439 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4441 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4442 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4446 LTLIBOBJS=$ac_ltlibobjs
4450 : ${CONFIG_STATUS=./config.status}
4451 ac_clean_files_save=$ac_clean_files
4452 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4453 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4454 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4455 cat >$CONFIG_STATUS <<_ACEOF
4457 # Generated by $as_me.
4458 # Run this file to recreate the current configuration.
4459 # Compiler output produced by configure, useful for debugging
4460 # configure, is in config.log if it exists.
4465 SHELL=\${CONFIG_SHELL-$SHELL}
4468 cat >>$CONFIG_STATUS <<\_ACEOF
4469 ## --------------------- ##
4470 ## M4sh Initialization. ##
4471 ## --------------------- ##
4473 # Be Bourne compatible
4474 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4477 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4478 # is contrary to our usage. Disable this feature.
4479 alias -g '${1+"$@"}'='"$@"'
4480 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4483 DUALCASE=1; export DUALCASE # for MKS sh
4485 # Support unset when possible.
4486 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4493 # Work around bugs in pre-3.0 UWIN ksh.
4494 $as_unset ENV MAIL MAILPATH
4501 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4502 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4503 LC_TELEPHONE LC_TIME
4505 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4506 eval $as_var=C; export $as_var
4512 # Required to use basename.
4513 if expr a : '\(a\)' >/dev/null 2>&1; then
4519 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4520 as_basename=basename
4526 # Name of the executable.
4527 as_me=`$as_basename "$0" ||
4528 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4529 X"$0" : 'X\(//\)$' \| \
4530 X"$0" : 'X\(/\)$' \| \
4531 . : '\(.\)' 2>/dev/null ||
4533 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4534 /^X\/\(\/\/\)$/{ s//\1/; q; }
4535 /^X\/\(\/\).*/{ s//\1/; q; }
4539 # PATH needs CR, and LINENO needs CR and PATH.
4540 # Avoid depending upon Character Ranges.
4541 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4542 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4543 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4544 as_cr_digits='0123456789'
4545 as_cr_alnum=$as_cr_Letters$as_cr_digits
4547 # The user is always right.
4548 if test "${PATH_SEPARATOR+set}" != set; then
4549 echo "#! /bin/sh" >conf$$.sh
4550 echo "exit 0" >>conf$$.sh
4552 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4563 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4564 test "x$as_lineno_1" != "x$as_lineno_2" &&
4565 test "x$as_lineno_3" = "x$as_lineno_2" || {
4566 # Find who we are. Look in the path if we contain no path at all
4569 *[\\/]* ) as_myself=$0 ;;
4570 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4574 test -z "$as_dir" && as_dir=.
4575 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4580 # We did not find ourselves, most probably we were run as `sh COMMAND'
4581 # in which case we are not to be found in the path.
4582 if test "x$as_myself" = x; then
4585 if test ! -f "$as_myself"; then
4586 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4587 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4588 { (exit 1); exit 1; }; }
4590 case $CONFIG_SHELL in
4592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4593 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4596 test -z "$as_dir" && as_dir=.
4597 for as_base in sh bash ksh sh5; do
4600 if ("$as_dir/$as_base" -c '
4603 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4604 test "x$as_lineno_1" != "x$as_lineno_2" &&
4605 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4606 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4607 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4608 CONFIG_SHELL=$as_dir/$as_base
4610 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4618 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4619 # uniformly replaced by the line number. The first 'sed' inserts a
4620 # line-number line before each line; the second 'sed' does the real
4621 # work. The second script uses 'N' to pair each line-number line
4622 # with the numbered line, and appends trailing '-' during
4623 # substitution so that $LINENO is not a special case at line end.
4624 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4625 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4626 sed '=' <$as_myself |
4631 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4634 s,^['$as_cr_digits']*\n,,
4636 chmod +x $as_me.lineno ||
4637 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4638 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4639 { (exit 1); exit 1; }; }
4641 # Don't try to exec as it changes $[0], causing all sort of problems
4642 # (the dirname of $[0] is not the place where we might find the
4643 # original and so on. Autoconf is especially sensible to this).
4645 # Exit status is that of the last command.
4650 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4651 *c*,-n*) ECHO_N= ECHO_C='
4653 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4654 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4657 if expr a : '\(a\)' >/dev/null 2>&1; then
4663 rm -f conf$$ conf$$.exe conf$$.file
4665 if ln -s conf$$.file conf$$ 2>/dev/null; then
4666 # We could just check for DJGPP; but this test a) works b) is more generic
4667 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4668 if test -f conf$$.exe; then
4669 # Don't use ln at all; we don't have any links
4674 elif ln conf$$.file conf$$ 2>/dev/null; then
4679 rm -f conf$$ conf$$.exe conf$$.file
4681 if mkdir -p . 2>/dev/null; then
4684 test -d ./-p && rmdir ./-p
4688 as_executable_p="test -f"
4690 # Sed expression to map a string onto a valid CPP name.
4691 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4693 # Sed expression to map a string onto a valid variable name.
4694 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4698 # We need space, tab and new line, in precisely that order.
4708 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4709 # report actual input values of CONFIG_FILES etc. instead of their
4710 # values after options handling. Logging --version etc. is OK.
4714 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4715 ## Running $as_me. ##
4720 This file was extended by $as_me, which was
4721 generated by GNU Autoconf 2.59. Invocation command line was
4723 CONFIG_FILES = $CONFIG_FILES
4724 CONFIG_HEADERS = $CONFIG_HEADERS
4725 CONFIG_LINKS = $CONFIG_LINKS
4726 CONFIG_COMMANDS = $CONFIG_COMMANDS
4730 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4734 # Files that config.status was made for.
4735 if test -n "$ac_config_files"; then
4736 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4739 if test -n "$ac_config_headers"; then
4740 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4743 if test -n "$ac_config_links"; then
4744 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4747 if test -n "$ac_config_commands"; then
4748 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4751 cat >>$CONFIG_STATUS <<\_ACEOF
4754 \`$as_me' instantiates files from templates according to the
4755 current configuration.
4757 Usage: $0 [OPTIONS] [FILE]...
4759 -h, --help print this help, then exit
4760 -V, --version print version number, then exit
4761 -q, --quiet do not print progress messages
4762 -d, --debug don't remove temporary files
4763 --recheck update $as_me by reconfiguring in the same conditions
4764 --file=FILE[:TEMPLATE]
4765 instantiate the configuration file FILE
4767 Configuration files:
4770 Report bugs to <bug-autoconf@gnu.org>."
4773 cat >>$CONFIG_STATUS <<_ACEOF
4776 configured by $0, generated by GNU Autoconf 2.59,
4777 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4779 Copyright (C) 2003 Free Software Foundation, Inc.
4780 This config.status script is free software; the Free Software Foundation
4781 gives unlimited permission to copy, distribute and modify it."
4785 cat >>$CONFIG_STATUS <<\_ACEOF
4786 # If no file are specified by the user, then we need to provide default
4787 # value. By we need to know if files were specified by the user.
4793 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4794 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4802 *) # This is not an option, so the user has probably given explicit
4805 ac_need_defaults=false;;
4809 # Handling of the options.
4811 cat >>$CONFIG_STATUS <<\_ACEOF
4812 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4814 --version | --vers* | -V )
4815 echo "$ac_cs_version"; exit 0 ;;
4817 # Conflict between --help and --header
4818 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4819 Try \`$0 --help' for more information." >&5
4820 echo "$as_me: error: ambiguous option: $1
4821 Try \`$0 --help' for more information." >&2;}
4822 { (exit 1); exit 1; }; };;
4823 --help | --hel | -h )
4824 echo "$ac_cs_usage"; exit 0 ;;
4825 --debug | --d* | -d )
4827 --file | --fil | --fi | --f )
4829 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4830 ac_need_defaults=false;;
4831 --header | --heade | --head | --hea )
4833 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4834 ac_need_defaults=false;;
4835 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4836 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4840 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4841 Try \`$0 --help' for more information." >&5
4842 echo "$as_me: error: unrecognized option: $1
4843 Try \`$0 --help' for more information." >&2;}
4844 { (exit 1); exit 1; }; } ;;
4846 *) ac_config_targets="$ac_config_targets $1" ;;
4852 ac_configure_extra_args=
4854 if $ac_cs_silent; then
4856 ac_configure_extra_args="$ac_configure_extra_args --silent"
4860 cat >>$CONFIG_STATUS <<_ACEOF
4861 if \$ac_cs_recheck; then
4862 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4863 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4872 cat >>$CONFIG_STATUS <<\_ACEOF
4873 for ac_config_target in $ac_config_targets
4875 case "$ac_config_target" in
4876 # Handling of arguments.
4877 "Makefile.conf" ) CONFIG_FILES="$CONFIG_FILES Makefile.conf" ;;
4878 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4879 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4880 { (exit 1); exit 1; }; };;
4884 # If the user did not use the arguments to specify the items to instantiate,
4885 # then the envvar interface is used. Set only those that are not.
4886 # We use the long form for the default assignment because of an extremely
4887 # bizarre bug on SunOS 4.1.3.
4888 if $ac_need_defaults; then
4889 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4892 # Have a temporary directory for convenience. Make it in the build tree
4893 # simply because there is no reason to put it here, and in addition,
4894 # creating and moving files from /tmp can sometimes cause problems.
4895 # Create a temporary directory, and hook for its removal unless debugging.
4898 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4899 trap '{ (exit 1); exit 1; }' 1 2 13 15
4902 # Create a (secure) tmp directory for tmp files.
4905 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4906 test -n "$tmp" && test -d "$tmp"
4909 tmp=./confstat$$-$RANDOM
4910 (umask 077 && mkdir $tmp)
4913 echo "$me: cannot create a temporary directory in ." >&2
4914 { (exit 1); exit 1; }
4919 cat >>$CONFIG_STATUS <<_ACEOF
4922 # CONFIG_FILES section.
4925 # No need to generate the scripts if there are no CONFIG_FILES.
4926 # This happens for instance when ./config.status config.h
4927 if test -n "\$CONFIG_FILES"; then
4928 # Protect against being on the right side of a sed subst in config.status.
4929 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4930 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4931 s,@SHELL@,$SHELL,;t t
4932 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4933 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4934 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4935 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4936 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4937 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4938 s,@exec_prefix@,$exec_prefix,;t t
4939 s,@prefix@,$prefix,;t t
4940 s,@program_transform_name@,$program_transform_name,;t t
4941 s,@bindir@,$bindir,;t t
4942 s,@sbindir@,$sbindir,;t t
4943 s,@libexecdir@,$libexecdir,;t t
4944 s,@datadir@,$datadir,;t t
4945 s,@sysconfdir@,$sysconfdir,;t t
4946 s,@sharedstatedir@,$sharedstatedir,;t t
4947 s,@localstatedir@,$localstatedir,;t t
4948 s,@libdir@,$libdir,;t t
4949 s,@includedir@,$includedir,;t t
4950 s,@oldincludedir@,$oldincludedir,;t t
4951 s,@infodir@,$infodir,;t t
4952 s,@mandir@,$mandir,;t t
4953 s,@build_alias@,$build_alias,;t t
4954 s,@host_alias@,$host_alias,;t t
4955 s,@target_alias@,$target_alias,;t t
4957 s,@ECHO_C@,$ECHO_C,;t t
4958 s,@ECHO_N@,$ECHO_N,;t t
4959 s,@ECHO_T@,$ECHO_T,;t t
4961 s,@build@,$build,;t t
4962 s,@build_cpu@,$build_cpu,;t t
4963 s,@build_vendor@,$build_vendor,;t t
4964 s,@build_os@,$build_os,;t t
4966 s,@host_cpu@,$host_cpu,;t t
4967 s,@host_vendor@,$host_vendor,;t t
4968 s,@host_os@,$host_os,;t t
4970 s,@CFLAGS@,$CFLAGS,;t t
4971 s,@LDFLAGS@,$LDFLAGS,;t t
4972 s,@CPPFLAGS@,$CPPFLAGS,;t t
4973 s,@ac_ct_CC@,$ac_ct_CC,;t t
4974 s,@EXEEXT@,$EXEEXT,;t t
4975 s,@OBJEXT@,$OBJEXT,;t t
4976 s,@MKDIR@,$MKDIR,;t t
4985 s,@EGREP@,$EGREP,;t t
4987 s,@ac_ct_LD@,$ac_ct_LD,;t t
4989 s,@ac_ct_AS@,$ac_ct_AS,;t t
4990 s,@OBJCOPY@,$OBJCOPY,;t t
4991 s,@ac_ct_OBJCOPY@,$ac_ct_OBJCOPY,;t t
4992 s,@I386_CC@,$I386_CC,;t t
4993 s,@I386_CPP@,$I386_CPP,;t t
4994 s,@I386_LD@,$I386_LD,;t t
4995 s,@I386_AS@,$I386_AS,;t t
4996 s,@I386_OBJCOPY@,$I386_OBJCOPY,;t t
4997 s,@IA64_CC@,$IA64_CC,;t t
4998 s,@IA64_CPP@,$IA64_CPP,;t t
4999 s,@IA64_LD@,$IA64_LD,;t t
5000 s,@IA64_AS@,$IA64_AS,;t t
5001 s,@IA64_OBJCOPY@,$IA64_OBJCOPY,;t t
5002 s,@HOST_CC@,$HOST_CC,;t t
5003 s,@HOST_CFLAGS@,$HOST_CFLAGS,;t t
5004 s,@I386_CFLAGS@,$I386_CFLAGS,;t t
5005 s,@I386_ASFLAGS@,$I386_ASFLAGS,;t t
5006 s,@I386_LDFLAGS@,$I386_LDFLAGS,;t t
5007 s,@IA64_CFLAGS@,$IA64_CFLAGS,;t t
5008 s,@IA64_ASFLAGS@,$IA64_ASFLAGS,;t t
5009 s,@IA64_LDFLAGS@,$IA64_LDFLAGS,;t t
5010 s,@LIBOBJS@,$LIBOBJS,;t t
5011 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5016 cat >>$CONFIG_STATUS <<\_ACEOF
5017 # Split the substitutions into bite-sized pieces for seds with
5018 # small command number limits, like on Digital OSF/1 and HP-UX.
5020 ac_sed_frag=1 # Number of current file.
5021 ac_beg=1 # First line for current file.
5022 ac_end=$ac_max_sed_lines # Line after last line for current file.
5025 while $ac_more_lines; do
5026 if test $ac_beg -gt 1; then
5027 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5029 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5031 if test ! -s $tmp/subs.frag; then
5034 # The purpose of the label and of the branching condition is to
5035 # speed up the sed processing (if there are no `@' at all, there
5036 # is no need to browse any of the substitutions).
5037 # These are the two extra sed commands mentioned above.
5039 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5040 if test -z "$ac_sed_cmds"; then
5041 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5043 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5045 ac_sed_frag=`expr $ac_sed_frag + 1`
5047 ac_end=`expr $ac_end + $ac_max_sed_lines`
5050 if test -z "$ac_sed_cmds"; then
5053 fi # test -n "$CONFIG_FILES"
5056 cat >>$CONFIG_STATUS <<\_ACEOF
5057 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5058 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5060 - | *:- | *:-:* ) # input from stdin
5062 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5063 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5064 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5065 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5066 * ) ac_file_in=$ac_file.in ;;
5069 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5070 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5071 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5072 X"$ac_file" : 'X\(//\)[^/]' \| \
5073 X"$ac_file" : 'X\(//\)$' \| \
5074 X"$ac_file" : 'X\(/\)' \| \
5075 . : '\(.\)' 2>/dev/null ||
5077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5078 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5079 /^X\(\/\/\)$/{ s//\1/; q; }
5080 /^X\(\/\).*/{ s//\1/; q; }
5082 { if $as_mkdir_p; then
5087 while test ! -d "$as_dir"; do
5088 as_dirs="$as_dir $as_dirs"
5089 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5090 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5091 X"$as_dir" : 'X\(//\)[^/]' \| \
5092 X"$as_dir" : 'X\(//\)$' \| \
5093 X"$as_dir" : 'X\(/\)' \| \
5094 . : '\(.\)' 2>/dev/null ||
5096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5097 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5098 /^X\(\/\/\)$/{ s//\1/; q; }
5099 /^X\(\/\).*/{ s//\1/; q; }
5102 test ! -n "$as_dirs" || mkdir $as_dirs
5103 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5104 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5105 { (exit 1); exit 1; }; }; }
5109 if test "$ac_dir" != .; then
5110 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5111 # A "../" for each directory in $ac_dir_suffix.
5112 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5114 ac_dir_suffix= ac_top_builddir=
5118 .) # No --srcdir option. We are building in place.
5120 if test -z "$ac_top_builddir"; then
5123 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5125 [\\/]* | ?:[\\/]* ) # Absolute path.
5126 ac_srcdir=$srcdir$ac_dir_suffix;
5127 ac_top_srcdir=$srcdir ;;
5129 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5130 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5133 # Do not use `cd foo && pwd` to compute absolute paths, because
5134 # the directories may not exist.
5136 .) ac_abs_builddir="$ac_dir";;
5139 .) ac_abs_builddir=`pwd`;;
5140 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5141 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5144 case $ac_abs_builddir in
5145 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5147 case ${ac_top_builddir}. in
5148 .) ac_abs_top_builddir=$ac_abs_builddir;;
5149 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5150 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5153 case $ac_abs_builddir in
5154 .) ac_abs_srcdir=$ac_srcdir;;
5157 .) ac_abs_srcdir=$ac_abs_builddir;;
5158 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5159 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5162 case $ac_abs_builddir in
5163 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5165 case $ac_top_srcdir in
5166 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5167 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5168 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5174 if test x"$ac_file" != x-; then
5175 { echo "$as_me:$LINENO: creating $ac_file" >&5
5176 echo "$as_me: creating $ac_file" >&6;}
5179 # Let's still pretend it is `configure' which instantiates (i.e., don't
5180 # use $as_me), people would be surprised to read:
5181 # /* config.h. Generated by config.status. */
5182 if test x"$ac_file" = x-; then
5185 configure_input="$ac_file. "
5187 configure_input=$configure_input"Generated from `echo $ac_file_in |
5188 sed 's,.*/,,'` by configure."
5190 # First look for the input files in the build tree, otherwise in the
5192 ac_file_inputs=`IFS=:
5193 for f in $ac_file_in; do
5195 -) echo $tmp/stdin ;;
5197 # Absolute (can't be DOS-style, as IFS=:)
5198 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5199 echo "$as_me: error: cannot find input file: $f" >&2;}
5200 { (exit 1); exit 1; }; }
5203 if test -f "$f"; then
5206 elif test -f "$srcdir/$f"; then
5211 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5212 echo "$as_me: error: cannot find input file: $f" >&2;}
5213 { (exit 1); exit 1; }; }
5216 done` || { (exit 1); exit 1; }
5218 cat >>$CONFIG_STATUS <<_ACEOF
5222 cat >>$CONFIG_STATUS <<\_ACEOF
5224 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5225 s,@configure_input@,$configure_input,;t t
5226 s,@srcdir@,$ac_srcdir,;t t
5227 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5228 s,@top_srcdir@,$ac_top_srcdir,;t t
5229 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5230 s,@builddir@,$ac_builddir,;t t
5231 s,@abs_builddir@,$ac_abs_builddir,;t t
5232 s,@top_builddir@,$ac_top_builddir,;t t
5233 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5234 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5236 if test x"$ac_file" != x-; then
5237 mv $tmp/out $ac_file
5246 cat >>$CONFIG_STATUS <<\_ACEOF
5248 { (exit 0); exit 0; }
5250 chmod +x $CONFIG_STATUS
5251 ac_clean_files=$ac_clean_files_save
5254 # configure is writing to config.log, and then calls config.status.
5255 # config.status does its own redirection, appending to config.log.
5256 # Unfortunately, on DOS this fails, as config.log is still kept open
5257 # by configure, so config.status won't be able to write to it; its
5258 # output is simply discarded. So we exec the FD to /dev/null,
5259 # effectively closing config.log, so it can be properly (re)opened and
5260 # appended to by config.status. When coming back to configure, we
5261 # need to make the FD available again.
5262 if test "$no_create" != yes; then
5264 ac_config_status_args=
5265 test "$silent" = yes &&
5266 ac_config_status_args="$ac_config_status_args --quiet"
5268 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5270 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5271 # would make configure fail if this is the last instruction.
5272 $ac_cs_success || { (exit 1); exit 1; }