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}-
1391 target_alias
=${target_alias-$host_alias}
1393 # Determine the noncanonical target name, for directory use.
1394 case ${build_alias} in
1395 "") build_noncanonical
=${build} ;;
1396 *) build_noncanonical
=${build_alias} ;;
1399 case ${host_alias} in
1400 "") host_noncanonical
=${build_noncanonical} ;;
1401 *) host_noncanonical
=${host_alias} ;;
1404 case ${target_alias} in
1405 "") target_noncanonical
=${host_noncanonical} ;;
1406 *) target_noncanonical
=${target_alias} ;;
1412 # Determine the target- and build-specific subdirectories
1414 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1415 # have matching libraries, they should use host libraries: Makefile.tpl
1416 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1417 # However, they still use the build modules, because the corresponding
1418 # host modules (e.g. bison) are only built for the host when bootstrap
1420 # - build_subdir is where we find build modules, and never changes.
1421 # - build_libsubdir is where we find build libraries, and can be overridden.
1423 # Prefix 'build-' so this never conflicts with target_subdir.
1424 build_subdir
="build-${build_noncanonical}"
1426 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1427 if test "${with_build_libsubdir+set}" = set; then
1428 withval
="$with_build_libsubdir"
1429 build_libsubdir
="$withval"
1431 build_libsubdir
="$build_subdir"
1433 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1434 if ( test $srcdir = .
&& test -d gcc
) \
1435 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1436 host_subdir
="host-${host_noncanonical}"
1441 target_subdir
=${target_noncanonical}
1444 # Command-line options.
1445 # Very limited version of AC_MAINTAINER_MODE.
1446 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1447 if test "${enable_maintainer_mode+set}" = set; then
1448 enableval
="$enable_maintainer_mode"
1449 case ${enable_maintainer_mode} in
1452 *) { { echo "$as_me:$LINENO: error: --enable-maintainer-mode must be yes or no" >&5
1453 echo "$as_me: error: --enable-maintainer-mode must be yes or no" >&2;}
1454 { (exit 1); exit 1; }; } ;;
1456 maintainer_mode
=${enableval}
1461 # Default to --enable-multilib
1462 # Check whether --enable-multilib or --disable-multilib was given.
1463 if test "${enable_multilib+set}" = set; then
1464 enableval
="$enable_multilib"
1465 case "$enableval" in
1466 yes) multilib
=yes ;;
1468 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1469 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1470 { (exit 1); exit 1; }; } ;;
1476 # We may get other options which we leave undocumented:
1477 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1478 # See config-ml.in if you want the gory details.
1480 if test "$srcdir" = "."; then
1481 if test "$with_target_subdir" != "."; then
1482 multi_basedir
="$srcdir/$with_multisrctop../.."
1484 multi_basedir
="$srcdir/$with_multisrctop.."
1487 multi_basedir
="$srcdir/.."
1491 # Even if the default multilib is not a cross compilation,
1492 # it may be that some of the other multilibs are.
1493 if test $cross_compiling = no
&& test $multilib = yes \
1494 && test "x${with_multisubdir}" != x
; then
1495 cross_compiling
=maybe
1498 ac_config_commands
="$ac_config_commands default-1"
1500 # Calculate toolexeclibdir
1501 # Also toolexecdir, though it's only used in toolexeclibdir
1502 case ${enable_version_specific_runtime_libs} in
1504 # Need the gcc compiler version to know where to install libraries
1505 # and header files if --enable-version-specific-runtime-libs option
1507 toolexecdir
='$(libdir)/gcc/$(target_alias)'
1508 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
1511 if test -n "$with_cross_host" &&
1512 test x
"$with_cross_host" != x
"no"; then
1513 # Install a library built with a cross compiler in tooldir, not libdir.
1514 toolexecdir
='$(exec_prefix)/$(target_alias)'
1515 toolexeclibdir
='$(toolexecdir)/lib'
1517 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
1518 toolexeclibdir
='$(libdir)'
1520 multi_os_directory
=`$CC -print-multi-os-directory`
1521 case $multi_os_directory in
1522 .
) ;; # Avoid trailing /.
1523 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
1529 #TODO: toolexeclibdir is currently disregarded
1531 # Check the compiler.
1532 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1533 # We must force CC to /not/ be precious variables; otherwise
1534 # the wrong, non-multilib-adjusted value will be used in multilibs.
1535 # As a side effect, we have to subst CFLAGS ourselves.
1540 ac_cpp
='$CPP $CPPFLAGS'
1541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1544 if test -n "$ac_tool_prefix"; then
1545 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1546 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1547 echo "$as_me:$LINENO: checking for $ac_word" >&5
1548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1549 if test "${ac_cv_prog_CC+set}" = set; then
1550 echo $ECHO_N "(cached) $ECHO_C" >&6
1552 if test -n "$CC"; then
1553 ac_cv_prog_CC
="$CC" # Let the user override the test.
1555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1559 test -z "$as_dir" && as_dir
=.
1560 for ac_exec_ext
in '' $ac_executable_extensions; do
1561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1562 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1572 if test -n "$CC"; then
1573 echo "$as_me:$LINENO: result: $CC" >&5
1574 echo "${ECHO_T}$CC" >&6
1576 echo "$as_me:$LINENO: result: no" >&5
1577 echo "${ECHO_T}no" >&6
1581 if test -z "$ac_cv_prog_CC"; then
1583 # Extract the first word of "gcc", so it can be a program name with args.
1584 set dummy gcc
; ac_word
=$2
1585 echo "$as_me:$LINENO: checking for $ac_word" >&5
1586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1587 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1590 if test -n "$ac_ct_CC"; then
1591 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1597 test -z "$as_dir" && as_dir
=.
1598 for ac_exec_ext
in '' $ac_executable_extensions; do
1599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1600 ac_cv_prog_ac_ct_CC
="gcc"
1601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1609 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1610 if test -n "$ac_ct_CC"; then
1611 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1612 echo "${ECHO_T}$ac_ct_CC" >&6
1614 echo "$as_me:$LINENO: result: no" >&5
1615 echo "${ECHO_T}no" >&6
1623 if test -z "$CC"; then
1624 if test -n "$ac_tool_prefix"; then
1625 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1626 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1627 echo "$as_me:$LINENO: checking for $ac_word" >&5
1628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1629 if test "${ac_cv_prog_CC+set}" = set; then
1630 echo $ECHO_N "(cached) $ECHO_C" >&6
1632 if test -n "$CC"; then
1633 ac_cv_prog_CC
="$CC" # Let the user override the test.
1635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1639 test -z "$as_dir" && as_dir
=.
1640 for ac_exec_ext
in '' $ac_executable_extensions; do
1641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1642 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1652 if test -n "$CC"; then
1653 echo "$as_me:$LINENO: result: $CC" >&5
1654 echo "${ECHO_T}$CC" >&6
1656 echo "$as_me:$LINENO: result: no" >&5
1657 echo "${ECHO_T}no" >&6
1661 if test -z "$ac_cv_prog_CC"; then
1663 # Extract the first word of "cc", so it can be a program name with args.
1664 set dummy cc
; ac_word
=$2
1665 echo "$as_me:$LINENO: checking for $ac_word" >&5
1666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1667 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1668 echo $ECHO_N "(cached) $ECHO_C" >&6
1670 if test -n "$ac_ct_CC"; then
1671 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1677 test -z "$as_dir" && as_dir
=.
1678 for ac_exec_ext
in '' $ac_executable_extensions; do
1679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1680 ac_cv_prog_ac_ct_CC
="cc"
1681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1689 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1690 if test -n "$ac_ct_CC"; then
1691 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1692 echo "${ECHO_T}$ac_ct_CC" >&6
1694 echo "$as_me:$LINENO: result: no" >&5
1695 echo "${ECHO_T}no" >&6
1704 if test -z "$CC"; then
1705 # Extract the first word of "cc", so it can be a program name with args.
1706 set dummy cc
; ac_word
=$2
1707 echo "$as_me:$LINENO: checking for $ac_word" >&5
1708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1709 if test "${ac_cv_prog_CC+set}" = set; then
1710 echo $ECHO_N "(cached) $ECHO_C" >&6
1712 if test -n "$CC"; then
1713 ac_cv_prog_CC
="$CC" # Let the user override the test.
1716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1720 test -z "$as_dir" && as_dir
=.
1721 for ac_exec_ext
in '' $ac_executable_extensions; do
1722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1723 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1724 ac_prog_rejected
=yes
1728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1734 if test $ac_prog_rejected = yes; then
1735 # We found a bogon in the path, so make sure we never use it.
1736 set dummy
$ac_cv_prog_CC
1738 if test $# != 0; then
1739 # We chose a different compiler from the bogus one.
1740 # However, it has the same basename, so the bogon will be chosen
1741 # first if we set CC to just the basename; use the full file name.
1743 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1749 if test -n "$CC"; then
1750 echo "$as_me:$LINENO: result: $CC" >&5
1751 echo "${ECHO_T}$CC" >&6
1753 echo "$as_me:$LINENO: result: no" >&5
1754 echo "${ECHO_T}no" >&6
1758 if test -z "$CC"; then
1759 if test -n "$ac_tool_prefix"; then
1762 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1763 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1764 echo "$as_me:$LINENO: checking for $ac_word" >&5
1765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1766 if test "${ac_cv_prog_CC+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1769 if test -n "$CC"; then
1770 ac_cv_prog_CC
="$CC" # Let the user override the test.
1772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1776 test -z "$as_dir" && as_dir
=.
1777 for ac_exec_ext
in '' $ac_executable_extensions; do
1778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1779 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1789 if test -n "$CC"; then
1790 echo "$as_me:$LINENO: result: $CC" >&5
1791 echo "${ECHO_T}$CC" >&6
1793 echo "$as_me:$LINENO: result: no" >&5
1794 echo "${ECHO_T}no" >&6
1797 test -n "$CC" && break
1800 if test -z "$CC"; then
1804 # Extract the first word of "$ac_prog", so it can be a program name with args.
1805 set dummy
$ac_prog; ac_word
=$2
1806 echo "$as_me:$LINENO: checking for $ac_word" >&5
1807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1808 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1809 echo $ECHO_N "(cached) $ECHO_C" >&6
1811 if test -n "$ac_ct_CC"; then
1812 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1818 test -z "$as_dir" && as_dir
=.
1819 for ac_exec_ext
in '' $ac_executable_extensions; do
1820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1821 ac_cv_prog_ac_ct_CC
="$ac_prog"
1822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1830 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1831 if test -n "$ac_ct_CC"; then
1832 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1833 echo "${ECHO_T}$ac_ct_CC" >&6
1835 echo "$as_me:$LINENO: result: no" >&5
1836 echo "${ECHO_T}no" >&6
1839 test -n "$ac_ct_CC" && break
1848 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1849 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1850 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1851 See \`config.log' for more details." >&5
1852 echo "$as_me: error: no acceptable C compiler found in \$PATH
1853 See \`config.log' for more details." >&2;}
1854 { (exit 1); exit 1; }; }; }
1856 # Provide some information about the compiler.
1857 echo "$as_me:$LINENO:" \
1858 "checking for C compiler version" >&5
1859 ac_compiler
=`set X $ac_compile; echo $2`
1860 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1861 (eval $ac_compiler --version </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); }
1870 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1871 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1874 (exit $ac_status); }
1876 cat >conftest.
$ac_ext <<_ACEOF
1879 cat confdefs.h
>>conftest.
$ac_ext
1880 cat >>conftest.
$ac_ext <<_ACEOF
1881 /* end confdefs.h. */
1891 ac_clean_files_save
=$ac_clean_files
1892 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1893 # Try to create an executable without -o first, disregard a.out.
1894 # It will help us diagnose broken compilers, and finding out an intuition
1896 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1897 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1898 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1899 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1900 (eval $ac_link_default) 2>&5
1902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1903 (exit $ac_status); }; then
1904 # Find the output, starting from the most likely. This scheme is
1905 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1908 # Be careful to initialize this variable, since it used to be cached.
1909 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1911 # b.out is created by i960 compilers.
1912 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1914 test -f "$ac_file" ||
continue
1916 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1919 # This is the source file.
1922 # We found the default executable, but exeext='' is most
1926 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1927 # FIXME: I believe we export ac_cv_exeext for Libtool,
1928 # but it would be cool to find out if it's true. Does anybody
1929 # maintain Libtool? --akim.
1937 echo "$as_me: failed program was:" >&5
1938 sed 's/^/| /' conftest.
$ac_ext >&5
1940 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1941 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1942 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1943 See \`config.log' for more details." >&5
1944 echo "$as_me: error: C compiler cannot create executables
1945 See \`config.log' for more details." >&2;}
1946 { (exit 77); exit 77; }; }; }
1949 ac_exeext
=$ac_cv_exeext
1950 echo "$as_me:$LINENO: result: $ac_file" >&5
1951 echo "${ECHO_T}$ac_file" >&6
1953 # Check the compiler produces executables we can run. If not, either
1954 # the compiler is broken, or we cross compile.
1955 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1956 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1957 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1958 # If not cross compiling, check that we can run a simple program.
1959 if test "$cross_compiling" != yes; then
1960 if { ac_try
='./$ac_file'
1961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1965 (exit $ac_status); }; }; then
1968 if test "$cross_compiling" = maybe
; then
1971 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1972 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1973 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1974 If you meant to cross compile, use \`--host'.
1975 See \`config.log' for more details." >&5
1976 echo "$as_me: error: cannot run C compiled programs.
1977 If you meant to cross compile, use \`--host'.
1978 See \`config.log' for more details." >&2;}
1979 { (exit 1); exit 1; }; }; }
1983 echo "$as_me:$LINENO: result: yes" >&5
1984 echo "${ECHO_T}yes" >&6
1986 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1987 ac_clean_files
=$ac_clean_files_save
1988 # Check the compiler produces executables we can run. If not, either
1989 # the compiler is broken, or we cross compile.
1990 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1991 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1992 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1993 echo "${ECHO_T}$cross_compiling" >&6
1995 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1996 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1998 (eval $ac_link) 2>&5
2000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2001 (exit $ac_status); }; then
2002 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2003 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2004 # work properly (i.e., refer to `conftest.exe'), while it won't with
2006 for ac_file
in conftest.exe conftest conftest.
*; do
2007 test -f "$ac_file" ||
continue
2009 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2010 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2017 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2018 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2019 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2020 See \`config.log' for more details." >&5
2021 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2022 See \`config.log' for more details." >&2;}
2023 { (exit 1); exit 1; }; }; }
2026 rm -f conftest
$ac_cv_exeext
2027 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2028 echo "${ECHO_T}$ac_cv_exeext" >&6
2030 rm -f conftest.
$ac_ext
2031 EXEEXT
=$ac_cv_exeext
2033 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2034 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2035 if test "${ac_cv_objext+set}" = set; then
2036 echo $ECHO_N "(cached) $ECHO_C" >&6
2038 cat >conftest.
$ac_ext <<_ACEOF
2041 cat confdefs.h
>>conftest.
$ac_ext
2042 cat >>conftest.
$ac_ext <<_ACEOF
2043 /* end confdefs.h. */
2053 rm -f conftest.o conftest.obj
2054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2055 (eval $ac_compile) 2>&5
2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058 (exit $ac_status); }; then
2059 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2061 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2062 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2067 echo "$as_me: failed program was:" >&5
2068 sed 's/^/| /' conftest.
$ac_ext >&5
2070 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2071 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2072 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2073 See \`config.log' for more details." >&5
2074 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2075 See \`config.log' for more details." >&2;}
2076 { (exit 1); exit 1; }; }; }
2079 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2081 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2082 echo "${ECHO_T}$ac_cv_objext" >&6
2083 OBJEXT
=$ac_cv_objext
2085 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2086 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2087 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2088 echo $ECHO_N "(cached) $ECHO_C" >&6
2090 cat >conftest.
$ac_ext <<_ACEOF
2093 cat confdefs.h
>>conftest.
$ac_ext
2094 cat >>conftest.
$ac_ext <<_ACEOF
2095 /* end confdefs.h. */
2108 rm -f conftest.
$ac_objext
2109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2110 (eval $ac_compile) 2>conftest.er1
2112 grep -v '^ *+' conftest.er1
>conftest.err
2114 cat conftest.err
>&5
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116 (exit $ac_status); } &&
2117 { ac_try
='test -z "$ac_c_werror_flag"
2118 || test ! -s conftest.err'
2119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123 (exit $ac_status); }; } &&
2124 { ac_try
='test -s conftest.$ac_objext'
2125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129 (exit $ac_status); }; }; then
2132 echo "$as_me: failed program was:" >&5
2133 sed 's/^/| /' conftest.
$ac_ext >&5
2137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2138 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2141 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2142 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2143 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2144 ac_test_CFLAGS
=${CFLAGS+set}
2145 ac_save_CFLAGS
=$CFLAGS
2147 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2148 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2149 if test "${ac_cv_prog_cc_g+set}" = set; then
2150 echo $ECHO_N "(cached) $ECHO_C" >&6
2152 cat >conftest.
$ac_ext <<_ACEOF
2155 cat confdefs.h
>>conftest.
$ac_ext
2156 cat >>conftest.
$ac_ext <<_ACEOF
2157 /* end confdefs.h. */
2167 rm -f conftest.
$ac_objext
2168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2169 (eval $ac_compile) 2>conftest.er1
2171 grep -v '^ *+' conftest.er1
>conftest.err
2173 cat conftest.err
>&5
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); } &&
2176 { ac_try
='test -z "$ac_c_werror_flag"
2177 || test ! -s conftest.err'
2178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); }; } &&
2183 { ac_try
='test -s conftest.$ac_objext'
2184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188 (exit $ac_status); }; }; then
2191 echo "$as_me: failed program was:" >&5
2192 sed 's/^/| /' conftest.
$ac_ext >&5
2196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2198 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2199 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2200 if test "$ac_test_CFLAGS" = set; then
2201 CFLAGS
=$ac_save_CFLAGS
2202 elif test $ac_cv_prog_cc_g = yes; then
2203 if test "$GCC" = yes; then
2209 if test "$GCC" = yes; then
2215 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2216 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2217 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 ac_cv_prog_cc_stdc
=no
2222 cat >conftest.
$ac_ext <<_ACEOF
2225 cat confdefs.h
>>conftest.
$ac_ext
2226 cat >>conftest.
$ac_ext <<_ACEOF
2227 /* end confdefs.h. */
2230 #include <sys/types.h>
2231 #include <sys/stat.h>
2232 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2233 struct buf { int x; };
2234 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2235 static char *e (p, i)
2241 static char *f (char * (*g) (char **, int), char **p, ...)
2246 s = g (p, va_arg (v,int));
2251 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2252 function prototypes and stuff, but not '\xHH' hex character constants.
2253 These don't provoke an error unfortunately, instead are silently treated
2254 as 'x'. The following induces an error, until -std1 is added to get
2255 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2256 array size at least. It's necessary to write '\x00'==0 to get something
2257 that's true only with -std1. */
2258 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2260 int test (int i, double x);
2261 struct s1 {int (*f) (int a);};
2262 struct s2 {int (*f) (double a);};
2263 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2269 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2274 # Don't try gcc -ansi; that turns off useful extensions and
2275 # breaks some systems' header files.
2276 # AIX -qlanglvl=ansi
2277 # Ultrix and OSF/1 -std1
2278 # HP-UX 10.20 and later -Ae
2279 # HP-UX older versions -Aa -D_HPUX_SOURCE
2280 # SVR4 -Xc -D__EXTENSIONS__
2281 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2283 CC
="$ac_save_CC $ac_arg"
2284 rm -f conftest.
$ac_objext
2285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2286 (eval $ac_compile) 2>conftest.er1
2288 grep -v '^ *+' conftest.er1
>conftest.err
2290 cat conftest.err
>&5
2291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2292 (exit $ac_status); } &&
2293 { ac_try
='test -z "$ac_c_werror_flag"
2294 || test ! -s conftest.err'
2295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299 (exit $ac_status); }; } &&
2300 { ac_try
='test -s conftest.$ac_objext'
2301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); }; }; then
2306 ac_cv_prog_cc_stdc
=$ac_arg
2309 echo "$as_me: failed program was:" >&5
2310 sed 's/^/| /' conftest.
$ac_ext >&5
2313 rm -f conftest.err conftest.
$ac_objext
2315 rm -f conftest.
$ac_ext conftest.
$ac_objext
2320 case "x$ac_cv_prog_cc_stdc" in
2322 echo "$as_me:$LINENO: result: none needed" >&5
2323 echo "${ECHO_T}none needed" >&6 ;;
2325 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2326 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2327 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2330 # Some people use a C++ compiler to compile C. Since we use `exit',
2331 # in C++ we need to declare it. In case someone uses the same compiler
2332 # for both compiling C and C++ we need to have the C++ compiler decide
2333 # the declaration of exit, since it's the most demanding environment.
2334 cat >conftest.
$ac_ext <<_ACEOF
2339 rm -f conftest.
$ac_objext
2340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2341 (eval $ac_compile) 2>conftest.er1
2343 grep -v '^ *+' conftest.er1
>conftest.err
2345 cat conftest.err
>&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); } &&
2348 { ac_try
='test -z "$ac_c_werror_flag"
2349 || test ! -s conftest.err'
2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); }; } &&
2355 { ac_try
='test -s conftest.$ac_objext'
2356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }; }; then
2361 for ac_declaration
in \
2363 'extern "C" void std::exit (int) throw (); using std::exit;' \
2364 'extern "C" void std::exit (int); using std::exit;' \
2365 'extern "C" void exit (int) throw ();' \
2366 'extern "C" void exit (int);' \
2369 cat >conftest.
$ac_ext <<_ACEOF
2372 cat confdefs.h
>>conftest.
$ac_ext
2373 cat >>conftest.
$ac_ext <<_ACEOF
2374 /* end confdefs.h. */
2385 rm -f conftest.
$ac_objext
2386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2387 (eval $ac_compile) 2>conftest.er1
2389 grep -v '^ *+' conftest.er1
>conftest.err
2391 cat conftest.err
>&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); } &&
2394 { ac_try
='test -z "$ac_c_werror_flag"
2395 || test ! -s conftest.err'
2396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400 (exit $ac_status); }; } &&
2401 { ac_try
='test -s conftest.$ac_objext'
2402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; }; then
2409 echo "$as_me: failed program was:" >&5
2410 sed 's/^/| /' conftest.
$ac_ext >&5
2414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2415 cat >conftest.
$ac_ext <<_ACEOF
2418 cat confdefs.h
>>conftest.
$ac_ext
2419 cat >>conftest.
$ac_ext <<_ACEOF
2420 /* end confdefs.h. */
2430 rm -f conftest.
$ac_objext
2431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2432 (eval $ac_compile) 2>conftest.er1
2434 grep -v '^ *+' conftest.er1
>conftest.err
2436 cat conftest.err
>&5
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); } &&
2439 { ac_try
='test -z "$ac_c_werror_flag"
2440 || test ! -s conftest.err'
2441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445 (exit $ac_status); }; } &&
2446 { ac_try
='test -s conftest.$ac_objext'
2447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); }; }; then
2454 echo "$as_me: failed program was:" >&5
2455 sed 's/^/| /' conftest.
$ac_ext >&5
2458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2461 if test -n "$ac_declaration"; then
2462 echo '#ifdef __cplusplus' >>confdefs.h
2463 echo $ac_declaration >>confdefs.h
2464 echo '#endif' >>confdefs.h
2468 echo "$as_me: failed program was:" >&5
2469 sed 's/^/| /' conftest.
$ac_ext >&5
2472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2474 ac_cpp
='$CPP $CPPFLAGS'
2475 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2476 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2477 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2483 # Check whether --enable-shared or --disable-shared was given.
2484 if test "${enable_shared+set}" = set; then
2485 enableval
="$enable_shared"
2487 case $enable_shared in
2491 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2492 for pkg
in $enableval; do
2495 enable_shared
=yes ;;
2507 # Need to pass this down for now :-P
2508 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2509 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2511 if test "$LN_S" = "ln -s"; then
2512 echo "$as_me:$LINENO: result: yes" >&5
2513 echo "${ECHO_T}yes" >&6
2515 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2516 echo "${ECHO_T}no, using $LN_S" >&6
2520 # Determine what to build for 'gnatlib'
2521 if test $build = $target \
2522 && test ${enable_shared} = yes ; then
2523 # Note that build=target is almost certainly the wrong test; FIXME
2524 default_gnatlib_target
="gnatlib-shared"
2526 default_gnatlib_target
="gnatlib-plain"
2531 ac_cpp
='$CPP $CPPFLAGS'
2532 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2533 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2534 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2535 if test -n "$ac_tool_prefix"; then
2536 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2537 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2538 echo "$as_me:$LINENO: checking for $ac_word" >&5
2539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2540 if test "${ac_cv_prog_CC+set}" = set; then
2541 echo $ECHO_N "(cached) $ECHO_C" >&6
2543 if test -n "$CC"; then
2544 ac_cv_prog_CC
="$CC" # Let the user override the test.
2546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2550 test -z "$as_dir" && as_dir
=.
2551 for ac_exec_ext
in '' $ac_executable_extensions; do
2552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2553 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2563 if test -n "$CC"; then
2564 echo "$as_me:$LINENO: result: $CC" >&5
2565 echo "${ECHO_T}$CC" >&6
2567 echo "$as_me:$LINENO: result: no" >&5
2568 echo "${ECHO_T}no" >&6
2572 if test -z "$ac_cv_prog_CC"; then
2574 # Extract the first word of "gcc", so it can be a program name with args.
2575 set dummy gcc
; ac_word
=$2
2576 echo "$as_me:$LINENO: checking for $ac_word" >&5
2577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2578 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2581 if test -n "$ac_ct_CC"; then
2582 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2588 test -z "$as_dir" && as_dir
=.
2589 for ac_exec_ext
in '' $ac_executable_extensions; do
2590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2591 ac_cv_prog_ac_ct_CC
="gcc"
2592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2600 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2601 if test -n "$ac_ct_CC"; then
2602 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2603 echo "${ECHO_T}$ac_ct_CC" >&6
2605 echo "$as_me:$LINENO: result: no" >&5
2606 echo "${ECHO_T}no" >&6
2614 if test -z "$CC"; then
2615 if test -n "$ac_tool_prefix"; then
2616 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2617 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2618 echo "$as_me:$LINENO: checking for $ac_word" >&5
2619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2620 if test "${ac_cv_prog_CC+set}" = set; then
2621 echo $ECHO_N "(cached) $ECHO_C" >&6
2623 if test -n "$CC"; then
2624 ac_cv_prog_CC
="$CC" # Let the user override the test.
2626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2630 test -z "$as_dir" && as_dir
=.
2631 for ac_exec_ext
in '' $ac_executable_extensions; do
2632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2633 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2643 if test -n "$CC"; then
2644 echo "$as_me:$LINENO: result: $CC" >&5
2645 echo "${ECHO_T}$CC" >&6
2647 echo "$as_me:$LINENO: result: no" >&5
2648 echo "${ECHO_T}no" >&6
2652 if test -z "$ac_cv_prog_CC"; then
2654 # Extract the first word of "cc", so it can be a program name with args.
2655 set dummy cc
; ac_word
=$2
2656 echo "$as_me:$LINENO: checking for $ac_word" >&5
2657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2658 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2659 echo $ECHO_N "(cached) $ECHO_C" >&6
2661 if test -n "$ac_ct_CC"; then
2662 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2668 test -z "$as_dir" && as_dir
=.
2669 for ac_exec_ext
in '' $ac_executable_extensions; do
2670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2671 ac_cv_prog_ac_ct_CC
="cc"
2672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2680 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2681 if test -n "$ac_ct_CC"; then
2682 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2683 echo "${ECHO_T}$ac_ct_CC" >&6
2685 echo "$as_me:$LINENO: result: no" >&5
2686 echo "${ECHO_T}no" >&6
2695 if test -z "$CC"; then
2696 # Extract the first word of "cc", so it can be a program name with args.
2697 set dummy cc
; ac_word
=$2
2698 echo "$as_me:$LINENO: checking for $ac_word" >&5
2699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2700 if test "${ac_cv_prog_CC+set}" = set; then
2701 echo $ECHO_N "(cached) $ECHO_C" >&6
2703 if test -n "$CC"; then
2704 ac_cv_prog_CC
="$CC" # Let the user override the test.
2707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2711 test -z "$as_dir" && as_dir
=.
2712 for ac_exec_ext
in '' $ac_executable_extensions; do
2713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2714 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2715 ac_prog_rejected
=yes
2719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2725 if test $ac_prog_rejected = yes; then
2726 # We found a bogon in the path, so make sure we never use it.
2727 set dummy
$ac_cv_prog_CC
2729 if test $# != 0; then
2730 # We chose a different compiler from the bogus one.
2731 # However, it has the same basename, so the bogon will be chosen
2732 # first if we set CC to just the basename; use the full file name.
2734 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2740 if test -n "$CC"; then
2741 echo "$as_me:$LINENO: result: $CC" >&5
2742 echo "${ECHO_T}$CC" >&6
2744 echo "$as_me:$LINENO: result: no" >&5
2745 echo "${ECHO_T}no" >&6
2749 if test -z "$CC"; then
2750 if test -n "$ac_tool_prefix"; then
2753 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2754 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2755 echo "$as_me:$LINENO: checking for $ac_word" >&5
2756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2757 if test "${ac_cv_prog_CC+set}" = set; then
2758 echo $ECHO_N "(cached) $ECHO_C" >&6
2760 if test -n "$CC"; then
2761 ac_cv_prog_CC
="$CC" # Let the user override the test.
2763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2767 test -z "$as_dir" && as_dir
=.
2768 for ac_exec_ext
in '' $ac_executable_extensions; do
2769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2770 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2780 if test -n "$CC"; then
2781 echo "$as_me:$LINENO: result: $CC" >&5
2782 echo "${ECHO_T}$CC" >&6
2784 echo "$as_me:$LINENO: result: no" >&5
2785 echo "${ECHO_T}no" >&6
2788 test -n "$CC" && break
2791 if test -z "$CC"; then
2795 # Extract the first word of "$ac_prog", so it can be a program name with args.
2796 set dummy
$ac_prog; ac_word
=$2
2797 echo "$as_me:$LINENO: checking for $ac_word" >&5
2798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2799 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2800 echo $ECHO_N "(cached) $ECHO_C" >&6
2802 if test -n "$ac_ct_CC"; then
2803 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2809 test -z "$as_dir" && as_dir
=.
2810 for ac_exec_ext
in '' $ac_executable_extensions; do
2811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2812 ac_cv_prog_ac_ct_CC
="$ac_prog"
2813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2821 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2822 if test -n "$ac_ct_CC"; then
2823 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2824 echo "${ECHO_T}$ac_ct_CC" >&6
2826 echo "$as_me:$LINENO: result: no" >&5
2827 echo "${ECHO_T}no" >&6
2830 test -n "$ac_ct_CC" && break
2839 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2840 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2841 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2842 See \`config.log' for more details." >&5
2843 echo "$as_me: error: no acceptable C compiler found in \$PATH
2844 See \`config.log' for more details." >&2;}
2845 { (exit 1); exit 1; }; }; }
2847 # Provide some information about the compiler.
2848 echo "$as_me:$LINENO:" \
2849 "checking for C compiler version" >&5
2850 ac_compiler
=`set X $ac_compile; echo $2`
2851 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2852 (eval $ac_compiler --version </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); }
2861 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2862 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); }
2867 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2868 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2869 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2870 echo $ECHO_N "(cached) $ECHO_C" >&6
2872 cat >conftest.
$ac_ext <<_ACEOF
2875 cat confdefs.h
>>conftest.
$ac_ext
2876 cat >>conftest.
$ac_ext <<_ACEOF
2877 /* end confdefs.h. */
2890 rm -f conftest.
$ac_objext
2891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2892 (eval $ac_compile) 2>conftest.er1
2894 grep -v '^ *+' conftest.er1
>conftest.err
2896 cat conftest.err
>&5
2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); } &&
2899 { ac_try
='test -z "$ac_c_werror_flag"
2900 || test ! -s conftest.err'
2901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); }; } &&
2906 { ac_try
='test -s conftest.$ac_objext'
2907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); }; }; then
2914 echo "$as_me: failed program was:" >&5
2915 sed 's/^/| /' conftest.
$ac_ext >&5
2919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2920 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2923 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2924 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2925 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2926 ac_test_CFLAGS
=${CFLAGS+set}
2927 ac_save_CFLAGS
=$CFLAGS
2929 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2930 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2931 if test "${ac_cv_prog_cc_g+set}" = set; then
2932 echo $ECHO_N "(cached) $ECHO_C" >&6
2934 cat >conftest.
$ac_ext <<_ACEOF
2937 cat confdefs.h
>>conftest.
$ac_ext
2938 cat >>conftest.
$ac_ext <<_ACEOF
2939 /* end confdefs.h. */
2949 rm -f conftest.
$ac_objext
2950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2951 (eval $ac_compile) 2>conftest.er1
2953 grep -v '^ *+' conftest.er1
>conftest.err
2955 cat conftest.err
>&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); } &&
2958 { ac_try
='test -z "$ac_c_werror_flag"
2959 || test ! -s conftest.err'
2960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964 (exit $ac_status); }; } &&
2965 { ac_try
='test -s conftest.$ac_objext'
2966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); }; }; then
2973 echo "$as_me: failed program was:" >&5
2974 sed 's/^/| /' conftest.
$ac_ext >&5
2978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2980 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2981 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2982 if test "$ac_test_CFLAGS" = set; then
2983 CFLAGS
=$ac_save_CFLAGS
2984 elif test $ac_cv_prog_cc_g = yes; then
2985 if test "$GCC" = yes; then
2991 if test "$GCC" = yes; then
2997 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2998 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2999 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3000 echo $ECHO_N "(cached) $ECHO_C" >&6
3002 ac_cv_prog_cc_stdc
=no
3004 cat >conftest.
$ac_ext <<_ACEOF
3007 cat confdefs.h
>>conftest.
$ac_ext
3008 cat >>conftest.
$ac_ext <<_ACEOF
3009 /* end confdefs.h. */
3012 #include <sys/types.h>
3013 #include <sys/stat.h>
3014 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3015 struct buf { int x; };
3016 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3017 static char *e (p, i)
3023 static char *f (char * (*g) (char **, int), char **p, ...)
3028 s = g (p, va_arg (v,int));
3033 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3034 function prototypes and stuff, but not '\xHH' hex character constants.
3035 These don't provoke an error unfortunately, instead are silently treated
3036 as 'x'. The following induces an error, until -std1 is added to get
3037 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3038 array size at least. It's necessary to write '\x00'==0 to get something
3039 that's true only with -std1. */
3040 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3042 int test (int i, double x);
3043 struct s1 {int (*f) (int a);};
3044 struct s2 {int (*f) (double a);};
3045 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3051 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3056 # Don't try gcc -ansi; that turns off useful extensions and
3057 # breaks some systems' header files.
3058 # AIX -qlanglvl=ansi
3059 # Ultrix and OSF/1 -std1
3060 # HP-UX 10.20 and later -Ae
3061 # HP-UX older versions -Aa -D_HPUX_SOURCE
3062 # SVR4 -Xc -D__EXTENSIONS__
3063 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3065 CC
="$ac_save_CC $ac_arg"
3066 rm -f conftest.
$ac_objext
3067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3068 (eval $ac_compile) 2>conftest.er1
3070 grep -v '^ *+' conftest.er1
>conftest.err
3072 cat conftest.err
>&5
3073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074 (exit $ac_status); } &&
3075 { ac_try
='test -z "$ac_c_werror_flag"
3076 || test ! -s conftest.err'
3077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); }; } &&
3082 { ac_try
='test -s conftest.$ac_objext'
3083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }; }; then
3088 ac_cv_prog_cc_stdc
=$ac_arg
3091 echo "$as_me: failed program was:" >&5
3092 sed 's/^/| /' conftest.
$ac_ext >&5
3095 rm -f conftest.err conftest.
$ac_objext
3097 rm -f conftest.
$ac_ext conftest.
$ac_objext
3102 case "x$ac_cv_prog_cc_stdc" in
3104 echo "$as_me:$LINENO: result: none needed" >&5
3105 echo "${ECHO_T}none needed" >&6 ;;
3107 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3108 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3109 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3112 # Some people use a C++ compiler to compile C. Since we use `exit',
3113 # in C++ we need to declare it. In case someone uses the same compiler
3114 # for both compiling C and C++ we need to have the C++ compiler decide
3115 # the declaration of exit, since it's the most demanding environment.
3116 cat >conftest.
$ac_ext <<_ACEOF
3121 rm -f conftest.
$ac_objext
3122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3123 (eval $ac_compile) 2>conftest.er1
3125 grep -v '^ *+' conftest.er1
>conftest.err
3127 cat conftest.err
>&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); } &&
3130 { ac_try
='test -z "$ac_c_werror_flag"
3131 || test ! -s conftest.err'
3132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136 (exit $ac_status); }; } &&
3137 { ac_try
='test -s conftest.$ac_objext'
3138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); }; }; then
3143 for ac_declaration
in \
3145 'extern "C" void std::exit (int) throw (); using std::exit;' \
3146 'extern "C" void std::exit (int); using std::exit;' \
3147 'extern "C" void exit (int) throw ();' \
3148 'extern "C" void exit (int);' \
3151 cat >conftest.
$ac_ext <<_ACEOF
3154 cat confdefs.h
>>conftest.
$ac_ext
3155 cat >>conftest.
$ac_ext <<_ACEOF
3156 /* end confdefs.h. */
3167 rm -f conftest.
$ac_objext
3168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3169 (eval $ac_compile) 2>conftest.er1
3171 grep -v '^ *+' conftest.er1
>conftest.err
3173 cat conftest.err
>&5
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); } &&
3176 { ac_try
='test -z "$ac_c_werror_flag"
3177 || test ! -s conftest.err'
3178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); }; } &&
3183 { ac_try
='test -s conftest.$ac_objext'
3184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); }; }; then
3191 echo "$as_me: failed program was:" >&5
3192 sed 's/^/| /' conftest.
$ac_ext >&5
3196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3197 cat >conftest.
$ac_ext <<_ACEOF
3200 cat confdefs.h
>>conftest.
$ac_ext
3201 cat >>conftest.
$ac_ext <<_ACEOF
3202 /* end confdefs.h. */
3212 rm -f conftest.
$ac_objext
3213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3214 (eval $ac_compile) 2>conftest.er1
3216 grep -v '^ *+' conftest.er1
>conftest.err
3218 cat conftest.err
>&5
3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 (exit $ac_status); } &&
3221 { ac_try
='test -z "$ac_c_werror_flag"
3222 || test ! -s conftest.err'
3223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); }; } &&
3228 { ac_try
='test -s conftest.$ac_objext'
3229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); }; }; then
3236 echo "$as_me: failed program was:" >&5
3237 sed 's/^/| /' conftest.
$ac_ext >&5
3240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3243 if test -n "$ac_declaration"; then
3244 echo '#ifdef __cplusplus' >>confdefs.h
3245 echo $ac_declaration >>confdefs.h
3246 echo '#endif' >>confdefs.h
3250 echo "$as_me: failed program was:" >&5
3251 sed 's/^/| /' conftest.
$ac_ext >&5
3254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3256 ac_cpp
='$CPP $CPPFLAGS'
3257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3262 if test "x$GCC" = "xyes"; then
3263 warn_cflags
='$(GCC_WARN_CFLAGS)'
3267 # Output: create a Makefile.
3268 ac_config_files
="$ac_config_files Makefile"
3271 cat >confcache
<<\_ACEOF
3272 # This file is a shell script that caches the results of configure
3273 # tests run on this system so they can be shared between configure
3274 # scripts and configure runs, see configure's option --config-cache.
3275 # It is not useful on other systems. If it contains results you don't
3276 # want to keep, you may remove or edit it.
3278 # config.status only pays attention to the cache file if you give it
3279 # the --recheck option to rerun configure.
3281 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3282 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3287 # The following way of writing the cache mishandles newlines in values,
3288 # but we know of no workaround that is simple, portable, and efficient.
3289 # So, don't put newlines in cache variables' values.
3290 # Ultrix sh set writes to stderr and can't be redirected directly,
3291 # and sets the high bit in the cache file unless we assign to the vars.
3294 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3296 # `set' does not quote correctly, so add quotes (double-quote
3297 # substitution turns \\\\ into \\, and sed turns \\ into \).
3300 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3303 # `set' quotes correctly as required by POSIX, so do not add quotes.
3305 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3312 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3314 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3316 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3317 if test -w $cache_file; then
3318 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3319 cat confcache
>$cache_file
3321 echo "not updating unwritable cache $cache_file"
3326 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3327 # Let make expand exec_prefix.
3328 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3330 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3331 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3332 # trailing colons and then remove the whole line if VPATH becomes empty
3333 # (actually we leave an empty line to preserve line numbers).
3334 if test "x$srcdir" = x.
; then
3335 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3336 s/:*\$(srcdir):*/:/;
3337 s/:*\${srcdir}:*/:/;
3339 s/^\([^=]*=[ ]*\):*/\1/;
3345 # Transform confdefs.h into DEFS.
3346 # Protect against shell expansion while executing Makefile rules.
3347 # Protect against Makefile macro expansion.
3349 # If the first sed substitution is executed (which looks for macros that
3350 # take arguments), then we branch to the quote section. Otherwise,
3351 # look for a macro that doesn't take arguments.
3352 cat >confdef2opt.
sed <<\_ACEOF
3355 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3357 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3361 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3367 # We use echo to avoid assuming a particular line-breaking character.
3368 # The extra dot is to prevent the shell from consuming trailing
3369 # line-breaks from the sub-command output. A line-break within
3370 # single-quotes doesn't work because, if this script is created in a
3371 # platform that uses two characters for line-breaks (e.g., DOS), tr
3373 ac_LF_and_DOT=`echo; echo .
`
3374 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
3375 rm -f confdef2opt.sed
3380 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3381 # 1. Remove the extension, and $U if already installed.
3382 ac_i=`echo "$ac_i" |
3383 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3385 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3386 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3390 LTLIBOBJS=$ac_ltlibobjs
3394 : ${CONFIG_STATUS=./config.status}
3395 ac_clean_files_save=$ac_clean_files
3396 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3397 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3398 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3399 cat >$CONFIG_STATUS <<_ACEOF
3401 # Generated by $as_me.
3402 # Run this file to recreate the current configuration.
3403 # Compiler output produced by configure, useful for debugging
3404 # configure, is in config.log if it exists.
3409 SHELL=\${CONFIG_SHELL-$SHELL}
3412 cat >>$CONFIG_STATUS <<\_ACEOF
3413 ## --------------------- ##
3414 ## M4sh Initialization. ##
3415 ## --------------------- ##
3417 # Be Bourne compatible
3418 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3421 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3422 # is contrary to our usage. Disable this feature.
3423 alias -g '${1+"$@"}'='"$@"'
3424 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3427 DUALCASE=1; export DUALCASE # for MKS sh
3429 # Support unset when possible.
3430 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3437 # Work around bugs in pre-3.0 UWIN ksh.
3438 $as_unset ENV MAIL MAILPATH
3445 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3446 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3447 LC_TELEPHONE LC_TIME
3449 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
3450 eval $as_var=C; export $as_var
3456 # Required to use basename.
3457 if expr a : '\(a\)' >/dev/null 2>&1; then
3463 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3464 as_basename=basename
3470 # Name of the executable.
3471 as_me=`$as_basename "$0" ||
3472 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3473 X
"$0" : 'X\(//\)$' \| \
3474 X
"$0" : 'X\(/\)$' \| \
3475 .
: '\(.\)' 2>/dev
/null ||
3477 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3478 /^X\/\(\/\/\)$/{ s//\1/; q; }
3479 /^X\/\(\/\).*/{ s//\1/; q; }
3483 # PATH needs CR, and LINENO needs CR and PATH.
3484 # Avoid depending upon Character Ranges.
3485 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3486 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3487 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3488 as_cr_digits='0123456789'
3489 as_cr_alnum=$as_cr_Letters$as_cr_digits
3491 # The user is always right.
3492 if test "${PATH_SEPARATOR+set}" != set; then
3493 echo "#! /bin/sh" >conf$$.sh
3494 echo "exit 0" >>conf$$.sh
3496 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3507 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
3508 test "x$as_lineno_1" != "x$as_lineno_2" &&
3509 test "x$as_lineno_3" = "x$as_lineno_2" || {
3510 # Find who we are. Look in the path if we contain no path at all
3513 *[\\/]* ) as_myself=$0 ;;
3514 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3518 test -z "$as_dir" && as_dir=.
3519 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3524 # We did not find ourselves, most probably we were run as `sh COMMAND
'
3525 # in which case we are not to be found in the path.
3526 if test "x$as_myself" = x; then
3529 if test ! -f "$as_myself"; then
3530 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3531 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3532 { (exit 1); exit 1; }; }
3534 case $CONFIG_SHELL in
3536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3537 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3540 test -z "$as_dir" && as_dir=.
3541 for as_base in sh bash ksh sh5; do
3544 if ("$as_dir/$as_base" -c '
3547 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3548 test "x$as_lineno_1" != "x$as_lineno_2" &&
3549 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3550 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3551 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3552 CONFIG_SHELL=$as_dir/$as_base
3554 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3562 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3563 # uniformly replaced by the line number. The first 'sed' inserts a
3564 # line-number line before each line; the second 'sed' does the real
3565 # work. The second script uses 'N
' to pair each line-number line
3566 # with the numbered line, and appends trailing '-' during
3567 # substitution so that $LINENO is not a special case at line end.
3568 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3569 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
3570 sed '=' <$as_myself |
3575 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3578 s,^['$as_cr_digits']*\n,,
3580 chmod +x
$as_me.lineno ||
3581 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3582 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3583 { (exit 1); exit 1; }; }
3585 # Don't try to exec as it changes $[0], causing all sort of problems
3586 # (the dirname of $[0] is not the place where we might find the
3587 # original and so on. Autoconf is especially sensible to this).
3589 # Exit status is that of the last command.
3594 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3595 *c
*,-n*) ECHO_N
= ECHO_C
='
3597 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
3598 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
3601 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3607 rm -f conf$$ conf$$.exe conf$$.
file
3609 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3610 # We could just check for DJGPP; but this test a) works b) is more generic
3611 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3612 if test -f conf$$.exe
; then
3613 # Don't use ln at all; we don't have any links
3618 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3623 rm -f conf$$ conf$$.exe conf$$.
file
3625 if mkdir
-p .
2>/dev
/null
; then
3628 test -d .
/-p && rmdir .
/-p
3632 as_executable_p
="test -f"
3634 # Sed expression to map a string onto a valid CPP name.
3635 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3637 # Sed expression to map a string onto a valid variable name.
3638 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3642 # We need space, tab and new line, in precisely that order.
3652 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3653 # report actual input values of CONFIG_FILES etc. instead of their
3654 # values after options handling. Logging --version etc. is OK.
3658 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3659 ## Running $as_me. ##
3664 This file was extended by $as_me, which was
3665 generated by GNU Autoconf 2.59. Invocation command line was
3667 CONFIG_FILES = $CONFIG_FILES
3668 CONFIG_HEADERS = $CONFIG_HEADERS
3669 CONFIG_LINKS = $CONFIG_LINKS
3670 CONFIG_COMMANDS = $CONFIG_COMMANDS
3674 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3678 # Files that config.status was made for.
3679 if test -n "$ac_config_files"; then
3680 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3683 if test -n "$ac_config_headers"; then
3684 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3687 if test -n "$ac_config_links"; then
3688 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3691 if test -n "$ac_config_commands"; then
3692 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3695 cat >>$CONFIG_STATUS <<\_ACEOF
3698 \`$as_me' instantiates files from templates according to the
3699 current configuration.
3701 Usage: $0 [OPTIONS] [FILE]...
3703 -h, --help print this help, then exit
3704 -V, --version print version number, then exit
3705 -q, --quiet do not print progress messages
3706 -d, --debug don't remove temporary files
3707 --recheck update $as_me by reconfiguring in the same conditions
3708 --file=FILE[:TEMPLATE]
3709 instantiate the configuration file FILE
3711 Configuration files:
3714 Configuration commands:
3717 Report bugs to <bug-autoconf@gnu.org>."
3720 cat >>$CONFIG_STATUS <<_ACEOF
3723 configured by $0, generated by GNU Autoconf 2.59,
3724 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3726 Copyright (C) 2003 Free Software Foundation, Inc.
3727 This config.status script is free software; the Free Software Foundation
3728 gives unlimited permission to copy, distribute and modify it."
3732 cat >>$CONFIG_STATUS <<\_ACEOF
3733 # If no file are specified by the user, then we need to provide default
3734 # value. By we need to know if files were specified by the user.
3740 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
3741 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
3749 *) # This is not an option, so the user has probably given explicit
3752 ac_need_defaults
=false
;;
3756 # Handling of the options.
3758 cat >>$CONFIG_STATUS <<\_ACEOF
3759 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3761 --version |
--vers* |
-V )
3762 echo "$ac_cs_version"; exit 0 ;;
3764 # Conflict between --help and --header
3765 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3766 Try \`$0 --help' for more information." >&5
3767 echo "$as_me: error: ambiguous option: $1
3768 Try \`$0 --help' for more information." >&2;}
3769 { (exit 1); exit 1; }; };;
3770 --help |
--hel |
-h )
3771 echo "$ac_cs_usage"; exit 0 ;;
3772 --debug |
--d* |
-d )
3774 --file |
--fil |
--fi |
--f )
3776 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
3777 ac_need_defaults
=false
;;
3778 --header |
--heade |
--head |
--hea )
3780 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
3781 ac_need_defaults
=false
;;
3782 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3783 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3787 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3788 Try \`$0 --help' for more information." >&5
3789 echo "$as_me: error: unrecognized option: $1
3790 Try \`$0 --help' for more information." >&2;}
3791 { (exit 1); exit 1; }; } ;;
3793 *) ac_config_targets
="$ac_config_targets $1" ;;
3799 ac_configure_extra_args
=
3801 if $ac_cs_silent; then
3803 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3807 cat >>$CONFIG_STATUS <<_ACEOF
3808 if \$ac_cs_recheck; then
3809 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3810 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3815 cat >>$CONFIG_STATUS <<_ACEOF
3817 # INIT-COMMANDS section.
3824 with_multisubdir="$with_multisubdir"
3825 with_multisrctop="$with_multisrctop"
3826 with_target_subdir="$with_target_subdir"
3827 ac_configure_args="${multilib_arg} ${ac_configure_args}"
3828 multi_basedir="$multi_basedir"
3829 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3832 GFORTRAN="$GFORTRAN"
3839 cat >>$CONFIG_STATUS <<\_ACEOF
3840 for ac_config_target
in $ac_config_targets
3842 case "$ac_config_target" in
3843 # Handling of arguments.
3844 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3845 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
3846 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3847 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3848 { (exit 1); exit 1; }; };;
3852 # If the user did not use the arguments to specify the items to instantiate,
3853 # then the envvar interface is used. Set only those that are not.
3854 # We use the long form for the default assignment because of an extremely
3855 # bizarre bug on SunOS 4.1.3.
3856 if $ac_need_defaults; then
3857 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3858 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
3861 # Have a temporary directory for convenience. Make it in the build tree
3862 # simply because there is no reason to put it here, and in addition,
3863 # creating and moving files from /tmp can sometimes cause problems.
3864 # Create a temporary directory, and hook for its removal unless debugging.
3867 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3868 trap '{ (exit 1); exit 1; }' 1 2 13 15
3871 # Create a (secure) tmp directory for tmp files.
3874 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3875 test -n "$tmp" && test -d "$tmp"
3878 tmp
=.
/confstat$$
-$RANDOM
3879 (umask 077 && mkdir
$tmp)
3882 echo "$me: cannot create a temporary directory in ." >&2
3883 { (exit 1); exit 1; }
3888 cat >>$CONFIG_STATUS <<_ACEOF
3891 # CONFIG_FILES section.
3894 # No need to generate the scripts if there are no CONFIG_FILES.
3895 # This happens for instance when ./config.status config.h
3896 if test -n "\$CONFIG_FILES"; then
3897 # Protect against being on the right side of a sed subst in config.status.
3898 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3899 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3900 s,@SHELL@,$SHELL,;t t
3901 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3902 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3903 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3904 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3905 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3906 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3907 s,@exec_prefix@,$exec_prefix,;t t
3908 s,@prefix@,$prefix,;t t
3909 s,@program_transform_name@,$program_transform_name,;t t
3910 s,@bindir@,$bindir,;t t
3911 s,@sbindir@,$sbindir,;t t
3912 s,@libexecdir@,$libexecdir,;t t
3913 s,@datadir@,$datadir,;t t
3914 s,@sysconfdir@,$sysconfdir,;t t
3915 s,@sharedstatedir@,$sharedstatedir,;t t
3916 s,@localstatedir@,$localstatedir,;t t
3917 s,@libdir@,$libdir,;t t
3918 s,@includedir@,$includedir,;t t
3919 s,@oldincludedir@,$oldincludedir,;t t
3920 s,@infodir@,$infodir,;t t
3921 s,@mandir@,$mandir,;t t
3922 s,@build_alias@,$build_alias,;t t
3923 s,@host_alias@,$host_alias,;t t
3924 s,@target_alias@,$target_alias,;t t
3926 s,@ECHO_C@,$ECHO_C,;t t
3927 s,@ECHO_N@,$ECHO_N,;t t
3928 s,@ECHO_T@,$ECHO_T,;t t
3930 s,@build@,$build,;t t
3931 s,@build_cpu@,$build_cpu,;t t
3932 s,@build_vendor@,$build_vendor,;t t
3933 s,@build_os@,$build_os,;t t
3935 s,@host_cpu@,$host_cpu,;t t
3936 s,@host_vendor@,$host_vendor,;t t
3937 s,@host_os@,$host_os,;t t
3938 s,@target@,$target,;t t
3939 s,@target_cpu@,$target_cpu,;t t
3940 s,@target_vendor@,$target_vendor,;t t
3941 s,@target_os@,$target_os,;t t
3942 s,@target_noncanonical@,$target_noncanonical,;t t
3943 s,@build_libsubdir@,$build_libsubdir,;t t
3944 s,@build_subdir@,$build_subdir,;t t
3945 s,@host_subdir@,$host_subdir,;t t
3946 s,@target_subdir@,$target_subdir,;t t
3947 s,@MAINT@,$MAINT,;t t
3948 s,@multi_basedir@,$multi_basedir,;t t
3949 s,@toolexecdir@,$toolexecdir,;t t
3950 s,@toolexeclibdir@,$toolexeclibdir,;t t
3952 s,@ac_ct_CC@,$ac_ct_CC,;t t
3953 s,@EXEEXT@,$EXEEXT,;t t
3954 s,@OBJEXT@,$OBJEXT,;t t
3955 s,@CFLAGS@,$CFLAGS,;t t
3956 s,@enable_shared@,$enable_shared,;t t
3958 s,@default_gnatlib_target@,$default_gnatlib_target,;t t
3959 s,@LDFLAGS@,$LDFLAGS,;t t
3960 s,@CPPFLAGS@,$CPPFLAGS,;t t
3961 s,@warn_cflags@,$warn_cflags,;t t
3962 s,@LIBOBJS@,$LIBOBJS,;t t
3963 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3968 cat >>$CONFIG_STATUS <<\_ACEOF
3969 # Split the substitutions into bite-sized pieces for seds with
3970 # small command number limits, like on Digital OSF/1 and HP-UX.
3972 ac_sed_frag
=1 # Number of current file.
3973 ac_beg
=1 # First line for current file.
3974 ac_end
=$ac_max_sed_lines # Line after last line for current file.
3977 while $ac_more_lines; do
3978 if test $ac_beg -gt 1; then
3979 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3981 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3983 if test ! -s $tmp/subs.frag
; then
3986 # The purpose of the label and of the branching condition is to
3987 # speed up the sed processing (if there are no `@' at all, there
3988 # is no need to browse any of the substitutions).
3989 # These are the two extra sed commands mentioned above.
3991 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
3992 if test -z "$ac_sed_cmds"; then
3993 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
3995 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3997 ac_sed_frag
=`expr $ac_sed_frag + 1`
3999 ac_end
=`expr $ac_end + $ac_max_sed_lines`
4002 if test -z "$ac_sed_cmds"; then
4005 fi # test -n "$CONFIG_FILES"
4008 cat >>$CONFIG_STATUS <<\_ACEOF
4009 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
4010 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4012 - |
*:- |
*:-:* ) # input from stdin
4014 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4015 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4016 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4017 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4018 * ) ac_file_in
=$ac_file.
in ;;
4021 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4022 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4023 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4024 X"$ac_file" : 'X\(//\)[^/]' \| \
4025 X"$ac_file" : 'X\(//\)$' \| \
4026 X"$ac_file" : 'X\(/\)' \| \
4027 . : '\(.\)' 2>/dev/null ||
4029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4030 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4031 /^X\(\/\/\)$/{ s//\1/; q; }
4032 /^X\(\/\).*/{ s//\1/; q; }
4034 { if $as_mkdir_p; then
4039 while test ! -d "$as_dir"; do
4040 as_dirs
="$as_dir $as_dirs"
4041 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4042 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4043 X"$as_dir" : 'X\(//\)[^/]' \| \
4044 X"$as_dir" : 'X\(//\)$' \| \
4045 X"$as_dir" : 'X\(/\)' \| \
4046 . : '\(.\)' 2>/dev/null ||
4048 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4049 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4050 /^X\(\/\/\)$/{ s//\1/; q; }
4051 /^X\(\/\).*/{ s//\1/; q; }
4054 test ! -n "$as_dirs" || mkdir
$as_dirs
4055 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4056 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4057 { (exit 1); exit 1; }; }; }
4061 if test "$ac_dir" != .
; then
4062 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4063 # A "../" for each directory in $ac_dir_suffix.
4064 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4066 ac_dir_suffix
= ac_top_builddir
=
4070 .
) # No --srcdir option. We are building in place.
4072 if test -z "$ac_top_builddir"; then
4075 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4077 [\\/]* | ?
:[\\/]* ) # Absolute path.
4078 ac_srcdir
=$srcdir$ac_dir_suffix;
4079 ac_top_srcdir
=$srcdir ;;
4081 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4082 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4085 # Do not use `cd foo && pwd` to compute absolute paths, because
4086 # the directories may not exist.
4088 .
) ac_abs_builddir
="$ac_dir";;
4091 .
) ac_abs_builddir
=`pwd`;;
4092 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
4093 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
4096 case $ac_abs_builddir in
4097 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4099 case ${ac_top_builddir}.
in
4100 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
4101 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4102 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
4105 case $ac_abs_builddir in
4106 .
) ac_abs_srcdir
=$ac_srcdir;;
4109 .
) ac_abs_srcdir
=$ac_abs_builddir;;
4110 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
4111 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
4114 case $ac_abs_builddir in
4115 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
4117 case $ac_top_srcdir in
4118 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
4119 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
4120 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
4126 if test x
"$ac_file" != x-
; then
4127 { echo "$as_me:$LINENO: creating $ac_file" >&5
4128 echo "$as_me: creating $ac_file" >&6;}
4131 # Let's still pretend it is `configure' which instantiates (i.e., don't
4132 # use $as_me), people would be surprised to read:
4133 # /* config.h. Generated by config.status. */
4134 if test x
"$ac_file" = x-
; then
4137 configure_input
="$ac_file. "
4139 configure_input
=$configure_input"Generated from `echo $ac_file_in |
4140 sed 's,.*/,,'` by configure."
4142 # First look for the input files in the build tree, otherwise in the
4144 ac_file_inputs
=`IFS=:
4145 for f in $ac_file_in; do
4147 -) echo $tmp/stdin ;;
4149 # Absolute (can't be DOS-style, as IFS=:)
4150 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4151 echo "$as_me: error: cannot find input file: $f" >&2;}
4152 { (exit 1); exit 1; }; }
4155 if test -f "$f"; then
4158 elif test -f "$srcdir/$f"; then
4163 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4164 echo "$as_me: error: cannot find input file: $f" >&2;}
4165 { (exit 1); exit 1; }; }
4168 done` ||
{ (exit 1); exit 1; }
4170 cat >>$CONFIG_STATUS <<_ACEOF
4174 cat >>$CONFIG_STATUS <<\_ACEOF
4176 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4177 s
,@configure_input@
,$configure_input,;t t
4178 s
,@srcdir@
,$ac_srcdir,;t t
4179 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4180 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4181 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4182 s
,@builddir@
,$ac_builddir,;t t
4183 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4184 s
,@top_builddir@
,$ac_top_builddir,;t t
4185 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4186 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4188 if test x"$ac_file" != x-; then
4189 mv $tmp/out $ac_file
4197 cat >>$CONFIG_STATUS <<\_ACEOF
4200 # CONFIG_COMMANDS section.
4202 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
4203 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4204 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4205 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4206 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4207 X"$ac_dest" : 'X\(//\)[^/]' \| \
4208 X"$ac_dest" : 'X\(//\)$' \| \
4209 X"$ac_dest" : 'X\(/\)' \| \
4210 . : '\(.\)' 2>/dev/null ||
4212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4213 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4214 /^X\(\/\/\)$/{ s//\1/; q; }
4215 /^X\(\/\).*/{ s//\1/; q; }
4217 { if $as_mkdir_p; then
4222 while test ! -d "$as_dir"; do
4223 as_dirs="$as_dir $as_dirs"
4224 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4225 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4226 X"$as_dir" : 'X\(//\)[^/]' \| \
4227 X"$as_dir" : 'X\(//\)$' \| \
4228 X"$as_dir" : 'X\(/\)' \| \
4229 . : '\(.\)' 2>/dev/null ||
4231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4232 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4233 /^X\(\/\/\)$/{ s//\1/; q; }
4234 /^X\(\/\).*/{ s//\1/; q; }
4237 test ! -n "$as_dirs" || mkdir $as_dirs
4238 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
4239 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
4240 { (exit 1); exit 1; }; }; }
4244 if test "$ac_dir" != .; then
4245 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4246 # A "..
/" for each directory in $ac_dir_suffix.
4247 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4249 ac_dir_suffix= ac_top_builddir=
4253 .) # No --srcdir option. We are building in place.
4255 if test -z "$ac_top_builddir"; then
4258 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4260 [\\/]* | ?:[\\/]* ) # Absolute path.
4261 ac_srcdir=$srcdir$ac_dir_suffix;
4262 ac_top_srcdir=$srcdir ;;
4264 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4265 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4268 # Do not use `cd foo && pwd` to compute absolute paths, because
4269 # the directories may not exist.
4271 .) ac_abs_builddir="$ac_dir";;
4274 .) ac_abs_builddir=`pwd`;;
4275 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4276 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4279 case $ac_abs_builddir in
4280 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4282 case ${ac_top_builddir}. in
4283 .) ac_abs_top_builddir=$ac_abs_builddir;;
4284 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4285 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4288 case $ac_abs_builddir in
4289 .) ac_abs_srcdir=$ac_srcdir;;
4292 .) ac_abs_srcdir=$ac_abs_builddir;;
4293 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4294 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4297 case $ac_abs_builddir in
4298 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4300 case $ac_top_srcdir in
4301 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4302 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4303 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4308 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
4309 echo "$as_me: executing
$ac_dest commands
" >&6;}
4312 # Only add multilib support code if we just rebuilt the top-level
4314 case " $CONFIG_FILES " in
4316 ac_file=Makefile . ${multi_basedir}/config-ml.in
4323 cat >>$CONFIG_STATUS <<\_ACEOF
4325 { (exit 0); exit 0; }
4327 chmod +x $CONFIG_STATUS
4328 ac_clean_files=$ac_clean_files_save
4331 # configure is writing to config.log, and then calls config.status.
4332 # config.status does its own redirection, appending to config.log.
4333 # Unfortunately, on DOS this fails, as config.log is still kept open
4334 # by configure, so config.status won't be able to write to it; its
4335 # output is simply discarded. So we exec the FD to /dev/null,
4336 # effectively closing config.log, so it can be properly (re)opened and
4337 # appended to by config.status. When coming back to configure, we
4338 # need to make the FD available again.
4339 if test "$no_create" != yes; then
4341 ac_config_status_args=
4342 test "$silent" = yes &&
4343 ac_config_status_args="$ac_config_status_args --quiet"
4345 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4347 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4348 # would make configure fail if this is the last instruction.
4349 $ac_cs_success || { (exit 1); exit 1; }