2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for GCC libada experimental pre-3.5.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/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 -n "`(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
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
267 PACKAGE_NAME='GCC libada'
268 PACKAGE_TARNAME='gcc-libada'
269 PACKAGE_VERSION='experimental pre-3.5'
270 PACKAGE_STRING='GCC libada experimental pre-3.5'
273 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 MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os enable_shared LIBOBJS LTLIBOBJS'
276 # Initialize some variables set by options.
278 ac_init_version=false
279 # The variables have the same names as the options, with
280 # dashes changed to underlines.
288 program_transform_name=s,x,x,
296 # Installation directory options.
297 # These are left unexpanded so users can "make install exec_prefix=/foo"
298 # and all the variables that are supposed to be based on exec_prefix
299 # by default will actually change.
300 # Use braces instead of parens because sh, perl, etc. also accept them.
301 bindir='${exec_prefix}/bin'
302 sbindir='${exec_prefix}/sbin'
303 libexecdir='${exec_prefix}/libexec'
304 datadir='${prefix}/share'
305 sysconfdir='${prefix}/etc'
306 sharedstatedir='${prefix}/com'
307 localstatedir='${prefix}/var'
308 libdir='${exec_prefix}/lib'
309 includedir='${prefix}/include'
310 oldincludedir='/usr/include'
311 infodir='${prefix}/info'
312 mandir='${prefix}/man'
317 # If the previous option needs an argument, assign it.
318 if test -n "$ac_prev"; then
319 eval "$ac_prev=\$ac_option"
324 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
326 # Accept the important Cygnus configure options, so we can diagnose typos.
330 -bindir | --bindir | --bindi | --bind | --bin | --bi)
332 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
335 -build | --build | --buil | --bui | --bu)
336 ac_prev=build_alias ;;
337 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
338 build_alias=$ac_optarg ;;
340 -cache-file | --cache-file | --cache-fil | --cache-fi \
341 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
342 ac_prev=cache_file ;;
343 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
344 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
345 cache_file=$ac_optarg ;;
348 cache_file=config.cache ;;
350 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
352 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
354 datadir=$ac_optarg ;;
356 -disable-* | --disable-*)
357 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
358 # Reject names that are not valid shell variable names.
359 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
360 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
361 { (exit 1); exit 1; }; }
362 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
363 eval "enable_$ac_feature=no" ;;
365 -enable-* | --enable-*)
366 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
367 # Reject names that are not valid shell variable names.
368 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
369 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
370 { (exit 1); exit 1; }; }
371 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
373 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
376 eval "enable_$ac_feature='$ac_optarg'" ;;
378 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
379 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
380 | --exec | --exe | --ex)
381 ac_prev=exec_prefix ;;
382 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
383 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
384 | --exec=* | --exe=* | --ex=*)
385 exec_prefix=$ac_optarg ;;
387 -gas | --gas | --ga | --g)
388 # Obsolete; use --with-gas.
391 -help | --help | --hel | --he | -h)
393 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
394 ac_init_help=recursive ;;
395 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
396 ac_init_help=short ;;
398 -host | --host | --hos | --ho)
399 ac_prev=host_alias ;;
400 -host=* | --host=* | --hos=* | --ho=*)
401 host_alias=$ac_optarg ;;
403 -includedir | --includedir | --includedi | --included | --include \
404 | --includ | --inclu | --incl | --inc)
405 ac_prev=includedir ;;
406 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
407 | --includ=* | --inclu=* | --incl=* | --inc=*)
408 includedir=$ac_optarg ;;
410 -infodir | --infodir | --infodi | --infod | --info | --inf)
412 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
413 infodir=$ac_optarg ;;
415 -libdir | --libdir | --libdi | --libd)
417 -libdir=* | --libdir=* | --libdi=* | --libd=*)
420 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
421 | --libexe | --libex | --libe)
422 ac_prev=libexecdir ;;
423 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
424 | --libexe=* | --libex=* | --libe=*)
425 libexecdir=$ac_optarg ;;
427 -localstatedir | --localstatedir | --localstatedi | --localstated \
428 | --localstate | --localstat | --localsta | --localst \
429 | --locals | --local | --loca | --loc | --lo)
430 ac_prev=localstatedir ;;
431 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
432 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
433 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
434 localstatedir=$ac_optarg ;;
436 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
438 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
442 # Obsolete; use --without-fp.
445 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
446 | --no-cr | --no-c | -n)
449 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
450 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
453 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
454 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
455 | --oldin | --oldi | --old | --ol | --o)
456 ac_prev=oldincludedir ;;
457 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
458 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
459 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
460 oldincludedir=$ac_optarg ;;
462 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
464 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
467 -program-prefix | --program-prefix | --program-prefi | --program-pref \
468 | --program-pre | --program-pr | --program-p)
469 ac_prev=program_prefix ;;
470 -program-prefix=* | --program-prefix=* | --program-prefi=* \
471 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
472 program_prefix=$ac_optarg ;;
474 -program-suffix | --program-suffix | --program-suffi | --program-suff \
475 | --program-suf | --program-su | --program-s)
476 ac_prev=program_suffix ;;
477 -program-suffix=* | --program-suffix=* | --program-suffi=* \
478 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
479 program_suffix=$ac_optarg ;;
481 -program-transform-name | --program-transform-name \
482 | --program-transform-nam | --program-transform-na \
483 | --program-transform-n | --program-transform- \
484 | --program-transform | --program-transfor \
485 | --program-transfo | --program-transf \
486 | --program-trans | --program-tran \
487 | --progr-tra | --program-tr | --program-t)
488 ac_prev=program_transform_name ;;
489 -program-transform-name=* | --program-transform-name=* \
490 | --program-transform-nam=* | --program-transform-na=* \
491 | --program-transform-n=* | --program-transform-=* \
492 | --program-transform=* | --program-transfor=* \
493 | --program-transfo=* | --program-transf=* \
494 | --program-trans=* | --program-tran=* \
495 | --progr-tra=* | --program-tr=* | --program-t=*)
496 program_transform_name=$ac_optarg ;;
498 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
499 | -silent | --silent | --silen | --sile | --sil)
502 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
504 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
506 sbindir=$ac_optarg ;;
508 -sharedstatedir | --sharedstatedir | --sharedstatedi \
509 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
510 | --sharedst | --shareds | --shared | --share | --shar \
512 ac_prev=sharedstatedir ;;
513 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
514 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
515 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
517 sharedstatedir=$ac_optarg ;;
519 -site | --site | --sit)
521 -site=* | --site=* | --sit=*)
524 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
526 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
529 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
530 | --syscon | --sysco | --sysc | --sys | --sy)
531 ac_prev=sysconfdir ;;
532 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
533 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
534 sysconfdir=$ac_optarg ;;
536 -target | --target | --targe | --targ | --tar | --ta | --t)
537 ac_prev=target_alias ;;
538 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
539 target_alias=$ac_optarg ;;
541 -v | -verbose | --verbose | --verbos | --verbo | --verb)
544 -version | --version | --versio | --versi | --vers | -V)
548 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
549 # Reject names that are not valid shell variable names.
550 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
551 { echo "$as_me: error: invalid package name: $ac_package" >&2
552 { (exit 1); exit 1; }; }
553 ac_package=`echo $ac_package| sed 's/-/_/g'`
555 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
558 eval "with_$ac_package='$ac_optarg'" ;;
560 -without-* | --without-*)
561 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
562 # Reject names that are not valid shell variable names.
563 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
564 { echo "$as_me: error: invalid package name: $ac_package" >&2
565 { (exit 1); exit 1; }; }
566 ac_package=`echo $ac_package | sed 's/-/_/g'`
567 eval "with_$ac_package=no" ;;
570 # Obsolete; use --with-x.
573 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
574 | --x-incl | --x-inc | --x-in | --x-i)
575 ac_prev=x_includes ;;
576 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
577 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
578 x_includes=$ac_optarg ;;
580 -x-libraries | --x-libraries | --x-librarie | --x-librari \
581 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
582 ac_prev=x_libraries ;;
583 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
584 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
585 x_libraries=$ac_optarg ;;
587 -*) { echo "$as_me: error: unrecognized option: $ac_option
588 Try \`$0 --help' for more information." >&2
589 { (exit 1); exit 1; }; }
593 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
594 # Reject names that are not valid shell variable names.
595 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
596 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
597 { (exit 1); exit 1; }; }
598 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
599 eval "$ac_envvar='$ac_optarg'"
603 # FIXME: should be removed in autoconf 3.0.
604 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
605 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
606 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
607 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
613 if test -n "$ac_prev"; then
614 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
615 { echo "$as_me: error: missing argument to $ac_option" >&2
616 { (exit 1); exit 1; }; }
619 # Be sure to have absolute paths.
620 for ac_var in exec_prefix prefix
622 eval ac_val=$`echo $ac_var`
624 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
625 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
626 { (exit 1); exit 1; }; };;
630 # Be sure to have absolute paths.
631 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
632 localstatedir libdir includedir oldincludedir infodir mandir
634 eval ac_val=$`echo $ac_var`
636 [\\/$]* | ?:[\\/]* ) ;;
637 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
638 { (exit 1); exit 1; }; };;
642 # There might be people who depend on the old broken behavior: `$host'
643 # used to hold the argument of --host etc.
644 # FIXME: To remove some day.
649 # FIXME: To remove some day.
650 if test "x$host_alias" != x; then
651 if test "x$build_alias" = x; then
652 cross_compiling=maybe
653 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
654 If a cross compiler is detected then cross compile mode will be used." >&2
655 elif test "x$build_alias" != "x$host_alias"; then
661 test -n "$host_alias" && ac_tool_prefix=$host_alias-
663 test "$silent" = yes && exec 6>/dev/null
666 # Find the source files, if location was not specified.
667 if test -z "$srcdir"; then
668 ac_srcdir_defaulted=yes
669 # Try the directory containing this script, then its parent.
670 ac_confdir=`(dirname "$0") 2>/dev/null ||
671 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
672 X"$0" : 'X\(//\)[^/]' \| \
673 X"$0" : 'X\(//\)$' \| \
674 X"$0" : 'X\(/\)' \| \
675 . : '\(.\)' 2>/dev/null ||
677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
678 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
679 /^X\(\/\/\)$/{ s//\1/; q; }
680 /^X\(\/\).*/{ s//\1/; q; }
683 if test ! -r $srcdir/$ac_unique_file; then
687 ac_srcdir_defaulted=no
689 if test ! -r $srcdir/$ac_unique_file; then
690 if test "$ac_srcdir_defaulted" = yes; then
691 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
692 { (exit 1); exit 1; }; }
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
695 { (exit 1); exit 1; }; }
698 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
699 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
700 { (exit 1); exit 1; }; }
701 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
702 ac_env_build_alias_set=${build_alias+set}
703 ac_env_build_alias_value=$build_alias
704 ac_cv_env_build_alias_set=${build_alias+set}
705 ac_cv_env_build_alias_value=$build_alias
706 ac_env_host_alias_set=${host_alias+set}
707 ac_env_host_alias_value=$host_alias
708 ac_cv_env_host_alias_set=${host_alias+set}
709 ac_cv_env_host_alias_value=$host_alias
710 ac_env_target_alias_set=${target_alias+set}
711 ac_env_target_alias_value=$target_alias
712 ac_cv_env_target_alias_set=${target_alias+set}
713 ac_cv_env_target_alias_value=$target_alias
716 # Report the --help message.
718 if test "$ac_init_help" = "long"; then
719 # Omit some internal or obsolete options to make the list less imposing.
720 # This message is too long to be a string in the A/UX 3.1 sh.
722 \`configure' configures GCC libada experimental pre-3.5 to adapt to many kinds of systems.
724 Usage: $0 [OPTION]... [VAR=VALUE]...
726 To assign environment variables (e.g., CC, CFLAGS...), specify them as
727 VAR=VALUE. See below for descriptions of some of the useful variables.
729 Defaults for the options are specified in brackets.
732 -h, --help display this help and exit
733 --help=short display options specific to this package
734 --help=recursive display the short help of all the included packages
735 -V, --version display version information and exit
736 -q, --quiet, --silent do not print \`checking...' messages
737 --cache-file=FILE cache test results in FILE [disabled]
738 -C, --config-cache alias for \`--cache-file=config.cache'
739 -n, --no-create do not create output files
740 --srcdir=DIR find the sources in DIR [configure dir or \`..']
745 Installation directories:
746 --prefix=PREFIX install architecture-independent files in PREFIX
748 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
751 By default, \`make install' will install all the files in
752 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
753 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
754 for instance \`--prefix=\$HOME'.
756 For better control, use the options below.
758 Fine tuning of the installation directories:
759 --bindir=DIR user executables [EPREFIX/bin]
760 --sbindir=DIR system admin executables [EPREFIX/sbin]
761 --libexecdir=DIR program executables [EPREFIX/libexec]
762 --datadir=DIR read-only architecture-independent data [PREFIX/share]
763 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
764 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
765 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
766 --libdir=DIR object code libraries [EPREFIX/lib]
767 --includedir=DIR C header files [PREFIX/include]
768 --oldincludedir=DIR C header files for non-gcc [/usr/include]
769 --infodir=DIR info documentation [PREFIX/info]
770 --mandir=DIR man documentation [PREFIX/man]
776 --build=BUILD configure for building on BUILD [guessed]
777 --host=HOST cross-compile to build programs to run on HOST [BUILD]
778 --target=TARGET configure for building compilers for TARGET [HOST]
782 if test -n "$ac_init_help"; then
783 case $ac_init_help in
784 short | recursive ) echo "Configuration of GCC libada experimental pre-3.5:";;
789 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
790 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
791 --enable-maintainer-mode
792 enable make rules and dependencies not useful (and
793 sometimes confusing) to the casual installer
794 --disable-shared don't provide a shared libgnat
799 if test "$ac_init_help" = "recursive"; then
800 # If there are subdirs, report their specific --help.
802 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
803 test -d $ac_dir || continue
806 if test "$ac_dir" != .; then
807 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
808 # A "../" for each directory in $ac_dir_suffix.
809 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
811 ac_dir_suffix= ac_top_builddir=
815 .) # No --srcdir option. We are building in place.
817 if test -z "$ac_top_builddir"; then
820 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
822 [\\/]* | ?:[\\/]* ) # Absolute path.
823 ac_srcdir=$srcdir$ac_dir_suffix;
824 ac_top_srcdir=$srcdir ;;
826 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
827 ac_top_srcdir=$ac_top_builddir$srcdir ;;
829 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
831 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
832 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
833 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
834 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
837 # Check for guested configure; otherwise get Cygnus style configure.
838 if test -f $ac_srcdir/configure.gnu; then
840 $SHELL $ac_srcdir/configure.gnu --help=recursive
841 elif test -f $ac_srcdir/configure; then
843 $SHELL $ac_srcdir/configure --help=recursive
844 elif test -f $ac_srcdir/configure.ac ||
845 test -f $ac_srcdir/configure.in; then
849 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
855 test -n "$ac_init_help" && exit 0
856 if $ac_init_version; then
858 GCC libada configure experimental pre-3.5
859 generated by GNU Autoconf 2.57
861 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
862 Free Software Foundation, Inc.
863 This configure script is free software; the Free Software Foundation
864 gives unlimited permission to copy, distribute and modify it.
870 This file contains any messages produced by compilers while
871 running configure, to aid debugging if configure makes a mistake.
873 It was created by GCC libada $as_me experimental pre-3.5, which was
874 generated by GNU Autoconf 2.57. Invocation command line was
885 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
886 uname -m = `(uname -m) 2>/dev/null || echo unknown`
887 uname -r = `(uname -r) 2>/dev/null || echo unknown`
888 uname -s = `(uname -s) 2>/dev/null || echo unknown`
889 uname -v = `(uname -v) 2>/dev/null || echo unknown`
891 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
892 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
894 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
895 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
896 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
897 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
898 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
899 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
900 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
908 test -z "$as_dir" && as_dir=.
924 # Keep a trace of the command line.
925 # Strip out --no-create and --no-recursion so they do not pile up.
926 # Strip out --silent because we don't want to record it for future runs.
927 # Also quote any args containing shell meta-characters.
928 # Make two passes to allow for proper duplicate-argument suppression.
933 ac_must_keep_next=false
939 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
940 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
941 | -silent | --silent | --silen | --sile | --sil)
943 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
944 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
947 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
949 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
950 if test $ac_must_keep_next = true; then
951 ac_must_keep_next=false # Got value, back to normal.
954 *=* | --config-cache | -C | -disable-* | --disable-* \
955 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
956 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
957 | -with-* | --with-* | -without-* | --without-* | --x)
958 case "$ac_configure_args0 " in
959 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
962 -* ) ac_must_keep_next=true ;;
965 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
966 # Get rid of the leading space.
972 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
973 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
975 # When interrupted or exit'd, cleanup temporary files, and complete
976 # config.log. We remove comments because anyway the quotes in there
977 # would cause problems or look ugly.
978 # WARNING: Be sure not to use single quotes in there, as some shells,
979 # such as our DU 5.0 friend, will then `close' the trap.
981 # Save into config.log some information that might help in debugging.
986 ## ---------------- ##
987 ## Cache variables. ##
988 ## ---------------- ##
991 # The following way of writing the cache mishandles newlines in values,
994 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
997 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
998 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1002 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1009 ## ----------------- ##
1010 ## Output variables. ##
1011 ## ----------------- ##
1014 for ac_var in $ac_subst_vars
1016 eval ac_val=$`echo $ac_var`
1017 echo "$ac_var='"'"'$ac_val'"'"'"
1021 if test -n "$ac_subst_files"; then
1028 for ac_var in $ac_subst_files
1030 eval ac_val=$`echo $ac_var`
1031 echo "$ac_var='"'"'$ac_val'"'"'"
1036 if test -s confdefs.h; then
1043 sed "/^$/d" confdefs.h | sort
1046 test "$ac_signal" != 0 &&
1047 echo "$as_me: caught signal $ac_signal"
1048 echo "$as_me: exit $exit_status"
1050 rm -f core core.* *.core &&
1051 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1054 for ac_signal in 1 2 13 15; do
1055 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1059 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1060 rm -rf conftest* confdefs.h
1061 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1064 # Predefined preprocessor variables.
1066 cat >>confdefs.h <<_ACEOF
1067 #define PACKAGE_NAME "$PACKAGE_NAME"
1071 cat >>confdefs.h <<_ACEOF
1072 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1076 cat >>confdefs.h <<_ACEOF
1077 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1081 cat >>confdefs.h <<_ACEOF
1082 #define PACKAGE_STRING "$PACKAGE_STRING"
1086 cat >>confdefs.h <<_ACEOF
1087 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1091 # Let the site file select an alternate cache file if it wants to.
1092 # Prefer explicitly selected file to automatically selected ones.
1093 if test -z "$CONFIG_SITE"; then
1094 if test "x$prefix" != xNONE; then
1095 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1097 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1100 for ac_site_file in $CONFIG_SITE; do
1101 if test -r "$ac_site_file"; then
1102 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1103 echo "$as_me: loading site script $ac_site_file" >&6;}
1104 sed 's/^/| /' "$ac_site_file" >&5
1109 if test -r "$cache_file"; then
1110 # Some versions of bash will fail to source /dev/null (special
1111 # files actually), so we avoid doing that.
1112 if test -f "$cache_file"; then
1113 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1114 echo "$as_me: loading cache $cache_file" >&6;}
1116 [\\/]* | ?:[\\/]* ) . $cache_file;;
1117 *) . ./$cache_file;;
1121 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1122 echo "$as_me: creating cache $cache_file" >&6;}
1126 # Check that the precious variables saved in the cache have kept the same
1128 ac_cache_corrupted=false
1129 for ac_var in `(set) 2>&1 |
1130 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1131 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1132 eval ac_new_set=\$ac_env_${ac_var}_set
1133 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1134 eval ac_new_val="\$ac_env_${ac_var}_value"
1135 case $ac_old_set,$ac_new_set in
1137 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1138 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1139 ac_cache_corrupted=: ;;
1141 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1142 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1143 ac_cache_corrupted=: ;;
1146 if test "x$ac_old_val" != "x$ac_new_val"; then
1147 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1148 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1149 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1150 echo "$as_me: former value: $ac_old_val" >&2;}
1151 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1152 echo "$as_me: current value: $ac_new_val" >&2;}
1153 ac_cache_corrupted=:
1156 # Pass precious variables to config.status.
1157 if test "$ac_new_set" = set; then
1159 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1160 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1161 *) ac_arg=$ac_var=$ac_new_val ;;
1163 case " $ac_configure_args " in
1164 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1165 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1169 if $ac_cache_corrupted; then
1170 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1171 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1172 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1173 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1174 { (exit 1); exit 1; }; }
1178 ac_cpp='$CPP $CPPFLAGS'
1179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1210 # This is an autoconf 2.5x script.
1213 # Very limited version of AC_MAINTAINER_MODE.
1214 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1215 if test "${enable_maintainer_mode+set}" = set; then
1216 enableval="$enable_maintainer_mode"
1217 case ${enable_maintainer_mode} in
1220 *) { { echo "$as_me:$LINENO: error: --enable-maintainer-mode must be yes or no" >&5
1221 echo "$as_me: error: --enable-maintainer-mode must be yes or no" >&2;}
1222 { (exit 1); exit 1; }; } ;;
1224 maintainer_mode=${enableval}
1229 # Start of actual configure tests
1231 # Output: create a Makefile.
1232 ac_config_files="$ac_config_files Makefile"
1236 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1237 if test -f $ac_dir/install-sh; then
1239 ac_install_sh="$ac_aux_dir/install-sh -c"
1241 elif test -f $ac_dir/install.sh; then
1243 ac_install_sh="$ac_aux_dir/install.sh -c"
1245 elif test -f $ac_dir/shtool; then
1247 ac_install_sh="$ac_aux_dir/shtool install -c"
1251 if test -z "$ac_aux_dir"; then
1252 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1253 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1254 { (exit 1); exit 1; }; }
1256 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1257 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1258 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1260 # Make sure we can run config.sub.
1261 $ac_config_sub sun4 >/dev/null 2>&1 ||
1262 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1263 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1264 { (exit 1); exit 1; }; }
1266 echo "$as_me:$LINENO: checking build system type" >&5
1267 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1268 if test "${ac_cv_build+set}" = set; then
1269 echo $ECHO_N "(cached) $ECHO_C" >&6
1271 ac_cv_build_alias=$build_alias
1272 test -z "$ac_cv_build_alias" &&
1273 ac_cv_build_alias=`$ac_config_guess`
1274 test -z "$ac_cv_build_alias" &&
1275 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1276 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1277 { (exit 1); exit 1; }; }
1278 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1279 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1280 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1281 { (exit 1); exit 1; }; }
1284 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1285 echo "${ECHO_T}$ac_cv_build" >&6
1287 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1288 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1289 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1292 echo "$as_me:$LINENO: checking host system type" >&5
1293 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1294 if test "${ac_cv_host+set}" = set; then
1295 echo $ECHO_N "(cached) $ECHO_C" >&6
1297 ac_cv_host_alias=$host_alias
1298 test -z "$ac_cv_host_alias" &&
1299 ac_cv_host_alias=$ac_cv_build_alias
1300 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1301 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1302 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1303 { (exit 1); exit 1; }; }
1306 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1307 echo "${ECHO_T}$ac_cv_host" >&6
1309 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1310 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1311 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1314 echo "$as_me:$LINENO: checking target system type" >&5
1315 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1316 if test "${ac_cv_target+set}" = set; then
1317 echo $ECHO_N "(cached) $ECHO_C" >&6
1319 ac_cv_target_alias=$target_alias
1320 test "x$ac_cv_target_alias" = "x" &&
1321 ac_cv_target_alias=$ac_cv_host_alias
1322 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1323 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1324 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1325 { (exit 1); exit 1; }; }
1328 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1329 echo "${ECHO_T}$ac_cv_target" >&6
1330 target=$ac_cv_target
1331 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1332 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1333 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1336 # The aliases save the names the user supplied, while $host etc.
1337 # will get canonicalized.
1338 test -n "$target_alias" &&
1339 test "$program_prefix$program_suffix$program_transform_name" = \
1341 program_prefix=${target_alias}-
1343 # Check whether --enable-shared or --disable-shared was given.
1344 if test "${enable_shared+set}" = set; then
1345 enableval="$enable_shared"
1347 case $enable_shared in
1351 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1352 for pkg in $enableval; do
1353 if test "$pkg" = "ada" || test "$pkg" = "libada"; then
1366 cat >confcache <<\_ACEOF
1367 # This file is a shell script that caches the results of configure
1368 # tests run on this system so they can be shared between configure
1369 # scripts and configure runs, see configure's option --config-cache.
1370 # It is not useful on other systems. If it contains results you don't
1371 # want to keep, you may remove or edit it.
1373 # config.status only pays attention to the cache file if you give it
1374 # the --recheck option to rerun configure.
1376 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1377 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1382 # The following way of writing the cache mishandles newlines in values,
1383 # but we know of no workaround that is simple, portable, and efficient.
1384 # So, don't put newlines in cache variables' values.
1385 # Ultrix sh set writes to stderr and can't be redirected directly,
1386 # and sets the high bit in the cache file unless we assign to the vars.
1389 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1391 # `set' does not quote correctly, so add quotes (double-quote
1392 # substitution turns \\\\ into \\, and sed turns \\ into \).
1395 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1398 # `set' quotes correctly as required by POSIX, so do not add quotes.
1400 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1407 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1409 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1411 if diff $cache_file confcache >/dev/null 2>&1; then :; else
1412 if test -w $cache_file; then
1413 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1414 cat confcache >$cache_file
1416 echo "not updating unwritable cache $cache_file"
1421 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1422 # Let make expand exec_prefix.
1423 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1425 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1426 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1427 # trailing colons and then remove the whole line if VPATH becomes empty
1428 # (actually we leave an empty line to preserve line numbers).
1429 if test "x$srcdir" = x.; then
1430 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1431 s/:*\$(srcdir):*/:/;
1432 s/:*\${srcdir}:*/:/;
1434 s/^\([^=]*=[ ]*\):*/\1/;
1440 # Transform confdefs.h into DEFS.
1441 # Protect against shell expansion while executing Makefile rules.
1442 # Protect against Makefile macro expansion.
1444 # If the first sed substitution is executed (which looks for macros that
1445 # take arguments), then we branch to the quote section. Otherwise,
1446 # look for a macro that doesn't take arguments.
1447 cat >confdef2opt.sed <<\_ACEOF
1450 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1452 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1456 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1462 # We use echo to avoid assuming a particular line-breaking character.
1463 # The extra dot is to prevent the shell from consuming trailing
1464 # line-breaks from the sub-command output. A line-break within
1465 # single-quotes doesn't work because, if this script is created in a
1466 # platform that uses two characters for line-breaks (e.g., DOS), tr
1468 ac_LF_and_DOT=`echo; echo .`
1469 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1470 rm -f confdef2opt.sed
1475 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1476 # 1. Remove the extension, and $U if already installed.
1477 ac_i=`echo "$ac_i" |
1478 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1480 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1481 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1485 LTLIBOBJS=$ac_ltlibobjs
1489 : ${CONFIG_STATUS=./config.status}
1490 ac_clean_files_save=$ac_clean_files
1491 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1492 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1493 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1494 cat >$CONFIG_STATUS <<_ACEOF
1496 # Generated by $as_me.
1497 # Run this file to recreate the current configuration.
1498 # Compiler output produced by configure, useful for debugging
1499 # configure, is in config.log if it exists.
1504 SHELL=\${CONFIG_SHELL-$SHELL}
1507 cat >>$CONFIG_STATUS <<\_ACEOF
1508 ## --------------------- ##
1509 ## M4sh Initialization. ##
1510 ## --------------------- ##
1512 # Be Bourne compatible
1513 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1516 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1517 # is contrary to our usage. Disable this feature.
1518 alias -g '${1+"$@"}'='"$@"'
1519 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1523 # Support unset when possible.
1524 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1531 # Work around bugs in pre-3.0 UWIN ksh.
1532 $as_unset ENV MAIL MAILPATH
1539 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1540 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1541 LC_TELEPHONE LC_TIME
1543 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
1544 eval $as_var=C; export $as_var
1550 # Required to use basename.
1551 if expr a : '\(a\)' >/dev/null 2>&1; then
1557 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1558 as_basename=basename
1564 # Name of the executable.
1565 as_me=`$as_basename "$0" ||
1566 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1567 X"$0" : 'X\(//\)$' \| \
1568 X"$0" : 'X\(/\)$' \| \
1569 . : '\(.\)' 2>/dev/null ||
1571 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1572 /^X\/\(\/\/\)$/{ s//\1/; q; }
1573 /^X\/\(\/\).*/{ s//\1/; q; }
1577 # PATH needs CR, and LINENO needs CR and PATH.
1578 # Avoid depending upon Character Ranges.
1579 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1580 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1581 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1582 as_cr_digits='0123456789'
1583 as_cr_alnum=$as_cr_Letters$as_cr_digits
1585 # The user is always right.
1586 if test "${PATH_SEPARATOR+set}" != set; then
1587 echo "#! /bin/sh" >conf$$.sh
1588 echo "exit 0" >>conf$$.sh
1590 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1601 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1602 test "x$as_lineno_1" != "x$as_lineno_2" &&
1603 test "x$as_lineno_3" = "x$as_lineno_2" || {
1604 # Find who we are. Look in the path if we contain no path at all
1607 *[\\/]* ) as_myself=$0 ;;
1608 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1612 test -z "$as_dir" && as_dir=.
1613 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1618 # We did not find ourselves, most probably we were run as `sh COMMAND'
1619 # in which case we are not to be found in the path.
1620 if test "x$as_myself" = x; then
1623 if test ! -f "$as_myself"; then
1624 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1625 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1626 { (exit 1); exit 1; }; }
1628 case $CONFIG_SHELL in
1630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1631 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1634 test -z "$as_dir" && as_dir=.
1635 for as_base in sh bash ksh sh5; do
1638 if ("$as_dir/$as_base" -c '
1641 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1642 test "x$as_lineno_1" != "x$as_lineno_2" &&
1643 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1644 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1645 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1646 CONFIG_SHELL=$as_dir/$as_base
1648 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1656 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1657 # uniformly replaced by the line number. The first 'sed' inserts a
1658 # line-number line before each line; the second 'sed' does the real
1659 # work. The second script uses 'N' to pair each line-number line
1660 # with the numbered line, and appends trailing '-' during
1661 # substitution so that $LINENO is not a special case at line end.
1662 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1663 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1664 sed '=' <$as_myself |
1669 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1672 s,^['$as_cr_digits']*\n,,
1674 chmod +x $as_me.lineno ||
1675 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1676 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1677 { (exit 1); exit 1; }; }
1679 # Don't try to exec as it changes $[0], causing all sort of problems
1680 # (the dirname of $[0] is not the place where we might find the
1681 # original and so on. Autoconf is especially sensible to this).
1683 # Exit status is that of the last command.
1688 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1689 *c*,-n*) ECHO_N= ECHO_C='
1691 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1692 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1695 if expr a : '\(a\)' >/dev/null 2>&1; then
1701 rm -f conf$$ conf$$.exe conf$$.file
1703 if ln -s conf$$.file conf$$ 2>/dev/null; then
1704 # We could just check for DJGPP; but this test a) works b) is more generic
1705 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1706 if test -f conf$$.exe; then
1707 # Don't use ln at all; we don't have any links
1712 elif ln conf$$.file conf$$ 2>/dev/null; then
1717 rm -f conf$$ conf$$.exe conf$$.file
1719 if mkdir -p . 2>/dev/null; then
1725 as_executable_p="test -f"
1727 # Sed expression to map a string onto a valid CPP name.
1728 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
1730 # Sed expression to map a string onto a valid variable name.
1731 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
1735 # We need space, tab and new line, in precisely that order.
1745 # Open the log real soon, to keep \$[0] and so on meaningful, and to
1746 # report actual input values of CONFIG_FILES etc. instead of their
1747 # values after options handling. Logging --version etc. is OK.
1751 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1752 ## Running $as_me. ##
1757 This file was extended by GCC libada $as_me experimental pre-3.5, which was
1758 generated by GNU Autoconf 2.57. Invocation command line was
1760 CONFIG_FILES = $CONFIG_FILES
1761 CONFIG_HEADERS = $CONFIG_HEADERS
1762 CONFIG_LINKS = $CONFIG_LINKS
1763 CONFIG_COMMANDS = $CONFIG_COMMANDS
1767 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1771 # Files that config.status was made for.
1772 if test -n "$ac_config_files"; then
1773 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1776 if test -n "$ac_config_headers"; then
1777 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1780 if test -n "$ac_config_links"; then
1781 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1784 if test -n "$ac_config_commands"; then
1785 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1788 cat >>$CONFIG_STATUS <<\_ACEOF
1791 \`$as_me' instantiates files from templates according to the
1792 current configuration.
1794 Usage: $0 [OPTIONS] [FILE]...
1796 -h, --help print this help, then exit
1797 -V, --version print version number, then exit
1798 -q, --quiet do not print progress messages
1799 -d, --debug don't remove temporary files
1800 --recheck update $as_me by reconfiguring in the same conditions
1801 --file=FILE[:TEMPLATE]
1802 instantiate the configuration file FILE
1804 Configuration files:
1807 Report bugs to <bug-autoconf@gnu.org>."
1810 cat >>$CONFIG_STATUS <<_ACEOF
1812 GCC libada config.status experimental pre-3.5
1813 configured by $0, generated by GNU Autoconf 2.57,
1814 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1816 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
1817 Free Software Foundation, Inc.
1818 This config.status script is free software; the Free Software Foundation
1819 gives unlimited permission to copy, distribute and modify it."
1823 cat >>$CONFIG_STATUS <<\_ACEOF
1824 # If no file are specified by the user, then we need to provide default
1825 # value. By we need to know if files were specified by the user.
1831 ac_option=`expr "x$1" : 'x\([^=]*\)='`
1832 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1840 *) # This is not an option, so the user has probably given explicit
1843 ac_need_defaults=false;;
1847 # Handling of the options.
1849 cat >>$CONFIG_STATUS <<\_ACEOF
1850 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1852 --version | --vers* | -V )
1853 echo "$ac_cs_version"; exit 0 ;;
1855 # Conflict between --help and --header
1856 { { echo "$as_me:$LINENO: error: ambiguous option: $1
1857 Try \`$0 --help' for more information." >&5
1858 echo "$as_me: error: ambiguous option: $1
1859 Try \`$0 --help' for more information." >&2;}
1860 { (exit 1); exit 1; }; };;
1861 --help | --hel | -h )
1862 echo "$ac_cs_usage"; exit 0 ;;
1863 --debug | --d* | -d )
1865 --file | --fil | --fi | --f )
1867 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
1868 ac_need_defaults=false;;
1869 --header | --heade | --head | --hea )
1871 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
1872 ac_need_defaults=false;;
1873 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1874 | -silent | --silent | --silen | --sile | --sil | --si | --s)
1878 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
1879 Try \`$0 --help' for more information." >&5
1880 echo "$as_me: error: unrecognized option: $1
1881 Try \`$0 --help' for more information." >&2;}
1882 { (exit 1); exit 1; }; } ;;
1884 *) ac_config_targets="$ac_config_targets $1" ;;
1890 ac_configure_extra_args=
1892 if $ac_cs_silent; then
1894 ac_configure_extra_args="$ac_configure_extra_args --silent"
1898 cat >>$CONFIG_STATUS <<_ACEOF
1899 if \$ac_cs_recheck; then
1900 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
1901 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1910 cat >>$CONFIG_STATUS <<\_ACEOF
1911 for ac_config_target in $ac_config_targets
1913 case "$ac_config_target" in
1914 # Handling of arguments.
1915 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1916 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
1917 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1918 { (exit 1); exit 1; }; };;
1922 # If the user did not use the arguments to specify the items to instantiate,
1923 # then the envvar interface is used. Set only those that are not.
1924 # We use the long form for the default assignment because of an extremely
1925 # bizarre bug on SunOS 4.1.3.
1926 if $ac_need_defaults; then
1927 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1930 # Have a temporary directory for convenience. Make it in the build tree
1931 # simply because there is no reason to put it here, and in addition,
1932 # creating and moving files from /tmp can sometimes cause problems.
1933 # Create a temporary directory, and hook for its removal unless debugging.
1936 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
1937 trap '{ (exit 1); exit 1; }' 1 2 13 15
1940 # Create a (secure) tmp directory for tmp files.
1943 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
1944 test -n "$tmp" && test -d "$tmp"
1947 tmp=./confstat$$-$RANDOM
1948 (umask 077 && mkdir $tmp)
1951 echo "$me: cannot create a temporary directory in ." >&2
1952 { (exit 1); exit 1; }
1957 cat >>$CONFIG_STATUS <<_ACEOF
1960 # CONFIG_FILES section.
1963 # No need to generate the scripts if there are no CONFIG_FILES.
1964 # This happens for instance when ./config.status config.h
1965 if test -n "\$CONFIG_FILES"; then
1966 # Protect against being on the right side of a sed subst in config.status.
1967 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
1968 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
1969 s,@SHELL@,$SHELL,;t t
1970 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
1971 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
1972 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
1973 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
1974 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
1975 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
1976 s,@exec_prefix@,$exec_prefix,;t t
1977 s,@prefix@,$prefix,;t t
1978 s,@program_transform_name@,$program_transform_name,;t t
1979 s,@bindir@,$bindir,;t t
1980 s,@sbindir@,$sbindir,;t t
1981 s,@libexecdir@,$libexecdir,;t t
1982 s,@datadir@,$datadir,;t t
1983 s,@sysconfdir@,$sysconfdir,;t t
1984 s,@sharedstatedir@,$sharedstatedir,;t t
1985 s,@localstatedir@,$localstatedir,;t t
1986 s,@libdir@,$libdir,;t t
1987 s,@includedir@,$includedir,;t t
1988 s,@oldincludedir@,$oldincludedir,;t t
1989 s,@infodir@,$infodir,;t t
1990 s,@mandir@,$mandir,;t t
1991 s,@build_alias@,$build_alias,;t t
1992 s,@host_alias@,$host_alias,;t t
1993 s,@target_alias@,$target_alias,;t t
1995 s,@ECHO_C@,$ECHO_C,;t t
1996 s,@ECHO_N@,$ECHO_N,;t t
1997 s,@ECHO_T@,$ECHO_T,;t t
1999 s,@MAINT@,$MAINT,;t t
2000 s,@build@,$build,;t t
2001 s,@build_cpu@,$build_cpu,;t t
2002 s,@build_vendor@,$build_vendor,;t t
2003 s,@build_os@,$build_os,;t t
2005 s,@host_cpu@,$host_cpu,;t t
2006 s,@host_vendor@,$host_vendor,;t t
2007 s,@host_os@,$host_os,;t t
2008 s,@target@,$target,;t t
2009 s,@target_cpu@,$target_cpu,;t t
2010 s,@target_vendor@,$target_vendor,;t t
2011 s,@target_os@,$target_os,;t t
2012 s,@enable_shared@,$enable_shared,;t t
2013 s,@LIBOBJS@,$LIBOBJS,;t t
2014 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2019 cat >>$CONFIG_STATUS <<\_ACEOF
2020 # Split the substitutions into bite-sized pieces for seds with
2021 # small command number limits, like on Digital OSF/1 and HP-UX.
2023 ac_sed_frag=1 # Number of current file.
2024 ac_beg=1 # First line for current file.
2025 ac_end=$ac_max_sed_lines # Line after last line for current file.
2028 while $ac_more_lines; do
2029 if test $ac_beg -gt 1; then
2030 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2032 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2034 if test ! -s $tmp/subs.frag; then
2037 # The purpose of the label and of the branching condition is to
2038 # speed up the sed processing (if there are no `@' at all, there
2039 # is no need to browse any of the substitutions).
2040 # These are the two extra sed commands mentioned above.
2042 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2043 if test -z "$ac_sed_cmds"; then
2044 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2046 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2048 ac_sed_frag=`expr $ac_sed_frag + 1`
2050 ac_end=`expr $ac_end + $ac_max_sed_lines`
2053 if test -z "$ac_sed_cmds"; then
2056 fi # test -n "$CONFIG_FILES"
2059 cat >>$CONFIG_STATUS <<\_ACEOF
2060 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2061 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2063 - | *:- | *:-:* ) # input from stdin
2065 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2066 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2067 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2068 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2069 * ) ac_file_in=$ac_file.in ;;
2072 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2073 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2074 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2075 X"$ac_file" : 'X\(//\)[^/]' \| \
2076 X"$ac_file" : 'X\(//\)$' \| \
2077 X"$ac_file" : 'X\(/\)' \| \
2078 . : '\(.\)' 2>/dev/null ||
2080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2081 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2082 /^X\(\/\/\)$/{ s//\1/; q; }
2083 /^X\(\/\).*/{ s//\1/; q; }
2085 { if $as_mkdir_p; then
2090 while test ! -d "$as_dir"; do
2091 as_dirs="$as_dir $as_dirs"
2092 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2093 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2094 X"$as_dir" : 'X\(//\)[^/]' \| \
2095 X"$as_dir" : 'X\(//\)$' \| \
2096 X"$as_dir" : 'X\(/\)' \| \
2097 . : '\(.\)' 2>/dev/null ||
2099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2100 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2101 /^X\(\/\/\)$/{ s//\1/; q; }
2102 /^X\(\/\).*/{ s//\1/; q; }
2105 test ! -n "$as_dirs" || mkdir $as_dirs
2106 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2107 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2108 { (exit 1); exit 1; }; }; }
2112 if test "$ac_dir" != .; then
2113 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2114 # A "../" for each directory in $ac_dir_suffix.
2115 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2117 ac_dir_suffix= ac_top_builddir=
2121 .) # No --srcdir option. We are building in place.
2123 if test -z "$ac_top_builddir"; then
2126 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2128 [\\/]* | ?:[\\/]* ) # Absolute path.
2129 ac_srcdir=$srcdir$ac_dir_suffix;
2130 ac_top_srcdir=$srcdir ;;
2132 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2133 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2135 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2137 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2138 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
2139 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2140 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2144 if test x"$ac_file" != x-; then
2145 { echo "$as_me:$LINENO: creating $ac_file" >&5
2146 echo "$as_me: creating $ac_file" >&6;}
2149 # Let's still pretend it is `configure' which instantiates (i.e., don't
2150 # use $as_me), people would be surprised to read:
2151 # /* config.h. Generated by config.status. */
2152 if test x"$ac_file" = x-; then
2155 configure_input="$ac_file. "
2157 configure_input=$configure_input"Generated from `echo $ac_file_in |
2158 sed 's,.*/,,'` by configure."
2160 # First look for the input files in the build tree, otherwise in the
2162 ac_file_inputs=`IFS=:
2163 for f in $ac_file_in; do
2165 -) echo $tmp/stdin ;;
2167 # Absolute (can't be DOS-style, as IFS=:)
2168 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2169 echo "$as_me: error: cannot find input file: $f" >&2;}
2170 { (exit 1); exit 1; }; }
2173 if test -f "$f"; then
2176 elif test -f "$srcdir/$f"; then
2181 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2182 echo "$as_me: error: cannot find input file: $f" >&2;}
2183 { (exit 1); exit 1; }; }
2186 done` || { (exit 1); exit 1; }
2188 cat >>$CONFIG_STATUS <<_ACEOF
2192 cat >>$CONFIG_STATUS <<\_ACEOF
2194 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2195 s,@configure_input@,$configure_input,;t t
2196 s,@srcdir@,$ac_srcdir,;t t
2197 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2198 s,@top_srcdir@,$ac_top_srcdir,;t t
2199 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2200 s,@builddir@,$ac_builddir,;t t
2201 s,@abs_builddir@,$ac_abs_builddir,;t t
2202 s,@top_builddir@,$ac_top_builddir,;t t
2203 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2204 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2206 if test x"$ac_file" != x-; then
2207 mv $tmp/out $ac_file
2216 cat >>$CONFIG_STATUS <<\_ACEOF
2218 { (exit 0); exit 0; }
2220 chmod +x $CONFIG_STATUS
2221 ac_clean_files=$ac_clean_files_save
2224 # configure is writing to config.log, and then calls config.status.
2225 # config.status does its own redirection, appending to config.log.
2226 # Unfortunately, on DOS this fails, as config.log is still kept open
2227 # by configure, so config.status won't be able to write to it; its
2228 # output is simply discarded. So we exec the FD to /dev/null,
2229 # effectively closing config.log, so it can be properly (re)opened and
2230 # appended to by config.status. When coming back to configure, we
2231 # need to make the FD available again.
2232 if test "$no_create" != yes; then
2234 ac_config_status_args=
2235 test "$silent" = yes &&
2236 ac_config_status_args="$ac_config_status_args --quiet"
2238 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2240 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2241 # would make configure fail if this is the last instruction.
2242 $ac_cs_success || { (exit 1); exit 1; }