Sync usage with man page.
[netbsd-mini2440.git] / external / bsd / pcc / dist / pcc-libs / configure
blobfba5622c0aa47c2af62b2a3f6ae5b916fcc0f3b8
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for pcc-libs 0.9.9.
5 # Report bugs to <<pcc-list@ludd.ltu.se>>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='pcc-libs'
576 PACKAGE_TARNAME='pcc-libs'
577 PACKAGE_VERSION='0.9.9'
578 PACKAGE_STRING='pcc-libs 0.9.9'
579 PACKAGE_BUGREPORT='<pcc-list@ludd.ltu.se>'
581 ac_subst_vars='SHELL
582 PATH_SEPARATOR
583 PACKAGE_NAME
584 PACKAGE_TARNAME
585 PACKAGE_VERSION
586 PACKAGE_STRING
587 PACKAGE_BUGREPORT
588 exec_prefix
589 prefix
590 program_transform_name
591 bindir
592 sbindir
593 libexecdir
594 datarootdir
595 datadir
596 sysconfdir
597 sharedstatedir
598 localstatedir
599 includedir
600 oldincludedir
601 docdir
602 infodir
603 htmldir
604 dvidir
605 pdfdir
606 psdir
607 libdir
608 localedir
609 mandir
610 DEFS
611 ECHO_C
612 ECHO_N
613 ECHO_T
614 LIBS
615 build_alias
616 host_alias
617 target_alias
618 SET_MAKE
619 INSTALL_PROGRAM
620 INSTALL_SCRIPT
621 INSTALL_DATA
622 build
623 build_cpu
624 build_vendor
625 build_os
626 host
627 host_cpu
628 host_vendor
629 host_os
630 target
631 target_cpu
632 target_vendor
633 target_os
634 ENDIAN_FLAG
636 ac_ct_CC
638 RANLIB
639 targos
640 targmach
641 version
642 CPPFLAGS
643 CFLAGS
644 LIBOBJS
645 LTLIBOBJS'
646 ac_subst_files=''
647 ac_precious_vars='build_alias
648 host_alias
649 target_alias'
652 # Initialize some variables set by options.
653 ac_init_help=
654 ac_init_version=false
655 # The variables have the same names as the options, with
656 # dashes changed to underlines.
657 cache_file=/dev/null
658 exec_prefix=NONE
659 no_create=
660 no_recursion=
661 prefix=NONE
662 program_prefix=NONE
663 program_suffix=NONE
664 program_transform_name=s,x,x,
665 silent=
666 site=
667 srcdir=
668 verbose=
669 x_includes=NONE
670 x_libraries=NONE
672 # Installation directory options.
673 # These are left unexpanded so users can "make install exec_prefix=/foo"
674 # and all the variables that are supposed to be based on exec_prefix
675 # by default will actually change.
676 # Use braces instead of parens because sh, perl, etc. also accept them.
677 # (The list follows the same order as the GNU Coding Standards.)
678 bindir='${exec_prefix}/bin'
679 sbindir='${exec_prefix}/sbin'
680 libexecdir='${exec_prefix}/libexec'
681 datarootdir='${prefix}/share'
682 datadir='${datarootdir}'
683 sysconfdir='${prefix}/etc'
684 sharedstatedir='${prefix}/com'
685 localstatedir='${prefix}/var'
686 includedir='${prefix}/include'
687 oldincludedir='/usr/include'
688 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
689 infodir='${datarootdir}/info'
690 htmldir='${docdir}'
691 dvidir='${docdir}'
692 pdfdir='${docdir}'
693 psdir='${docdir}'
694 libdir='${exec_prefix}/lib'
695 localedir='${datarootdir}/locale'
696 mandir='${datarootdir}/man'
698 ac_prev=
699 ac_dashdash=
700 for ac_option
702 # If the previous option needs an argument, assign it.
703 if test -n "$ac_prev"; then
704 eval $ac_prev=\$ac_option
705 ac_prev=
706 continue
709 case $ac_option in
710 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
711 *) ac_optarg=yes ;;
712 esac
714 # Accept the important Cygnus configure options, so we can diagnose typos.
716 case $ac_dashdash$ac_option in
718 ac_dashdash=yes ;;
720 -bindir | --bindir | --bindi | --bind | --bin | --bi)
721 ac_prev=bindir ;;
722 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
723 bindir=$ac_optarg ;;
725 -build | --build | --buil | --bui | --bu)
726 ac_prev=build_alias ;;
727 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
728 build_alias=$ac_optarg ;;
730 -cache-file | --cache-file | --cache-fil | --cache-fi \
731 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
732 ac_prev=cache_file ;;
733 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
734 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
735 cache_file=$ac_optarg ;;
737 --config-cache | -C)
738 cache_file=config.cache ;;
740 -datadir | --datadir | --datadi | --datad)
741 ac_prev=datadir ;;
742 -datadir=* | --datadir=* | --datadi=* | --datad=*)
743 datadir=$ac_optarg ;;
745 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
746 | --dataroo | --dataro | --datar)
747 ac_prev=datarootdir ;;
748 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
749 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
750 datarootdir=$ac_optarg ;;
752 -disable-* | --disable-*)
753 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
754 # Reject names that are not valid shell variable names.
755 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
756 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
757 { (exit 1); exit 1; }; }
758 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
759 eval enable_$ac_feature=no ;;
761 -docdir | --docdir | --docdi | --doc | --do)
762 ac_prev=docdir ;;
763 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
764 docdir=$ac_optarg ;;
766 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
767 ac_prev=dvidir ;;
768 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
769 dvidir=$ac_optarg ;;
771 -enable-* | --enable-*)
772 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
773 # Reject names that are not valid shell variable names.
774 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
775 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
776 { (exit 1); exit 1; }; }
777 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
778 eval enable_$ac_feature=\$ac_optarg ;;
780 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
781 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
782 | --exec | --exe | --ex)
783 ac_prev=exec_prefix ;;
784 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
785 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
786 | --exec=* | --exe=* | --ex=*)
787 exec_prefix=$ac_optarg ;;
789 -gas | --gas | --ga | --g)
790 # Obsolete; use --with-gas.
791 with_gas=yes ;;
793 -help | --help | --hel | --he | -h)
794 ac_init_help=long ;;
795 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
796 ac_init_help=recursive ;;
797 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
798 ac_init_help=short ;;
800 -host | --host | --hos | --ho)
801 ac_prev=host_alias ;;
802 -host=* | --host=* | --hos=* | --ho=*)
803 host_alias=$ac_optarg ;;
805 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
806 ac_prev=htmldir ;;
807 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
808 | --ht=*)
809 htmldir=$ac_optarg ;;
811 -includedir | --includedir | --includedi | --included | --include \
812 | --includ | --inclu | --incl | --inc)
813 ac_prev=includedir ;;
814 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
815 | --includ=* | --inclu=* | --incl=* | --inc=*)
816 includedir=$ac_optarg ;;
818 -infodir | --infodir | --infodi | --infod | --info | --inf)
819 ac_prev=infodir ;;
820 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
821 infodir=$ac_optarg ;;
823 -libdir | --libdir | --libdi | --libd)
824 ac_prev=libdir ;;
825 -libdir=* | --libdir=* | --libdi=* | --libd=*)
826 libdir=$ac_optarg ;;
828 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
829 | --libexe | --libex | --libe)
830 ac_prev=libexecdir ;;
831 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
832 | --libexe=* | --libex=* | --libe=*)
833 libexecdir=$ac_optarg ;;
835 -localedir | --localedir | --localedi | --localed | --locale)
836 ac_prev=localedir ;;
837 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
838 localedir=$ac_optarg ;;
840 -localstatedir | --localstatedir | --localstatedi | --localstated \
841 | --localstate | --localstat | --localsta | --localst | --locals)
842 ac_prev=localstatedir ;;
843 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
844 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
845 localstatedir=$ac_optarg ;;
847 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
848 ac_prev=mandir ;;
849 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
850 mandir=$ac_optarg ;;
852 -nfp | --nfp | --nf)
853 # Obsolete; use --without-fp.
854 with_fp=no ;;
856 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
857 | --no-cr | --no-c | -n)
858 no_create=yes ;;
860 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
861 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
862 no_recursion=yes ;;
864 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
865 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
866 | --oldin | --oldi | --old | --ol | --o)
867 ac_prev=oldincludedir ;;
868 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
869 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
870 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
871 oldincludedir=$ac_optarg ;;
873 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
874 ac_prev=prefix ;;
875 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
876 prefix=$ac_optarg ;;
878 -program-prefix | --program-prefix | --program-prefi | --program-pref \
879 | --program-pre | --program-pr | --program-p)
880 ac_prev=program_prefix ;;
881 -program-prefix=* | --program-prefix=* | --program-prefi=* \
882 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
883 program_prefix=$ac_optarg ;;
885 -program-suffix | --program-suffix | --program-suffi | --program-suff \
886 | --program-suf | --program-su | --program-s)
887 ac_prev=program_suffix ;;
888 -program-suffix=* | --program-suffix=* | --program-suffi=* \
889 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
890 program_suffix=$ac_optarg ;;
892 -program-transform-name | --program-transform-name \
893 | --program-transform-nam | --program-transform-na \
894 | --program-transform-n | --program-transform- \
895 | --program-transform | --program-transfor \
896 | --program-transfo | --program-transf \
897 | --program-trans | --program-tran \
898 | --progr-tra | --program-tr | --program-t)
899 ac_prev=program_transform_name ;;
900 -program-transform-name=* | --program-transform-name=* \
901 | --program-transform-nam=* | --program-transform-na=* \
902 | --program-transform-n=* | --program-transform-=* \
903 | --program-transform=* | --program-transfor=* \
904 | --program-transfo=* | --program-transf=* \
905 | --program-trans=* | --program-tran=* \
906 | --progr-tra=* | --program-tr=* | --program-t=*)
907 program_transform_name=$ac_optarg ;;
909 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
910 ac_prev=pdfdir ;;
911 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
912 pdfdir=$ac_optarg ;;
914 -psdir | --psdir | --psdi | --psd | --ps)
915 ac_prev=psdir ;;
916 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
917 psdir=$ac_optarg ;;
919 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
920 | -silent | --silent | --silen | --sile | --sil)
921 silent=yes ;;
923 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
924 ac_prev=sbindir ;;
925 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
926 | --sbi=* | --sb=*)
927 sbindir=$ac_optarg ;;
929 -sharedstatedir | --sharedstatedir | --sharedstatedi \
930 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
931 | --sharedst | --shareds | --shared | --share | --shar \
932 | --sha | --sh)
933 ac_prev=sharedstatedir ;;
934 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
935 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
936 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
937 | --sha=* | --sh=*)
938 sharedstatedir=$ac_optarg ;;
940 -site | --site | --sit)
941 ac_prev=site ;;
942 -site=* | --site=* | --sit=*)
943 site=$ac_optarg ;;
945 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
946 ac_prev=srcdir ;;
947 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
948 srcdir=$ac_optarg ;;
950 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
951 | --syscon | --sysco | --sysc | --sys | --sy)
952 ac_prev=sysconfdir ;;
953 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
954 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
955 sysconfdir=$ac_optarg ;;
957 -target | --target | --targe | --targ | --tar | --ta | --t)
958 ac_prev=target_alias ;;
959 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
960 target_alias=$ac_optarg ;;
962 -v | -verbose | --verbose | --verbos | --verbo | --verb)
963 verbose=yes ;;
965 -version | --version | --versio | --versi | --vers | -V)
966 ac_init_version=: ;;
968 -with-* | --with-*)
969 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
972 { echo "$as_me: error: invalid package name: $ac_package" >&2
973 { (exit 1); exit 1; }; }
974 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
975 eval with_$ac_package=\$ac_optarg ;;
977 -without-* | --without-*)
978 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
979 # Reject names that are not valid shell variable names.
980 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
981 { echo "$as_me: error: invalid package name: $ac_package" >&2
982 { (exit 1); exit 1; }; }
983 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
984 eval with_$ac_package=no ;;
986 --x)
987 # Obsolete; use --with-x.
988 with_x=yes ;;
990 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
991 | --x-incl | --x-inc | --x-in | --x-i)
992 ac_prev=x_includes ;;
993 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
994 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
995 x_includes=$ac_optarg ;;
997 -x-libraries | --x-libraries | --x-librarie | --x-librari \
998 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
999 ac_prev=x_libraries ;;
1000 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1001 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1002 x_libraries=$ac_optarg ;;
1004 -*) { echo "$as_me: error: unrecognized option: $ac_option
1005 Try \`$0 --help' for more information." >&2
1006 { (exit 1); exit 1; }; }
1009 *=*)
1010 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1013 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1014 { (exit 1); exit 1; }; }
1015 eval $ac_envvar=\$ac_optarg
1016 export $ac_envvar ;;
1019 # FIXME: should be removed in autoconf 3.0.
1020 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1021 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1022 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1023 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1026 esac
1027 done
1029 if test -n "$ac_prev"; then
1030 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1031 { echo "$as_me: error: missing argument to $ac_option" >&2
1032 { (exit 1); exit 1; }; }
1035 # Be sure to have absolute directory names.
1036 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1037 datadir sysconfdir sharedstatedir localstatedir includedir \
1038 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1039 libdir localedir mandir
1041 eval ac_val=\$$ac_var
1042 case $ac_val in
1043 [\\/$]* | ?:[\\/]* ) continue;;
1044 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1045 esac
1046 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1047 { (exit 1); exit 1; }; }
1048 done
1050 # There might be people who depend on the old broken behavior: `$host'
1051 # used to hold the argument of --host etc.
1052 # FIXME: To remove some day.
1053 build=$build_alias
1054 host=$host_alias
1055 target=$target_alias
1057 # FIXME: To remove some day.
1058 if test "x$host_alias" != x; then
1059 if test "x$build_alias" = x; then
1060 cross_compiling=maybe
1061 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1062 If a cross compiler is detected then cross compile mode will be used." >&2
1063 elif test "x$build_alias" != "x$host_alias"; then
1064 cross_compiling=yes
1068 ac_tool_prefix=
1069 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1071 test "$silent" = yes && exec 6>/dev/null
1074 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1075 ac_ls_di=`ls -di .` &&
1076 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1077 { echo "$as_me: error: Working directory cannot be determined" >&2
1078 { (exit 1); exit 1; }; }
1079 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1080 { echo "$as_me: error: pwd does not report name of working directory" >&2
1081 { (exit 1); exit 1; }; }
1084 # Find the source files, if location was not specified.
1085 if test -z "$srcdir"; then
1086 ac_srcdir_defaulted=yes
1087 # Try the directory containing this script, then the parent directory.
1088 ac_confdir=`$as_dirname -- "$0" ||
1089 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1090 X"$0" : 'X\(//\)[^/]' \| \
1091 X"$0" : 'X\(//\)$' \| \
1092 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1093 echo X"$0" |
1094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1095 s//\1/
1098 /^X\(\/\/\)[^/].*/{
1099 s//\1/
1102 /^X\(\/\/\)$/{
1103 s//\1/
1106 /^X\(\/\).*/{
1107 s//\1/
1110 s/.*/./; q'`
1111 srcdir=$ac_confdir
1112 if test ! -r "$srcdir/$ac_unique_file"; then
1113 srcdir=..
1115 else
1116 ac_srcdir_defaulted=no
1118 if test ! -r "$srcdir/$ac_unique_file"; then
1119 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1120 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1121 { (exit 1); exit 1; }; }
1123 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1124 ac_abs_confdir=`(
1125 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1126 { (exit 1); exit 1; }; }
1127 pwd)`
1128 # When building in place, set srcdir=.
1129 if test "$ac_abs_confdir" = "$ac_pwd"; then
1130 srcdir=.
1132 # Remove unnecessary trailing slashes from srcdir.
1133 # Double slashes in file names in object file debugging info
1134 # mess up M-x gdb in Emacs.
1135 case $srcdir in
1136 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1137 esac
1138 for ac_var in $ac_precious_vars; do
1139 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1140 eval ac_env_${ac_var}_value=\$${ac_var}
1141 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1142 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1143 done
1146 # Report the --help message.
1148 if test "$ac_init_help" = "long"; then
1149 # Omit some internal or obsolete options to make the list less imposing.
1150 # This message is too long to be a string in the A/UX 3.1 sh.
1151 cat <<_ACEOF
1152 \`configure' configures pcc-libs 0.9.9 to adapt to many kinds of systems.
1154 Usage: $0 [OPTION]... [VAR=VALUE]...
1156 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1157 VAR=VALUE. See below for descriptions of some of the useful variables.
1159 Defaults for the options are specified in brackets.
1161 Configuration:
1162 -h, --help display this help and exit
1163 --help=short display options specific to this package
1164 --help=recursive display the short help of all the included packages
1165 -V, --version display version information and exit
1166 -q, --quiet, --silent do not print \`checking...' messages
1167 --cache-file=FILE cache test results in FILE [disabled]
1168 -C, --config-cache alias for \`--cache-file=config.cache'
1169 -n, --no-create do not create output files
1170 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1172 Installation directories:
1173 --prefix=PREFIX install architecture-independent files in PREFIX
1174 [$ac_default_prefix]
1175 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1176 [PREFIX]
1178 By default, \`make install' will install all the files in
1179 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1180 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1181 for instance \`--prefix=\$HOME'.
1183 For better control, use the options below.
1185 Fine tuning of the installation directories:
1186 --bindir=DIR user executables [EPREFIX/bin]
1187 --sbindir=DIR system admin executables [EPREFIX/sbin]
1188 --libexecdir=DIR program executables [EPREFIX/libexec]
1189 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1190 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1191 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1192 --libdir=DIR object code libraries [EPREFIX/lib]
1193 --includedir=DIR C header files [PREFIX/include]
1194 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1195 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1196 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1197 --infodir=DIR info documentation [DATAROOTDIR/info]
1198 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1199 --mandir=DIR man documentation [DATAROOTDIR/man]
1200 --docdir=DIR documentation root [DATAROOTDIR/doc/pcc-libs]
1201 --htmldir=DIR html documentation [DOCDIR]
1202 --dvidir=DIR dvi documentation [DOCDIR]
1203 --pdfdir=DIR pdf documentation [DOCDIR]
1204 --psdir=DIR ps documentation [DOCDIR]
1205 _ACEOF
1207 cat <<\_ACEOF
1209 System types:
1210 --build=BUILD configure for building on BUILD [guessed]
1211 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1212 --target=TARGET configure for building compilers for TARGET [HOST]
1213 _ACEOF
1216 if test -n "$ac_init_help"; then
1217 case $ac_init_help in
1218 short | recursive ) echo "Configuration of pcc-libs 0.9.9:";;
1219 esac
1220 cat <<\_ACEOF
1222 Report bugs to <<pcc-list@ludd.ltu.se>>.
1223 _ACEOF
1224 ac_status=$?
1227 if test "$ac_init_help" = "recursive"; then
1228 # If there are subdirs, report their specific --help.
1229 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1230 test -d "$ac_dir" || continue
1231 ac_builddir=.
1233 case "$ac_dir" in
1234 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1236 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1237 # A ".." for each directory in $ac_dir_suffix.
1238 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1239 case $ac_top_builddir_sub in
1240 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1241 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1242 esac ;;
1243 esac
1244 ac_abs_top_builddir=$ac_pwd
1245 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1246 # for backward compatibility:
1247 ac_top_builddir=$ac_top_build_prefix
1249 case $srcdir in
1250 .) # We are building in place.
1251 ac_srcdir=.
1252 ac_top_srcdir=$ac_top_builddir_sub
1253 ac_abs_top_srcdir=$ac_pwd ;;
1254 [\\/]* | ?:[\\/]* ) # Absolute name.
1255 ac_srcdir=$srcdir$ac_dir_suffix;
1256 ac_top_srcdir=$srcdir
1257 ac_abs_top_srcdir=$srcdir ;;
1258 *) # Relative name.
1259 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1260 ac_top_srcdir=$ac_top_build_prefix$srcdir
1261 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1262 esac
1263 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1265 cd "$ac_dir" || { ac_status=$?; continue; }
1266 # Check for guested configure.
1267 if test -f "$ac_srcdir/configure.gnu"; then
1268 echo &&
1269 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1270 elif test -f "$ac_srcdir/configure"; then
1271 echo &&
1272 $SHELL "$ac_srcdir/configure" --help=recursive
1273 else
1274 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1275 fi || ac_status=$?
1276 cd "$ac_pwd" || { ac_status=$?; break; }
1277 done
1280 test -n "$ac_init_help" && exit $ac_status
1281 if $ac_init_version; then
1282 cat <<\_ACEOF
1283 pcc-libs configure 0.9.9
1284 generated by GNU Autoconf 2.61
1286 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1287 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1288 This configure script is free software; the Free Software Foundation
1289 gives unlimited permission to copy, distribute and modify it.
1290 _ACEOF
1291 exit
1293 cat >config.log <<_ACEOF
1294 This file contains any messages produced by compilers while
1295 running configure, to aid debugging if configure makes a mistake.
1297 It was created by pcc-libs $as_me 0.9.9, which was
1298 generated by GNU Autoconf 2.61. Invocation command line was
1300 $ $0 $@
1302 _ACEOF
1303 exec 5>>config.log
1305 cat <<_ASUNAME
1306 ## --------- ##
1307 ## Platform. ##
1308 ## --------- ##
1310 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1311 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1312 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1313 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1314 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1316 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1317 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1319 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1320 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1321 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1322 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1323 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1324 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1325 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1327 _ASUNAME
1329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1330 for as_dir in $PATH
1332 IFS=$as_save_IFS
1333 test -z "$as_dir" && as_dir=.
1334 echo "PATH: $as_dir"
1335 done
1336 IFS=$as_save_IFS
1338 } >&5
1340 cat >&5 <<_ACEOF
1343 ## ----------- ##
1344 ## Core tests. ##
1345 ## ----------- ##
1347 _ACEOF
1350 # Keep a trace of the command line.
1351 # Strip out --no-create and --no-recursion so they do not pile up.
1352 # Strip out --silent because we don't want to record it for future runs.
1353 # Also quote any args containing shell meta-characters.
1354 # Make two passes to allow for proper duplicate-argument suppression.
1355 ac_configure_args=
1356 ac_configure_args0=
1357 ac_configure_args1=
1358 ac_must_keep_next=false
1359 for ac_pass in 1 2
1361 for ac_arg
1363 case $ac_arg in
1364 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1365 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1366 | -silent | --silent | --silen | --sile | --sil)
1367 continue ;;
1368 *\'*)
1369 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1370 esac
1371 case $ac_pass in
1372 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1374 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1375 if test $ac_must_keep_next = true; then
1376 ac_must_keep_next=false # Got value, back to normal.
1377 else
1378 case $ac_arg in
1379 *=* | --config-cache | -C | -disable-* | --disable-* \
1380 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1381 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1382 | -with-* | --with-* | -without-* | --without-* | --x)
1383 case "$ac_configure_args0 " in
1384 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1385 esac
1387 -* ) ac_must_keep_next=true ;;
1388 esac
1390 ac_configure_args="$ac_configure_args '$ac_arg'"
1392 esac
1393 done
1394 done
1395 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1396 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1398 # When interrupted or exit'd, cleanup temporary files, and complete
1399 # config.log. We remove comments because anyway the quotes in there
1400 # would cause problems or look ugly.
1401 # WARNING: Use '\'' to represent an apostrophe within the trap.
1402 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1403 trap 'exit_status=$?
1404 # Save into config.log some information that might help in debugging.
1406 echo
1408 cat <<\_ASBOX
1409 ## ---------------- ##
1410 ## Cache variables. ##
1411 ## ---------------- ##
1412 _ASBOX
1413 echo
1414 # The following way of writing the cache mishandles newlines in values,
1416 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1417 eval ac_val=\$$ac_var
1418 case $ac_val in #(
1419 *${as_nl}*)
1420 case $ac_var in #(
1421 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1422 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1423 esac
1424 case $ac_var in #(
1425 _ | IFS | as_nl) ;; #(
1426 *) $as_unset $ac_var ;;
1427 esac ;;
1428 esac
1429 done
1430 (set) 2>&1 |
1431 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1432 *${as_nl}ac_space=\ *)
1433 sed -n \
1434 "s/'\''/'\''\\\\'\'''\''/g;
1435 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1436 ;; #(
1438 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1440 esac |
1441 sort
1443 echo
1445 cat <<\_ASBOX
1446 ## ----------------- ##
1447 ## Output variables. ##
1448 ## ----------------- ##
1449 _ASBOX
1450 echo
1451 for ac_var in $ac_subst_vars
1453 eval ac_val=\$$ac_var
1454 case $ac_val in
1455 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1456 esac
1457 echo "$ac_var='\''$ac_val'\''"
1458 done | sort
1459 echo
1461 if test -n "$ac_subst_files"; then
1462 cat <<\_ASBOX
1463 ## ------------------- ##
1464 ## File substitutions. ##
1465 ## ------------------- ##
1466 _ASBOX
1467 echo
1468 for ac_var in $ac_subst_files
1470 eval ac_val=\$$ac_var
1471 case $ac_val in
1472 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1473 esac
1474 echo "$ac_var='\''$ac_val'\''"
1475 done | sort
1476 echo
1479 if test -s confdefs.h; then
1480 cat <<\_ASBOX
1481 ## ----------- ##
1482 ## confdefs.h. ##
1483 ## ----------- ##
1484 _ASBOX
1485 echo
1486 cat confdefs.h
1487 echo
1489 test "$ac_signal" != 0 &&
1490 echo "$as_me: caught signal $ac_signal"
1491 echo "$as_me: exit $exit_status"
1492 } >&5
1493 rm -f core *.core core.conftest.* &&
1494 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1495 exit $exit_status
1497 for ac_signal in 1 2 13 15; do
1498 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1499 done
1500 ac_signal=0
1502 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1503 rm -f -r conftest* confdefs.h
1505 # Predefined preprocessor variables.
1507 cat >>confdefs.h <<_ACEOF
1508 #define PACKAGE_NAME "$PACKAGE_NAME"
1509 _ACEOF
1512 cat >>confdefs.h <<_ACEOF
1513 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1514 _ACEOF
1517 cat >>confdefs.h <<_ACEOF
1518 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1519 _ACEOF
1522 cat >>confdefs.h <<_ACEOF
1523 #define PACKAGE_STRING "$PACKAGE_STRING"
1524 _ACEOF
1527 cat >>confdefs.h <<_ACEOF
1528 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1529 _ACEOF
1532 # Let the site file select an alternate cache file if it wants to.
1533 # Prefer explicitly selected file to automatically selected ones.
1534 if test -n "$CONFIG_SITE"; then
1535 set x "$CONFIG_SITE"
1536 elif test "x$prefix" != xNONE; then
1537 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1538 else
1539 set x "$ac_default_prefix/share/config.site" \
1540 "$ac_default_prefix/etc/config.site"
1542 shift
1543 for ac_site_file
1545 if test -r "$ac_site_file"; then
1546 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1547 echo "$as_me: loading site script $ac_site_file" >&6;}
1548 sed 's/^/| /' "$ac_site_file" >&5
1549 . "$ac_site_file"
1551 done
1553 if test -r "$cache_file"; then
1554 # Some versions of bash will fail to source /dev/null (special
1555 # files actually), so we avoid doing that.
1556 if test -f "$cache_file"; then
1557 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1558 echo "$as_me: loading cache $cache_file" >&6;}
1559 case $cache_file in
1560 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1561 *) . "./$cache_file";;
1562 esac
1564 else
1565 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1566 echo "$as_me: creating cache $cache_file" >&6;}
1567 >$cache_file
1570 # Check that the precious variables saved in the cache have kept the same
1571 # value.
1572 ac_cache_corrupted=false
1573 for ac_var in $ac_precious_vars; do
1574 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1575 eval ac_new_set=\$ac_env_${ac_var}_set
1576 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1577 eval ac_new_val=\$ac_env_${ac_var}_value
1578 case $ac_old_set,$ac_new_set in
1579 set,)
1580 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1581 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1582 ac_cache_corrupted=: ;;
1583 ,set)
1584 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1585 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1586 ac_cache_corrupted=: ;;
1587 ,);;
1589 if test "x$ac_old_val" != "x$ac_new_val"; then
1590 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1591 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1592 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1593 echo "$as_me: former value: $ac_old_val" >&2;}
1594 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1595 echo "$as_me: current value: $ac_new_val" >&2;}
1596 ac_cache_corrupted=:
1597 fi;;
1598 esac
1599 # Pass precious variables to config.status.
1600 if test "$ac_new_set" = set; then
1601 case $ac_new_val in
1602 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1603 *) ac_arg=$ac_var=$ac_new_val ;;
1604 esac
1605 case " $ac_configure_args " in
1606 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1607 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1608 esac
1610 done
1611 if $ac_cache_corrupted; then
1612 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1613 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1614 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1615 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1616 { (exit 1); exit 1; }; }
1643 ac_ext=c
1644 ac_cpp='$CPP $CPPFLAGS'
1645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1651 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1652 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1653 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1654 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1655 echo $ECHO_N "(cached) $ECHO_C" >&6
1656 else
1657 cat >conftest.make <<\_ACEOF
1658 SHELL = /bin/sh
1659 all:
1660 @echo '@@@%%%=$(MAKE)=@@@%%%'
1661 _ACEOF
1662 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1663 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1664 *@@@%%%=?*=@@@%%%*)
1665 eval ac_cv_prog_make_${ac_make}_set=yes;;
1667 eval ac_cv_prog_make_${ac_make}_set=no;;
1668 esac
1669 rm -f conftest.make
1671 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1672 { echo "$as_me:$LINENO: result: yes" >&5
1673 echo "${ECHO_T}yes" >&6; }
1674 SET_MAKE=
1675 else
1676 { echo "$as_me:$LINENO: result: no" >&5
1677 echo "${ECHO_T}no" >&6; }
1678 SET_MAKE="MAKE=${MAKE-make}"
1681 ac_aux_dir=
1682 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1683 if test -f "$ac_dir/install-sh"; then
1684 ac_aux_dir=$ac_dir
1685 ac_install_sh="$ac_aux_dir/install-sh -c"
1686 break
1687 elif test -f "$ac_dir/install.sh"; then
1688 ac_aux_dir=$ac_dir
1689 ac_install_sh="$ac_aux_dir/install.sh -c"
1690 break
1691 elif test -f "$ac_dir/shtool"; then
1692 ac_aux_dir=$ac_dir
1693 ac_install_sh="$ac_aux_dir/shtool install -c"
1694 break
1696 done
1697 if test -z "$ac_aux_dir"; then
1698 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1699 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1700 { (exit 1); exit 1; }; }
1703 # These three variables are undocumented and unsupported,
1704 # and are intended to be withdrawn in a future Autoconf release.
1705 # They can cause serious problems if a builder's source tree is in a directory
1706 # whose full name contains unusual characters.
1707 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1708 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1709 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1712 # Find a good install program. We prefer a C program (faster),
1713 # so one script is as good as another. But avoid the broken or
1714 # incompatible versions:
1715 # SysV /etc/install, /usr/sbin/install
1716 # SunOS /usr/etc/install
1717 # IRIX /sbin/install
1718 # AIX /bin/install
1719 # AmigaOS /C/install, which installs bootblocks on floppy discs
1720 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1721 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1722 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1723 # OS/2's system install, which has a completely different semantic
1724 # ./install, which can be erroneously created by make from ./install.sh.
1725 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1726 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1727 if test -z "$INSTALL"; then
1728 if test "${ac_cv_path_install+set}" = set; then
1729 echo $ECHO_N "(cached) $ECHO_C" >&6
1730 else
1731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1732 for as_dir in $PATH
1734 IFS=$as_save_IFS
1735 test -z "$as_dir" && as_dir=.
1736 # Account for people who put trailing slashes in PATH elements.
1737 case $as_dir/ in
1738 ./ | .// | /cC/* | \
1739 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1740 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1741 /usr/ucb/* ) ;;
1743 # OSF1 and SCO ODT 3.0 have their own names for install.
1744 # Don't use installbsd from OSF since it installs stuff as root
1745 # by default.
1746 for ac_prog in ginstall scoinst install; do
1747 for ac_exec_ext in '' $ac_executable_extensions; do
1748 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1749 if test $ac_prog = install &&
1750 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1751 # AIX install. It has an incompatible calling convention.
1753 elif test $ac_prog = install &&
1754 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1755 # program-specific install script used by HP pwplus--don't use.
1757 else
1758 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1759 break 3
1762 done
1763 done
1765 esac
1766 done
1767 IFS=$as_save_IFS
1771 if test "${ac_cv_path_install+set}" = set; then
1772 INSTALL=$ac_cv_path_install
1773 else
1774 # As a last resort, use the slow shell script. Don't cache a
1775 # value for INSTALL within a source directory, because that will
1776 # break other packages using the cache if that directory is
1777 # removed, or if the value is a relative name.
1778 INSTALL=$ac_install_sh
1781 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1782 echo "${ECHO_T}$INSTALL" >&6; }
1784 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1785 # It thinks the first close brace ends the variable substitution.
1786 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1788 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1790 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1792 # Make sure we can run config.sub.
1793 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1794 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1795 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1796 { (exit 1); exit 1; }; }
1798 { echo "$as_me:$LINENO: checking build system type" >&5
1799 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1800 if test "${ac_cv_build+set}" = set; then
1801 echo $ECHO_N "(cached) $ECHO_C" >&6
1802 else
1803 ac_build_alias=$build_alias
1804 test "x$ac_build_alias" = x &&
1805 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1806 test "x$ac_build_alias" = x &&
1807 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1808 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1809 { (exit 1); exit 1; }; }
1810 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1811 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1812 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1813 { (exit 1); exit 1; }; }
1816 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1817 echo "${ECHO_T}$ac_cv_build" >&6; }
1818 case $ac_cv_build in
1819 *-*-*) ;;
1820 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1821 echo "$as_me: error: invalid value of canonical build" >&2;}
1822 { (exit 1); exit 1; }; };;
1823 esac
1824 build=$ac_cv_build
1825 ac_save_IFS=$IFS; IFS='-'
1826 set x $ac_cv_build
1827 shift
1828 build_cpu=$1
1829 build_vendor=$2
1830 shift; shift
1831 # Remember, the first character of IFS is used to create $*,
1832 # except with old shells:
1833 build_os=$*
1834 IFS=$ac_save_IFS
1835 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1838 { echo "$as_me:$LINENO: checking host system type" >&5
1839 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1840 if test "${ac_cv_host+set}" = set; then
1841 echo $ECHO_N "(cached) $ECHO_C" >&6
1842 else
1843 if test "x$host_alias" = x; then
1844 ac_cv_host=$ac_cv_build
1845 else
1846 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1847 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1848 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1849 { (exit 1); exit 1; }; }
1853 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1854 echo "${ECHO_T}$ac_cv_host" >&6; }
1855 case $ac_cv_host in
1856 *-*-*) ;;
1857 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1858 echo "$as_me: error: invalid value of canonical host" >&2;}
1859 { (exit 1); exit 1; }; };;
1860 esac
1861 host=$ac_cv_host
1862 ac_save_IFS=$IFS; IFS='-'
1863 set x $ac_cv_host
1864 shift
1865 host_cpu=$1
1866 host_vendor=$2
1867 shift; shift
1868 # Remember, the first character of IFS is used to create $*,
1869 # except with old shells:
1870 host_os=$*
1871 IFS=$ac_save_IFS
1872 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1875 { echo "$as_me:$LINENO: checking target system type" >&5
1876 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1877 if test "${ac_cv_target+set}" = set; then
1878 echo $ECHO_N "(cached) $ECHO_C" >&6
1879 else
1880 if test "x$target_alias" = x; then
1881 ac_cv_target=$ac_cv_host
1882 else
1883 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1884 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1885 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1886 { (exit 1); exit 1; }; }
1890 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1891 echo "${ECHO_T}$ac_cv_target" >&6; }
1892 case $ac_cv_target in
1893 *-*-*) ;;
1894 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1895 echo "$as_me: error: invalid value of canonical target" >&2;}
1896 { (exit 1); exit 1; }; };;
1897 esac
1898 target=$ac_cv_target
1899 ac_save_IFS=$IFS; IFS='-'
1900 set x $ac_cv_target
1901 shift
1902 target_cpu=$1
1903 target_vendor=$2
1904 shift; shift
1905 # Remember, the first character of IFS is used to create $*,
1906 # except with old shells:
1907 target_os=$*
1908 IFS=$ac_save_IFS
1909 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1912 # The aliases save the names the user supplied, while $host etc.
1913 # will get canonicalized.
1914 test -n "$target_alias" &&
1915 test "$program_prefix$program_suffix$program_transform_name" = \
1916 NONENONEs,x,x, &&
1917 program_prefix=${target_alias}-
1919 version=$PACKAGE_VERSION
1921 case "$target_os" in
1923 apple)
1924 targos=apple
1925 case "$target_cpu" in
1926 m68k) targmach=m68k endian=big ;;
1927 esac
1930 darwin*)
1931 targos=darwin
1932 case "$target_cpu" in
1933 i?86) targmach=i386 ;;
1934 powerpc) targmach=powerpc endian=big ;;
1935 esac
1938 dragonfly*)
1939 targos=dragonfly
1940 case "$target_cpu" in
1941 i?86) targmach=i386 ;;
1942 esac
1945 freebsd*)
1946 targos=freebsd
1947 case "$target_cpu" in
1948 i386) targmach=i386 ;;
1949 esac
1952 linux*)
1953 targos=linux
1954 case "$target_cpu" in
1955 i?86) targmach=i386 ;;
1956 powerpc*) targmach=powerpc endian=big ;;
1957 x86_64) targmach=amd64 ;;
1958 esac
1961 midnightbsd*)
1962 targos=midnightbsd
1963 case "$target_cpu" in
1964 i?86) targmach=i386 ;;
1965 sparc64) targmach=sparc64 endian=big ;;
1966 esac
1969 minix)
1970 targos=minix
1971 case "$target_cpu" in
1972 m68k) targmach=m68k endian=big ;;
1973 esac
1976 mirbsd*)
1977 targos=mirbsd
1978 case "$target_cpu" in
1979 i?86) targmach=i386 ;;
1980 esac
1983 netbsd*)
1984 targos=netbsd
1985 case "$target_cpu" in
1986 armeb) targmach=arm endian=big ;;
1987 arm*) targmach=arm ;;
1988 i?86) targmach=i386 ;;
1989 m68k*) targmach=m68k endian=big ;;
1990 mipseb) targmach=mips endian=big ;;
1991 mips*) targmach=mips ;;
1992 pdp10) targmach=pdp10 ;;
1993 powerpc) targmach=powerpc endian=big ;;
1994 sparc64) targmach=sparc64 endian=big ;;
1995 vax) targmach=vax ;;
1996 esac
1999 openbsd*)
2000 targos=openbsd
2001 case "$target_cpu" in
2002 i?86) targmach=i386 ;;
2003 vax) targmach=vax ;;
2004 powerpc) targmach=powerpc endian=big ;;
2005 sparc64) targmach=sparc64 endian=big ;;
2006 esac
2009 sunos*|solaris*)
2010 targos=sunos
2011 case "$target_cpu" in
2012 i?86) targmach=i386 ;;
2013 sparc*) targmach=sparc64 endian=big ;;
2014 esac
2017 windows*|pe*)
2018 target_alias=i386-pe
2019 targos=win32
2020 targmach=i386
2024 targos="$target_os"
2025 case "$target_cpu" in
2026 m16c) targmach=m16c ;;
2027 nova) targmach=nova ;;
2028 esac
2030 esac
2032 if test "X$targos" = X -o "X$targmach" = X; then
2033 { { echo "$as_me:$LINENO: error: '$target' is not (yet) supported by pcc-libs." >&5
2034 echo "$as_me: error: '$target' is not (yet) supported by pcc-libs." >&2;}
2035 { (exit 1); exit 1; }; }
2038 if test "X$endian" = "Xbig"; then
2039 ENDIAN_FLAG=-D__BIG_ENDIAN__=1
2041 else
2042 ENDIAN_FLAG=-D__LITTLE_ENDIAN__=1
2046 if test -n "$ac_tool_prefix"; then
2047 for ac_prog in pcc gcc cc
2049 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2050 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2053 if test "${ac_cv_prog_CC+set}" = set; then
2054 echo $ECHO_N "(cached) $ECHO_C" >&6
2055 else
2056 if test -n "$CC"; then
2057 ac_cv_prog_CC="$CC" # Let the user override the test.
2058 else
2059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2060 for as_dir in $PATH
2062 IFS=$as_save_IFS
2063 test -z "$as_dir" && as_dir=.
2064 for ac_exec_ext in '' $ac_executable_extensions; do
2065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2066 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2068 break 2
2070 done
2071 done
2072 IFS=$as_save_IFS
2076 CC=$ac_cv_prog_CC
2077 if test -n "$CC"; then
2078 { echo "$as_me:$LINENO: result: $CC" >&5
2079 echo "${ECHO_T}$CC" >&6; }
2080 else
2081 { echo "$as_me:$LINENO: result: no" >&5
2082 echo "${ECHO_T}no" >&6; }
2086 test -n "$CC" && break
2087 done
2089 if test -z "$CC"; then
2090 ac_ct_CC=$CC
2091 for ac_prog in pcc gcc cc
2093 # Extract the first word of "$ac_prog", so it can be a program name with args.
2094 set dummy $ac_prog; ac_word=$2
2095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2097 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2098 echo $ECHO_N "(cached) $ECHO_C" >&6
2099 else
2100 if test -n "$ac_ct_CC"; then
2101 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2102 else
2103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2104 for as_dir in $PATH
2106 IFS=$as_save_IFS
2107 test -z "$as_dir" && as_dir=.
2108 for ac_exec_ext in '' $ac_executable_extensions; do
2109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2110 ac_cv_prog_ac_ct_CC="$ac_prog"
2111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2112 break 2
2114 done
2115 done
2116 IFS=$as_save_IFS
2120 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2121 if test -n "$ac_ct_CC"; then
2122 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2123 echo "${ECHO_T}$ac_ct_CC" >&6; }
2124 else
2125 { echo "$as_me:$LINENO: result: no" >&5
2126 echo "${ECHO_T}no" >&6; }
2130 test -n "$ac_ct_CC" && break
2131 done
2133 if test "x$ac_ct_CC" = x; then
2134 CC=""
2135 else
2136 case $cross_compiling:$ac_tool_warned in
2137 yes:)
2138 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2139 whose name does not start with the host triplet. If you think this
2140 configuration is useful to you, please write to autoconf@gnu.org." >&5
2141 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2142 whose name does not start with the host triplet. If you think this
2143 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2144 ac_tool_warned=yes ;;
2145 esac
2146 CC=$ac_ct_CC
2150 if test -n "$ac_tool_prefix"; then
2151 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2152 set dummy ${ac_tool_prefix}ar; ac_word=$2
2153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2155 if test "${ac_cv_prog_AR+set}" = set; then
2156 echo $ECHO_N "(cached) $ECHO_C" >&6
2157 else
2158 if test -n "$AR"; then
2159 ac_cv_prog_AR="$AR" # Let the user override the test.
2160 else
2161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2162 for as_dir in $PATH
2164 IFS=$as_save_IFS
2165 test -z "$as_dir" && as_dir=.
2166 for ac_exec_ext in '' $ac_executable_extensions; do
2167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2168 ac_cv_prog_AR="${ac_tool_prefix}ar"
2169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2170 break 2
2172 done
2173 done
2174 IFS=$as_save_IFS
2178 AR=$ac_cv_prog_AR
2179 if test -n "$AR"; then
2180 { echo "$as_me:$LINENO: result: $AR" >&5
2181 echo "${ECHO_T}$AR" >&6; }
2182 else
2183 { echo "$as_me:$LINENO: result: no" >&5
2184 echo "${ECHO_T}no" >&6; }
2189 if test -z "$ac_cv_prog_AR"; then
2190 ac_ct_AR=$AR
2191 # Extract the first word of "ar", so it can be a program name with args.
2192 set dummy ar; ac_word=$2
2193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2195 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2196 echo $ECHO_N "(cached) $ECHO_C" >&6
2197 else
2198 if test -n "$ac_ct_AR"; then
2199 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2200 else
2201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2202 for as_dir in $PATH
2204 IFS=$as_save_IFS
2205 test -z "$as_dir" && as_dir=.
2206 for ac_exec_ext in '' $ac_executable_extensions; do
2207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2208 ac_cv_prog_ac_ct_AR="ar"
2209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2210 break 2
2212 done
2213 done
2214 IFS=$as_save_IFS
2218 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2219 if test -n "$ac_ct_AR"; then
2220 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2221 echo "${ECHO_T}$ac_ct_AR" >&6; }
2222 else
2223 { echo "$as_me:$LINENO: result: no" >&5
2224 echo "${ECHO_T}no" >&6; }
2227 if test "x$ac_ct_AR" = x; then
2228 AR="ar"
2229 else
2230 case $cross_compiling:$ac_tool_warned in
2231 yes:)
2232 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2233 whose name does not start with the host triplet. If you think this
2234 configuration is useful to you, please write to autoconf@gnu.org." >&5
2235 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2236 whose name does not start with the host triplet. If you think this
2237 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2238 ac_tool_warned=yes ;;
2239 esac
2240 AR=$ac_ct_AR
2242 else
2243 AR="$ac_cv_prog_AR"
2246 if test -n "$ac_tool_prefix"; then
2247 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2248 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2251 if test "${ac_cv_prog_RANLIB+set}" = set; then
2252 echo $ECHO_N "(cached) $ECHO_C" >&6
2253 else
2254 if test -n "$RANLIB"; then
2255 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2256 else
2257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2258 for as_dir in $PATH
2260 IFS=$as_save_IFS
2261 test -z "$as_dir" && as_dir=.
2262 for ac_exec_ext in '' $ac_executable_extensions; do
2263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2264 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2266 break 2
2268 done
2269 done
2270 IFS=$as_save_IFS
2274 RANLIB=$ac_cv_prog_RANLIB
2275 if test -n "$RANLIB"; then
2276 { echo "$as_me:$LINENO: result: $RANLIB" >&5
2277 echo "${ECHO_T}$RANLIB" >&6; }
2278 else
2279 { echo "$as_me:$LINENO: result: no" >&5
2280 echo "${ECHO_T}no" >&6; }
2285 if test -z "$ac_cv_prog_RANLIB"; then
2286 ac_ct_RANLIB=$RANLIB
2287 # Extract the first word of "ranlib", so it can be a program name with args.
2288 set dummy ranlib; ac_word=$2
2289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2291 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2292 echo $ECHO_N "(cached) $ECHO_C" >&6
2293 else
2294 if test -n "$ac_ct_RANLIB"; then
2295 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2296 else
2297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2298 for as_dir in $PATH
2300 IFS=$as_save_IFS
2301 test -z "$as_dir" && as_dir=.
2302 for ac_exec_ext in '' $ac_executable_extensions; do
2303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2304 ac_cv_prog_ac_ct_RANLIB="ranlib"
2305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2306 break 2
2308 done
2309 done
2310 IFS=$as_save_IFS
2314 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2315 if test -n "$ac_ct_RANLIB"; then
2316 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2317 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2318 else
2319 { echo "$as_me:$LINENO: result: no" >&5
2320 echo "${ECHO_T}no" >&6; }
2323 if test "x$ac_ct_RANLIB" = x; then
2324 RANLIB=":"
2325 else
2326 case $cross_compiling:$ac_tool_warned in
2327 yes:)
2328 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2329 whose name does not start with the host triplet. If you think this
2330 configuration is useful to you, please write to autoconf@gnu.org." >&5
2331 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2332 whose name does not start with the host triplet. If you think this
2333 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2334 ac_tool_warned=yes ;;
2335 esac
2336 RANLIB=$ac_ct_RANLIB
2338 else
2339 RANLIB="$ac_cv_prog_RANLIB"
2352 ac_config_files="$ac_config_files Makefile csu/Makefile libsoftfloat/Makefile libpcc/Makefile"
2354 cat >confcache <<\_ACEOF
2355 # This file is a shell script that caches the results of configure
2356 # tests run on this system so they can be shared between configure
2357 # scripts and configure runs, see configure's option --config-cache.
2358 # It is not useful on other systems. If it contains results you don't
2359 # want to keep, you may remove or edit it.
2361 # config.status only pays attention to the cache file if you give it
2362 # the --recheck option to rerun configure.
2364 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2365 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2366 # following values.
2368 _ACEOF
2370 # The following way of writing the cache mishandles newlines in values,
2371 # but we know of no workaround that is simple, portable, and efficient.
2372 # So, we kill variables containing newlines.
2373 # Ultrix sh set writes to stderr and can't be redirected directly,
2374 # and sets the high bit in the cache file unless we assign to the vars.
2376 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2377 eval ac_val=\$$ac_var
2378 case $ac_val in #(
2379 *${as_nl}*)
2380 case $ac_var in #(
2381 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2382 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2383 esac
2384 case $ac_var in #(
2385 _ | IFS | as_nl) ;; #(
2386 *) $as_unset $ac_var ;;
2387 esac ;;
2388 esac
2389 done
2391 (set) 2>&1 |
2392 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2393 *${as_nl}ac_space=\ *)
2394 # `set' does not quote correctly, so add quotes (double-quote
2395 # substitution turns \\\\ into \\, and sed turns \\ into \).
2396 sed -n \
2397 "s/'/'\\\\''/g;
2398 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2399 ;; #(
2401 # `set' quotes correctly as required by POSIX, so do not add quotes.
2402 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2404 esac |
2405 sort
2407 sed '
2408 /^ac_cv_env_/b end
2409 t clear
2410 :clear
2411 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2412 t end
2413 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2414 :end' >>confcache
2415 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2416 if test -w "$cache_file"; then
2417 test "x$cache_file" != "x/dev/null" &&
2418 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2419 echo "$as_me: updating cache $cache_file" >&6;}
2420 cat confcache >$cache_file
2421 else
2422 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2423 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2426 rm -f confcache
2428 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2429 # Let make expand exec_prefix.
2430 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2432 # Transform confdefs.h into DEFS.
2433 # Protect against shell expansion while executing Makefile rules.
2434 # Protect against Makefile macro expansion.
2436 # If the first sed substitution is executed (which looks for macros that
2437 # take arguments), then branch to the quote section. Otherwise,
2438 # look for a macro that doesn't take arguments.
2439 ac_script='
2440 t clear
2441 :clear
2442 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2443 t quote
2444 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2445 t quote
2446 b any
2447 :quote
2448 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2449 s/\[/\\&/g
2450 s/\]/\\&/g
2451 s/\$/$$/g
2453 :any
2456 s/^\n//
2457 s/\n/ /g
2461 DEFS=`sed -n "$ac_script" confdefs.h`
2464 ac_libobjs=
2465 ac_ltlibobjs=
2466 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2467 # 1. Remove the extension, and $U if already installed.
2468 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2469 ac_i=`echo "$ac_i" | sed "$ac_script"`
2470 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2471 # will be set to the directory where LIBOBJS objects are built.
2472 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2473 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2474 done
2475 LIBOBJS=$ac_libobjs
2477 LTLIBOBJS=$ac_ltlibobjs
2481 : ${CONFIG_STATUS=./config.status}
2482 ac_clean_files_save=$ac_clean_files
2483 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2484 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2485 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2486 cat >$CONFIG_STATUS <<_ACEOF
2487 #! $SHELL
2488 # Generated by $as_me.
2489 # Run this file to recreate the current configuration.
2490 # Compiler output produced by configure, useful for debugging
2491 # configure, is in config.log if it exists.
2493 debug=false
2494 ac_cs_recheck=false
2495 ac_cs_silent=false
2496 SHELL=\${CONFIG_SHELL-$SHELL}
2497 _ACEOF
2499 cat >>$CONFIG_STATUS <<\_ACEOF
2500 ## --------------------- ##
2501 ## M4sh Initialization. ##
2502 ## --------------------- ##
2504 # Be more Bourne compatible
2505 DUALCASE=1; export DUALCASE # for MKS sh
2506 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2507 emulate sh
2508 NULLCMD=:
2509 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2510 # is contrary to our usage. Disable this feature.
2511 alias -g '${1+"$@"}'='"$@"'
2512 setopt NO_GLOB_SUBST
2513 else
2514 case `(set -o) 2>/dev/null` in
2515 *posix*) set -o posix ;;
2516 esac
2523 # PATH needs CR
2524 # Avoid depending upon Character Ranges.
2525 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2526 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2527 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2528 as_cr_digits='0123456789'
2529 as_cr_alnum=$as_cr_Letters$as_cr_digits
2531 # The user is always right.
2532 if test "${PATH_SEPARATOR+set}" != set; then
2533 echo "#! /bin/sh" >conf$$.sh
2534 echo "exit 0" >>conf$$.sh
2535 chmod +x conf$$.sh
2536 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2537 PATH_SEPARATOR=';'
2538 else
2539 PATH_SEPARATOR=:
2541 rm -f conf$$.sh
2544 # Support unset when possible.
2545 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2546 as_unset=unset
2547 else
2548 as_unset=false
2552 # IFS
2553 # We need space, tab and new line, in precisely that order. Quoting is
2554 # there to prevent editors from complaining about space-tab.
2555 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2556 # splitting by setting IFS to empty value.)
2557 as_nl='
2559 IFS=" "" $as_nl"
2561 # Find who we are. Look in the path if we contain no directory separator.
2562 case $0 in
2563 *[\\/]* ) as_myself=$0 ;;
2564 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2565 for as_dir in $PATH
2567 IFS=$as_save_IFS
2568 test -z "$as_dir" && as_dir=.
2569 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2570 done
2571 IFS=$as_save_IFS
2574 esac
2575 # We did not find ourselves, most probably we were run as `sh COMMAND'
2576 # in which case we are not to be found in the path.
2577 if test "x$as_myself" = x; then
2578 as_myself=$0
2580 if test ! -f "$as_myself"; then
2581 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2582 { (exit 1); exit 1; }
2585 # Work around bugs in pre-3.0 UWIN ksh.
2586 for as_var in ENV MAIL MAILPATH
2587 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2588 done
2589 PS1='$ '
2590 PS2='> '
2591 PS4='+ '
2593 # NLS nuisances.
2594 for as_var in \
2595 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2596 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2597 LC_TELEPHONE LC_TIME
2599 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2600 eval $as_var=C; export $as_var
2601 else
2602 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2604 done
2606 # Required to use basename.
2607 if expr a : '\(a\)' >/dev/null 2>&1 &&
2608 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2609 as_expr=expr
2610 else
2611 as_expr=false
2614 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2615 as_basename=basename
2616 else
2617 as_basename=false
2621 # Name of the executable.
2622 as_me=`$as_basename -- "$0" ||
2623 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2624 X"$0" : 'X\(//\)$' \| \
2625 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2626 echo X/"$0" |
2627 sed '/^.*\/\([^/][^/]*\)\/*$/{
2628 s//\1/
2631 /^X\/\(\/\/\)$/{
2632 s//\1/
2635 /^X\/\(\/\).*/{
2636 s//\1/
2639 s/.*/./; q'`
2641 # CDPATH.
2642 $as_unset CDPATH
2646 as_lineno_1=$LINENO
2647 as_lineno_2=$LINENO
2648 test "x$as_lineno_1" != "x$as_lineno_2" &&
2649 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2651 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2652 # uniformly replaced by the line number. The first 'sed' inserts a
2653 # line-number line after each line using $LINENO; the second 'sed'
2654 # does the real work. The second script uses 'N' to pair each
2655 # line-number line with the line containing $LINENO, and appends
2656 # trailing '-' during substitution so that $LINENO is not a special
2657 # case at line end.
2658 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2659 # scripts with optimization help from Paolo Bonzini. Blame Lee
2660 # E. McMahon (1931-1989) for sed's syntax. :-)
2661 sed -n '
2663 /[$]LINENO/=
2664 ' <$as_myself |
2665 sed '
2666 s/[$]LINENO.*/&-/
2667 t lineno
2669 :lineno
2671 :loop
2672 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2673 t loop
2674 s/-\n.*//
2675 ' >$as_me.lineno &&
2676 chmod +x "$as_me.lineno" ||
2677 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2678 { (exit 1); exit 1; }; }
2680 # Don't try to exec as it changes $[0], causing all sort of problems
2681 # (the dirname of $[0] is not the place where we might find the
2682 # original and so on. Autoconf is especially sensitive to this).
2683 . "./$as_me.lineno"
2684 # Exit status is that of the last command.
2685 exit
2689 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2690 as_dirname=dirname
2691 else
2692 as_dirname=false
2695 ECHO_C= ECHO_N= ECHO_T=
2696 case `echo -n x` in
2697 -n*)
2698 case `echo 'x\c'` in
2699 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2700 *) ECHO_C='\c';;
2701 esac;;
2703 ECHO_N='-n';;
2704 esac
2706 if expr a : '\(a\)' >/dev/null 2>&1 &&
2707 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2708 as_expr=expr
2709 else
2710 as_expr=false
2713 rm -f conf$$ conf$$.exe conf$$.file
2714 if test -d conf$$.dir; then
2715 rm -f conf$$.dir/conf$$.file
2716 else
2717 rm -f conf$$.dir
2718 mkdir conf$$.dir
2720 echo >conf$$.file
2721 if ln -s conf$$.file conf$$ 2>/dev/null; then
2722 as_ln_s='ln -s'
2723 # ... but there are two gotchas:
2724 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2725 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2726 # In both cases, we have to default to `cp -p'.
2727 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2728 as_ln_s='cp -p'
2729 elif ln conf$$.file conf$$ 2>/dev/null; then
2730 as_ln_s=ln
2731 else
2732 as_ln_s='cp -p'
2734 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2735 rmdir conf$$.dir 2>/dev/null
2737 if mkdir -p . 2>/dev/null; then
2738 as_mkdir_p=:
2739 else
2740 test -d ./-p && rmdir ./-p
2741 as_mkdir_p=false
2744 if test -x / >/dev/null 2>&1; then
2745 as_test_x='test -x'
2746 else
2747 if ls -dL / >/dev/null 2>&1; then
2748 as_ls_L_option=L
2749 else
2750 as_ls_L_option=
2752 as_test_x='
2753 eval sh -c '\''
2754 if test -d "$1"; then
2755 test -d "$1/.";
2756 else
2757 case $1 in
2758 -*)set "./$1";;
2759 esac;
2760 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2761 ???[sx]*):;;*)false;;esac;fi
2762 '\'' sh
2765 as_executable_p=$as_test_x
2767 # Sed expression to map a string onto a valid CPP name.
2768 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2770 # Sed expression to map a string onto a valid variable name.
2771 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2774 exec 6>&1
2776 # Save the log message, to keep $[0] and so on meaningful, and to
2777 # report actual input values of CONFIG_FILES etc. instead of their
2778 # values after options handling.
2779 ac_log="
2780 This file was extended by pcc-libs $as_me 0.9.9, which was
2781 generated by GNU Autoconf 2.61. Invocation command line was
2783 CONFIG_FILES = $CONFIG_FILES
2784 CONFIG_HEADERS = $CONFIG_HEADERS
2785 CONFIG_LINKS = $CONFIG_LINKS
2786 CONFIG_COMMANDS = $CONFIG_COMMANDS
2787 $ $0 $@
2789 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2792 _ACEOF
2794 cat >>$CONFIG_STATUS <<_ACEOF
2795 # Files that config.status was made for.
2796 config_files="$ac_config_files"
2798 _ACEOF
2800 cat >>$CONFIG_STATUS <<\_ACEOF
2801 ac_cs_usage="\
2802 \`$as_me' instantiates files from templates according to the
2803 current configuration.
2805 Usage: $0 [OPTIONS] [FILE]...
2807 -h, --help print this help, then exit
2808 -V, --version print version number and configuration settings, then exit
2809 -q, --quiet do not print progress messages
2810 -d, --debug don't remove temporary files
2811 --recheck update $as_me by reconfiguring in the same conditions
2812 --file=FILE[:TEMPLATE]
2813 instantiate the configuration file FILE
2815 Configuration files:
2816 $config_files
2818 Report bugs to <bug-autoconf@gnu.org>."
2820 _ACEOF
2821 cat >>$CONFIG_STATUS <<_ACEOF
2822 ac_cs_version="\\
2823 pcc-libs config.status 0.9.9
2824 configured by $0, generated by GNU Autoconf 2.61,
2825 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2827 Copyright (C) 2006 Free Software Foundation, Inc.
2828 This config.status script is free software; the Free Software Foundation
2829 gives unlimited permission to copy, distribute and modify it."
2831 ac_pwd='$ac_pwd'
2832 srcdir='$srcdir'
2833 INSTALL='$INSTALL'
2834 _ACEOF
2836 cat >>$CONFIG_STATUS <<\_ACEOF
2837 # If no file are specified by the user, then we need to provide default
2838 # value. By we need to know if files were specified by the user.
2839 ac_need_defaults=:
2840 while test $# != 0
2842 case $1 in
2843 --*=*)
2844 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2845 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2846 ac_shift=:
2849 ac_option=$1
2850 ac_optarg=$2
2851 ac_shift=shift
2853 esac
2855 case $ac_option in
2856 # Handling of the options.
2857 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2858 ac_cs_recheck=: ;;
2859 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2860 echo "$ac_cs_version"; exit ;;
2861 --debug | --debu | --deb | --de | --d | -d )
2862 debug=: ;;
2863 --file | --fil | --fi | --f )
2864 $ac_shift
2865 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2866 ac_need_defaults=false;;
2867 --he | --h | --help | --hel | -h )
2868 echo "$ac_cs_usage"; exit ;;
2869 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2870 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2871 ac_cs_silent=: ;;
2873 # This is an error.
2874 -*) { echo "$as_me: error: unrecognized option: $1
2875 Try \`$0 --help' for more information." >&2
2876 { (exit 1); exit 1; }; } ;;
2878 *) ac_config_targets="$ac_config_targets $1"
2879 ac_need_defaults=false ;;
2881 esac
2882 shift
2883 done
2885 ac_configure_extra_args=
2887 if $ac_cs_silent; then
2888 exec 6>/dev/null
2889 ac_configure_extra_args="$ac_configure_extra_args --silent"
2892 _ACEOF
2893 cat >>$CONFIG_STATUS <<_ACEOF
2894 if \$ac_cs_recheck; then
2895 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2896 CONFIG_SHELL=$SHELL
2897 export CONFIG_SHELL
2898 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2901 _ACEOF
2902 cat >>$CONFIG_STATUS <<\_ACEOF
2903 exec 5>>config.log
2905 echo
2906 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2907 ## Running $as_me. ##
2908 _ASBOX
2909 echo "$ac_log"
2910 } >&5
2912 _ACEOF
2913 cat >>$CONFIG_STATUS <<_ACEOF
2914 _ACEOF
2916 cat >>$CONFIG_STATUS <<\_ACEOF
2918 # Handling of arguments.
2919 for ac_config_target in $ac_config_targets
2921 case $ac_config_target in
2922 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2923 "csu/Makefile") CONFIG_FILES="$CONFIG_FILES csu/Makefile" ;;
2924 "libsoftfloat/Makefile") CONFIG_FILES="$CONFIG_FILES libsoftfloat/Makefile" ;;
2925 "libpcc/Makefile") CONFIG_FILES="$CONFIG_FILES libpcc/Makefile" ;;
2927 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2928 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2929 { (exit 1); exit 1; }; };;
2930 esac
2931 done
2934 # If the user did not use the arguments to specify the items to instantiate,
2935 # then the envvar interface is used. Set only those that are not.
2936 # We use the long form for the default assignment because of an extremely
2937 # bizarre bug on SunOS 4.1.3.
2938 if $ac_need_defaults; then
2939 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2942 # Have a temporary directory for convenience. Make it in the build tree
2943 # simply because there is no reason against having it here, and in addition,
2944 # creating and moving files from /tmp can sometimes cause problems.
2945 # Hook for its removal unless debugging.
2946 # Note that there is a small window in which the directory will not be cleaned:
2947 # after its creation but before its name has been assigned to `$tmp'.
2948 $debug ||
2950 tmp=
2951 trap 'exit_status=$?
2952 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2954 trap '{ (exit 1); exit 1; }' 1 2 13 15
2956 # Create a (secure) tmp directory for tmp files.
2959 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2960 test -n "$tmp" && test -d "$tmp"
2961 } ||
2963 tmp=./conf$$-$RANDOM
2964 (umask 077 && mkdir "$tmp")
2965 } ||
2967 echo "$me: cannot create a temporary directory in ." >&2
2968 { (exit 1); exit 1; }
2972 # Set up the sed scripts for CONFIG_FILES section.
2975 # No need to generate the scripts if there are no CONFIG_FILES.
2976 # This happens for instance when ./config.status config.h
2977 if test -n "$CONFIG_FILES"; then
2979 _ACEOF
2983 ac_delim='%!_!# '
2984 for ac_last_try in false false false false false :; do
2985 cat >conf$$subs.sed <<_ACEOF
2986 SHELL!$SHELL$ac_delim
2987 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2988 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2989 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2990 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2991 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2992 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2993 exec_prefix!$exec_prefix$ac_delim
2994 prefix!$prefix$ac_delim
2995 program_transform_name!$program_transform_name$ac_delim
2996 bindir!$bindir$ac_delim
2997 sbindir!$sbindir$ac_delim
2998 libexecdir!$libexecdir$ac_delim
2999 datarootdir!$datarootdir$ac_delim
3000 datadir!$datadir$ac_delim
3001 sysconfdir!$sysconfdir$ac_delim
3002 sharedstatedir!$sharedstatedir$ac_delim
3003 localstatedir!$localstatedir$ac_delim
3004 includedir!$includedir$ac_delim
3005 oldincludedir!$oldincludedir$ac_delim
3006 docdir!$docdir$ac_delim
3007 infodir!$infodir$ac_delim
3008 htmldir!$htmldir$ac_delim
3009 dvidir!$dvidir$ac_delim
3010 pdfdir!$pdfdir$ac_delim
3011 psdir!$psdir$ac_delim
3012 libdir!$libdir$ac_delim
3013 localedir!$localedir$ac_delim
3014 mandir!$mandir$ac_delim
3015 DEFS!$DEFS$ac_delim
3016 ECHO_C!$ECHO_C$ac_delim
3017 ECHO_N!$ECHO_N$ac_delim
3018 ECHO_T!$ECHO_T$ac_delim
3019 LIBS!$LIBS$ac_delim
3020 build_alias!$build_alias$ac_delim
3021 host_alias!$host_alias$ac_delim
3022 target_alias!$target_alias$ac_delim
3023 SET_MAKE!$SET_MAKE$ac_delim
3024 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3025 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3026 INSTALL_DATA!$INSTALL_DATA$ac_delim
3027 build!$build$ac_delim
3028 build_cpu!$build_cpu$ac_delim
3029 build_vendor!$build_vendor$ac_delim
3030 build_os!$build_os$ac_delim
3031 host!$host$ac_delim
3032 host_cpu!$host_cpu$ac_delim
3033 host_vendor!$host_vendor$ac_delim
3034 host_os!$host_os$ac_delim
3035 target!$target$ac_delim
3036 target_cpu!$target_cpu$ac_delim
3037 target_vendor!$target_vendor$ac_delim
3038 target_os!$target_os$ac_delim
3039 ENDIAN_FLAG!$ENDIAN_FLAG$ac_delim
3040 CC!$CC$ac_delim
3041 ac_ct_CC!$ac_ct_CC$ac_delim
3042 AR!$AR$ac_delim
3043 RANLIB!$RANLIB$ac_delim
3044 targos!$targos$ac_delim
3045 targmach!$targmach$ac_delim
3046 version!$version$ac_delim
3047 CPPFLAGS!$CPPFLAGS$ac_delim
3048 CFLAGS!$CFLAGS$ac_delim
3049 LIBOBJS!$LIBOBJS$ac_delim
3050 LTLIBOBJS!$LTLIBOBJS$ac_delim
3051 _ACEOF
3053 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 65; then
3054 break
3055 elif $ac_last_try; then
3056 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3057 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3058 { (exit 1); exit 1; }; }
3059 else
3060 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3062 done
3064 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3065 if test -n "$ac_eof"; then
3066 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3067 ac_eof=`expr $ac_eof + 1`
3070 cat >>$CONFIG_STATUS <<_ACEOF
3071 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3072 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3073 _ACEOF
3074 sed '
3075 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3076 s/^/s,@/; s/!/@,|#_!!_#|/
3079 s/'"$ac_delim"'$/,g/; t
3080 s/$/\\/; p
3081 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3082 ' >>$CONFIG_STATUS <conf$$subs.sed
3083 rm -f conf$$subs.sed
3084 cat >>$CONFIG_STATUS <<_ACEOF
3085 :end
3086 s/|#_!!_#|//g
3087 CEOF$ac_eof
3088 _ACEOF
3091 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3092 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3093 # trailing colons and then remove the whole line if VPATH becomes empty
3094 # (actually we leave an empty line to preserve line numbers).
3095 if test "x$srcdir" = x.; then
3096 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3097 s/:*\$(srcdir):*/:/
3098 s/:*\${srcdir}:*/:/
3099 s/:*@srcdir@:*/:/
3100 s/^\([^=]*=[ ]*\):*/\1/
3101 s/:*$//
3102 s/^[^=]*=[ ]*$//
3106 cat >>$CONFIG_STATUS <<\_ACEOF
3107 fi # test -n "$CONFIG_FILES"
3110 for ac_tag in :F $CONFIG_FILES
3112 case $ac_tag in
3113 :[FHLC]) ac_mode=$ac_tag; continue;;
3114 esac
3115 case $ac_mode$ac_tag in
3116 :[FHL]*:*);;
3117 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3118 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3119 { (exit 1); exit 1; }; };;
3120 :[FH]-) ac_tag=-:-;;
3121 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3122 esac
3123 ac_save_IFS=$IFS
3124 IFS=:
3125 set x $ac_tag
3126 IFS=$ac_save_IFS
3127 shift
3128 ac_file=$1
3129 shift
3131 case $ac_mode in
3132 :L) ac_source=$1;;
3133 :[FH])
3134 ac_file_inputs=
3135 for ac_f
3137 case $ac_f in
3138 -) ac_f="$tmp/stdin";;
3139 *) # Look for the file first in the build tree, then in the source tree
3140 # (if the path is not absolute). The absolute path cannot be DOS-style,
3141 # because $ac_f cannot contain `:'.
3142 test -f "$ac_f" ||
3143 case $ac_f in
3144 [\\/$]*) false;;
3145 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3146 esac ||
3147 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3148 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3149 { (exit 1); exit 1; }; };;
3150 esac
3151 ac_file_inputs="$ac_file_inputs $ac_f"
3152 done
3154 # Let's still pretend it is `configure' which instantiates (i.e., don't
3155 # use $as_me), people would be surprised to read:
3156 # /* config.h. Generated by config.status. */
3157 configure_input="Generated from "`IFS=:
3158 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3159 if test x"$ac_file" != x-; then
3160 configure_input="$ac_file. $configure_input"
3161 { echo "$as_me:$LINENO: creating $ac_file" >&5
3162 echo "$as_me: creating $ac_file" >&6;}
3165 case $ac_tag in
3166 *:-:* | *:-) cat >"$tmp/stdin";;
3167 esac
3169 esac
3171 ac_dir=`$as_dirname -- "$ac_file" ||
3172 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3173 X"$ac_file" : 'X\(//\)[^/]' \| \
3174 X"$ac_file" : 'X\(//\)$' \| \
3175 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3176 echo X"$ac_file" |
3177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3178 s//\1/
3181 /^X\(\/\/\)[^/].*/{
3182 s//\1/
3185 /^X\(\/\/\)$/{
3186 s//\1/
3189 /^X\(\/\).*/{
3190 s//\1/
3193 s/.*/./; q'`
3194 { as_dir="$ac_dir"
3195 case $as_dir in #(
3196 -*) as_dir=./$as_dir;;
3197 esac
3198 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3199 as_dirs=
3200 while :; do
3201 case $as_dir in #(
3202 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3203 *) as_qdir=$as_dir;;
3204 esac
3205 as_dirs="'$as_qdir' $as_dirs"
3206 as_dir=`$as_dirname -- "$as_dir" ||
3207 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3208 X"$as_dir" : 'X\(//\)[^/]' \| \
3209 X"$as_dir" : 'X\(//\)$' \| \
3210 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3211 echo X"$as_dir" |
3212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3213 s//\1/
3216 /^X\(\/\/\)[^/].*/{
3217 s//\1/
3220 /^X\(\/\/\)$/{
3221 s//\1/
3224 /^X\(\/\).*/{
3225 s//\1/
3228 s/.*/./; q'`
3229 test -d "$as_dir" && break
3230 done
3231 test -z "$as_dirs" || eval "mkdir $as_dirs"
3232 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3233 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3234 { (exit 1); exit 1; }; }; }
3235 ac_builddir=.
3237 case "$ac_dir" in
3238 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3240 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3241 # A ".." for each directory in $ac_dir_suffix.
3242 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3243 case $ac_top_builddir_sub in
3244 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3245 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3246 esac ;;
3247 esac
3248 ac_abs_top_builddir=$ac_pwd
3249 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3250 # for backward compatibility:
3251 ac_top_builddir=$ac_top_build_prefix
3253 case $srcdir in
3254 .) # We are building in place.
3255 ac_srcdir=.
3256 ac_top_srcdir=$ac_top_builddir_sub
3257 ac_abs_top_srcdir=$ac_pwd ;;
3258 [\\/]* | ?:[\\/]* ) # Absolute name.
3259 ac_srcdir=$srcdir$ac_dir_suffix;
3260 ac_top_srcdir=$srcdir
3261 ac_abs_top_srcdir=$srcdir ;;
3262 *) # Relative name.
3263 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3264 ac_top_srcdir=$ac_top_build_prefix$srcdir
3265 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3266 esac
3267 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3270 case $ac_mode in
3273 # CONFIG_FILE
3276 case $INSTALL in
3277 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3278 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3279 esac
3280 _ACEOF
3282 cat >>$CONFIG_STATUS <<\_ACEOF
3283 # If the template does not know about datarootdir, expand it.
3284 # FIXME: This hack should be removed a few years after 2.60.
3285 ac_datarootdir_hack=; ac_datarootdir_seen=
3287 case `sed -n '/datarootdir/ {
3291 /@datadir@/p
3292 /@docdir@/p
3293 /@infodir@/p
3294 /@localedir@/p
3295 /@mandir@/p
3296 ' $ac_file_inputs` in
3297 *datarootdir*) ac_datarootdir_seen=yes;;
3298 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3299 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3300 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3301 _ACEOF
3302 cat >>$CONFIG_STATUS <<_ACEOF
3303 ac_datarootdir_hack='
3304 s&@datadir@&$datadir&g
3305 s&@docdir@&$docdir&g
3306 s&@infodir@&$infodir&g
3307 s&@localedir@&$localedir&g
3308 s&@mandir@&$mandir&g
3309 s&\\\${datarootdir}&$datarootdir&g' ;;
3310 esac
3311 _ACEOF
3313 # Neutralize VPATH when `$srcdir' = `.'.
3314 # Shell code in configure.ac might set extrasub.
3315 # FIXME: do we really want to maintain this feature?
3316 cat >>$CONFIG_STATUS <<_ACEOF
3317 sed "$ac_vpsub
3318 $extrasub
3319 _ACEOF
3320 cat >>$CONFIG_STATUS <<\_ACEOF
3322 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3323 s&@configure_input@&$configure_input&;t t
3324 s&@top_builddir@&$ac_top_builddir_sub&;t t
3325 s&@srcdir@&$ac_srcdir&;t t
3326 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3327 s&@top_srcdir@&$ac_top_srcdir&;t t
3328 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3329 s&@builddir@&$ac_builddir&;t t
3330 s&@abs_builddir@&$ac_abs_builddir&;t t
3331 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3332 s&@INSTALL@&$ac_INSTALL&;t t
3333 $ac_datarootdir_hack
3334 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3336 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3337 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3338 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3339 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3340 which seems to be undefined. Please make sure it is defined." >&5
3341 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3342 which seems to be undefined. Please make sure it is defined." >&2;}
3344 rm -f "$tmp/stdin"
3345 case $ac_file in
3346 -) cat "$tmp/out"; rm -f "$tmp/out";;
3347 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3348 esac
3353 esac
3355 done # for ac_tag
3358 { (exit 0); exit 0; }
3359 _ACEOF
3360 chmod +x $CONFIG_STATUS
3361 ac_clean_files=$ac_clean_files_save
3364 # configure is writing to config.log, and then calls config.status.
3365 # config.status does its own redirection, appending to config.log.
3366 # Unfortunately, on DOS this fails, as config.log is still kept open
3367 # by configure, so config.status won't be able to write to it; its
3368 # output is simply discarded. So we exec the FD to /dev/null,
3369 # effectively closing config.log, so it can be properly (re)opened and
3370 # appended to by config.status. When coming back to configure, we
3371 # need to make the FD available again.
3372 if test "$no_create" != yes; then
3373 ac_cs_success=:
3374 ac_config_status_args=
3375 test "$silent" = yes &&
3376 ac_config_status_args="$ac_config_status_args --quiet"
3377 exec 5>/dev/null
3378 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3379 exec 5>>config.log
3380 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3381 # would make configure fail if this is the last instruction.
3382 $ac_cs_success || { (exit 1); exit 1; }