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
="gdb.base"
275 ac_subdirs_all
="$ac_subdirs_all gdb.hp"
276 ac_subdirs_all
="$ac_subdirs_all gdb.cell"
277 ac_subdirs_all
="$ac_subdirs_all gdb.stabs"
278 ac_subdirs_all
="$ac_subdirs_all gdb.gdbtk"
279 # Factoring default headers for most tests.
280 ac_includes_default
="\
283 # include <sys/types.h>
286 # include <sys/stat.h>
297 # if !STDC_HEADERS && HAVE_MEMORY_H
303 # include <strings.h>
306 # include <inttypes.h>
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical MAKE GMAKE_TRUE GMAKE_FALSE SET_MAKE subdirs RPATH_ENVVAR CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LIBOBJS LTLIBOBJS'
320 # Initialize some variables set by options.
322 ac_init_version
=false
323 # The variables have the same names as the options, with
324 # dashes changed to underlines.
332 program_transform_name
=s
,x
,x
,
340 # Installation directory options.
341 # These are left unexpanded so users can "make install exec_prefix=/foo"
342 # and all the variables that are supposed to be based on exec_prefix
343 # by default will actually change.
344 # Use braces instead of parens because sh, perl, etc. also accept them.
345 bindir
='${exec_prefix}/bin'
346 sbindir
='${exec_prefix}/sbin'
347 libexecdir
='${exec_prefix}/libexec'
348 datadir
='${prefix}/share'
349 sysconfdir
='${prefix}/etc'
350 sharedstatedir
='${prefix}/com'
351 localstatedir
='${prefix}/var'
352 libdir
='${exec_prefix}/lib'
353 includedir
='${prefix}/include'
354 oldincludedir
='/usr/include'
355 infodir
='${prefix}/info'
356 mandir
='${prefix}/man'
361 # If the previous option needs an argument, assign it.
362 if test -n "$ac_prev"; then
363 eval "$ac_prev=\$ac_option"
368 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
370 # Accept the important Cygnus configure options, so we can diagnose typos.
374 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
376 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
379 -build |
--build |
--buil |
--bui |
--bu)
380 ac_prev
=build_alias
;;
381 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
382 build_alias
=$ac_optarg ;;
384 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
385 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
386 ac_prev
=cache_file
;;
387 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
388 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
389 cache_file
=$ac_optarg ;;
392 cache_file
=config.cache
;;
394 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
396 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
398 datadir
=$ac_optarg ;;
400 -disable-* |
--disable-*)
401 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
402 # Reject names that are not valid shell variable names.
403 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
404 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
405 { (exit 1); exit 1; }; }
406 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
407 eval "enable_$ac_feature=no" ;;
409 -enable-* |
--enable-*)
410 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
411 # Reject names that are not valid shell variable names.
412 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
413 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
414 { (exit 1); exit 1; }; }
415 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
417 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
420 eval "enable_$ac_feature='$ac_optarg'" ;;
422 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
423 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
424 |
--exec |
--exe |
--ex)
425 ac_prev
=exec_prefix
;;
426 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
427 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
428 |
--exec=* |
--exe=* |
--ex=*)
429 exec_prefix
=$ac_optarg ;;
431 -gas |
--gas |
--ga |
--g)
432 # Obsolete; use --with-gas.
435 -help |
--help |
--hel |
--he |
-h)
437 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
438 ac_init_help
=recursive
;;
439 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
440 ac_init_help
=short
;;
442 -host |
--host |
--hos |
--ho)
443 ac_prev
=host_alias
;;
444 -host=* |
--host=* |
--hos=* |
--ho=*)
445 host_alias
=$ac_optarg ;;
447 -includedir |
--includedir |
--includedi |
--included |
--include \
448 |
--includ |
--inclu |
--incl |
--inc)
449 ac_prev
=includedir
;;
450 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
451 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
452 includedir
=$ac_optarg ;;
454 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
456 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
457 infodir
=$ac_optarg ;;
459 -libdir |
--libdir |
--libdi |
--libd)
461 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
464 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
465 |
--libexe |
--libex |
--libe)
466 ac_prev
=libexecdir
;;
467 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
468 |
--libexe=* |
--libex=* |
--libe=*)
469 libexecdir
=$ac_optarg ;;
471 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
472 |
--localstate |
--localstat |
--localsta |
--localst \
473 |
--locals |
--local |
--loca |
--loc |
--lo)
474 ac_prev
=localstatedir
;;
475 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
476 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
477 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
478 localstatedir
=$ac_optarg ;;
480 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
482 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
486 # Obsolete; use --without-fp.
489 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
490 |
--no-cr |
--no-c |
-n)
493 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
494 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
497 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
498 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
499 |
--oldin |
--oldi |
--old |
--ol |
--o)
500 ac_prev
=oldincludedir
;;
501 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
502 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
503 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
504 oldincludedir
=$ac_optarg ;;
506 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
508 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
511 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
512 |
--program-pre |
--program-pr |
--program-p)
513 ac_prev
=program_prefix
;;
514 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
515 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
516 program_prefix
=$ac_optarg ;;
518 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
519 |
--program-suf |
--program-su |
--program-s)
520 ac_prev
=program_suffix
;;
521 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
522 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
523 program_suffix
=$ac_optarg ;;
525 -program-transform-name |
--program-transform-name \
526 |
--program-transform-nam |
--program-transform-na \
527 |
--program-transform-n |
--program-transform- \
528 |
--program-transform |
--program-transfor \
529 |
--program-transfo |
--program-transf \
530 |
--program-trans |
--program-tran \
531 |
--progr-tra |
--program-tr |
--program-t)
532 ac_prev
=program_transform_name
;;
533 -program-transform-name=* |
--program-transform-name=* \
534 |
--program-transform-nam=* |
--program-transform-na=* \
535 |
--program-transform-n=* |
--program-transform-=* \
536 |
--program-transform=* |
--program-transfor=* \
537 |
--program-transfo=* |
--program-transf=* \
538 |
--program-trans=* |
--program-tran=* \
539 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
540 program_transform_name
=$ac_optarg ;;
542 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
543 |
-silent |
--silent |
--silen |
--sile |
--sil)
546 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
548 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
550 sbindir
=$ac_optarg ;;
552 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
553 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
554 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
556 ac_prev
=sharedstatedir
;;
557 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
558 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
559 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
561 sharedstatedir
=$ac_optarg ;;
563 -site |
--site |
--sit)
565 -site=* |
--site=* |
--sit=*)
568 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
570 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
573 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
574 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
575 ac_prev
=sysconfdir
;;
576 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
577 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
578 sysconfdir
=$ac_optarg ;;
580 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
581 ac_prev
=target_alias
;;
582 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
583 target_alias
=$ac_optarg ;;
585 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
588 -version |
--version |
--versio |
--versi |
--vers |
-V)
592 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
593 # Reject names that are not valid shell variable names.
594 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
595 { echo "$as_me: error: invalid package name: $ac_package" >&2
596 { (exit 1); exit 1; }; }
597 ac_package
=`echo $ac_package| sed 's/-/_/g'`
599 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
602 eval "with_$ac_package='$ac_optarg'" ;;
604 -without-* |
--without-*)
605 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
606 # Reject names that are not valid shell variable names.
607 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
608 { echo "$as_me: error: invalid package name: $ac_package" >&2
609 { (exit 1); exit 1; }; }
610 ac_package
=`echo $ac_package | sed 's/-/_/g'`
611 eval "with_$ac_package=no" ;;
614 # Obsolete; use --with-x.
617 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
618 |
--x-incl |
--x-inc |
--x-in |
--x-i)
619 ac_prev
=x_includes
;;
620 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
621 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
622 x_includes
=$ac_optarg ;;
624 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
625 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
626 ac_prev
=x_libraries
;;
627 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
628 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
629 x_libraries
=$ac_optarg ;;
631 -*) { echo "$as_me: error: unrecognized option: $ac_option
632 Try \`$0 --help' for more information." >&2
633 { (exit 1); exit 1; }; }
637 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
638 # Reject names that are not valid shell variable names.
639 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
640 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
641 { (exit 1); exit 1; }; }
642 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
643 eval "$ac_envvar='$ac_optarg'"
647 # FIXME: should be removed in autoconf 3.0.
648 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
649 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
650 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
651 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
657 if test -n "$ac_prev"; then
658 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
659 { echo "$as_me: error: missing argument to $ac_option" >&2
660 { (exit 1); exit 1; }; }
663 # Be sure to have absolute paths.
664 for ac_var
in exec_prefix prefix
666 eval ac_val
=$
`echo $ac_var`
668 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
669 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
670 { (exit 1); exit 1; }; };;
674 # Be sure to have absolute paths.
675 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
676 localstatedir libdir includedir oldincludedir infodir mandir
678 eval ac_val
=$
`echo $ac_var`
680 [\\/$
]* | ?
:[\\/]* ) ;;
681 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
682 { (exit 1); exit 1; }; };;
686 # There might be people who depend on the old broken behavior: `$host'
687 # used to hold the argument of --host etc.
688 # FIXME: To remove some day.
693 # FIXME: To remove some day.
694 if test "x$host_alias" != x
; then
695 if test "x$build_alias" = x
; then
696 cross_compiling
=maybe
697 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
698 If a cross compiler is detected then cross compile mode will be used." >&2
699 elif test "x$build_alias" != "x$host_alias"; then
705 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
707 test "$silent" = yes && exec 6>/dev
/null
710 # Find the source files, if location was not specified.
711 if test -z "$srcdir"; then
712 ac_srcdir_defaulted
=yes
713 # Try the directory containing this script, then its parent.
714 ac_confdir
=`(dirname "$0") 2>/dev/null ||
715 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
716 X"$0" : 'X\(//\)[^/]' \| \
717 X"$0" : 'X\(//\)$' \| \
718 X"$0" : 'X\(/\)' \| \
719 . : '\(.\)' 2>/dev/null ||
721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
722 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
723 /^X\(\/\/\)$/{ s//\1/; q; }
724 /^X\(\/\).*/{ s//\1/; q; }
727 if test ! -r $srcdir/$ac_unique_file; then
731 ac_srcdir_defaulted
=no
733 if test ! -r $srcdir/$ac_unique_file; then
734 if test "$ac_srcdir_defaulted" = yes; then
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
736 { (exit 1); exit 1; }; }
738 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
739 { (exit 1); exit 1; }; }
742 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
743 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
744 { (exit 1); exit 1; }; }
745 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
746 ac_env_build_alias_set
=${build_alias+set}
747 ac_env_build_alias_value
=$build_alias
748 ac_cv_env_build_alias_set
=${build_alias+set}
749 ac_cv_env_build_alias_value
=$build_alias
750 ac_env_host_alias_set
=${host_alias+set}
751 ac_env_host_alias_value
=$host_alias
752 ac_cv_env_host_alias_set
=${host_alias+set}
753 ac_cv_env_host_alias_value
=$host_alias
754 ac_env_target_alias_set
=${target_alias+set}
755 ac_env_target_alias_value
=$target_alias
756 ac_cv_env_target_alias_set
=${target_alias+set}
757 ac_cv_env_target_alias_value
=$target_alias
758 ac_env_CC_set
=${CC+set}
760 ac_cv_env_CC_set
=${CC+set}
761 ac_cv_env_CC_value
=$CC
762 ac_env_CFLAGS_set
=${CFLAGS+set}
763 ac_env_CFLAGS_value
=$CFLAGS
764 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
765 ac_cv_env_CFLAGS_value
=$CFLAGS
766 ac_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_env_LDFLAGS_value
=$LDFLAGS
768 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
769 ac_cv_env_LDFLAGS_value
=$LDFLAGS
770 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
773 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
774 ac_env_CPP_set
=${CPP+set}
775 ac_env_CPP_value
=$CPP
776 ac_cv_env_CPP_set
=${CPP+set}
777 ac_cv_env_CPP_value
=$CPP
780 # Report the --help message.
782 if test "$ac_init_help" = "long"; then
783 # Omit some internal or obsolete options to make the list less imposing.
784 # This message is too long to be a string in the A/UX 3.1 sh.
786 \`configure' configures this package to adapt to many kinds of systems.
788 Usage: $0 [OPTION]... [VAR=VALUE]...
790 To assign environment variables (e.g., CC, CFLAGS...), specify them as
791 VAR=VALUE. See below for descriptions of some of the useful variables.
793 Defaults for the options are specified in brackets.
796 -h, --help display this help and exit
797 --help=short display options specific to this package
798 --help=recursive display the short help of all the included packages
799 -V, --version display version information and exit
800 -q, --quiet, --silent do not print \`checking...' messages
801 --cache-file=FILE cache test results in FILE [disabled]
802 -C, --config-cache alias for \`--cache-file=config.cache'
803 -n, --no-create do not create output files
804 --srcdir=DIR find the sources in DIR [configure dir or \`..']
809 Installation directories:
810 --prefix=PREFIX install architecture-independent files in PREFIX
812 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
815 By default, \`make install' will install all the files in
816 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
817 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
818 for instance \`--prefix=\$HOME'.
820 For better control, use the options below.
822 Fine tuning of the installation directories:
823 --bindir=DIR user executables [EPREFIX/bin]
824 --sbindir=DIR system admin executables [EPREFIX/sbin]
825 --libexecdir=DIR program executables [EPREFIX/libexec]
826 --datadir=DIR read-only architecture-independent data [PREFIX/share]
827 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
828 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
829 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
830 --libdir=DIR object code libraries [EPREFIX/lib]
831 --includedir=DIR C header files [PREFIX/include]
832 --oldincludedir=DIR C header files for non-gcc [/usr/include]
833 --infodir=DIR info documentation [PREFIX/info]
834 --mandir=DIR man documentation [PREFIX/man]
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --enable-gtk enable gdbtk graphical user interface
(GUI
)
854 --enable-shared build shared libraries deault
=yes
857 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
858 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
859 --with-stabs arrange to use stabs instead of
host debug format
861 Some influential environment variables
:
862 CC C compiler
command
863 CFLAGS C compiler flags
864 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
865 nonstandard directory
<lib dir
>
866 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
867 headers
in a nonstandard directory
<include dir
>
870 Use these variables to override the choices made by
`configure' or to help
871 it to find libraries and programs with nonstandard names/locations.
876 if test "$ac_init_help" = "recursive"; then
877 # If there are subdirs, report their specific --help.
879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
880 test -d $ac_dir || continue
883 if test "$ac_dir" != .; then
884 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
885 # A "../" for each directory in $ac_dir_suffix.
886 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
888 ac_dir_suffix= ac_top_builddir=
892 .) # No --srcdir option. We are building in place.
894 if test -z "$ac_top_builddir"; then
897 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
899 [\\/]* | ?:[\\/]* ) # Absolute path.
900 ac_srcdir=$srcdir$ac_dir_suffix;
901 ac_top_srcdir=$srcdir ;;
903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir=$ac_top_builddir$srcdir ;;
907 # Do not use `cd foo
&& pwd` to compute absolute paths, because
908 # the directories may not exist.
910 .) ac_abs_builddir="$ac_dir";;
913 .) ac_abs_builddir=`pwd`;;
914 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
915 *) ac_abs_builddir=`pwd`/"$ac_dir";;
918 case $ac_abs_builddir in
919 .) ac_abs_top_builddir=${ac_top_builddir}.;;
921 case ${ac_top_builddir}. in
922 .) ac_abs_top_builddir=$ac_abs_builddir;;
923 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
924 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
927 case $ac_abs_builddir in
928 .) ac_abs_srcdir=$ac_srcdir;;
931 .) ac_abs_srcdir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
933 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
936 case $ac_abs_builddir in
937 .) ac_abs_top_srcdir=$ac_top_srcdir;;
939 case $ac_top_srcdir in
940 .) ac_abs_top_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
942 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
947 # Check for guested configure; otherwise get Cygnus style configure.
948 if test -f $ac_srcdir/configure.gnu; then
950 $SHELL $ac_srcdir/configure.gnu --help=recursive
951 elif test -f $ac_srcdir/configure; then
953 $SHELL $ac_srcdir/configure --help=recursive
954 elif test -f $ac_srcdir/configure.ac ||
955 test -f $ac_srcdir/configure.in; then
959 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
965 test -n "$ac_init_help" && exit 0
966 if $ac_init_version; then
969 Copyright (C) 2003 Free Software Foundation, Inc.
970 This configure script is free software; the Free Software Foundation
971 gives unlimited permission to copy, distribute and modify it.
977 This file contains any messages produced by compilers while
978 running configure, to aid debugging if configure makes a mistake.
980 It was created by $as_me, which was
981 generated by GNU Autoconf 2.59. Invocation command line was
992 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
993 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
994 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
995 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
996 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
998 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
999 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1001 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1002 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1003 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1004 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1005 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1006 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1007 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1015 test -z "$as_dir" && as_dir=.
1016 echo "PATH: $as_dir"
1031 # Keep a trace of the command line.
1032 # Strip out --no-create and --no-recursion so they do not pile up.
1033 # Strip out --silent because we don't want to record it for future runs.
1034 # Also quote any args containing shell meta-characters.
1035 # Make two passes to allow for proper duplicate-argument suppression.
1040 ac_must_keep_next=false
1046 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048 | -silent | --silent | --silen | --sile | --sil)
1050 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1051 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1054 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1056 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1057 if test $ac_must_keep_next = true; then
1058 ac_must_keep_next=false # Got value, back to normal.
1061 *=* | --config-cache | -C | -disable-* | --disable-* \
1062 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1063 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1064 | -with-* | --with-* | -without-* | --without-* | --x)
1065 case "$ac_configure_args0 " in
1066 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1069 -* ) ac_must_keep_next=true ;;
1072 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1073 # Get rid of the leading space.
1079 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1080 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1082 # When interrupted or exit'd, cleanup temporary files, and complete
1083 # config.log. We remove comments because anyway the quotes in there
1084 # would cause problems or look ugly.
1085 # WARNING: Be sure not to use single quotes in there, as some shells,
1086 # such as our DU 5.0 friend, will then `close
' the trap.
1087 trap 'exit_status
=$?
1088 # Save into config.log some information that might help in debugging.
1093 ## ---------------- ##
1094 ## Cache variables. ##
1095 ## ---------------- ##
1098 # The following way of writing the cache mishandles newlines in values,
1101 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1104 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1109 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1116 ## ----------------- ##
1117 ## Output variables. ##
1118 ## ----------------- ##
1121 for ac_var
in $ac_subst_vars
1123 eval ac_val
=$
`echo $ac_var`
1124 echo "$ac_var='"'"'$ac_val'"'"'"
1128 if test -n "$ac_subst_files"; then
1135 for ac_var
in $ac_subst_files
1137 eval ac_val
=$
`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1143 if test -s confdefs.h
; then
1150 sed "/^$/d" confdefs.h |
sort
1153 test "$ac_signal" != 0 &&
1154 echo "$as_me: caught signal $ac_signal"
1155 echo "$as_me: exit $exit_status"
1157 rm -f core
*.core
&&
1158 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1161 for ac_signal in 1 2 13 15; do
1162 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1166 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1167 rm -rf conftest* confdefs.h
1168 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1171 # Predefined preprocessor variables.
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_NAME "$PACKAGE_NAME"
1178 cat >>confdefs.h <<_ACEOF
1179 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_STRING "$PACKAGE_STRING"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1198 # Let the site file select an alternate cache file if it wants to.
1199 # Prefer explicitly selected file to automatically selected ones.
1200 if test -z "$CONFIG_SITE"; then
1201 if test "x$prefix" != xNONE; then
1202 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1204 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1207 for ac_site_file in $CONFIG_SITE; do
1208 if test -r "$ac_site_file"; then
1209 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1210 echo "$as_me: loading site script $ac_site_file" >&6;}
1211 sed 's
/^
/|
/' "$ac_site_file" >&5
1216 if test -r "$cache_file"; then
1217 # Some versions of bash will fail to source /dev/null (special
1218 # files actually), so we avoid doing that.
1219 if test -f "$cache_file"; then
1220 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1221 echo "$as_me: loading cache $cache_file" >&6;}
1223 [\\/]* | ?:[\\/]* ) . $cache_file;;
1224 *) . ./$cache_file;;
1228 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1229 echo "$as_me: creating cache $cache_file" >&6;}
1233 # Check that the precious variables saved in the cache have kept the same
1235 ac_cache_corrupted=false
1236 for ac_var in `(set) 2>&1 |
1237 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1238 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1239 eval ac_new_set=\$ac_env_${ac_var}_set
1240 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1241 eval ac_new_val="\$ac_env_${ac_var}_value"
1242 case $ac_old_set,$ac_new_set in
1244 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1245 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1246 ac_cache_corrupted=: ;;
1248 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1249 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1250 ac_cache_corrupted=: ;;
1253 if test "x$ac_old_val" != "x$ac_new_val"; then
1254 # differences in whitespace do not lead to failure.
1255 ac_old_val_w=`echo x $ac_old_val`
1256 ac_new_val_w=`echo x $ac_new_val`
1257 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1258 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1259 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1260 ac_cache_corrupted=:
1262 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1263 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1264 eval $ac_var=\$ac_old_val
1266 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1267 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1268 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1269 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1272 # Pass precious variables to config.status.
1273 if test "$ac_new_set" = set; then
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1277 *) ac_arg=$ac_var=$ac_new_val ;;
1279 case " $ac_configure_args " in
1280 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1281 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1285 if $ac_cache_corrupted; then
1286 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1287 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1288 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1289 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1290 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1291 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1292 { (exit 1); exit 1; }; }
1296 ac_cpp='$CPP $CPPFLAGS'
1297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1324 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1325 if test -f $ac_dir/install-sh; then
1327 ac_install_sh="$ac_aux_dir/install-sh -c"
1329 elif test -f $ac_dir/install.sh; then
1331 ac_install_sh="$ac_aux_dir/install.sh -c"
1333 elif test -f $ac_dir/shtool; then
1335 ac_install_sh="$ac_aux_dir/shtool install -c"
1339 if test -z "$ac_aux_dir"; then
1340 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1341 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1342 { (exit 1); exit 1; }; }
1344 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1345 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1346 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1348 # Make sure we can run config.sub.
1349 $ac_config_sub sun4 >/dev/null 2>&1 ||
1350 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1351 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1352 { (exit 1); exit 1; }; }
1354 echo "$as_me:$LINENO: checking build system type" >&5
1355 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1356 if test "${ac_cv_build+set}" = set; then
1357 echo $ECHO_N "(cached) $ECHO_C" >&6
1359 ac_cv_build_alias=$build_alias
1360 test -z "$ac_cv_build_alias" &&
1361 ac_cv_build_alias=`$ac_config_guess`
1362 test -z "$ac_cv_build_alias" &&
1363 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1364 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1365 { (exit 1); exit 1; }; }
1366 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1367 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1368 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1369 { (exit 1); exit 1; }; }
1372 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1373 echo "${ECHO_T}$ac_cv_build" >&6
1375 build_cpu=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1376 build_vendor=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1377 build_os=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1380 echo "$as_me:$LINENO: checking host system type" >&5
1381 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1382 if test "${ac_cv_host+set}" = set; then
1383 echo $ECHO_N "(cached) $ECHO_C" >&6
1385 ac_cv_host_alias=$host_alias
1386 test -z "$ac_cv_host_alias" &&
1387 ac_cv_host_alias=$ac_cv_build_alias
1388 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1389 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1390 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1391 { (exit 1); exit 1; }; }
1394 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1395 echo "${ECHO_T}$ac_cv_host" >&6
1397 host_cpu=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1398 host_vendor=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1399 host_os=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1402 echo "$as_me:$LINENO: checking target system type" >&5
1403 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1404 if test "${ac_cv_target+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1407 ac_cv_target_alias=$target_alias
1408 test "x$ac_cv_target_alias" = "x" &&
1409 ac_cv_target_alias=$ac_cv_host_alias
1410 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1411 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1412 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1413 { (exit 1); exit 1; }; }
1416 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1417 echo "${ECHO_T}$ac_cv_target" >&6
1418 target=$ac_cv_target
1419 target_cpu=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1420 target_vendor=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1421 target_os=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1424 # The aliases save the names the user supplied, while $host etc.
1425 # will get canonicalized.
1426 test -n "$target_alias" &&
1427 test "$program_prefix$program_suffix$program_transform_name" = \
1429 program_prefix=${target_alias}-
1431 case ${build_alias} in
1432 "") build_noncanonical=${build} ;;
1433 *) build_noncanonical=${build_alias} ;;
1436 case ${host_alias} in
1437 "") host_noncanonical=${build_noncanonical} ;;
1438 *) host_noncanonical=${host_alias} ;;
1441 case ${target_alias} in
1442 "") target_noncanonical=${host_noncanonical} ;;
1443 *) target_noncanonical=${target_alias} ;;
1449 # Check for the 'make' the user wants to use.
1452 # Extract the first word of "$ac_prog", so it can be a program name with args.
1453 set dummy $ac_prog; ac_word=$2
1454 echo "$as_me:$LINENO: checking for $ac_word" >&5
1455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1456 if test "${ac_cv_prog_MAKE+set}" = set; then
1457 echo $ECHO_N "(cached) $ECHO_C" >&6
1459 if test -n "$MAKE"; then
1460 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
1462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1466 test -z "$as_dir" && as_dir=.
1467 for ac_exec_ext in '' $ac_executable_extensions; do
1468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1469 ac_cv_prog_MAKE="$ac_prog"
1470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1478 MAKE=$ac_cv_prog_MAKE
1479 if test -n "$MAKE"; then
1480 echo "$as_me:$LINENO: result: $MAKE" >&5
1481 echo "${ECHO_T}$MAKE" >&6
1483 echo "$as_me:$LINENO: result: no" >&5
1484 echo "${ECHO_T}no" >&6
1487 test -n "$MAKE" && break
1491 case "`$MAKE --version 2>&1 |
sed 1q
`" in
1498 if test "$MAKE_IS_GNU" = yes; then
1506 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1507 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1508 set dummy ${MAKE-make}; ac_make=`echo "$2" |
sed 'y,:./+-,___p_,'`
1509 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1510 echo $ECHO_N "(cached) $ECHO_C" >&6
1512 cat >conftest.make <<\_ACEOF
1514 @echo 'ac_maketemp="$(MAKE)"'
1516 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1517 eval `${MAKE-make} -f conftest.
make 2>/dev
/null |
grep temp
=`
1518 if test -n "$ac_maketemp"; then
1519 eval ac_cv_prog_make_${ac_make}_set=yes
1521 eval ac_cv_prog_make_${ac_make}_set=no
1525 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set
`\" = yes"; then
1526 echo "$as_me:$LINENO: result: yes" >&5
1527 echo "${ECHO_T}yes" >&6
1530 echo "$as_me:$LINENO: result: no" >&5
1531 echo "${ECHO_T}no" >&6
1532 SET_MAKE="MAKE=${MAKE-make}"
1536 # Add HP-specific tests when appropriate.
1541 subdirs="$subdirs gdb.hp"
1545 # Add Cell/B.E. specific tests when appropriate.
1546 # We need support for both PowerPC and SPU targets configured in.
1550 for targ in `echo $enable_targets |
sed 's/,/ /g'`
1553 spu*|all) have_spu_target=yes ;;
1556 if test x$have_spu_target = xyes; then
1559 subdirs="$subdirs gdb.cell"
1567 # Check whether --with-stabs or --without-stabs was given.
1568 if test "${with_stabs+set}" = set; then
1569 withval="$with_stabs"
1572 # We enable stabs tests by default on selected targets.
1592 # Add stabs tests when appropriate.
1593 if test $with_stabs = yes; then
1596 subdirs="$subdirs gdb.stabs"
1601 # Check whether --enable-gdbtk or --disable-gdbtk was given.
1602 if test "${enable_gdbtk+set}" = set; then
1603 enableval="$enable_gdbtk"
1606 if test -d $srcdir/gdb.gdbtk; then
1612 # We unconditionally disable gdbtk tests on selected platforms.
1618 # Add gdbtk tests when appropriate.
1619 if test $enable_gdbtk = yes; then
1622 subdirs="$subdirs gdb.gdbtk"
1626 # Enable shared libraries.
1627 # Check whether --enable-shared or --disable-shared was given.
1628 if test "${enable_shared+set}" = set; then
1629 enableval="$enable_shared"
1635 # If we have shared libraries, try to set RPATH_ENVVAR reasonably,
1636 # such that we can find the shared libraries in the build tree.
1637 if test $enable_shared = no; then
1638 # The variable `RPATH_ENVVAR
' itself is not likely to be used on any
1640 RPATH_ENVVAR=RPATH_ENVVAR
1642 # The variable `LD_LIBRARY_PATH' is used on most platforms.
1643 RPATH_ENVVAR
=LD_LIBRARY_PATH
1644 # The following exceptions are taken from Libtool 1.4.3.
1647 if test $host_cpu != ia64
; then
1648 RPATH_ENVVAR
=LIBPATH
1650 darwin
* | rhapsody
*)
1651 RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
1653 RPATH_ENVVAR
=SHLIB_PATH
;;
1659 ac_cpp
='$CPP $CPPFLAGS'
1660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1663 if test -n "$ac_tool_prefix"; then
1664 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1665 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1666 echo "$as_me:$LINENO: checking for $ac_word" >&5
1667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1668 if test "${ac_cv_prog_CC+set}" = set; then
1669 echo $ECHO_N "(cached) $ECHO_C" >&6
1671 if test -n "$CC"; then
1672 ac_cv_prog_CC
="$CC" # Let the user override the test.
1674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1678 test -z "$as_dir" && as_dir
=.
1679 for ac_exec_ext
in '' $ac_executable_extensions; do
1680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1681 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1691 if test -n "$CC"; then
1692 echo "$as_me:$LINENO: result: $CC" >&5
1693 echo "${ECHO_T}$CC" >&6
1695 echo "$as_me:$LINENO: result: no" >&5
1696 echo "${ECHO_T}no" >&6
1700 if test -z "$ac_cv_prog_CC"; then
1702 # Extract the first word of "gcc", so it can be a program name with args.
1703 set dummy gcc
; ac_word
=$2
1704 echo "$as_me:$LINENO: checking for $ac_word" >&5
1705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1706 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1707 echo $ECHO_N "(cached) $ECHO_C" >&6
1709 if test -n "$ac_ct_CC"; then
1710 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1716 test -z "$as_dir" && as_dir
=.
1717 for ac_exec_ext
in '' $ac_executable_extensions; do
1718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1719 ac_cv_prog_ac_ct_CC
="gcc"
1720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1728 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1729 if test -n "$ac_ct_CC"; then
1730 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1731 echo "${ECHO_T}$ac_ct_CC" >&6
1733 echo "$as_me:$LINENO: result: no" >&5
1734 echo "${ECHO_T}no" >&6
1742 if test -z "$CC"; then
1743 if test -n "$ac_tool_prefix"; then
1744 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1745 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1746 echo "$as_me:$LINENO: checking for $ac_word" >&5
1747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1748 if test "${ac_cv_prog_CC+set}" = set; then
1749 echo $ECHO_N "(cached) $ECHO_C" >&6
1751 if test -n "$CC"; then
1752 ac_cv_prog_CC
="$CC" # Let the user override the test.
1754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1758 test -z "$as_dir" && as_dir
=.
1759 for ac_exec_ext
in '' $ac_executable_extensions; do
1760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1761 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1771 if test -n "$CC"; then
1772 echo "$as_me:$LINENO: result: $CC" >&5
1773 echo "${ECHO_T}$CC" >&6
1775 echo "$as_me:$LINENO: result: no" >&5
1776 echo "${ECHO_T}no" >&6
1780 if test -z "$ac_cv_prog_CC"; then
1782 # Extract the first word of "cc", so it can be a program name with args.
1783 set dummy cc
; ac_word
=$2
1784 echo "$as_me:$LINENO: checking for $ac_word" >&5
1785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1786 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1787 echo $ECHO_N "(cached) $ECHO_C" >&6
1789 if test -n "$ac_ct_CC"; then
1790 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1796 test -z "$as_dir" && as_dir
=.
1797 for ac_exec_ext
in '' $ac_executable_extensions; do
1798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1799 ac_cv_prog_ac_ct_CC
="cc"
1800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1808 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1809 if test -n "$ac_ct_CC"; then
1810 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1811 echo "${ECHO_T}$ac_ct_CC" >&6
1813 echo "$as_me:$LINENO: result: no" >&5
1814 echo "${ECHO_T}no" >&6
1823 if test -z "$CC"; then
1824 # Extract the first word of "cc", so it can be a program name with args.
1825 set dummy cc
; ac_word
=$2
1826 echo "$as_me:$LINENO: checking for $ac_word" >&5
1827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1828 if test "${ac_cv_prog_CC+set}" = set; then
1829 echo $ECHO_N "(cached) $ECHO_C" >&6
1831 if test -n "$CC"; then
1832 ac_cv_prog_CC
="$CC" # Let the user override the test.
1835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1839 test -z "$as_dir" && as_dir
=.
1840 for ac_exec_ext
in '' $ac_executable_extensions; do
1841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1842 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1843 ac_prog_rejected
=yes
1847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1853 if test $ac_prog_rejected = yes; then
1854 # We found a bogon in the path, so make sure we never use it.
1855 set dummy
$ac_cv_prog_CC
1857 if test $# != 0; then
1858 # We chose a different compiler from the bogus one.
1859 # However, it has the same basename, so the bogon will be chosen
1860 # first if we set CC to just the basename; use the full file name.
1862 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1868 if test -n "$CC"; then
1869 echo "$as_me:$LINENO: result: $CC" >&5
1870 echo "${ECHO_T}$CC" >&6
1872 echo "$as_me:$LINENO: result: no" >&5
1873 echo "${ECHO_T}no" >&6
1877 if test -z "$CC"; then
1878 if test -n "$ac_tool_prefix"; then
1881 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1882 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1883 echo "$as_me:$LINENO: checking for $ac_word" >&5
1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1885 if test "${ac_cv_prog_CC+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1888 if test -n "$CC"; then
1889 ac_cv_prog_CC
="$CC" # Let the user override the test.
1891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1895 test -z "$as_dir" && as_dir
=.
1896 for ac_exec_ext
in '' $ac_executable_extensions; do
1897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1898 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 if test -n "$CC"; then
1909 echo "$as_me:$LINENO: result: $CC" >&5
1910 echo "${ECHO_T}$CC" >&6
1912 echo "$as_me:$LINENO: result: no" >&5
1913 echo "${ECHO_T}no" >&6
1916 test -n "$CC" && break
1919 if test -z "$CC"; then
1923 # Extract the first word of "$ac_prog", so it can be a program name with args.
1924 set dummy
$ac_prog; ac_word
=$2
1925 echo "$as_me:$LINENO: checking for $ac_word" >&5
1926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1927 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1928 echo $ECHO_N "(cached) $ECHO_C" >&6
1930 if test -n "$ac_ct_CC"; then
1931 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1937 test -z "$as_dir" && as_dir
=.
1938 for ac_exec_ext
in '' $ac_executable_extensions; do
1939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1940 ac_cv_prog_ac_ct_CC
="$ac_prog"
1941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1949 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1950 if test -n "$ac_ct_CC"; then
1951 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1952 echo "${ECHO_T}$ac_ct_CC" >&6
1954 echo "$as_me:$LINENO: result: no" >&5
1955 echo "${ECHO_T}no" >&6
1958 test -n "$ac_ct_CC" && break
1967 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1968 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1969 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1970 See \`config.log' for more details." >&5
1971 echo "$as_me: error: no acceptable C compiler found in \$PATH
1972 See \`config.log' for more details." >&2;}
1973 { (exit 1); exit 1; }; }; }
1975 # Provide some information about the compiler.
1976 echo "$as_me:$LINENO:" \
1977 "checking for C compiler version" >&5
1978 ac_compiler
=`set X $ac_compile; echo $2`
1979 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1980 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1983 (exit $ac_status); }
1984 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1985 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1988 (exit $ac_status); }
1989 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1990 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1993 (exit $ac_status); }
1995 cat >conftest.
$ac_ext <<_ACEOF
1998 cat confdefs.h
>>conftest.
$ac_ext
1999 cat >>conftest.
$ac_ext <<_ACEOF
2000 /* end confdefs.h. */
2010 ac_clean_files_save
=$ac_clean_files
2011 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2012 # Try to create an executable without -o first, disregard a.out.
2013 # It will help us diagnose broken compilers, and finding out an intuition
2015 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2016 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2017 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2018 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2019 (eval $ac_link_default) 2>&5
2021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2022 (exit $ac_status); }; then
2023 # Find the output, starting from the most likely. This scheme is
2024 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2027 # Be careful to initialize this variable, since it used to be cached.
2028 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2030 # b.out is created by i960 compilers.
2031 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2033 test -f "$ac_file" ||
continue
2035 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2038 # This is the source file.
2041 # We found the default executable, but exeext='' is most
2045 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2046 # FIXME: I believe we export ac_cv_exeext for Libtool,
2047 # but it would be cool to find out if it's true. Does anybody
2048 # maintain Libtool? --akim.
2056 echo "$as_me: failed program was:" >&5
2057 sed 's/^/| /' conftest.
$ac_ext >&5
2059 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2060 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2061 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2062 See \`config.log' for more details." >&5
2063 echo "$as_me: error: C compiler cannot create executables
2064 See \`config.log' for more details." >&2;}
2065 { (exit 77); exit 77; }; }; }
2068 ac_exeext
=$ac_cv_exeext
2069 echo "$as_me:$LINENO: result: $ac_file" >&5
2070 echo "${ECHO_T}$ac_file" >&6
2072 # Check the compiler produces executables we can run. If not, either
2073 # the compiler is broken, or we cross compile.
2074 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2075 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2076 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2077 # If not cross compiling, check that we can run a simple program.
2078 if test "$cross_compiling" != yes; then
2079 if { ac_try
='./$ac_file'
2080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); }; }; then
2087 if test "$cross_compiling" = maybe
; then
2090 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2091 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2092 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2093 If you meant to cross compile, use \`--host'.
2094 See \`config.log' for more details." >&5
2095 echo "$as_me: error: cannot run C compiled programs.
2096 If you meant to cross compile, use \`--host'.
2097 See \`config.log' for more details." >&2;}
2098 { (exit 1); exit 1; }; }; }
2102 echo "$as_me:$LINENO: result: yes" >&5
2103 echo "${ECHO_T}yes" >&6
2105 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2106 ac_clean_files
=$ac_clean_files_save
2107 # Check the compiler produces executables we can run. If not, either
2108 # the compiler is broken, or we cross compile.
2109 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2110 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2111 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2112 echo "${ECHO_T}$cross_compiling" >&6
2114 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2115 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2117 (eval $ac_link) 2>&5
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); }; then
2121 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2122 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2123 # work properly (i.e., refer to `conftest.exe'), while it won't with
2125 for ac_file
in conftest.exe conftest conftest.
*; do
2126 test -f "$ac_file" ||
continue
2128 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2129 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2136 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2137 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2138 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2139 See \`config.log' for more details." >&5
2140 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2141 See \`config.log' for more details." >&2;}
2142 { (exit 1); exit 1; }; }; }
2145 rm -f conftest
$ac_cv_exeext
2146 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2147 echo "${ECHO_T}$ac_cv_exeext" >&6
2149 rm -f conftest.
$ac_ext
2150 EXEEXT
=$ac_cv_exeext
2152 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2153 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2154 if test "${ac_cv_objext+set}" = set; then
2155 echo $ECHO_N "(cached) $ECHO_C" >&6
2157 cat >conftest.
$ac_ext <<_ACEOF
2160 cat confdefs.h
>>conftest.
$ac_ext
2161 cat >>conftest.
$ac_ext <<_ACEOF
2162 /* end confdefs.h. */
2172 rm -f conftest.o conftest.obj
2173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2174 (eval $ac_compile) 2>&5
2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177 (exit $ac_status); }; then
2178 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2180 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2181 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2186 echo "$as_me: failed program was:" >&5
2187 sed 's/^/| /' conftest.
$ac_ext >&5
2189 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2190 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2191 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2192 See \`config.log' for more details." >&5
2193 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2194 See \`config.log' for more details." >&2;}
2195 { (exit 1); exit 1; }; }; }
2198 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2200 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2201 echo "${ECHO_T}$ac_cv_objext" >&6
2202 OBJEXT
=$ac_cv_objext
2204 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2205 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2206 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2207 echo $ECHO_N "(cached) $ECHO_C" >&6
2209 cat >conftest.
$ac_ext <<_ACEOF
2212 cat confdefs.h
>>conftest.
$ac_ext
2213 cat >>conftest.
$ac_ext <<_ACEOF
2214 /* end confdefs.h. */
2227 rm -f conftest.
$ac_objext
2228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2229 (eval $ac_compile) 2>conftest.er1
2231 grep -v '^ *+' conftest.er1
>conftest.err
2233 cat conftest.err
>&5
2234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235 (exit $ac_status); } &&
2236 { ac_try
='test -z "$ac_c_werror_flag"
2237 || test ! -s conftest.err'
2238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2242 (exit $ac_status); }; } &&
2243 { ac_try
='test -s conftest.$ac_objext'
2244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2248 (exit $ac_status); }; }; then
2251 echo "$as_me: failed program was:" >&5
2252 sed 's/^/| /' conftest.
$ac_ext >&5
2256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2257 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2260 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2261 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2262 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2263 ac_test_CFLAGS
=${CFLAGS+set}
2264 ac_save_CFLAGS
=$CFLAGS
2266 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2267 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2268 if test "${ac_cv_prog_cc_g+set}" = set; then
2269 echo $ECHO_N "(cached) $ECHO_C" >&6
2271 cat >conftest.
$ac_ext <<_ACEOF
2274 cat confdefs.h
>>conftest.
$ac_ext
2275 cat >>conftest.
$ac_ext <<_ACEOF
2276 /* end confdefs.h. */
2286 rm -f conftest.
$ac_objext
2287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2288 (eval $ac_compile) 2>conftest.er1
2290 grep -v '^ *+' conftest.er1
>conftest.err
2292 cat conftest.err
>&5
2293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2294 (exit $ac_status); } &&
2295 { ac_try
='test -z "$ac_c_werror_flag"
2296 || test ! -s conftest.err'
2297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301 (exit $ac_status); }; } &&
2302 { ac_try
='test -s conftest.$ac_objext'
2303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2307 (exit $ac_status); }; }; then
2310 echo "$as_me: failed program was:" >&5
2311 sed 's/^/| /' conftest.
$ac_ext >&5
2315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2317 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2318 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2319 if test "$ac_test_CFLAGS" = set; then
2320 CFLAGS
=$ac_save_CFLAGS
2321 elif test $ac_cv_prog_cc_g = yes; then
2322 if test "$GCC" = yes; then
2328 if test "$GCC" = yes; then
2334 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2335 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2336 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2339 ac_cv_prog_cc_stdc
=no
2341 cat >conftest.
$ac_ext <<_ACEOF
2344 cat confdefs.h
>>conftest.
$ac_ext
2345 cat >>conftest.
$ac_ext <<_ACEOF
2346 /* end confdefs.h. */
2349 #include <sys/types.h>
2350 #include <sys/stat.h>
2351 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2352 struct buf { int x; };
2353 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2354 static char *e (p, i)
2360 static char *f (char * (*g) (char **, int), char **p, ...)
2365 s = g (p, va_arg (v,int));
2370 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2371 function prototypes and stuff, but not '\xHH' hex character constants.
2372 These don't provoke an error unfortunately, instead are silently treated
2373 as 'x'. The following induces an error, until -std1 is added to get
2374 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2375 array size at least. It's necessary to write '\x00'==0 to get something
2376 that's true only with -std1. */
2377 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2379 int test (int i, double x);
2380 struct s1 {int (*f) (int a);};
2381 struct s2 {int (*f) (double a);};
2382 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2388 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2393 # Don't try gcc -ansi; that turns off useful extensions and
2394 # breaks some systems' header files.
2395 # AIX -qlanglvl=ansi
2396 # Ultrix and OSF/1 -std1
2397 # HP-UX 10.20 and later -Ae
2398 # HP-UX older versions -Aa -D_HPUX_SOURCE
2399 # SVR4 -Xc -D__EXTENSIONS__
2400 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2402 CC
="$ac_save_CC $ac_arg"
2403 rm -f conftest.
$ac_objext
2404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2405 (eval $ac_compile) 2>conftest.er1
2407 grep -v '^ *+' conftest.er1
>conftest.err
2409 cat conftest.err
>&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); } &&
2412 { ac_try
='test -z "$ac_c_werror_flag"
2413 || test ! -s conftest.err'
2414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); }; } &&
2419 { ac_try
='test -s conftest.$ac_objext'
2420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); }; }; then
2425 ac_cv_prog_cc_stdc
=$ac_arg
2428 echo "$as_me: failed program was:" >&5
2429 sed 's/^/| /' conftest.
$ac_ext >&5
2432 rm -f conftest.err conftest.
$ac_objext
2434 rm -f conftest.
$ac_ext conftest.
$ac_objext
2439 case "x$ac_cv_prog_cc_stdc" in
2441 echo "$as_me:$LINENO: result: none needed" >&5
2442 echo "${ECHO_T}none needed" >&6 ;;
2444 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2445 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2446 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2449 # Some people use a C++ compiler to compile C. Since we use `exit',
2450 # in C++ we need to declare it. In case someone uses the same compiler
2451 # for both compiling C and C++ we need to have the C++ compiler decide
2452 # the declaration of exit, since it's the most demanding environment.
2453 cat >conftest.
$ac_ext <<_ACEOF
2458 rm -f conftest.
$ac_objext
2459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2460 (eval $ac_compile) 2>conftest.er1
2462 grep -v '^ *+' conftest.er1
>conftest.err
2464 cat conftest.err
>&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); } &&
2467 { ac_try
='test -z "$ac_c_werror_flag"
2468 || test ! -s conftest.err'
2469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2473 (exit $ac_status); }; } &&
2474 { ac_try
='test -s conftest.$ac_objext'
2475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479 (exit $ac_status); }; }; then
2480 for ac_declaration
in \
2482 'extern "C" void std::exit (int) throw (); using std::exit;' \
2483 'extern "C" void std::exit (int); using std::exit;' \
2484 'extern "C" void exit (int) throw ();' \
2485 'extern "C" void exit (int);' \
2488 cat >conftest.
$ac_ext <<_ACEOF
2491 cat confdefs.h
>>conftest.
$ac_ext
2492 cat >>conftest.
$ac_ext <<_ACEOF
2493 /* end confdefs.h. */
2504 rm -f conftest.
$ac_objext
2505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2506 (eval $ac_compile) 2>conftest.er1
2508 grep -v '^ *+' conftest.er1
>conftest.err
2510 cat conftest.err
>&5
2511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 (exit $ac_status); } &&
2513 { ac_try
='test -z "$ac_c_werror_flag"
2514 || test ! -s conftest.err'
2515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2519 (exit $ac_status); }; } &&
2520 { ac_try
='test -s conftest.$ac_objext'
2521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }; }; then
2528 echo "$as_me: failed program was:" >&5
2529 sed 's/^/| /' conftest.
$ac_ext >&5
2533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2534 cat >conftest.
$ac_ext <<_ACEOF
2537 cat confdefs.h
>>conftest.
$ac_ext
2538 cat >>conftest.
$ac_ext <<_ACEOF
2539 /* end confdefs.h. */
2549 rm -f conftest.
$ac_objext
2550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2551 (eval $ac_compile) 2>conftest.er1
2553 grep -v '^ *+' conftest.er1
>conftest.err
2555 cat conftest.err
>&5
2556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557 (exit $ac_status); } &&
2558 { ac_try
='test -z "$ac_c_werror_flag"
2559 || test ! -s conftest.err'
2560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }; } &&
2565 { ac_try
='test -s conftest.$ac_objext'
2566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); }; }; then
2573 echo "$as_me: failed program was:" >&5
2574 sed 's/^/| /' conftest.
$ac_ext >&5
2577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2580 if test -n "$ac_declaration"; then
2581 echo '#ifdef __cplusplus' >>confdefs.h
2582 echo $ac_declaration >>confdefs.h
2583 echo '#endif' >>confdefs.h
2587 echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.
$ac_ext >&5
2591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2593 ac_cpp
='$CPP $CPPFLAGS'
2594 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2595 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2596 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2600 ac_cpp
='$CPP $CPPFLAGS'
2601 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2602 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2603 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2604 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2605 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2606 # On Suns, sometimes $CPP names a directory.
2607 if test -n "$CPP" && test -d "$CPP"; then
2610 if test -z "$CPP"; then
2611 if test "${ac_cv_prog_CPP+set}" = set; then
2612 echo $ECHO_N "(cached) $ECHO_C" >&6
2614 # Double quotes because CPP needs to be expanded
2615 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2618 for ac_c_preproc_warn_flag
in '' yes
2620 # Use a header file that comes with gcc, so configuring glibc
2621 # with a fresh cross-compiler works.
2622 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2623 # <limits.h> exists even on freestanding compilers.
2624 # On the NeXT, cc -E runs the code through the compiler's parser,
2625 # not just through cpp. "Syntax error" is here to catch this case.
2626 cat >conftest.
$ac_ext <<_ACEOF
2629 cat confdefs.h
>>conftest.
$ac_ext
2630 cat >>conftest.
$ac_ext <<_ACEOF
2631 /* end confdefs.h. */
2633 # include <limits.h>
2635 # include <assert.h>
2639 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2640 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2642 grep -v '^ *+' conftest.er1
>conftest.err
2644 cat conftest.err
>&5
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); } >/dev
/null
; then
2647 if test -s conftest.err
; then
2648 ac_cpp_err
=$ac_c_preproc_warn_flag
2649 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2656 if test -z "$ac_cpp_err"; then
2659 echo "$as_me: failed program was:" >&5
2660 sed 's/^/| /' conftest.
$ac_ext >&5
2662 # Broken: fails on valid input.
2665 rm -f conftest.err conftest.
$ac_ext
2667 # OK, works on sane cases. Now check whether non-existent headers
2668 # can be detected and how.
2669 cat >conftest.
$ac_ext <<_ACEOF
2672 cat confdefs.h
>>conftest.
$ac_ext
2673 cat >>conftest.
$ac_ext <<_ACEOF
2674 /* end confdefs.h. */
2675 #include <ac_nonexistent.h>
2677 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2678 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2680 grep -v '^ *+' conftest.er1
>conftest.err
2682 cat conftest.err
>&5
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); } >/dev
/null
; then
2685 if test -s conftest.err
; then
2686 ac_cpp_err
=$ac_c_preproc_warn_flag
2687 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2694 if test -z "$ac_cpp_err"; then
2695 # Broken: success on invalid input.
2698 echo "$as_me: failed program was:" >&5
2699 sed 's/^/| /' conftest.
$ac_ext >&5
2701 # Passes both tests.
2705 rm -f conftest.err conftest.
$ac_ext
2708 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2709 rm -f conftest.err conftest.
$ac_ext
2710 if $ac_preproc_ok; then
2722 echo "$as_me:$LINENO: result: $CPP" >&5
2723 echo "${ECHO_T}$CPP" >&6
2725 for ac_c_preproc_warn_flag
in '' yes
2727 # Use a header file that comes with gcc, so configuring glibc
2728 # with a fresh cross-compiler works.
2729 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2730 # <limits.h> exists even on freestanding compilers.
2731 # On the NeXT, cc -E runs the code through the compiler's parser,
2732 # not just through cpp. "Syntax error" is here to catch this case.
2733 cat >conftest.
$ac_ext <<_ACEOF
2736 cat confdefs.h
>>conftest.
$ac_ext
2737 cat >>conftest.
$ac_ext <<_ACEOF
2738 /* end confdefs.h. */
2740 # include <limits.h>
2742 # include <assert.h>
2746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2747 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2749 grep -v '^ *+' conftest.er1
>conftest.err
2751 cat conftest.err
>&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); } >/dev
/null
; then
2754 if test -s conftest.err
; then
2755 ac_cpp_err
=$ac_c_preproc_warn_flag
2756 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2763 if test -z "$ac_cpp_err"; then
2766 echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.
$ac_ext >&5
2769 # Broken: fails on valid input.
2772 rm -f conftest.err conftest.
$ac_ext
2774 # OK, works on sane cases. Now check whether non-existent headers
2775 # can be detected and how.
2776 cat >conftest.
$ac_ext <<_ACEOF
2779 cat confdefs.h
>>conftest.
$ac_ext
2780 cat >>conftest.
$ac_ext <<_ACEOF
2781 /* end confdefs.h. */
2782 #include <ac_nonexistent.h>
2784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2785 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2787 grep -v '^ *+' conftest.er1
>conftest.err
2789 cat conftest.err
>&5
2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791 (exit $ac_status); } >/dev
/null
; then
2792 if test -s conftest.err
; then
2793 ac_cpp_err
=$ac_c_preproc_warn_flag
2794 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2801 if test -z "$ac_cpp_err"; then
2802 # Broken: success on invalid input.
2805 echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.
$ac_ext >&5
2808 # Passes both tests.
2812 rm -f conftest.err conftest.
$ac_ext
2815 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2816 rm -f conftest.err conftest.
$ac_ext
2817 if $ac_preproc_ok; then
2820 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2821 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2822 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2823 See \`config.log' for more details." >&5
2824 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2825 See \`config.log' for more details." >&2;}
2826 { (exit 1); exit 1; }; }; }
2830 ac_cpp
='$CPP $CPPFLAGS'
2831 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2832 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2833 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2836 echo "$as_me:$LINENO: checking for egrep" >&5
2837 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2838 if test "${ac_cv_prog_egrep+set}" = set; then
2839 echo $ECHO_N "(cached) $ECHO_C" >&6
2841 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2842 then ac_cv_prog_egrep
='grep -E'
2843 else ac_cv_prog_egrep
='egrep'
2846 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2847 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2848 EGREP
=$ac_cv_prog_egrep
2851 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2852 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2853 if test "${ac_cv_header_stdc+set}" = set; then
2854 echo $ECHO_N "(cached) $ECHO_C" >&6
2856 cat >conftest.
$ac_ext <<_ACEOF
2859 cat confdefs.h
>>conftest.
$ac_ext
2860 cat >>conftest.
$ac_ext <<_ACEOF
2861 /* end confdefs.h. */
2875 rm -f conftest.
$ac_objext
2876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2877 (eval $ac_compile) 2>conftest.er1
2879 grep -v '^ *+' conftest.er1
>conftest.err
2881 cat conftest.err
>&5
2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); } &&
2884 { ac_try
='test -z "$ac_c_werror_flag"
2885 || test ! -s conftest.err'
2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }; } &&
2891 { ac_try
='test -s conftest.$ac_objext'
2892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); }; }; then
2897 ac_cv_header_stdc
=yes
2899 echo "$as_me: failed program was:" >&5
2900 sed 's/^/| /' conftest.
$ac_ext >&5
2902 ac_cv_header_stdc
=no
2904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2906 if test $ac_cv_header_stdc = yes; then
2907 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2908 cat >conftest.
$ac_ext <<_ACEOF
2911 cat confdefs.h
>>conftest.
$ac_ext
2912 cat >>conftest.
$ac_ext <<_ACEOF
2913 /* end confdefs.h. */
2917 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2918 $EGREP "memchr" >/dev
/null
2>&1; then
2921 ac_cv_header_stdc
=no
2927 if test $ac_cv_header_stdc = yes; then
2928 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2929 cat >conftest.
$ac_ext <<_ACEOF
2932 cat confdefs.h
>>conftest.
$ac_ext
2933 cat >>conftest.
$ac_ext <<_ACEOF
2934 /* end confdefs.h. */
2938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2939 $EGREP "free" >/dev
/null
2>&1; then
2942 ac_cv_header_stdc
=no
2948 if test $ac_cv_header_stdc = yes; then
2949 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2950 if test "$cross_compiling" = yes; then
2953 cat >conftest.
$ac_ext <<_ACEOF
2956 cat confdefs.h
>>conftest.
$ac_ext
2957 cat >>conftest.
$ac_ext <<_ACEOF
2958 /* end confdefs.h. */
2960 #if ((' ' & 0x0FF) == 0x020)
2961 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2962 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2964 # define ISLOWER(c) \
2965 (('a' <= (c) && (c) <= 'i') \
2966 || ('j' <= (c) && (c) <= 'r') \
2967 || ('s' <= (c) && (c) <= 'z'))
2968 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2971 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2976 for (i = 0; i < 256; i++)
2977 if (XOR (islower (i), ISLOWER (i))
2978 || toupper (i) != TOUPPER (i))
2983 rm -f conftest
$ac_exeext
2984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2985 (eval $ac_link) 2>&5
2987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); }; }; then
2996 echo "$as_me: program exited with status $ac_status" >&5
2997 echo "$as_me: failed program was:" >&5
2998 sed 's/^/| /' conftest.
$ac_ext >&5
3001 ac_cv_header_stdc
=no
3003 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3007 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3008 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3009 if test $ac_cv_header_stdc = yes; then
3011 cat >>confdefs.h
<<\_ACEOF
3012 #define STDC_HEADERS 1
3017 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3027 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3028 inttypes.h stdint.h unistd.h
3030 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3031 echo "$as_me:$LINENO: checking for $ac_header" >&5
3032 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3034 echo $ECHO_N "(cached) $ECHO_C" >&6
3036 cat >conftest.
$ac_ext <<_ACEOF
3039 cat confdefs.h
>>conftest.
$ac_ext
3040 cat >>conftest.
$ac_ext <<_ACEOF
3041 /* end confdefs.h. */
3042 $ac_includes_default
3044 #include <$ac_header>
3046 rm -f conftest.
$ac_objext
3047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3048 (eval $ac_compile) 2>conftest.er1
3050 grep -v '^ *+' conftest.er1
>conftest.err
3052 cat conftest.err
>&5
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); } &&
3055 { ac_try
='test -z "$ac_c_werror_flag"
3056 || test ! -s conftest.err'
3057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061 (exit $ac_status); }; } &&
3062 { ac_try
='test -s conftest.$ac_objext'
3063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3067 (exit $ac_status); }; }; then
3068 eval "$as_ac_Header=yes"
3070 echo "$as_me: failed program was:" >&5
3071 sed 's/^/| /' conftest.
$ac_ext >&5
3073 eval "$as_ac_Header=no"
3075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3080 cat >>confdefs.h
<<_ACEOF
3081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3090 for ac_header
in pthread.h
3092 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3094 echo "$as_me:$LINENO: checking for $ac_header" >&5
3095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3097 echo $ECHO_N "(cached) $ECHO_C" >&6
3099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3102 # Is the header compilable?
3103 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3104 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3105 cat >conftest.
$ac_ext <<_ACEOF
3108 cat confdefs.h
>>conftest.
$ac_ext
3109 cat >>conftest.
$ac_ext <<_ACEOF
3110 /* end confdefs.h. */
3111 $ac_includes_default
3112 #include <$ac_header>
3114 rm -f conftest.
$ac_objext
3115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3116 (eval $ac_compile) 2>conftest.er1
3118 grep -v '^ *+' conftest.er1
>conftest.err
3120 cat conftest.err
>&5
3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); } &&
3123 { ac_try
='test -z "$ac_c_werror_flag"
3124 || test ! -s conftest.err'
3125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); }; } &&
3130 { ac_try
='test -s conftest.$ac_objext'
3131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); }; }; then
3136 ac_header_compiler
=yes
3138 echo "$as_me: failed program was:" >&5
3139 sed 's/^/| /' conftest.
$ac_ext >&5
3141 ac_header_compiler
=no
3143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3144 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3145 echo "${ECHO_T}$ac_header_compiler" >&6
3147 # Is the header present?
3148 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3149 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3150 cat >conftest.
$ac_ext <<_ACEOF
3153 cat confdefs.h
>>conftest.
$ac_ext
3154 cat >>conftest.
$ac_ext <<_ACEOF
3155 /* end confdefs.h. */
3156 #include <$ac_header>
3158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3159 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3161 grep -v '^ *+' conftest.er1
>conftest.err
3163 cat conftest.err
>&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); } >/dev
/null
; then
3166 if test -s conftest.err
; then
3167 ac_cpp_err
=$ac_c_preproc_warn_flag
3168 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3175 if test -z "$ac_cpp_err"; then
3176 ac_header_preproc
=yes
3178 echo "$as_me: failed program was:" >&5
3179 sed 's/^/| /' conftest.
$ac_ext >&5
3181 ac_header_preproc
=no
3183 rm -f conftest.err conftest.
$ac_ext
3184 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3185 echo "${ECHO_T}$ac_header_preproc" >&6
3187 # So? What about this header?
3188 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3190 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3191 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3193 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3194 ac_header_preproc
=yes
3197 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3198 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3199 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3200 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3201 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3202 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3203 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3204 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3206 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3207 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3208 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3211 ## ------------------------------------------ ##
3212 ## Report this to the AC_PACKAGE_NAME lists. ##
3213 ## ------------------------------------------ ##
3216 sed "s/^/$as_me: WARNING: /" >&2
3219 echo "$as_me:$LINENO: checking for $ac_header" >&5
3220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3222 echo $ECHO_N "(cached) $ECHO_C" >&6
3224 eval "$as_ac_Header=\$ac_header_preproc"
3226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3231 cat >>confdefs.h
<<_ACEOF
3232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3242 ac_config_files
="$ac_config_files Makefile gdb.ada/Makefile gdb.arch/Makefile gdb.asm/Makefile gdb.base/Makefile gdb.cp/Makefile gdb.disasm/Makefile gdb.dwarf2/Makefile gdb.fortran/Makefile gdb.server/Makefile gdb.java/Makefile gdb.mi/Makefile gdb.modula2/Makefile gdb.objc/Makefile gdb.opt/Makefile gdb.pascal/Makefile gdb.python/Makefile gdb.reverse/Makefile gdb.threads/Makefile gdb.trace/Makefile gdb.xml/Makefile"
3243 cat >confcache
<<\_ACEOF
3244 # This file is a shell script that caches the results of configure
3245 # tests run on this system so they can be shared between configure
3246 # scripts and configure runs, see configure's option --config-cache.
3247 # It is not useful on other systems. If it contains results you don't
3248 # want to keep, you may remove or edit it.
3250 # config.status only pays attention to the cache file if you give it
3251 # the --recheck option to rerun configure.
3253 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3254 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3259 # The following way of writing the cache mishandles newlines in values,
3260 # but we know of no workaround that is simple, portable, and efficient.
3261 # So, don't put newlines in cache variables' values.
3262 # Ultrix sh set writes to stderr and can't be redirected directly,
3263 # and sets the high bit in the cache file unless we assign to the vars.
3266 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3268 # `set' does not quote correctly, so add quotes (double-quote
3269 # substitution turns \\\\ into \\, and sed turns \\ into \).
3272 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3275 # `set' quotes correctly as required by POSIX, so do not add quotes.
3277 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3284 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3286 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3288 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3289 if test -w $cache_file; then
3290 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3291 cat confcache
>$cache_file
3293 echo "not updating unwritable cache $cache_file"
3298 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3299 # Let make expand exec_prefix.
3300 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3302 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3303 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3304 # trailing colons and then remove the whole line if VPATH becomes empty
3305 # (actually we leave an empty line to preserve line numbers).
3306 if test "x$srcdir" = x.
; then
3307 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3308 s/:*\$(srcdir):*/:/;
3309 s/:*\${srcdir}:*/:/;
3311 s/^\([^=]*=[ ]*\):*/\1/;
3317 # Transform confdefs.h into DEFS.
3318 # Protect against shell expansion while executing Makefile rules.
3319 # Protect against Makefile macro expansion.
3321 # If the first sed substitution is executed (which looks for macros that
3322 # take arguments), then we branch to the quote section. Otherwise,
3323 # look for a macro that doesn't take arguments.
3324 cat >confdef2opt.
sed <<\_ACEOF
3327 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3329 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3333 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3339 # We use echo to avoid assuming a particular line-breaking character.
3340 # The extra dot is to prevent the shell from consuming trailing
3341 # line-breaks from the sub-command output. A line-break within
3342 # single-quotes doesn't work because, if this script is created in a
3343 # platform that uses two characters for line-breaks (e.g., DOS), tr
3345 ac_LF_and_DOT=`echo; echo .
`
3346 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
3347 rm -f confdef2opt.sed
3352 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3353 # 1. Remove the extension, and $U if already installed.
3354 ac_i=`echo "$ac_i" |
3355 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3357 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3358 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3362 LTLIBOBJS=$ac_ltlibobjs
3365 if test -z "${GMAKE_TRUE}" && test -z "${GMAKE_FALSE}"; then
3366 { { echo "$as_me:$LINENO: error: conditional \"GMAKE\" was never defined.
3367 Usually this means the macro was only invoked conditionally." >&5
3368 echo "$as_me: error: conditional \"GMAKE\" was never defined.
3369 Usually this means the macro was only invoked conditionally." >&2;}
3370 { (exit 1); exit 1; }; }
3373 : ${CONFIG_STATUS=./config.status}
3374 ac_clean_files_save=$ac_clean_files
3375 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3376 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3377 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3378 cat >$CONFIG_STATUS <<_ACEOF
3380 # Generated by $as_me.
3381 # Run this file to recreate the current configuration.
3382 # Compiler output produced by configure, useful for debugging
3383 # configure, is in config.log if it exists.
3388 SHELL=\${CONFIG_SHELL-$SHELL}
3391 cat >>$CONFIG_STATUS <<\_ACEOF
3392 ## --------------------- ##
3393 ## M4sh Initialization. ##
3394 ## --------------------- ##
3396 # Be Bourne compatible
3397 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3400 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3401 # is contrary to our usage. Disable this feature.
3402 alias -g '${1+"$@"}'='"$@"'
3403 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3406 DUALCASE=1; export DUALCASE # for MKS sh
3408 # Support unset when possible.
3409 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3416 # Work around bugs in pre-3.0 UWIN ksh.
3417 $as_unset ENV MAIL MAILPATH
3424 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3425 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3426 LC_TELEPHONE LC_TIME
3428 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
3429 eval $as_var=C; export $as_var
3435 # Required to use basename.
3436 if expr a : '\(a\)' >/dev/null 2>&1; then
3442 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3443 as_basename=basename
3449 # Name of the executable.
3450 as_me=`$as_basename "$0" ||
3451 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3452 X
"$0" : 'X\(//\)$' \| \
3453 X
"$0" : 'X\(/\)$' \| \
3454 .
: '\(.\)' 2>/dev
/null ||
3456 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3457 /^X\/\(\/\/\)$/{ s//\1/; q; }
3458 /^X\/\(\/\).*/{ s//\1/; q; }
3462 # PATH needs CR, and LINENO needs CR and PATH.
3463 # Avoid depending upon Character Ranges.
3464 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3465 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3466 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3467 as_cr_digits='0123456789'
3468 as_cr_alnum=$as_cr_Letters$as_cr_digits
3470 # The user is always right.
3471 if test "${PATH_SEPARATOR+set}" != set; then
3472 echo "#! /bin/sh" >conf$$.sh
3473 echo "exit 0" >>conf$$.sh
3475 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3486 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
3487 test "x$as_lineno_1" != "x$as_lineno_2" &&
3488 test "x$as_lineno_3" = "x$as_lineno_2" || {
3489 # Find who we are. Look in the path if we contain no path at all
3492 *[\\/]* ) as_myself=$0 ;;
3493 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3497 test -z "$as_dir" && as_dir=.
3498 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3503 # We did not find ourselves, most probably we were run as `sh COMMAND
'
3504 # in which case we are not to be found in the path.
3505 if test "x$as_myself" = x; then
3508 if test ! -f "$as_myself"; then
3509 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3510 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3511 { (exit 1); exit 1; }; }
3513 case $CONFIG_SHELL in
3515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3516 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3519 test -z "$as_dir" && as_dir=.
3520 for as_base in sh bash ksh sh5; do
3523 if ("$as_dir/$as_base" -c '
3526 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3527 test "x$as_lineno_1" != "x$as_lineno_2" &&
3528 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3529 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3530 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3531 CONFIG_SHELL=$as_dir/$as_base
3533 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3541 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3542 # uniformly replaced by the line number. The first 'sed' inserts a
3543 # line-number line before each line; the second 'sed' does the real
3544 # work. The second script uses 'N
' to pair each line-number line
3545 # with the numbered line, and appends trailing '-' during
3546 # substitution so that $LINENO is not a special case at line end.
3547 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3548 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
3549 sed '=' <$as_myself |
3554 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3557 s,^['$as_cr_digits']*\n,,
3559 chmod +x
$as_me.lineno ||
3560 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3561 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3562 { (exit 1); exit 1; }; }
3564 # Don't try to exec as it changes $[0], causing all sort of problems
3565 # (the dirname of $[0] is not the place where we might find the
3566 # original and so on. Autoconf is especially sensible to this).
3568 # Exit status is that of the last command.
3573 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3574 *c
*,-n*) ECHO_N
= ECHO_C
='
3576 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
3577 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
3580 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3586 rm -f conf$$ conf$$.exe conf$$.
file
3588 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3589 # We could just check for DJGPP; but this test a) works b) is more generic
3590 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3591 if test -f conf$$.exe
; then
3592 # Don't use ln at all; we don't have any links
3597 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3602 rm -f conf$$ conf$$.exe conf$$.
file
3604 if mkdir
-p .
2>/dev
/null
; then
3607 test -d .
/-p && rmdir .
/-p
3611 as_executable_p
="test -f"
3613 # Sed expression to map a string onto a valid CPP name.
3614 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3616 # Sed expression to map a string onto a valid variable name.
3617 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3621 # We need space, tab and new line, in precisely that order.
3631 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3632 # report actual input values of CONFIG_FILES etc. instead of their
3633 # values after options handling. Logging --version etc. is OK.
3637 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3638 ## Running $as_me. ##
3643 This file was extended by $as_me, which was
3644 generated by GNU Autoconf 2.59. Invocation command line was
3646 CONFIG_FILES = $CONFIG_FILES
3647 CONFIG_HEADERS = $CONFIG_HEADERS
3648 CONFIG_LINKS = $CONFIG_LINKS
3649 CONFIG_COMMANDS = $CONFIG_COMMANDS
3653 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3657 # Files that config.status was made for.
3658 if test -n "$ac_config_files"; then
3659 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3662 if test -n "$ac_config_headers"; then
3663 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3666 if test -n "$ac_config_links"; then
3667 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3670 if test -n "$ac_config_commands"; then
3671 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3674 cat >>$CONFIG_STATUS <<\_ACEOF
3677 \`$as_me' instantiates files from templates according to the
3678 current configuration.
3680 Usage: $0 [OPTIONS] [FILE]...
3682 -h, --help print this help, then exit
3683 -V, --version print version number, then exit
3684 -q, --quiet do not print progress messages
3685 -d, --debug don't remove temporary files
3686 --recheck update $as_me by reconfiguring in the same conditions
3687 --file=FILE[:TEMPLATE]
3688 instantiate the configuration file FILE
3690 Configuration files:
3693 Report bugs to <bug-autoconf@gnu.org>."
3696 cat >>$CONFIG_STATUS <<_ACEOF
3699 configured by $0, generated by GNU Autoconf 2.59,
3700 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3702 Copyright (C) 2003 Free Software Foundation, Inc.
3703 This config.status script is free software; the Free Software Foundation
3704 gives unlimited permission to copy, distribute and modify it."
3708 cat >>$CONFIG_STATUS <<\_ACEOF
3709 # If no file are specified by the user, then we need to provide default
3710 # value. By we need to know if files were specified by the user.
3716 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
3717 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
3725 *) # This is not an option, so the user has probably given explicit
3728 ac_need_defaults
=false
;;
3732 # Handling of the options.
3734 cat >>$CONFIG_STATUS <<\_ACEOF
3735 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3737 --version |
--vers* |
-V )
3738 echo "$ac_cs_version"; exit 0 ;;
3740 # Conflict between --help and --header
3741 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3742 Try \`$0 --help' for more information." >&5
3743 echo "$as_me: error: ambiguous option: $1
3744 Try \`$0 --help' for more information." >&2;}
3745 { (exit 1); exit 1; }; };;
3746 --help |
--hel |
-h )
3747 echo "$ac_cs_usage"; exit 0 ;;
3748 --debug |
--d* |
-d )
3750 --file |
--fil |
--fi |
--f )
3752 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
3753 ac_need_defaults
=false
;;
3754 --header |
--heade |
--head |
--hea )
3756 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
3757 ac_need_defaults
=false
;;
3758 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3759 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3763 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3764 Try \`$0 --help' for more information." >&5
3765 echo "$as_me: error: unrecognized option: $1
3766 Try \`$0 --help' for more information." >&2;}
3767 { (exit 1); exit 1; }; } ;;
3769 *) ac_config_targets
="$ac_config_targets $1" ;;
3775 ac_configure_extra_args
=
3777 if $ac_cs_silent; then
3779 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3783 cat >>$CONFIG_STATUS <<_ACEOF
3784 if \$ac_cs_recheck; then
3785 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3786 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3795 cat >>$CONFIG_STATUS <<\_ACEOF
3796 for ac_config_target
in $ac_config_targets
3798 case "$ac_config_target" in
3799 # Handling of arguments.
3800 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3801 "gdb.ada/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gdb.ada/Makefile" ;;
3802 "gdb.arch/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gdb.arch/Makefile" ;;
3803 "gdb.asm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gdb.asm/Makefile" ;;
3804 "gdb.base/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gdb.base/Makefile" ;;
3805 "gdb.cp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gdb.cp/Makefile" ;;
3806 "gdb.disasm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gdb.disasm/Makefile" ;;
3807 "gdb.dwarf2/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gdb.dwarf2/Makefile" ;;
3808 "gdb.fortran/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gdb.fortran/Makefile" ;;
3809 "gdb.server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gdb.server/Makefile" ;;
3810 "gdb.java/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gdb.java/Makefile" ;;
3811 "gdb.mi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gdb.mi/Makefile" ;;
3812 "gdb.modula2/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gdb.modula2/Makefile" ;;
3813 "gdb.objc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gdb.objc/Makefile" ;;
3814 "gdb.opt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gdb.opt/Makefile" ;;
3815 "gdb.pascal/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gdb.pascal/Makefile" ;;
3816 "gdb.python/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gdb.python/Makefile" ;;
3817 "gdb.reverse/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gdb.reverse/Makefile" ;;
3818 "gdb.threads/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gdb.threads/Makefile" ;;
3819 "gdb.trace/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gdb.trace/Makefile" ;;
3820 "gdb.xml/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gdb.xml/Makefile" ;;
3821 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3822 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3823 { (exit 1); exit 1; }; };;
3827 # If the user did not use the arguments to specify the items to instantiate,
3828 # then the envvar interface is used. Set only those that are not.
3829 # We use the long form for the default assignment because of an extremely
3830 # bizarre bug on SunOS 4.1.3.
3831 if $ac_need_defaults; then
3832 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3835 # Have a temporary directory for convenience. Make it in the build tree
3836 # simply because there is no reason to put it here, and in addition,
3837 # creating and moving files from /tmp can sometimes cause problems.
3838 # Create a temporary directory, and hook for its removal unless debugging.
3841 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3842 trap '{ (exit 1); exit 1; }' 1 2 13 15
3845 # Create a (secure) tmp directory for tmp files.
3848 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3849 test -n "$tmp" && test -d "$tmp"
3852 tmp
=.
/confstat$$
-$RANDOM
3853 (umask 077 && mkdir
$tmp)
3856 echo "$me: cannot create a temporary directory in ." >&2
3857 { (exit 1); exit 1; }
3862 cat >>$CONFIG_STATUS <<_ACEOF
3865 # CONFIG_FILES section.
3868 # No need to generate the scripts if there are no CONFIG_FILES.
3869 # This happens for instance when ./config.status config.h
3870 if test -n "\$CONFIG_FILES"; then
3871 # Protect against being on the right side of a sed subst in config.status.
3872 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3873 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3874 s,@SHELL@,$SHELL,;t t
3875 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3876 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3877 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3878 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3879 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3880 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3881 s,@exec_prefix@,$exec_prefix,;t t
3882 s,@prefix@,$prefix,;t t
3883 s,@program_transform_name@,$program_transform_name,;t t
3884 s,@bindir@,$bindir,;t t
3885 s,@sbindir@,$sbindir,;t t
3886 s,@libexecdir@,$libexecdir,;t t
3887 s,@datadir@,$datadir,;t t
3888 s,@sysconfdir@,$sysconfdir,;t t
3889 s,@sharedstatedir@,$sharedstatedir,;t t
3890 s,@localstatedir@,$localstatedir,;t t
3891 s,@libdir@,$libdir,;t t
3892 s,@includedir@,$includedir,;t t
3893 s,@oldincludedir@,$oldincludedir,;t t
3894 s,@infodir@,$infodir,;t t
3895 s,@mandir@,$mandir,;t t
3896 s,@build_alias@,$build_alias,;t t
3897 s,@host_alias@,$host_alias,;t t
3898 s,@target_alias@,$target_alias,;t t
3900 s,@ECHO_C@,$ECHO_C,;t t
3901 s,@ECHO_N@,$ECHO_N,;t t
3902 s,@ECHO_T@,$ECHO_T,;t t
3904 s,@build@,$build,;t t
3905 s,@build_cpu@,$build_cpu,;t t
3906 s,@build_vendor@,$build_vendor,;t t
3907 s,@build_os@,$build_os,;t t
3909 s,@host_cpu@,$host_cpu,;t t
3910 s,@host_vendor@,$host_vendor,;t t
3911 s,@host_os@,$host_os,;t t
3912 s,@target@,$target,;t t
3913 s,@target_cpu@,$target_cpu,;t t
3914 s,@target_vendor@,$target_vendor,;t t
3915 s,@target_os@,$target_os,;t t
3916 s,@target_noncanonical@,$target_noncanonical,;t t
3918 s,@GMAKE_TRUE@,$GMAKE_TRUE,;t t
3919 s,@GMAKE_FALSE@,$GMAKE_FALSE,;t t
3920 s,@SET_MAKE@,$SET_MAKE,;t t
3921 s,@subdirs@,$subdirs,;t t
3922 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
3924 s,@CFLAGS@,$CFLAGS,;t t
3925 s,@LDFLAGS@,$LDFLAGS,;t t
3926 s,@CPPFLAGS@,$CPPFLAGS,;t t
3927 s,@ac_ct_CC@,$ac_ct_CC,;t t
3928 s,@EXEEXT@,$EXEEXT,;t t
3929 s,@OBJEXT@,$OBJEXT,;t t
3931 s,@EGREP@,$EGREP,;t t
3932 s,@LIBOBJS@,$LIBOBJS,;t t
3933 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3938 cat >>$CONFIG_STATUS <<\_ACEOF
3939 # Split the substitutions into bite-sized pieces for seds with
3940 # small command number limits, like on Digital OSF/1 and HP-UX.
3942 ac_sed_frag
=1 # Number of current file.
3943 ac_beg
=1 # First line for current file.
3944 ac_end
=$ac_max_sed_lines # Line after last line for current file.
3947 while $ac_more_lines; do
3948 if test $ac_beg -gt 1; then
3949 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3951 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3953 if test ! -s $tmp/subs.frag
; then
3956 # The purpose of the label and of the branching condition is to
3957 # speed up the sed processing (if there are no `@' at all, there
3958 # is no need to browse any of the substitutions).
3959 # These are the two extra sed commands mentioned above.
3961 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
3962 if test -z "$ac_sed_cmds"; then
3963 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
3965 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3967 ac_sed_frag
=`expr $ac_sed_frag + 1`
3969 ac_end
=`expr $ac_end + $ac_max_sed_lines`
3972 if test -z "$ac_sed_cmds"; then
3975 fi # test -n "$CONFIG_FILES"
3978 cat >>$CONFIG_STATUS <<\_ACEOF
3979 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
3980 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3982 - |
*:- |
*:-:* ) # input from stdin
3984 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3985 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3986 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3987 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3988 * ) ac_file_in
=$ac_file.
in ;;
3991 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3992 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
3993 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3994 X"$ac_file" : 'X\(//\)[^/]' \| \
3995 X"$ac_file" : 'X\(//\)$' \| \
3996 X"$ac_file" : 'X\(/\)' \| \
3997 . : '\(.\)' 2>/dev/null ||
3999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4000 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4001 /^X\(\/\/\)$/{ s//\1/; q; }
4002 /^X\(\/\).*/{ s//\1/; q; }
4004 { if $as_mkdir_p; then
4009 while test ! -d "$as_dir"; do
4010 as_dirs
="$as_dir $as_dirs"
4011 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4012 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4013 X"$as_dir" : 'X\(//\)[^/]' \| \
4014 X"$as_dir" : 'X\(//\)$' \| \
4015 X"$as_dir" : 'X\(/\)' \| \
4016 . : '\(.\)' 2>/dev/null ||
4018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4019 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4020 /^X\(\/\/\)$/{ s//\1/; q; }
4021 /^X\(\/\).*/{ s//\1/; q; }
4024 test ! -n "$as_dirs" || mkdir
$as_dirs
4025 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4026 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4027 { (exit 1); exit 1; }; }; }
4031 if test "$ac_dir" != .
; then
4032 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4033 # A "../" for each directory in $ac_dir_suffix.
4034 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4036 ac_dir_suffix
= ac_top_builddir
=
4040 .
) # No --srcdir option. We are building in place.
4042 if test -z "$ac_top_builddir"; then
4045 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4047 [\\/]* | ?
:[\\/]* ) # Absolute path.
4048 ac_srcdir
=$srcdir$ac_dir_suffix;
4049 ac_top_srcdir
=$srcdir ;;
4051 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4052 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4055 # Do not use `cd foo && pwd` to compute absolute paths, because
4056 # the directories may not exist.
4058 .
) ac_abs_builddir
="$ac_dir";;
4061 .
) ac_abs_builddir
=`pwd`;;
4062 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
4063 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
4066 case $ac_abs_builddir in
4067 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4069 case ${ac_top_builddir}.
in
4070 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
4071 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4072 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
4075 case $ac_abs_builddir in
4076 .
) ac_abs_srcdir
=$ac_srcdir;;
4079 .
) ac_abs_srcdir
=$ac_abs_builddir;;
4080 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
4081 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
4084 case $ac_abs_builddir in
4085 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
4087 case $ac_top_srcdir in
4088 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
4089 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
4090 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
4096 if test x
"$ac_file" != x-
; then
4097 { echo "$as_me:$LINENO: creating $ac_file" >&5
4098 echo "$as_me: creating $ac_file" >&6;}
4101 # Let's still pretend it is `configure' which instantiates (i.e., don't
4102 # use $as_me), people would be surprised to read:
4103 # /* config.h. Generated by config.status. */
4104 if test x
"$ac_file" = x-
; then
4107 configure_input
="$ac_file. "
4109 configure_input
=$configure_input"Generated from `echo $ac_file_in |
4110 sed 's,.*/,,'` by configure."
4112 # First look for the input files in the build tree, otherwise in the
4114 ac_file_inputs
=`IFS=:
4115 for f in $ac_file_in; do
4117 -) echo $tmp/stdin ;;
4119 # Absolute (can't be DOS-style, as IFS=:)
4120 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4121 echo "$as_me: error: cannot find input file: $f" >&2;}
4122 { (exit 1); exit 1; }; }
4125 if test -f "$f"; then
4128 elif test -f "$srcdir/$f"; then
4133 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4134 echo "$as_me: error: cannot find input file: $f" >&2;}
4135 { (exit 1); exit 1; }; }
4138 done` ||
{ (exit 1); exit 1; }
4140 cat >>$CONFIG_STATUS <<_ACEOF
4144 cat >>$CONFIG_STATUS <<\_ACEOF
4146 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4147 s
,@configure_input@
,$configure_input,;t t
4148 s
,@srcdir@
,$ac_srcdir,;t t
4149 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4150 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4151 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4152 s
,@builddir@
,$ac_builddir,;t t
4153 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4154 s
,@top_builddir@
,$ac_top_builddir,;t t
4155 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4156 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4158 if test x"$ac_file" != x-; then
4159 mv $tmp/out $ac_file
4168 cat >>$CONFIG_STATUS <<\_ACEOF
4170 { (exit 0); exit 0; }
4172 chmod +x $CONFIG_STATUS
4173 ac_clean_files=$ac_clean_files_save
4176 # configure is writing to config.log, and then calls config.status.
4177 # config.status does its own redirection, appending to config.log.
4178 # Unfortunately, on DOS this fails, as config.log is still kept open
4179 # by configure, so config.status won't be able to write to it; its
4180 # output is simply discarded. So we exec the FD to /dev/null,
4181 # effectively closing config.log, so it can be properly (re)opened and
4182 # appended to by config.status. When coming back to configure, we
4183 # need to make the FD available again.
4184 if test "$no_create" != yes; then
4186 ac_config_status_args=
4187 test "$silent" = yes &&
4188 ac_config_status_args="$ac_config_status_args --quiet"
4190 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4192 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4193 # would make configure fail if this is the last instruction.
4194 $ac_cs_success || { (exit 1); exit 1; }
4198 # CONFIG_SUBDIRS section, as fixed in confsubdir.m4.
4200 if test "$no_recursion" != yes; then
4202 # Remove --cache-file and --srcdir arguments so they do not pile up.
4203 ac_sub_configure_args=
4205 eval "set x
$ac_configure_args"
4209 if test -n "$ac_prev"; then
4214 -cache-file | --cache-file | --cache-fil | --cache-fi \
4215 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4216 ac_prev=cache_file ;;
4217 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4218 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4221 --config-cache | -C)
4223 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4225 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4227 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4229 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4233 *\'*) ac_arg=`echo "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
4235 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
4239 # Always prepend --prefix to ensure using the same prefix
4240 # in subdir configurations.
4241 ac_arg="--prefix=$prefix"
4243 *\'*) ac_arg=`echo "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
4245 ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
4248 for ac_dir in : $subdirs; do test "x
$ac_dir" = x: && continue
4250 # Do not complain, so a configure script can configure whichever
4251 # parts of a large source tree are present.
4252 test -d "$srcdir/$ac_dir" || continue
4254 { echo "$as_me:$LINENO: configuring
in $ac_dir" >&5
4255 echo "$as_me: configuring
in $ac_dir" >&6;}
4256 { if $as_mkdir_p; then
4261 while test ! -d "$as_dir"; do
4262 as_dirs="$as_dir $as_dirs"
4263 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4264 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4265 X"$as_dir" : 'X\(//\)[^/]' \| \
4266 X"$as_dir" : 'X\(//\)$' \| \
4267 X"$as_dir" : 'X\(/\)' \| \
4268 . : '\(.\)' 2>/dev/null ||
4270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4271 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4272 /^X\(\/\/\)$/{ s//\1/; q; }
4273 /^X\(\/\).*/{ s//\1/; q; }
4276 test ! -n "$as_dirs" || mkdir $as_dirs
4277 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
4278 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
4279 { (exit 1); exit 1; }; }; }
4283 if test "$ac_dir" != .; then
4284 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4285 # A "..
/" for each directory in $ac_dir_suffix.
4286 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4288 ac_dir_suffix= ac_top_builddir=
4292 .) # No --srcdir option. We are building in place.
4294 if test -z "$ac_top_builddir"; then
4297 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4299 [\\/]* | ?:[\\/]* ) # Absolute path.
4300 ac_srcdir=$srcdir$ac_dir_suffix;
4301 ac_top_srcdir=$srcdir ;;
4303 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4304 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4307 # Do not use `cd foo && pwd` to compute absolute paths, because
4308 # the directories may not exist.
4310 .) ac_abs_builddir="$ac_dir";;
4313 .) ac_abs_builddir=`pwd`;;
4314 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4315 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4318 case $ac_abs_builddir in
4319 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4321 case ${ac_top_builddir}. in
4322 .) ac_abs_top_builddir=$ac_abs_builddir;;
4323 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4324 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4327 case $ac_abs_builddir in
4328 .) ac_abs_srcdir=$ac_srcdir;;
4331 .) ac_abs_srcdir=$ac_abs_builddir;;
4332 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4333 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4336 case $ac_abs_builddir in
4337 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4339 case $ac_top_srcdir in
4340 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4341 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4342 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4349 # Check for guested configure; otherwise get Cygnus style configure.
4350 if test -f "$ac_srcdir/configure.gnu
"; then
4351 ac_sub_configure=$ac_srcdir/configure.gnu
4352 elif test -f "$ac_srcdir/configure
"; then
4353 ac_sub_configure=$ac_srcdir/configure
4354 elif test -f "$ac_srcdir/configure.
in"; then
4355 # This should be Cygnus configure.
4356 ac_sub_configure=$ac_aux_dir/configure
4358 { echo "$as_me:$LINENO: WARNING
: no configuration information is
in $ac_dir" >&5
4359 echo "$as_me: WARNING
: no configuration information is
in $ac_dir" >&2;}
4363 # The recursion is here.
4364 if test -n "$ac_sub_configure"; then
4365 # Make the cache file name correct relative to the subdirectory.
4367 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4369 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
4372 { echo "$as_me:$LINENO: running
$SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4373 echo "$as_me: running
$SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4374 # The eval makes quoting arguments work.
4375 eval "\
$SHELL \"\
$ac_sub_configure\" $ac_sub_configure_args \
4376 --cache-file=\"\
$ac_sub_cache_file\" --srcdir=\"\
$ac_srcdir\"" ||
4377 { { echo "$as_me:$LINENO: error
: $ac_sub_configure failed
for $ac_dir" >&5
4378 echo "$as_me: error
: $ac_sub_configure failed
for $ac_dir" >&2;}
4379 { (exit 1); exit 1; }; }