2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="Makefile.in"
275 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical build_libsubdir build_subdir host_subdir target_subdir MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT CFLAGS enable_shared LN_S default_gnatlib_target LDFLAGS CPPFLAGS warn_cflags LIBOBJS LTLIBOBJS'
279 # Initialize some variables set by options.
281 ac_init_version
=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
291 program_transform_name
=s
,x
,x
,
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir
='${exec_prefix}/bin'
305 sbindir
='${exec_prefix}/sbin'
306 libexecdir
='${exec_prefix}/libexec'
307 datadir
='${prefix}/share'
308 sysconfdir
='${prefix}/etc'
309 sharedstatedir
='${prefix}/com'
310 localstatedir
='${prefix}/var'
311 libdir
='${exec_prefix}/lib'
312 includedir
='${prefix}/include'
313 oldincludedir
='/usr/include'
314 infodir
='${prefix}/info'
315 mandir
='${prefix}/man'
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
327 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
335 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
338 -build |
--build |
--buil |
--bui |
--bu)
339 ac_prev
=build_alias
;;
340 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
341 build_alias
=$ac_optarg ;;
343 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
344 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
345 ac_prev
=cache_file
;;
346 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
347 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
348 cache_file
=$ac_optarg ;;
351 cache_file
=config.cache
;;
353 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
355 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
357 datadir
=$ac_optarg ;;
359 -disable-* |
--disable-*)
360 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* |
--enable-*)
369 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
376 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
382 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
383 |
--exec |
--exe |
--ex)
384 ac_prev
=exec_prefix
;;
385 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
386 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
387 |
--exec=* |
--exe=* |
--ex=*)
388 exec_prefix
=$ac_optarg ;;
390 -gas |
--gas |
--ga |
--g)
391 # Obsolete; use --with-gas.
394 -help |
--help |
--hel |
--he |
-h)
396 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
397 ac_init_help
=recursive
;;
398 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
399 ac_init_help
=short
;;
401 -host |
--host |
--hos |
--ho)
402 ac_prev
=host_alias
;;
403 -host=* |
--host=* |
--hos=* |
--ho=*)
404 host_alias
=$ac_optarg ;;
406 -includedir |
--includedir |
--includedi |
--included |
--include \
407 |
--includ |
--inclu |
--incl |
--inc)
408 ac_prev
=includedir
;;
409 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
410 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
411 includedir
=$ac_optarg ;;
413 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
415 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
416 infodir
=$ac_optarg ;;
418 -libdir |
--libdir |
--libdi |
--libd)
420 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
423 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
424 |
--libexe |
--libex |
--libe)
425 ac_prev
=libexecdir
;;
426 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
427 |
--libexe=* |
--libex=* |
--libe=*)
428 libexecdir
=$ac_optarg ;;
430 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
431 |
--localstate |
--localstat |
--localsta |
--localst \
432 |
--locals |
--local |
--loca |
--loc |
--lo)
433 ac_prev
=localstatedir
;;
434 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
435 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
436 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
437 localstatedir
=$ac_optarg ;;
439 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
441 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
445 # Obsolete; use --without-fp.
448 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
449 |
--no-cr |
--no-c |
-n)
452 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
453 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
456 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
457 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
458 |
--oldin |
--oldi |
--old |
--ol |
--o)
459 ac_prev
=oldincludedir
;;
460 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
461 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
462 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
463 oldincludedir
=$ac_optarg ;;
465 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
467 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
470 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
471 |
--program-pre |
--program-pr |
--program-p)
472 ac_prev
=program_prefix
;;
473 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
474 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
475 program_prefix
=$ac_optarg ;;
477 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
478 |
--program-suf |
--program-su |
--program-s)
479 ac_prev
=program_suffix
;;
480 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
481 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
482 program_suffix
=$ac_optarg ;;
484 -program-transform-name |
--program-transform-name \
485 |
--program-transform-nam |
--program-transform-na \
486 |
--program-transform-n |
--program-transform- \
487 |
--program-transform |
--program-transfor \
488 |
--program-transfo |
--program-transf \
489 |
--program-trans |
--program-tran \
490 |
--progr-tra |
--program-tr |
--program-t)
491 ac_prev
=program_transform_name
;;
492 -program-transform-name=* |
--program-transform-name=* \
493 |
--program-transform-nam=* |
--program-transform-na=* \
494 |
--program-transform-n=* |
--program-transform-=* \
495 |
--program-transform=* |
--program-transfor=* \
496 |
--program-transfo=* |
--program-transf=* \
497 |
--program-trans=* |
--program-tran=* \
498 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
499 program_transform_name
=$ac_optarg ;;
501 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
502 |
-silent |
--silent |
--silen |
--sile |
--sil)
505 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
507 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
509 sbindir
=$ac_optarg ;;
511 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
512 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
513 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
515 ac_prev
=sharedstatedir
;;
516 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
517 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
518 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
520 sharedstatedir
=$ac_optarg ;;
522 -site |
--site |
--sit)
524 -site=* |
--site=* |
--sit=*)
527 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
529 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
532 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
533 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
534 ac_prev
=sysconfdir
;;
535 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
536 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
537 sysconfdir
=$ac_optarg ;;
539 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
540 ac_prev
=target_alias
;;
541 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
542 target_alias
=$ac_optarg ;;
544 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
547 -version |
--version |
--versio |
--versi |
--vers |
-V)
551 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package
=`echo $ac_package| sed 's/-/_/g'`
558 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* |
--without-*)
564 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package
=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
573 # Obsolete; use --with-x.
576 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
577 |
--x-incl |
--x-inc |
--x-in |
--x-i)
578 ac_prev
=x_includes
;;
579 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
580 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
581 x_includes
=$ac_optarg ;;
583 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
584 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
585 ac_prev
=x_libraries
;;
586 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
587 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
588 x_libraries
=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
596 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 if test -n "$ac_prev"; then
617 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var
in exec_prefix prefix
625 eval ac_val
=$
`echo $ac_var`
627 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # Be sure to have absolute paths.
634 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val
=$
`echo $ac_var`
639 [\\/$
]* | ?
:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x
; then
654 if test "x$build_alias" = x
; then
655 cross_compiling
=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
664 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
666 test "$silent" = yes && exec 6>/dev
/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted
=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir
=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
686 if test ! -r $srcdir/$ac_unique_file; then
690 ac_srcdir_defaulted
=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set
=${build_alias+set}
706 ac_env_build_alias_value
=$build_alias
707 ac_cv_env_build_alias_set
=${build_alias+set}
708 ac_cv_env_build_alias_value
=$build_alias
709 ac_env_host_alias_set
=${host_alias+set}
710 ac_env_host_alias_value
=$host_alias
711 ac_cv_env_host_alias_set
=${host_alias+set}
712 ac_cv_env_host_alias_value
=$host_alias
713 ac_env_target_alias_set
=${target_alias+set}
714 ac_env_target_alias_value
=$target_alias
715 ac_cv_env_target_alias_set
=${target_alias+set}
716 ac_cv_env_target_alias_value
=$target_alias
717 ac_env_CC_set
=${CC+set}
719 ac_cv_env_CC_set
=${CC+set}
720 ac_cv_env_CC_value
=$CC
721 ac_env_CFLAGS_set
=${CFLAGS+set}
722 ac_env_CFLAGS_value
=$CFLAGS
723 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
724 ac_cv_env_CFLAGS_value
=$CFLAGS
725 ac_env_LDFLAGS_set
=${LDFLAGS+set}
726 ac_env_LDFLAGS_value
=$LDFLAGS
727 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
728 ac_cv_env_LDFLAGS_value
=$LDFLAGS
729 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
730 ac_env_CPPFLAGS_value
=$CPPFLAGS
731 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
732 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
735 # Report the --help message.
737 if test "$ac_init_help" = "long"; then
738 # Omit some internal or obsolete options to make the list less imposing.
739 # This message is too long to be a string in the A/UX 3.1 sh.
741 \`configure' configures this package to adapt to many kinds of systems.
743 Usage: $0 [OPTION]... [VAR=VALUE]...
745 To assign environment variables (e.g., CC, CFLAGS...), specify them as
746 VAR=VALUE. See below for descriptions of some of the useful variables.
748 Defaults for the options are specified in brackets.
751 -h, --help display this help and exit
752 --help=short display options specific to this package
753 --help=recursive display the short help of all the included packages
754 -V, --version display version information and exit
755 -q, --quiet, --silent do not print \`checking...' messages
756 --cache-file=FILE cache test results in FILE [disabled]
757 -C, --config-cache alias for \`--cache-file=config.cache'
758 -n, --no-create do not create output files
759 --srcdir=DIR find the sources in DIR [configure dir or \`..']
764 Installation directories:
765 --prefix=PREFIX install architecture-independent files in PREFIX
767 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
770 By default, \`make install' will install all the files in
771 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
772 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
773 for instance \`--prefix=\$HOME'.
775 For better control, use the options below.
777 Fine tuning of the installation directories:
778 --bindir=DIR user executables [EPREFIX/bin]
779 --sbindir=DIR system admin executables [EPREFIX/sbin]
780 --libexecdir=DIR program executables [EPREFIX/libexec]
781 --datadir=DIR read-only architecture-independent data [PREFIX/share]
782 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
783 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
784 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
785 --libdir=DIR object code libraries [EPREFIX/lib]
786 --includedir=DIR C header files [PREFIX/include]
787 --oldincludedir=DIR C header files for non-gcc [/usr/include]
788 --infodir=DIR info documentation [PREFIX/info]
789 --mandir=DIR man documentation [PREFIX/man]
795 --build=BUILD configure
for building on BUILD
[guessed
]
796 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
797 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
801 if test -n "$ac_init_help"; then
806 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
807 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
808 --enable-maintainer-mode
809 enable make rules and dependencies not useful
(and
810 sometimes confusing
) to the casual installer
811 --enable-multilib build many library versions
(default
)
812 --disable-shared don
't provide a shared libgnat
815 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
816 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
817 --with-build-libsubdir=DIR Directory where to find libraries for build system
819 Some influential environment variables:
820 CC C compiler command
821 CFLAGS C compiler flags
822 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
823 nonstandard directory <lib dir>
824 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
825 headers in a nonstandard directory <include dir>
827 Use these variables to override the choices made by `configure' or to
help
828 it to
find libraries and programs with nonstandard names
/locations.
833 if test "$ac_init_help" = "recursive"; then
834 # If there are subdirs, report their specific --help.
836 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
837 test -d $ac_dir ||
continue
840 if test "$ac_dir" != .
; then
841 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
842 # A "../" for each directory in $ac_dir_suffix.
843 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
845 ac_dir_suffix
= ac_top_builddir
=
849 .
) # No --srcdir option. We are building in place.
851 if test -z "$ac_top_builddir"; then
854 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
856 [\\/]* | ?
:[\\/]* ) # Absolute path.
857 ac_srcdir
=$srcdir$ac_dir_suffix;
858 ac_top_srcdir
=$srcdir ;;
860 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
861 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
864 # Do not use `cd foo && pwd` to compute absolute paths, because
865 # the directories may not exist.
867 .
) ac_abs_builddir
="$ac_dir";;
870 .
) ac_abs_builddir
=`pwd`;;
871 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
872 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
875 case $ac_abs_builddir in
876 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
878 case ${ac_top_builddir}.
in
879 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
880 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
881 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
884 case $ac_abs_builddir in
885 .
) ac_abs_srcdir
=$ac_srcdir;;
888 .
) ac_abs_srcdir
=$ac_abs_builddir;;
889 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
890 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
893 case $ac_abs_builddir in
894 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
896 case $ac_top_srcdir in
897 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
898 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
899 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
904 # Check for guested configure; otherwise get Cygnus style configure.
905 if test -f $ac_srcdir/configure.gnu
; then
907 $SHELL $ac_srcdir/configure.gnu
--help=recursive
908 elif test -f $ac_srcdir/configure
; then
910 $SHELL $ac_srcdir/configure
--help=recursive
911 elif test -f $ac_srcdir/configure.ac ||
912 test -f $ac_srcdir/configure.
in; then
916 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
922 test -n "$ac_init_help" && exit 0
923 if $ac_init_version; then
926 Copyright
(C
) 2003 Free Software Foundation
, Inc.
927 This configure
script is free software
; the Free Software Foundation
928 gives unlimited permission to copy
, distribute and modify it.
934 This file contains any messages produced by compilers while
935 running configure, to aid debugging if configure makes a mistake.
937 It was created by $as_me, which was
938 generated by GNU Autoconf 2.59. Invocation command line was
949 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
950 uname -m = `(uname -m) 2>/dev/null || echo unknown`
951 uname -r = `(uname -r) 2>/dev/null || echo unknown`
952 uname -s = `(uname -s) 2>/dev/null || echo unknown`
953 uname -v = `(uname -v) 2>/dev/null || echo unknown`
955 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
956 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
958 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
959 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
960 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
961 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
962 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
963 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
964 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
972 test -z "$as_dir" && as_dir
=.
988 # Keep a trace of the command line.
989 # Strip out --no-create and --no-recursion so they do not pile up.
990 # Strip out --silent because we don't want to record it for future runs.
991 # Also quote any args containing shell meta-characters.
992 # Make two passes to allow for proper duplicate-argument suppression.
997 ac_must_keep_next
=false
1003 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1004 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1005 |
-silent |
--silent |
--silen |
--sile |
--sil)
1007 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1008 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1011 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1013 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1014 if test $ac_must_keep_next = true
; then
1015 ac_must_keep_next
=false
# Got value, back to normal.
1018 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1019 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1020 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1021 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1022 case "$ac_configure_args0 " in
1023 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1026 -* ) ac_must_keep_next
=true
;;
1029 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1030 # Get rid of the leading space.
1036 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1037 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1039 # When interrupted or exit'd, cleanup temporary files, and complete
1040 # config.log. We remove comments because anyway the quotes in there
1041 # would cause problems or look ugly.
1042 # WARNING: Be sure not to use single quotes in there, as some shells,
1043 # such as our DU 5.0 friend, will then `close' the trap.
1044 trap 'exit_status=$?
1045 # Save into config.log some information that might help in debugging.
1050 ## ---------------- ##
1051 ## Cache variables. ##
1052 ## ---------------- ##
1055 # The following way of writing the cache mishandles newlines in values,
1058 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1061 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1062 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1066 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1073 ## ----------------- ##
1074 ## Output variables. ##
1075 ## ----------------- ##
1078 for ac_var in $ac_subst_vars
1080 eval ac_val=$`echo $ac_var`
1081 echo "$ac_var='"'"'$ac_val'"'"'"
1085 if test -n "$ac_subst_files"; then
1092 for ac_var in $ac_subst_files
1094 eval ac_val=$`echo $ac_var`
1095 echo "$ac_var='"'"'$ac_val'"'"'"
1100 if test -s confdefs.h; then
1107 sed "/^$/d" confdefs.h | sort
1110 test "$ac_signal" != 0 &&
1111 echo "$as_me: caught signal $ac_signal"
1112 echo "$as_me: exit $exit_status"
1114 rm -f core *.core &&
1115 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1118 for ac_signal
in 1 2 13 15; do
1119 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1123 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1124 rm -rf conftest
* confdefs.h
1125 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1128 # Predefined preprocessor variables.
1130 cat >>confdefs.h
<<_ACEOF
1131 #define PACKAGE_NAME "$PACKAGE_NAME"
1135 cat >>confdefs.h
<<_ACEOF
1136 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1140 cat >>confdefs.h
<<_ACEOF
1141 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1145 cat >>confdefs.h
<<_ACEOF
1146 #define PACKAGE_STRING "$PACKAGE_STRING"
1150 cat >>confdefs.h
<<_ACEOF
1151 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1155 # Let the site file select an alternate cache file if it wants to.
1156 # Prefer explicitly selected file to automatically selected ones.
1157 if test -z "$CONFIG_SITE"; then
1158 if test "x$prefix" != xNONE
; then
1159 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1161 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1164 for ac_site_file
in $CONFIG_SITE; do
1165 if test -r "$ac_site_file"; then
1166 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1167 echo "$as_me: loading site script $ac_site_file" >&6;}
1168 sed 's/^/| /' "$ac_site_file" >&5
1173 if test -r "$cache_file"; then
1174 # Some versions of bash will fail to source /dev/null (special
1175 # files actually), so we avoid doing that.
1176 if test -f "$cache_file"; then
1177 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1178 echo "$as_me: loading cache $cache_file" >&6;}
1180 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1181 *) . .
/$cache_file;;
1185 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1186 echo "$as_me: creating cache $cache_file" >&6;}
1190 # Check that the precious variables saved in the cache have kept the same
1192 ac_cache_corrupted
=false
1193 for ac_var
in `(set) 2>&1 |
1194 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1195 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1196 eval ac_new_set
=\
$ac_env_${ac_var}_set
1197 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1198 eval ac_new_val
="\$ac_env_${ac_var}_value"
1199 case $ac_old_set,$ac_new_set in
1201 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1202 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1203 ac_cache_corrupted
=: ;;
1205 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1206 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1207 ac_cache_corrupted
=: ;;
1210 if test "x$ac_old_val" != "x$ac_new_val"; then
1211 # differences in whitespace do not lead to failure.
1212 ac_old_val_w
=`echo x $ac_old_val`
1213 ac_new_val_w
=`echo x $ac_new_val`
1214 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1215 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1216 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1217 ac_cache_corrupted
=:
1219 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1220 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1221 eval $ac_var=\
$ac_old_val
1223 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1224 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1225 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1226 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1229 # Pass precious variables to config.status.
1230 if test "$ac_new_set" = set; then
1232 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1233 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1234 *) ac_arg
=$ac_var=$ac_new_val ;;
1236 case " $ac_configure_args " in
1237 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1238 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1242 if $ac_cache_corrupted; then
1243 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1244 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1245 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1246 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1247 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1248 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1249 { (exit 1); exit 1; }; }
1253 ac_cpp
='$CPP $CPPFLAGS'
1254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1283 # Determine the host, build, and target systems
1285 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1286 if test -f $ac_dir/install-sh
; then
1288 ac_install_sh
="$ac_aux_dir/install-sh -c"
1290 elif test -f $ac_dir/install.sh
; then
1292 ac_install_sh
="$ac_aux_dir/install.sh -c"
1294 elif test -f $ac_dir/shtool
; then
1296 ac_install_sh
="$ac_aux_dir/shtool install -c"
1300 if test -z "$ac_aux_dir"; then
1301 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1302 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1303 { (exit 1); exit 1; }; }
1305 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1306 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1307 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1309 # Make sure we can run config.sub.
1310 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1311 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1312 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1313 { (exit 1); exit 1; }; }
1315 echo "$as_me:$LINENO: checking build system type" >&5
1316 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1317 if test "${ac_cv_build+set}" = set; then
1318 echo $ECHO_N "(cached) $ECHO_C" >&6
1320 ac_cv_build_alias
=$build_alias
1321 test -z "$ac_cv_build_alias" &&
1322 ac_cv_build_alias
=`$ac_config_guess`
1323 test -z "$ac_cv_build_alias" &&
1324 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1325 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1326 { (exit 1); exit 1; }; }
1327 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1328 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1329 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1330 { (exit 1); exit 1; }; }
1333 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1334 echo "${ECHO_T}$ac_cv_build" >&6
1336 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1337 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1338 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1341 echo "$as_me:$LINENO: checking host system type" >&5
1342 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1343 if test "${ac_cv_host+set}" = set; then
1344 echo $ECHO_N "(cached) $ECHO_C" >&6
1346 ac_cv_host_alias
=$host_alias
1347 test -z "$ac_cv_host_alias" &&
1348 ac_cv_host_alias
=$ac_cv_build_alias
1349 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1350 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1351 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1352 { (exit 1); exit 1; }; }
1355 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1356 echo "${ECHO_T}$ac_cv_host" >&6
1358 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1359 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1360 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1363 echo "$as_me:$LINENO: checking target system type" >&5
1364 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1365 if test "${ac_cv_target+set}" = set; then
1366 echo $ECHO_N "(cached) $ECHO_C" >&6
1368 ac_cv_target_alias
=$target_alias
1369 test "x$ac_cv_target_alias" = "x" &&
1370 ac_cv_target_alias
=$ac_cv_host_alias
1371 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1372 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1373 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1374 { (exit 1); exit 1; }; }
1377 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1378 echo "${ECHO_T}$ac_cv_target" >&6
1379 target
=$ac_cv_target
1380 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1381 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1382 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1385 # The aliases save the names the user supplied, while $host etc.
1386 # will get canonicalized.
1387 test -n "$target_alias" &&
1388 test "$program_prefix$program_suffix$program_transform_name" = \
1390 program_prefix
=${target_alias}-
1392 # Determine the noncanonical target name, for directory use.
1393 case ${build_alias} in
1394 "") build_noncanonical
=${build} ;;
1395 *) build_noncanonical
=${build_alias} ;;
1398 case ${host_alias} in
1399 "") host_noncanonical
=${build_noncanonical} ;;
1400 *) host_noncanonical
=${host_alias} ;;
1403 case ${target_alias} in
1404 "") target_noncanonical
=${host_noncanonical} ;;
1405 *) target_noncanonical
=${target_alias} ;;
1411 # Determine the target- and build-specific subdirectories
1413 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1414 # have matching libraries, they should use host libraries: Makefile.tpl
1415 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1416 # However, they still use the build modules, because the corresponding
1417 # host modules (e.g. bison) are only built for the host when bootstrap
1419 # - build_subdir is where we find build modules, and never changes.
1420 # - build_libsubdir is where we find build libraries, and can be overridden.
1422 # Prefix 'build-' so this never conflicts with target_subdir.
1423 build_subdir
="build-${build_noncanonical}"
1425 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1426 if test "${with_build_libsubdir+set}" = set; then
1427 withval
="$with_build_libsubdir"
1428 build_libsubdir
="$withval"
1430 build_libsubdir
="$build_subdir"
1432 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1433 if ( test $srcdir = .
&& test -d gcc
) \
1434 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1435 host_subdir
="host-${host_noncanonical}"
1440 target_subdir
=${target_noncanonical}
1443 # Command-line options.
1444 # Very limited version of AC_MAINTAINER_MODE.
1445 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1446 if test "${enable_maintainer_mode+set}" = set; then
1447 enableval
="$enable_maintainer_mode"
1448 case ${enable_maintainer_mode} in
1451 *) { { echo "$as_me:$LINENO: error: --enable-maintainer-mode must be yes or no" >&5
1452 echo "$as_me: error: --enable-maintainer-mode must be yes or no" >&2;}
1453 { (exit 1); exit 1; }; } ;;
1455 maintainer_mode
=${enableval}
1461 target_alias
=${target_alias-$host_alias}
1463 # Default to --enable-multilib
1464 # Check whether --enable-multilib or --disable-multilib was given.
1465 if test "${enable_multilib+set}" = set; then
1466 enableval
="$enable_multilib"
1467 case "$enableval" in
1468 yes) multilib
=yes ;;
1470 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1471 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1472 { (exit 1); exit 1; }; } ;;
1478 # We may get other options which we leave undocumented:
1479 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1480 # See config-ml.in if you want the gory details.
1482 if test "$srcdir" = "."; then
1483 if test "$with_target_subdir" != "."; then
1484 multi_basedir
="$srcdir/$with_multisrctop../.."
1486 multi_basedir
="$srcdir/$with_multisrctop.."
1489 multi_basedir
="$srcdir/.."
1493 ac_config_commands
="$ac_config_commands default-1"
1495 # Calculate toolexeclibdir
1496 # Also toolexecdir, though it's only used in toolexeclibdir
1497 case ${enable_version_specific_runtime_libs} in
1499 # Need the gcc compiler version to know where to install libraries
1500 # and header files if --enable-version-specific-runtime-libs option
1502 toolexecdir
='$(libdir)/gcc/$(target_alias)'
1503 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
1506 if test -n "$with_cross_host" &&
1507 test x
"$with_cross_host" != x
"no"; then
1508 # Install a library built with a cross compiler in tooldir, not libdir.
1509 toolexecdir
='$(exec_prefix)/$(target_alias)'
1510 toolexeclibdir
='$(toolexecdir)/lib'
1512 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
1513 toolexeclibdir
='$(libdir)'
1515 multi_os_directory
=`$CC -print-multi-os-directory`
1516 case $multi_os_directory in
1517 .
) ;; # Avoid trailing /.
1518 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
1524 #TODO: toolexeclibdir is currently disregarded
1526 # Check the compiler.
1527 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1528 # We must force CC to /not/ be precious variables; otherwise
1529 # the wrong, non-multilib-adjusted value will be used in multilibs.
1530 # As a side effect, we have to subst CFLAGS ourselves.
1535 ac_cpp
='$CPP $CPPFLAGS'
1536 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1537 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1538 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1539 if test -n "$ac_tool_prefix"; then
1540 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1541 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1542 echo "$as_me:$LINENO: checking for $ac_word" >&5
1543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1544 if test "${ac_cv_prog_CC+set}" = set; then
1545 echo $ECHO_N "(cached) $ECHO_C" >&6
1547 if test -n "$CC"; then
1548 ac_cv_prog_CC
="$CC" # Let the user override the test.
1550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1554 test -z "$as_dir" && as_dir
=.
1555 for ac_exec_ext
in '' $ac_executable_extensions; do
1556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1557 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1567 if test -n "$CC"; then
1568 echo "$as_me:$LINENO: result: $CC" >&5
1569 echo "${ECHO_T}$CC" >&6
1571 echo "$as_me:$LINENO: result: no" >&5
1572 echo "${ECHO_T}no" >&6
1576 if test -z "$ac_cv_prog_CC"; then
1578 # Extract the first word of "gcc", so it can be a program name with args.
1579 set dummy gcc
; ac_word
=$2
1580 echo "$as_me:$LINENO: checking for $ac_word" >&5
1581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1582 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1585 if test -n "$ac_ct_CC"; then
1586 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1592 test -z "$as_dir" && as_dir
=.
1593 for ac_exec_ext
in '' $ac_executable_extensions; do
1594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1595 ac_cv_prog_ac_ct_CC
="gcc"
1596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1604 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1605 if test -n "$ac_ct_CC"; then
1606 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1607 echo "${ECHO_T}$ac_ct_CC" >&6
1609 echo "$as_me:$LINENO: result: no" >&5
1610 echo "${ECHO_T}no" >&6
1618 if test -z "$CC"; then
1619 if test -n "$ac_tool_prefix"; then
1620 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1621 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1622 echo "$as_me:$LINENO: checking for $ac_word" >&5
1623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1624 if test "${ac_cv_prog_CC+set}" = set; then
1625 echo $ECHO_N "(cached) $ECHO_C" >&6
1627 if test -n "$CC"; then
1628 ac_cv_prog_CC
="$CC" # Let the user override the test.
1630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1634 test -z "$as_dir" && as_dir
=.
1635 for ac_exec_ext
in '' $ac_executable_extensions; do
1636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1637 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1647 if test -n "$CC"; then
1648 echo "$as_me:$LINENO: result: $CC" >&5
1649 echo "${ECHO_T}$CC" >&6
1651 echo "$as_me:$LINENO: result: no" >&5
1652 echo "${ECHO_T}no" >&6
1656 if test -z "$ac_cv_prog_CC"; then
1658 # Extract the first word of "cc", so it can be a program name with args.
1659 set dummy cc
; ac_word
=$2
1660 echo "$as_me:$LINENO: checking for $ac_word" >&5
1661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1662 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1663 echo $ECHO_N "(cached) $ECHO_C" >&6
1665 if test -n "$ac_ct_CC"; then
1666 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1672 test -z "$as_dir" && as_dir
=.
1673 for ac_exec_ext
in '' $ac_executable_extensions; do
1674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1675 ac_cv_prog_ac_ct_CC
="cc"
1676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1684 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1685 if test -n "$ac_ct_CC"; then
1686 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1687 echo "${ECHO_T}$ac_ct_CC" >&6
1689 echo "$as_me:$LINENO: result: no" >&5
1690 echo "${ECHO_T}no" >&6
1699 if test -z "$CC"; then
1700 # Extract the first word of "cc", so it can be a program name with args.
1701 set dummy cc
; ac_word
=$2
1702 echo "$as_me:$LINENO: checking for $ac_word" >&5
1703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1704 if test "${ac_cv_prog_CC+set}" = set; then
1705 echo $ECHO_N "(cached) $ECHO_C" >&6
1707 if test -n "$CC"; then
1708 ac_cv_prog_CC
="$CC" # Let the user override the test.
1711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1715 test -z "$as_dir" && as_dir
=.
1716 for ac_exec_ext
in '' $ac_executable_extensions; do
1717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1718 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1719 ac_prog_rejected
=yes
1723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1729 if test $ac_prog_rejected = yes; then
1730 # We found a bogon in the path, so make sure we never use it.
1731 set dummy
$ac_cv_prog_CC
1733 if test $# != 0; then
1734 # We chose a different compiler from the bogus one.
1735 # However, it has the same basename, so the bogon will be chosen
1736 # first if we set CC to just the basename; use the full file name.
1738 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1744 if test -n "$CC"; then
1745 echo "$as_me:$LINENO: result: $CC" >&5
1746 echo "${ECHO_T}$CC" >&6
1748 echo "$as_me:$LINENO: result: no" >&5
1749 echo "${ECHO_T}no" >&6
1753 if test -z "$CC"; then
1754 if test -n "$ac_tool_prefix"; then
1757 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1758 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1759 echo "$as_me:$LINENO: checking for $ac_word" >&5
1760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1761 if test "${ac_cv_prog_CC+set}" = set; then
1762 echo $ECHO_N "(cached) $ECHO_C" >&6
1764 if test -n "$CC"; then
1765 ac_cv_prog_CC
="$CC" # Let the user override the test.
1767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1771 test -z "$as_dir" && as_dir
=.
1772 for ac_exec_ext
in '' $ac_executable_extensions; do
1773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1774 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1784 if test -n "$CC"; then
1785 echo "$as_me:$LINENO: result: $CC" >&5
1786 echo "${ECHO_T}$CC" >&6
1788 echo "$as_me:$LINENO: result: no" >&5
1789 echo "${ECHO_T}no" >&6
1792 test -n "$CC" && break
1795 if test -z "$CC"; then
1799 # Extract the first word of "$ac_prog", so it can be a program name with args.
1800 set dummy
$ac_prog; ac_word
=$2
1801 echo "$as_me:$LINENO: checking for $ac_word" >&5
1802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1803 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1804 echo $ECHO_N "(cached) $ECHO_C" >&6
1806 if test -n "$ac_ct_CC"; then
1807 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1813 test -z "$as_dir" && as_dir
=.
1814 for ac_exec_ext
in '' $ac_executable_extensions; do
1815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1816 ac_cv_prog_ac_ct_CC
="$ac_prog"
1817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1825 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1826 if test -n "$ac_ct_CC"; then
1827 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1828 echo "${ECHO_T}$ac_ct_CC" >&6
1830 echo "$as_me:$LINENO: result: no" >&5
1831 echo "${ECHO_T}no" >&6
1834 test -n "$ac_ct_CC" && break
1843 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1844 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1845 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1846 See \`config.log' for more details." >&5
1847 echo "$as_me: error: no acceptable C compiler found in \$PATH
1848 See \`config.log' for more details." >&2;}
1849 { (exit 1); exit 1; }; }; }
1851 # Provide some information about the compiler.
1852 echo "$as_me:$LINENO:" \
1853 "checking for C compiler version" >&5
1854 ac_compiler
=`set X $ac_compile; echo $2`
1855 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1856 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1859 (exit $ac_status); }
1860 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1861 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1864 (exit $ac_status); }
1865 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1866 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1869 (exit $ac_status); }
1871 cat >conftest.
$ac_ext <<_ACEOF
1874 cat confdefs.h
>>conftest.
$ac_ext
1875 cat >>conftest.
$ac_ext <<_ACEOF
1876 /* end confdefs.h. */
1886 ac_clean_files_save
=$ac_clean_files
1887 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1888 # Try to create an executable without -o first, disregard a.out.
1889 # It will help us diagnose broken compilers, and finding out an intuition
1891 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1892 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1893 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1894 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1895 (eval $ac_link_default) 2>&5
1897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1898 (exit $ac_status); }; then
1899 # Find the output, starting from the most likely. This scheme is
1900 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1903 # Be careful to initialize this variable, since it used to be cached.
1904 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1906 # b.out is created by i960 compilers.
1907 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1909 test -f "$ac_file" ||
continue
1911 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1914 # This is the source file.
1917 # We found the default executable, but exeext='' is most
1921 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1922 # FIXME: I believe we export ac_cv_exeext for Libtool,
1923 # but it would be cool to find out if it's true. Does anybody
1924 # maintain Libtool? --akim.
1932 echo "$as_me: failed program was:" >&5
1933 sed 's/^/| /' conftest.
$ac_ext >&5
1935 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1936 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1937 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1938 See \`config.log' for more details." >&5
1939 echo "$as_me: error: C compiler cannot create executables
1940 See \`config.log' for more details." >&2;}
1941 { (exit 77); exit 77; }; }; }
1944 ac_exeext
=$ac_cv_exeext
1945 echo "$as_me:$LINENO: result: $ac_file" >&5
1946 echo "${ECHO_T}$ac_file" >&6
1948 # Check the compiler produces executables we can run. If not, either
1949 # the compiler is broken, or we cross compile.
1950 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1951 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1952 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1953 # If not cross compiling, check that we can run a simple program.
1954 if test "$cross_compiling" != yes; then
1955 if { ac_try
='./$ac_file'
1956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1960 (exit $ac_status); }; }; then
1963 if test "$cross_compiling" = maybe
; then
1966 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1967 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1968 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1969 If you meant to cross compile, use \`--host'.
1970 See \`config.log' for more details." >&5
1971 echo "$as_me: error: cannot run C compiled programs.
1972 If you meant to cross compile, use \`--host'.
1973 See \`config.log' for more details." >&2;}
1974 { (exit 1); exit 1; }; }; }
1978 echo "$as_me:$LINENO: result: yes" >&5
1979 echo "${ECHO_T}yes" >&6
1981 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1982 ac_clean_files
=$ac_clean_files_save
1983 # Check the compiler produces executables we can run. If not, either
1984 # the compiler is broken, or we cross compile.
1985 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1986 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1987 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1988 echo "${ECHO_T}$cross_compiling" >&6
1990 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1991 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1993 (eval $ac_link) 2>&5
1995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1996 (exit $ac_status); }; then
1997 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1998 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1999 # work properly (i.e., refer to `conftest.exe'), while it won't with
2001 for ac_file
in conftest.exe conftest conftest.
*; do
2002 test -f "$ac_file" ||
continue
2004 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2005 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2012 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2013 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2014 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2015 See \`config.log' for more details." >&5
2016 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2017 See \`config.log' for more details." >&2;}
2018 { (exit 1); exit 1; }; }; }
2021 rm -f conftest
$ac_cv_exeext
2022 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2023 echo "${ECHO_T}$ac_cv_exeext" >&6
2025 rm -f conftest.
$ac_ext
2026 EXEEXT
=$ac_cv_exeext
2028 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2029 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2030 if test "${ac_cv_objext+set}" = set; then
2031 echo $ECHO_N "(cached) $ECHO_C" >&6
2033 cat >conftest.
$ac_ext <<_ACEOF
2036 cat confdefs.h
>>conftest.
$ac_ext
2037 cat >>conftest.
$ac_ext <<_ACEOF
2038 /* end confdefs.h. */
2048 rm -f conftest.o conftest.obj
2049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2050 (eval $ac_compile) 2>&5
2052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2053 (exit $ac_status); }; then
2054 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2056 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2057 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2062 echo "$as_me: failed program was:" >&5
2063 sed 's/^/| /' conftest.
$ac_ext >&5
2065 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2066 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2067 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2068 See \`config.log' for more details." >&5
2069 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2070 See \`config.log' for more details." >&2;}
2071 { (exit 1); exit 1; }; }; }
2074 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2076 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2077 echo "${ECHO_T}$ac_cv_objext" >&6
2078 OBJEXT
=$ac_cv_objext
2080 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2081 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2082 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2083 echo $ECHO_N "(cached) $ECHO_C" >&6
2085 cat >conftest.
$ac_ext <<_ACEOF
2088 cat confdefs.h
>>conftest.
$ac_ext
2089 cat >>conftest.
$ac_ext <<_ACEOF
2090 /* end confdefs.h. */
2103 rm -f conftest.
$ac_objext
2104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2105 (eval $ac_compile) 2>conftest.er1
2107 grep -v '^ *+' conftest.er1
>conftest.err
2109 cat conftest.err
>&5
2110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2111 (exit $ac_status); } &&
2112 { ac_try
='test -z "$ac_c_werror_flag"
2113 || test ! -s conftest.err'
2114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 (exit $ac_status); }; } &&
2119 { ac_try
='test -s conftest.$ac_objext'
2120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124 (exit $ac_status); }; }; then
2127 echo "$as_me: failed program was:" >&5
2128 sed 's/^/| /' conftest.
$ac_ext >&5
2132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2133 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2136 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2137 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2138 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2139 ac_test_CFLAGS
=${CFLAGS+set}
2140 ac_save_CFLAGS
=$CFLAGS
2142 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2143 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2144 if test "${ac_cv_prog_cc_g+set}" = set; then
2145 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 cat >conftest.
$ac_ext <<_ACEOF
2150 cat confdefs.h
>>conftest.
$ac_ext
2151 cat >>conftest.
$ac_ext <<_ACEOF
2152 /* end confdefs.h. */
2162 rm -f conftest.
$ac_objext
2163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2164 (eval $ac_compile) 2>conftest.er1
2166 grep -v '^ *+' conftest.er1
>conftest.err
2168 cat conftest.err
>&5
2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170 (exit $ac_status); } &&
2171 { ac_try
='test -z "$ac_c_werror_flag"
2172 || test ! -s conftest.err'
2173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177 (exit $ac_status); }; } &&
2178 { ac_try
='test -s conftest.$ac_objext'
2179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }; }; then
2186 echo "$as_me: failed program was:" >&5
2187 sed 's/^/| /' conftest.
$ac_ext >&5
2191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2193 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2194 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2195 if test "$ac_test_CFLAGS" = set; then
2196 CFLAGS
=$ac_save_CFLAGS
2197 elif test $ac_cv_prog_cc_g = yes; then
2198 if test "$GCC" = yes; then
2204 if test "$GCC" = yes; then
2210 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2211 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2212 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2213 echo $ECHO_N "(cached) $ECHO_C" >&6
2215 ac_cv_prog_cc_stdc
=no
2217 cat >conftest.
$ac_ext <<_ACEOF
2220 cat confdefs.h
>>conftest.
$ac_ext
2221 cat >>conftest.
$ac_ext <<_ACEOF
2222 /* end confdefs.h. */
2225 #include <sys/types.h>
2226 #include <sys/stat.h>
2227 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2228 struct buf { int x; };
2229 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2230 static char *e (p, i)
2236 static char *f (char * (*g) (char **, int), char **p, ...)
2241 s = g (p, va_arg (v,int));
2246 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2247 function prototypes and stuff, but not '\xHH' hex character constants.
2248 These don't provoke an error unfortunately, instead are silently treated
2249 as 'x'. The following induces an error, until -std1 is added to get
2250 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2251 array size at least. It's necessary to write '\x00'==0 to get something
2252 that's true only with -std1. */
2253 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2255 int test (int i, double x);
2256 struct s1 {int (*f) (int a);};
2257 struct s2 {int (*f) (double a);};
2258 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2264 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2269 # Don't try gcc -ansi; that turns off useful extensions and
2270 # breaks some systems' header files.
2271 # AIX -qlanglvl=ansi
2272 # Ultrix and OSF/1 -std1
2273 # HP-UX 10.20 and later -Ae
2274 # HP-UX older versions -Aa -D_HPUX_SOURCE
2275 # SVR4 -Xc -D__EXTENSIONS__
2276 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2278 CC
="$ac_save_CC $ac_arg"
2279 rm -f conftest.
$ac_objext
2280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2281 (eval $ac_compile) 2>conftest.er1
2283 grep -v '^ *+' conftest.er1
>conftest.err
2285 cat conftest.err
>&5
2286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2287 (exit $ac_status); } &&
2288 { ac_try
='test -z "$ac_c_werror_flag"
2289 || test ! -s conftest.err'
2290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2294 (exit $ac_status); }; } &&
2295 { ac_try
='test -s conftest.$ac_objext'
2296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); }; }; then
2301 ac_cv_prog_cc_stdc
=$ac_arg
2304 echo "$as_me: failed program was:" >&5
2305 sed 's/^/| /' conftest.
$ac_ext >&5
2308 rm -f conftest.err conftest.
$ac_objext
2310 rm -f conftest.
$ac_ext conftest.
$ac_objext
2315 case "x$ac_cv_prog_cc_stdc" in
2317 echo "$as_me:$LINENO: result: none needed" >&5
2318 echo "${ECHO_T}none needed" >&6 ;;
2320 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2321 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2322 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2325 # Some people use a C++ compiler to compile C. Since we use `exit',
2326 # in C++ we need to declare it. In case someone uses the same compiler
2327 # for both compiling C and C++ we need to have the C++ compiler decide
2328 # the declaration of exit, since it's the most demanding environment.
2329 cat >conftest.
$ac_ext <<_ACEOF
2334 rm -f conftest.
$ac_objext
2335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2336 (eval $ac_compile) 2>conftest.er1
2338 grep -v '^ *+' conftest.er1
>conftest.err
2340 cat conftest.err
>&5
2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2342 (exit $ac_status); } &&
2343 { ac_try
='test -z "$ac_c_werror_flag"
2344 || test ! -s conftest.err'
2345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); }; } &&
2350 { ac_try
='test -s conftest.$ac_objext'
2351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); }; }; then
2356 for ac_declaration
in \
2358 'extern "C" void std::exit (int) throw (); using std::exit;' \
2359 'extern "C" void std::exit (int); using std::exit;' \
2360 'extern "C" void exit (int) throw ();' \
2361 'extern "C" void exit (int);' \
2364 cat >conftest.
$ac_ext <<_ACEOF
2367 cat confdefs.h
>>conftest.
$ac_ext
2368 cat >>conftest.
$ac_ext <<_ACEOF
2369 /* end confdefs.h. */
2380 rm -f conftest.
$ac_objext
2381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2382 (eval $ac_compile) 2>conftest.er1
2384 grep -v '^ *+' conftest.er1
>conftest.err
2386 cat conftest.err
>&5
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); } &&
2389 { ac_try
='test -z "$ac_c_werror_flag"
2390 || test ! -s conftest.err'
2391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); }; } &&
2396 { ac_try
='test -s conftest.$ac_objext'
2397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); }; }; then
2404 echo "$as_me: failed program was:" >&5
2405 sed 's/^/| /' conftest.
$ac_ext >&5
2409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2410 cat >conftest.
$ac_ext <<_ACEOF
2413 cat confdefs.h
>>conftest.
$ac_ext
2414 cat >>conftest.
$ac_ext <<_ACEOF
2415 /* end confdefs.h. */
2425 rm -f conftest.
$ac_objext
2426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2427 (eval $ac_compile) 2>conftest.er1
2429 grep -v '^ *+' conftest.er1
>conftest.err
2431 cat conftest.err
>&5
2432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2433 (exit $ac_status); } &&
2434 { ac_try
='test -z "$ac_c_werror_flag"
2435 || test ! -s conftest.err'
2436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 (exit $ac_status); }; } &&
2441 { ac_try
='test -s conftest.$ac_objext'
2442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446 (exit $ac_status); }; }; then
2449 echo "$as_me: failed program was:" >&5
2450 sed 's/^/| /' conftest.
$ac_ext >&5
2453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2456 if test -n "$ac_declaration"; then
2457 echo '#ifdef __cplusplus' >>confdefs.h
2458 echo $ac_declaration >>confdefs.h
2459 echo '#endif' >>confdefs.h
2463 echo "$as_me: failed program was:" >&5
2464 sed 's/^/| /' conftest.
$ac_ext >&5
2467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2469 ac_cpp
='$CPP $CPPFLAGS'
2470 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2471 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2472 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2478 # Check whether --enable-shared or --disable-shared was given.
2479 if test "${enable_shared+set}" = set; then
2480 enableval
="$enable_shared"
2482 case $enable_shared in
2486 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2487 for pkg
in $enableval; do
2490 enable_shared
=yes ;;
2502 # Need to pass this down for now :-P
2503 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2504 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2506 if test "$LN_S" = "ln -s"; then
2507 echo "$as_me:$LINENO: result: yes" >&5
2508 echo "${ECHO_T}yes" >&6
2510 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2511 echo "${ECHO_T}no, using $LN_S" >&6
2515 # Determine what to build for 'gnatlib'
2516 if test $build = $target \
2517 && test ${enable_shared} = yes ; then
2518 # Note that build=target is almost certainly the wrong test; FIXME
2519 default_gnatlib_target
="gnatlib-shared"
2521 default_gnatlib_target
="gnatlib-plain"
2526 ac_cpp
='$CPP $CPPFLAGS'
2527 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2528 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2529 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2530 if test -n "$ac_tool_prefix"; then
2531 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2532 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2533 echo "$as_me:$LINENO: checking for $ac_word" >&5
2534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2535 if test "${ac_cv_prog_CC+set}" = set; then
2536 echo $ECHO_N "(cached) $ECHO_C" >&6
2538 if test -n "$CC"; then
2539 ac_cv_prog_CC
="$CC" # Let the user override the test.
2541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2545 test -z "$as_dir" && as_dir
=.
2546 for ac_exec_ext
in '' $ac_executable_extensions; do
2547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2548 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2558 if test -n "$CC"; then
2559 echo "$as_me:$LINENO: result: $CC" >&5
2560 echo "${ECHO_T}$CC" >&6
2562 echo "$as_me:$LINENO: result: no" >&5
2563 echo "${ECHO_T}no" >&6
2567 if test -z "$ac_cv_prog_CC"; then
2569 # Extract the first word of "gcc", so it can be a program name with args.
2570 set dummy gcc
; ac_word
=$2
2571 echo "$as_me:$LINENO: checking for $ac_word" >&5
2572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2573 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6
2576 if test -n "$ac_ct_CC"; then
2577 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2583 test -z "$as_dir" && as_dir
=.
2584 for ac_exec_ext
in '' $ac_executable_extensions; do
2585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2586 ac_cv_prog_ac_ct_CC
="gcc"
2587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2595 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2596 if test -n "$ac_ct_CC"; then
2597 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2598 echo "${ECHO_T}$ac_ct_CC" >&6
2600 echo "$as_me:$LINENO: result: no" >&5
2601 echo "${ECHO_T}no" >&6
2609 if test -z "$CC"; then
2610 if test -n "$ac_tool_prefix"; then
2611 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2612 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2613 echo "$as_me:$LINENO: checking for $ac_word" >&5
2614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2615 if test "${ac_cv_prog_CC+set}" = set; then
2616 echo $ECHO_N "(cached) $ECHO_C" >&6
2618 if test -n "$CC"; then
2619 ac_cv_prog_CC
="$CC" # Let the user override the test.
2621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2625 test -z "$as_dir" && as_dir
=.
2626 for ac_exec_ext
in '' $ac_executable_extensions; do
2627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2628 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2638 if test -n "$CC"; then
2639 echo "$as_me:$LINENO: result: $CC" >&5
2640 echo "${ECHO_T}$CC" >&6
2642 echo "$as_me:$LINENO: result: no" >&5
2643 echo "${ECHO_T}no" >&6
2647 if test -z "$ac_cv_prog_CC"; then
2649 # Extract the first word of "cc", so it can be a program name with args.
2650 set dummy cc
; ac_word
=$2
2651 echo "$as_me:$LINENO: checking for $ac_word" >&5
2652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2653 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2654 echo $ECHO_N "(cached) $ECHO_C" >&6
2656 if test -n "$ac_ct_CC"; then
2657 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2663 test -z "$as_dir" && as_dir
=.
2664 for ac_exec_ext
in '' $ac_executable_extensions; do
2665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2666 ac_cv_prog_ac_ct_CC
="cc"
2667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2675 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2676 if test -n "$ac_ct_CC"; then
2677 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2678 echo "${ECHO_T}$ac_ct_CC" >&6
2680 echo "$as_me:$LINENO: result: no" >&5
2681 echo "${ECHO_T}no" >&6
2690 if test -z "$CC"; then
2691 # Extract the first word of "cc", so it can be a program name with args.
2692 set dummy cc
; ac_word
=$2
2693 echo "$as_me:$LINENO: checking for $ac_word" >&5
2694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2695 if test "${ac_cv_prog_CC+set}" = set; then
2696 echo $ECHO_N "(cached) $ECHO_C" >&6
2698 if test -n "$CC"; then
2699 ac_cv_prog_CC
="$CC" # Let the user override the test.
2702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2706 test -z "$as_dir" && as_dir
=.
2707 for ac_exec_ext
in '' $ac_executable_extensions; do
2708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2709 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2710 ac_prog_rejected
=yes
2714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2720 if test $ac_prog_rejected = yes; then
2721 # We found a bogon in the path, so make sure we never use it.
2722 set dummy
$ac_cv_prog_CC
2724 if test $# != 0; then
2725 # We chose a different compiler from the bogus one.
2726 # However, it has the same basename, so the bogon will be chosen
2727 # first if we set CC to just the basename; use the full file name.
2729 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2735 if test -n "$CC"; then
2736 echo "$as_me:$LINENO: result: $CC" >&5
2737 echo "${ECHO_T}$CC" >&6
2739 echo "$as_me:$LINENO: result: no" >&5
2740 echo "${ECHO_T}no" >&6
2744 if test -z "$CC"; then
2745 if test -n "$ac_tool_prefix"; then
2748 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2749 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2750 echo "$as_me:$LINENO: checking for $ac_word" >&5
2751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2752 if test "${ac_cv_prog_CC+set}" = set; then
2753 echo $ECHO_N "(cached) $ECHO_C" >&6
2755 if test -n "$CC"; then
2756 ac_cv_prog_CC
="$CC" # Let the user override the test.
2758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2762 test -z "$as_dir" && as_dir
=.
2763 for ac_exec_ext
in '' $ac_executable_extensions; do
2764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2765 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2775 if test -n "$CC"; then
2776 echo "$as_me:$LINENO: result: $CC" >&5
2777 echo "${ECHO_T}$CC" >&6
2779 echo "$as_me:$LINENO: result: no" >&5
2780 echo "${ECHO_T}no" >&6
2783 test -n "$CC" && break
2786 if test -z "$CC"; then
2790 # Extract the first word of "$ac_prog", so it can be a program name with args.
2791 set dummy
$ac_prog; ac_word
=$2
2792 echo "$as_me:$LINENO: checking for $ac_word" >&5
2793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2794 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2795 echo $ECHO_N "(cached) $ECHO_C" >&6
2797 if test -n "$ac_ct_CC"; then
2798 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2804 test -z "$as_dir" && as_dir
=.
2805 for ac_exec_ext
in '' $ac_executable_extensions; do
2806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2807 ac_cv_prog_ac_ct_CC
="$ac_prog"
2808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2816 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2817 if test -n "$ac_ct_CC"; then
2818 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2819 echo "${ECHO_T}$ac_ct_CC" >&6
2821 echo "$as_me:$LINENO: result: no" >&5
2822 echo "${ECHO_T}no" >&6
2825 test -n "$ac_ct_CC" && break
2834 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2835 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2836 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2837 See \`config.log' for more details." >&5
2838 echo "$as_me: error: no acceptable C compiler found in \$PATH
2839 See \`config.log' for more details." >&2;}
2840 { (exit 1); exit 1; }; }; }
2842 # Provide some information about the compiler.
2843 echo "$as_me:$LINENO:" \
2844 "checking for C compiler version" >&5
2845 ac_compiler
=`set X $ac_compile; echo $2`
2846 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2847 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }
2851 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2852 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); }
2856 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2857 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); }
2862 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2863 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2864 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2865 echo $ECHO_N "(cached) $ECHO_C" >&6
2867 cat >conftest.
$ac_ext <<_ACEOF
2870 cat confdefs.h
>>conftest.
$ac_ext
2871 cat >>conftest.
$ac_ext <<_ACEOF
2872 /* end confdefs.h. */
2885 rm -f conftest.
$ac_objext
2886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2887 (eval $ac_compile) 2>conftest.er1
2889 grep -v '^ *+' conftest.er1
>conftest.err
2891 cat conftest.err
>&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); } &&
2894 { ac_try
='test -z "$ac_c_werror_flag"
2895 || test ! -s conftest.err'
2896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }; } &&
2901 { ac_try
='test -s conftest.$ac_objext'
2902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906 (exit $ac_status); }; }; then
2909 echo "$as_me: failed program was:" >&5
2910 sed 's/^/| /' conftest.
$ac_ext >&5
2914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2915 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2918 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2919 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2920 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2921 ac_test_CFLAGS
=${CFLAGS+set}
2922 ac_save_CFLAGS
=$CFLAGS
2924 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2925 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2926 if test "${ac_cv_prog_cc_g+set}" = set; then
2927 echo $ECHO_N "(cached) $ECHO_C" >&6
2929 cat >conftest.
$ac_ext <<_ACEOF
2932 cat confdefs.h
>>conftest.
$ac_ext
2933 cat >>conftest.
$ac_ext <<_ACEOF
2934 /* end confdefs.h. */
2944 rm -f conftest.
$ac_objext
2945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2946 (eval $ac_compile) 2>conftest.er1
2948 grep -v '^ *+' conftest.er1
>conftest.err
2950 cat conftest.err
>&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); } &&
2953 { ac_try
='test -z "$ac_c_werror_flag"
2954 || test ! -s conftest.err'
2955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959 (exit $ac_status); }; } &&
2960 { ac_try
='test -s conftest.$ac_objext'
2961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); }; }; then
2968 echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.
$ac_ext >&5
2973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2975 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2976 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2977 if test "$ac_test_CFLAGS" = set; then
2978 CFLAGS
=$ac_save_CFLAGS
2979 elif test $ac_cv_prog_cc_g = yes; then
2980 if test "$GCC" = yes; then
2986 if test "$GCC" = yes; then
2992 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2993 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2994 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2995 echo $ECHO_N "(cached) $ECHO_C" >&6
2997 ac_cv_prog_cc_stdc
=no
2999 cat >conftest.
$ac_ext <<_ACEOF
3002 cat confdefs.h
>>conftest.
$ac_ext
3003 cat >>conftest.
$ac_ext <<_ACEOF
3004 /* end confdefs.h. */
3007 #include <sys/types.h>
3008 #include <sys/stat.h>
3009 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3010 struct buf { int x; };
3011 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3012 static char *e (p, i)
3018 static char *f (char * (*g) (char **, int), char **p, ...)
3023 s = g (p, va_arg (v,int));
3028 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3029 function prototypes and stuff, but not '\xHH' hex character constants.
3030 These don't provoke an error unfortunately, instead are silently treated
3031 as 'x'. The following induces an error, until -std1 is added to get
3032 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3033 array size at least. It's necessary to write '\x00'==0 to get something
3034 that's true only with -std1. */
3035 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3037 int test (int i, double x);
3038 struct s1 {int (*f) (int a);};
3039 struct s2 {int (*f) (double a);};
3040 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3046 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3051 # Don't try gcc -ansi; that turns off useful extensions and
3052 # breaks some systems' header files.
3053 # AIX -qlanglvl=ansi
3054 # Ultrix and OSF/1 -std1
3055 # HP-UX 10.20 and later -Ae
3056 # HP-UX older versions -Aa -D_HPUX_SOURCE
3057 # SVR4 -Xc -D__EXTENSIONS__
3058 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3060 CC
="$ac_save_CC $ac_arg"
3061 rm -f conftest.
$ac_objext
3062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3063 (eval $ac_compile) 2>conftest.er1
3065 grep -v '^ *+' conftest.er1
>conftest.err
3067 cat conftest.err
>&5
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); } &&
3070 { ac_try
='test -z "$ac_c_werror_flag"
3071 || test ! -s conftest.err'
3072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); }; } &&
3077 { ac_try
='test -s conftest.$ac_objext'
3078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); }; }; then
3083 ac_cv_prog_cc_stdc
=$ac_arg
3086 echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.
$ac_ext >&5
3090 rm -f conftest.err conftest.
$ac_objext
3092 rm -f conftest.
$ac_ext conftest.
$ac_objext
3097 case "x$ac_cv_prog_cc_stdc" in
3099 echo "$as_me:$LINENO: result: none needed" >&5
3100 echo "${ECHO_T}none needed" >&6 ;;
3102 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3103 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3104 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3107 # Some people use a C++ compiler to compile C. Since we use `exit',
3108 # in C++ we need to declare it. In case someone uses the same compiler
3109 # for both compiling C and C++ we need to have the C++ compiler decide
3110 # the declaration of exit, since it's the most demanding environment.
3111 cat >conftest.
$ac_ext <<_ACEOF
3116 rm -f conftest.
$ac_objext
3117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3118 (eval $ac_compile) 2>conftest.er1
3120 grep -v '^ *+' conftest.er1
>conftest.err
3122 cat conftest.err
>&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); } &&
3125 { ac_try
='test -z "$ac_c_werror_flag"
3126 || test ! -s conftest.err'
3127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); }; } &&
3132 { ac_try
='test -s conftest.$ac_objext'
3133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137 (exit $ac_status); }; }; then
3138 for ac_declaration
in \
3140 'extern "C" void std::exit (int) throw (); using std::exit;' \
3141 'extern "C" void std::exit (int); using std::exit;' \
3142 'extern "C" void exit (int) throw ();' \
3143 'extern "C" void exit (int);' \
3146 cat >conftest.
$ac_ext <<_ACEOF
3149 cat confdefs.h
>>conftest.
$ac_ext
3150 cat >>conftest.
$ac_ext <<_ACEOF
3151 /* end confdefs.h. */
3162 rm -f conftest.
$ac_objext
3163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3164 (eval $ac_compile) 2>conftest.er1
3166 grep -v '^ *+' conftest.er1
>conftest.err
3168 cat conftest.err
>&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); } &&
3171 { ac_try
='test -z "$ac_c_werror_flag"
3172 || test ! -s conftest.err'
3173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); }; } &&
3178 { ac_try
='test -s conftest.$ac_objext'
3179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); }; }; then
3186 echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.
$ac_ext >&5
3191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3192 cat >conftest.
$ac_ext <<_ACEOF
3195 cat confdefs.h
>>conftest.
$ac_ext
3196 cat >>conftest.
$ac_ext <<_ACEOF
3197 /* end confdefs.h. */
3207 rm -f conftest.
$ac_objext
3208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3209 (eval $ac_compile) 2>conftest.er1
3211 grep -v '^ *+' conftest.er1
>conftest.err
3213 cat conftest.err
>&5
3214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215 (exit $ac_status); } &&
3216 { ac_try
='test -z "$ac_c_werror_flag"
3217 || test ! -s conftest.err'
3218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); }; } &&
3223 { ac_try
='test -s conftest.$ac_objext'
3224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); }; }; then
3231 echo "$as_me: failed program was:" >&5
3232 sed 's/^/| /' conftest.
$ac_ext >&5
3235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3238 if test -n "$ac_declaration"; then
3239 echo '#ifdef __cplusplus' >>confdefs.h
3240 echo $ac_declaration >>confdefs.h
3241 echo '#endif' >>confdefs.h
3245 echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.
$ac_ext >&5
3249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3251 ac_cpp
='$CPP $CPPFLAGS'
3252 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3253 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3254 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3257 if test "x$GCC" = "xyes"; then
3258 warn_cflags
='$(GCC_WARN_CFLAGS)'
3262 # Output: create a Makefile.
3263 ac_config_files
="$ac_config_files Makefile"
3266 cat >confcache
<<\_ACEOF
3267 # This file is a shell script that caches the results of configure
3268 # tests run on this system so they can be shared between configure
3269 # scripts and configure runs, see configure's option --config-cache.
3270 # It is not useful on other systems. If it contains results you don't
3271 # want to keep, you may remove or edit it.
3273 # config.status only pays attention to the cache file if you give it
3274 # the --recheck option to rerun configure.
3276 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3277 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3282 # The following way of writing the cache mishandles newlines in values,
3283 # but we know of no workaround that is simple, portable, and efficient.
3284 # So, don't put newlines in cache variables' values.
3285 # Ultrix sh set writes to stderr and can't be redirected directly,
3286 # and sets the high bit in the cache file unless we assign to the vars.
3289 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3291 # `set' does not quote correctly, so add quotes (double-quote
3292 # substitution turns \\\\ into \\, and sed turns \\ into \).
3295 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3298 # `set' quotes correctly as required by POSIX, so do not add quotes.
3300 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3307 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3309 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3311 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3312 if test -w $cache_file; then
3313 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3314 cat confcache
>$cache_file
3316 echo "not updating unwritable cache $cache_file"
3321 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3322 # Let make expand exec_prefix.
3323 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3325 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3326 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3327 # trailing colons and then remove the whole line if VPATH becomes empty
3328 # (actually we leave an empty line to preserve line numbers).
3329 if test "x$srcdir" = x.
; then
3330 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3331 s/:*\$(srcdir):*/:/;
3332 s/:*\${srcdir}:*/:/;
3334 s/^\([^=]*=[ ]*\):*/\1/;
3340 # Transform confdefs.h into DEFS.
3341 # Protect against shell expansion while executing Makefile rules.
3342 # Protect against Makefile macro expansion.
3344 # If the first sed substitution is executed (which looks for macros that
3345 # take arguments), then we branch to the quote section. Otherwise,
3346 # look for a macro that doesn't take arguments.
3347 cat >confdef2opt.
sed <<\_ACEOF
3350 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3352 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3356 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3362 # We use echo to avoid assuming a particular line-breaking character.
3363 # The extra dot is to prevent the shell from consuming trailing
3364 # line-breaks from the sub-command output. A line-break within
3365 # single-quotes doesn't work because, if this script is created in a
3366 # platform that uses two characters for line-breaks (e.g., DOS), tr
3368 ac_LF_and_DOT=`echo; echo .
`
3369 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
3370 rm -f confdef2opt.sed
3375 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3376 # 1. Remove the extension, and $U if already installed.
3377 ac_i=`echo "$ac_i" |
3378 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3380 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3381 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3385 LTLIBOBJS=$ac_ltlibobjs
3389 : ${CONFIG_STATUS=./config.status}
3390 ac_clean_files_save=$ac_clean_files
3391 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3392 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3393 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3394 cat >$CONFIG_STATUS <<_ACEOF
3396 # Generated by $as_me.
3397 # Run this file to recreate the current configuration.
3398 # Compiler output produced by configure, useful for debugging
3399 # configure, is in config.log if it exists.
3404 SHELL=\${CONFIG_SHELL-$SHELL}
3407 cat >>$CONFIG_STATUS <<\_ACEOF
3408 ## --------------------- ##
3409 ## M4sh Initialization. ##
3410 ## --------------------- ##
3412 # Be Bourne compatible
3413 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3416 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3417 # is contrary to our usage. Disable this feature.
3418 alias -g '${1+"$@"}'='"$@"'
3419 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3422 DUALCASE=1; export DUALCASE # for MKS sh
3424 # Support unset when possible.
3425 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3432 # Work around bugs in pre-3.0 UWIN ksh.
3433 $as_unset ENV MAIL MAILPATH
3440 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3441 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3442 LC_TELEPHONE LC_TIME
3444 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
3445 eval $as_var=C; export $as_var
3451 # Required to use basename.
3452 if expr a : '\(a\)' >/dev/null 2>&1; then
3458 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3459 as_basename=basename
3465 # Name of the executable.
3466 as_me=`$as_basename "$0" ||
3467 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3468 X
"$0" : 'X\(//\)$' \| \
3469 X
"$0" : 'X\(/\)$' \| \
3470 .
: '\(.\)' 2>/dev
/null ||
3472 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3473 /^X\/\(\/\/\)$/{ s//\1/; q; }
3474 /^X\/\(\/\).*/{ s//\1/; q; }
3478 # PATH needs CR, and LINENO needs CR and PATH.
3479 # Avoid depending upon Character Ranges.
3480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3483 as_cr_digits='0123456789'
3484 as_cr_alnum=$as_cr_Letters$as_cr_digits
3486 # The user is always right.
3487 if test "${PATH_SEPARATOR+set}" != set; then
3488 echo "#! /bin/sh" >conf$$.sh
3489 echo "exit 0" >>conf$$.sh
3491 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3502 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
3503 test "x$as_lineno_1" != "x$as_lineno_2" &&
3504 test "x$as_lineno_3" = "x$as_lineno_2" || {
3505 # Find who we are. Look in the path if we contain no path at all
3508 *[\\/]* ) as_myself=$0 ;;
3509 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3513 test -z "$as_dir" && as_dir=.
3514 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3519 # We did not find ourselves, most probably we were run as `sh COMMAND
'
3520 # in which case we are not to be found in the path.
3521 if test "x$as_myself" = x; then
3524 if test ! -f "$as_myself"; then
3525 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3526 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3527 { (exit 1); exit 1; }; }
3529 case $CONFIG_SHELL in
3531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3532 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3535 test -z "$as_dir" && as_dir=.
3536 for as_base in sh bash ksh sh5; do
3539 if ("$as_dir/$as_base" -c '
3542 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3543 test "x$as_lineno_1" != "x$as_lineno_2" &&
3544 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3545 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3546 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3547 CONFIG_SHELL=$as_dir/$as_base
3549 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3557 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3558 # uniformly replaced by the line number. The first 'sed' inserts a
3559 # line-number line before each line; the second 'sed' does the real
3560 # work. The second script uses 'N
' to pair each line-number line
3561 # with the numbered line, and appends trailing '-' during
3562 # substitution so that $LINENO is not a special case at line end.
3563 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3564 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
3565 sed '=' <$as_myself |
3570 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3573 s,^['$as_cr_digits']*\n,,
3575 chmod +x
$as_me.lineno ||
3576 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3577 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3578 { (exit 1); exit 1; }; }
3580 # Don't try to exec as it changes $[0], causing all sort of problems
3581 # (the dirname of $[0] is not the place where we might find the
3582 # original and so on. Autoconf is especially sensible to this).
3584 # Exit status is that of the last command.
3589 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3590 *c
*,-n*) ECHO_N
= ECHO_C
='
3592 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
3593 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
3596 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3602 rm -f conf$$ conf$$.exe conf$$.
file
3604 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3605 # We could just check for DJGPP; but this test a) works b) is more generic
3606 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3607 if test -f conf$$.exe
; then
3608 # Don't use ln at all; we don't have any links
3613 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3618 rm -f conf$$ conf$$.exe conf$$.
file
3620 if mkdir
-p .
2>/dev
/null
; then
3623 test -d .
/-p && rmdir .
/-p
3627 as_executable_p
="test -f"
3629 # Sed expression to map a string onto a valid CPP name.
3630 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3632 # Sed expression to map a string onto a valid variable name.
3633 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3637 # We need space, tab and new line, in precisely that order.
3647 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3648 # report actual input values of CONFIG_FILES etc. instead of their
3649 # values after options handling. Logging --version etc. is OK.
3653 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3654 ## Running $as_me. ##
3659 This file was extended by $as_me, which was
3660 generated by GNU Autoconf 2.59. Invocation command line was
3662 CONFIG_FILES = $CONFIG_FILES
3663 CONFIG_HEADERS = $CONFIG_HEADERS
3664 CONFIG_LINKS = $CONFIG_LINKS
3665 CONFIG_COMMANDS = $CONFIG_COMMANDS
3669 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3673 # Files that config.status was made for.
3674 if test -n "$ac_config_files"; then
3675 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3678 if test -n "$ac_config_headers"; then
3679 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3682 if test -n "$ac_config_links"; then
3683 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3686 if test -n "$ac_config_commands"; then
3687 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3690 cat >>$CONFIG_STATUS <<\_ACEOF
3693 \`$as_me' instantiates files from templates according to the
3694 current configuration.
3696 Usage: $0 [OPTIONS] [FILE]...
3698 -h, --help print this help, then exit
3699 -V, --version print version number, then exit
3700 -q, --quiet do not print progress messages
3701 -d, --debug don't remove temporary files
3702 --recheck update $as_me by reconfiguring in the same conditions
3703 --file=FILE[:TEMPLATE]
3704 instantiate the configuration file FILE
3706 Configuration files:
3709 Configuration commands:
3712 Report bugs to <bug-autoconf@gnu.org>."
3715 cat >>$CONFIG_STATUS <<_ACEOF
3718 configured by $0, generated by GNU Autoconf 2.59,
3719 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3721 Copyright (C) 2003 Free Software Foundation, Inc.
3722 This config.status script is free software; the Free Software Foundation
3723 gives unlimited permission to copy, distribute and modify it."
3727 cat >>$CONFIG_STATUS <<\_ACEOF
3728 # If no file are specified by the user, then we need to provide default
3729 # value. By we need to know if files were specified by the user.
3735 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
3736 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
3744 *) # This is not an option, so the user has probably given explicit
3747 ac_need_defaults
=false
;;
3751 # Handling of the options.
3753 cat >>$CONFIG_STATUS <<\_ACEOF
3754 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3756 --version |
--vers* |
-V )
3757 echo "$ac_cs_version"; exit 0 ;;
3759 # Conflict between --help and --header
3760 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3761 Try \`$0 --help' for more information." >&5
3762 echo "$as_me: error: ambiguous option: $1
3763 Try \`$0 --help' for more information." >&2;}
3764 { (exit 1); exit 1; }; };;
3765 --help |
--hel |
-h )
3766 echo "$ac_cs_usage"; exit 0 ;;
3767 --debug |
--d* |
-d )
3769 --file |
--fil |
--fi |
--f )
3771 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
3772 ac_need_defaults
=false
;;
3773 --header |
--heade |
--head |
--hea )
3775 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
3776 ac_need_defaults
=false
;;
3777 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3778 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3782 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3783 Try \`$0 --help' for more information." >&5
3784 echo "$as_me: error: unrecognized option: $1
3785 Try \`$0 --help' for more information." >&2;}
3786 { (exit 1); exit 1; }; } ;;
3788 *) ac_config_targets
="$ac_config_targets $1" ;;
3794 ac_configure_extra_args
=
3796 if $ac_cs_silent; then
3798 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3802 cat >>$CONFIG_STATUS <<_ACEOF
3803 if \$ac_cs_recheck; then
3804 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3805 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3810 cat >>$CONFIG_STATUS <<_ACEOF
3812 # INIT-COMMANDS section.
3819 with_multisubdir="$with_multisubdir"
3820 with_multisrctop="$with_multisrctop"
3821 with_target_subdir="$with_target_subdir"
3822 ac_configure_args="${multilib_arg} ${ac_configure_args}"
3823 multi_basedir="$multi_basedir"
3824 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3831 cat >>$CONFIG_STATUS <<\_ACEOF
3832 for ac_config_target
in $ac_config_targets
3834 case "$ac_config_target" in
3835 # Handling of arguments.
3836 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3837 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
3838 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3839 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3840 { (exit 1); exit 1; }; };;
3844 # If the user did not use the arguments to specify the items to instantiate,
3845 # then the envvar interface is used. Set only those that are not.
3846 # We use the long form for the default assignment because of an extremely
3847 # bizarre bug on SunOS 4.1.3.
3848 if $ac_need_defaults; then
3849 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3850 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
3853 # Have a temporary directory for convenience. Make it in the build tree
3854 # simply because there is no reason to put it here, and in addition,
3855 # creating and moving files from /tmp can sometimes cause problems.
3856 # Create a temporary directory, and hook for its removal unless debugging.
3859 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3860 trap '{ (exit 1); exit 1; }' 1 2 13 15
3863 # Create a (secure) tmp directory for tmp files.
3866 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3867 test -n "$tmp" && test -d "$tmp"
3870 tmp
=.
/confstat$$
-$RANDOM
3871 (umask 077 && mkdir
$tmp)
3874 echo "$me: cannot create a temporary directory in ." >&2
3875 { (exit 1); exit 1; }
3880 cat >>$CONFIG_STATUS <<_ACEOF
3883 # CONFIG_FILES section.
3886 # No need to generate the scripts if there are no CONFIG_FILES.
3887 # This happens for instance when ./config.status config.h
3888 if test -n "\$CONFIG_FILES"; then
3889 # Protect against being on the right side of a sed subst in config.status.
3890 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3891 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3892 s,@SHELL@,$SHELL,;t t
3893 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3894 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3895 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3896 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3897 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3898 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3899 s,@exec_prefix@,$exec_prefix,;t t
3900 s,@prefix@,$prefix,;t t
3901 s,@program_transform_name@,$program_transform_name,;t t
3902 s,@bindir@,$bindir,;t t
3903 s,@sbindir@,$sbindir,;t t
3904 s,@libexecdir@,$libexecdir,;t t
3905 s,@datadir@,$datadir,;t t
3906 s,@sysconfdir@,$sysconfdir,;t t
3907 s,@sharedstatedir@,$sharedstatedir,;t t
3908 s,@localstatedir@,$localstatedir,;t t
3909 s,@libdir@,$libdir,;t t
3910 s,@includedir@,$includedir,;t t
3911 s,@oldincludedir@,$oldincludedir,;t t
3912 s,@infodir@,$infodir,;t t
3913 s,@mandir@,$mandir,;t t
3914 s,@build_alias@,$build_alias,;t t
3915 s,@host_alias@,$host_alias,;t t
3916 s,@target_alias@,$target_alias,;t t
3918 s,@ECHO_C@,$ECHO_C,;t t
3919 s,@ECHO_N@,$ECHO_N,;t t
3920 s,@ECHO_T@,$ECHO_T,;t t
3922 s,@build@,$build,;t t
3923 s,@build_cpu@,$build_cpu,;t t
3924 s,@build_vendor@,$build_vendor,;t t
3925 s,@build_os@,$build_os,;t t
3927 s,@host_cpu@,$host_cpu,;t t
3928 s,@host_vendor@,$host_vendor,;t t
3929 s,@host_os@,$host_os,;t t
3930 s,@target@,$target,;t t
3931 s,@target_cpu@,$target_cpu,;t t
3932 s,@target_vendor@,$target_vendor,;t t
3933 s,@target_os@,$target_os,;t t
3934 s,@target_noncanonical@,$target_noncanonical,;t t
3935 s,@build_libsubdir@,$build_libsubdir,;t t
3936 s,@build_subdir@,$build_subdir,;t t
3937 s,@host_subdir@,$host_subdir,;t t
3938 s,@target_subdir@,$target_subdir,;t t
3939 s,@MAINT@,$MAINT,;t t
3940 s,@multi_basedir@,$multi_basedir,;t t
3941 s,@toolexecdir@,$toolexecdir,;t t
3942 s,@toolexeclibdir@,$toolexeclibdir,;t t
3944 s,@ac_ct_CC@,$ac_ct_CC,;t t
3945 s,@EXEEXT@,$EXEEXT,;t t
3946 s,@OBJEXT@,$OBJEXT,;t t
3947 s,@CFLAGS@,$CFLAGS,;t t
3948 s,@enable_shared@,$enable_shared,;t t
3950 s,@default_gnatlib_target@,$default_gnatlib_target,;t t
3951 s,@LDFLAGS@,$LDFLAGS,;t t
3952 s,@CPPFLAGS@,$CPPFLAGS,;t t
3953 s,@warn_cflags@,$warn_cflags,;t t
3954 s,@LIBOBJS@,$LIBOBJS,;t t
3955 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3960 cat >>$CONFIG_STATUS <<\_ACEOF
3961 # Split the substitutions into bite-sized pieces for seds with
3962 # small command number limits, like on Digital OSF/1 and HP-UX.
3964 ac_sed_frag
=1 # Number of current file.
3965 ac_beg
=1 # First line for current file.
3966 ac_end
=$ac_max_sed_lines # Line after last line for current file.
3969 while $ac_more_lines; do
3970 if test $ac_beg -gt 1; then
3971 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3973 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3975 if test ! -s $tmp/subs.frag
; then
3978 # The purpose of the label and of the branching condition is to
3979 # speed up the sed processing (if there are no `@' at all, there
3980 # is no need to browse any of the substitutions).
3981 # These are the two extra sed commands mentioned above.
3983 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
3984 if test -z "$ac_sed_cmds"; then
3985 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
3987 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3989 ac_sed_frag
=`expr $ac_sed_frag + 1`
3991 ac_end
=`expr $ac_end + $ac_max_sed_lines`
3994 if test -z "$ac_sed_cmds"; then
3997 fi # test -n "$CONFIG_FILES"
4000 cat >>$CONFIG_STATUS <<\_ACEOF
4001 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
4002 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4004 - |
*:- |
*:-:* ) # input from stdin
4006 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4007 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4008 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4009 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4010 * ) ac_file_in
=$ac_file.
in ;;
4013 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4014 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4015 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4016 X"$ac_file" : 'X\(//\)[^/]' \| \
4017 X"$ac_file" : 'X\(//\)$' \| \
4018 X"$ac_file" : 'X\(/\)' \| \
4019 . : '\(.\)' 2>/dev/null ||
4021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4022 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4023 /^X\(\/\/\)$/{ s//\1/; q; }
4024 /^X\(\/\).*/{ s//\1/; q; }
4026 { if $as_mkdir_p; then
4031 while test ! -d "$as_dir"; do
4032 as_dirs
="$as_dir $as_dirs"
4033 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4034 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4035 X"$as_dir" : 'X\(//\)[^/]' \| \
4036 X"$as_dir" : 'X\(//\)$' \| \
4037 X"$as_dir" : 'X\(/\)' \| \
4038 . : '\(.\)' 2>/dev/null ||
4040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4041 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4042 /^X\(\/\/\)$/{ s//\1/; q; }
4043 /^X\(\/\).*/{ s//\1/; q; }
4046 test ! -n "$as_dirs" || mkdir
$as_dirs
4047 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4048 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4049 { (exit 1); exit 1; }; }; }
4053 if test "$ac_dir" != .
; then
4054 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4055 # A "../" for each directory in $ac_dir_suffix.
4056 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4058 ac_dir_suffix
= ac_top_builddir
=
4062 .
) # No --srcdir option. We are building in place.
4064 if test -z "$ac_top_builddir"; then
4067 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4069 [\\/]* | ?
:[\\/]* ) # Absolute path.
4070 ac_srcdir
=$srcdir$ac_dir_suffix;
4071 ac_top_srcdir
=$srcdir ;;
4073 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4074 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4077 # Do not use `cd foo && pwd` to compute absolute paths, because
4078 # the directories may not exist.
4080 .
) ac_abs_builddir
="$ac_dir";;
4083 .
) ac_abs_builddir
=`pwd`;;
4084 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
4085 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
4088 case $ac_abs_builddir in
4089 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4091 case ${ac_top_builddir}.
in
4092 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
4093 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4094 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
4097 case $ac_abs_builddir in
4098 .
) ac_abs_srcdir
=$ac_srcdir;;
4101 .
) ac_abs_srcdir
=$ac_abs_builddir;;
4102 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
4103 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
4106 case $ac_abs_builddir in
4107 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
4109 case $ac_top_srcdir in
4110 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
4111 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
4112 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
4118 if test x
"$ac_file" != x-
; then
4119 { echo "$as_me:$LINENO: creating $ac_file" >&5
4120 echo "$as_me: creating $ac_file" >&6;}
4123 # Let's still pretend it is `configure' which instantiates (i.e., don't
4124 # use $as_me), people would be surprised to read:
4125 # /* config.h. Generated by config.status. */
4126 if test x
"$ac_file" = x-
; then
4129 configure_input
="$ac_file. "
4131 configure_input
=$configure_input"Generated from `echo $ac_file_in |
4132 sed 's,.*/,,'` by configure."
4134 # First look for the input files in the build tree, otherwise in the
4136 ac_file_inputs
=`IFS=:
4137 for f in $ac_file_in; do
4139 -) echo $tmp/stdin ;;
4141 # Absolute (can't be DOS-style, as IFS=:)
4142 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4143 echo "$as_me: error: cannot find input file: $f" >&2;}
4144 { (exit 1); exit 1; }; }
4147 if test -f "$f"; then
4150 elif test -f "$srcdir/$f"; then
4155 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4156 echo "$as_me: error: cannot find input file: $f" >&2;}
4157 { (exit 1); exit 1; }; }
4160 done` ||
{ (exit 1); exit 1; }
4162 cat >>$CONFIG_STATUS <<_ACEOF
4166 cat >>$CONFIG_STATUS <<\_ACEOF
4168 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4169 s
,@configure_input@
,$configure_input,;t t
4170 s
,@srcdir@
,$ac_srcdir,;t t
4171 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4172 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4173 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4174 s
,@builddir@
,$ac_builddir,;t t
4175 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4176 s
,@top_builddir@
,$ac_top_builddir,;t t
4177 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4178 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4180 if test x"$ac_file" != x-; then
4181 mv $tmp/out $ac_file
4189 cat >>$CONFIG_STATUS <<\_ACEOF
4192 # CONFIG_COMMANDS section.
4194 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
4195 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4196 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4197 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4198 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4199 X"$ac_dest" : 'X\(//\)[^/]' \| \
4200 X"$ac_dest" : 'X\(//\)$' \| \
4201 X"$ac_dest" : 'X\(/\)' \| \
4202 . : '\(.\)' 2>/dev/null ||
4204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4205 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4206 /^X\(\/\/\)$/{ s//\1/; q; }
4207 /^X\(\/\).*/{ s//\1/; q; }
4209 { if $as_mkdir_p; then
4214 while test ! -d "$as_dir"; do
4215 as_dirs="$as_dir $as_dirs"
4216 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4217 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4218 X"$as_dir" : 'X\(//\)[^/]' \| \
4219 X"$as_dir" : 'X\(//\)$' \| \
4220 X"$as_dir" : 'X\(/\)' \| \
4221 . : '\(.\)' 2>/dev/null ||
4223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4224 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4225 /^X\(\/\/\)$/{ s//\1/; q; }
4226 /^X\(\/\).*/{ s//\1/; q; }
4229 test ! -n "$as_dirs" || mkdir $as_dirs
4230 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
4231 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
4232 { (exit 1); exit 1; }; }; }
4236 if test "$ac_dir" != .; then
4237 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4238 # A "..
/" for each directory in $ac_dir_suffix.
4239 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4241 ac_dir_suffix= ac_top_builddir=
4245 .) # No --srcdir option. We are building in place.
4247 if test -z "$ac_top_builddir"; then
4250 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4252 [\\/]* | ?:[\\/]* ) # Absolute path.
4253 ac_srcdir=$srcdir$ac_dir_suffix;
4254 ac_top_srcdir=$srcdir ;;
4256 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4257 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4260 # Do not use `cd foo && pwd` to compute absolute paths, because
4261 # the directories may not exist.
4263 .) ac_abs_builddir="$ac_dir";;
4266 .) ac_abs_builddir=`pwd`;;
4267 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4268 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4271 case $ac_abs_builddir in
4272 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4274 case ${ac_top_builddir}. in
4275 .) ac_abs_top_builddir=$ac_abs_builddir;;
4276 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4277 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4280 case $ac_abs_builddir in
4281 .) ac_abs_srcdir=$ac_srcdir;;
4284 .) ac_abs_srcdir=$ac_abs_builddir;;
4285 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4286 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4289 case $ac_abs_builddir in
4290 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4292 case $ac_top_srcdir in
4293 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4294 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4295 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4300 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
4301 echo "$as_me: executing
$ac_dest commands
" >&6;}
4304 # Only add multilib support code if we just rebuilt the top-level
4306 case " $CONFIG_FILES " in
4308 ac_file=Makefile . ${multi_basedir}/config-ml.in
4315 cat >>$CONFIG_STATUS <<\_ACEOF
4317 { (exit 0); exit 0; }
4319 chmod +x $CONFIG_STATUS
4320 ac_clean_files=$ac_clean_files_save
4323 # configure is writing to config.log, and then calls config.status.
4324 # config.status does its own redirection, appending to config.log.
4325 # Unfortunately, on DOS this fails, as config.log is still kept open
4326 # by configure, so config.status won't be able to write to it; its
4327 # output is simply discarded. So we exec the FD to /dev/null,
4328 # effectively closing config.log, so it can be properly (re)opened and
4329 # appended to by config.status. When coming back to configure, we
4330 # need to make the FD available again.
4331 if test "$no_create" != yes; then
4333 ac_config_status_args=
4334 test "$silent" = yes &&
4335 ac_config_status_args="$ac_config_status_args --quiet"
4337 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4339 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4340 # would make configure fail if this is the last instruction.
4341 $ac_cs_success || { (exit 1); exit 1; }