2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
22 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24 BIN_SH=xpg4; export BIN_SH # for Tru64
25 DUALCASE=1; export DUALCASE # for MKS sh
29 # Avoid depending upon Character Ranges.
30 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33 as_cr_digits='0123456789'
34 as_cr_alnum=$as_cr_Letters$as_cr_digits
36 # The user is always right.
37 if test "${PATH_SEPARATOR+set}" != set; then
38 echo "#! /bin/sh" >conf$$.sh
39 echo "exit 0" >>conf$$.sh
41 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 # Support unset when possible.
50 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 # We need space, tab and new line, in precisely that order. Quoting is
59 # there to prevent editors from complaining about space-tab.
60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
61 # splitting by setting IFS to empty value.)
66 # Find who we are. Look in the path if we contain no directory separator.
68 *[\\/]* ) as_myself=$0 ;;
69 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73 test -z "$as_dir" && as_dir=.
74 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80 # We did not find ourselves, most probably we were run as `sh COMMAND'
81 # in which case we are not to be found in the path.
82 if test "x$as_myself" = x; then
85 if test ! -f "$as_myself"; then
86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 # Work around bugs in pre-3.0 UWIN ksh.
91 for as_var in ENV MAIL MAILPATH
92 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105 eval $as_var=C; export $as_var
107 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 # Required to use basename.
112 if expr a : '\(a\)' >/dev/null 2>&1 &&
113 test "X`expr 00001 : '.*\(...\)'`" = X001; then
119 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 # Name of the executable.
127 as_me=`$as_basename -- "$0" ||
128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129 X"$0" : 'X\(//\)$' \| \
130 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
132 sed '/^.*\/\([^/][^/]*\)\/*$/{
150 if test "x$CONFIG_SHELL" = x; then
151 if (eval ":") 2>/dev/null; then
157 if test $as_have_required = yes && (eval ":
167 as_func_ret_success () {
170 as_func_ret_failure () {
175 if as_func_success; then
179 echo as_func_success failed.
182 if as_func_failure; then
184 echo as_func_failure succeeded.
187 if as_func_ret_success; then
191 echo as_func_ret_success failed.
194 if as_func_ret_failure; then
196 echo as_func_ret_failure succeeded.
199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 echo positional parameters were not saved.
206 test \$exitcode = 0) || { (exit 1); exit 1; }
211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213 ") 2> /dev/null; then
217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir=.
224 for as_base in sh bash ksh sh5; do
225 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 for as_shell in $as_candidate_shells $SHELL; do
233 # Try only shells that exist, to save several forks.
234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235 { ("$as_shell") 2> /dev/null <<\_ASEOF
236 # Be Bourne compatible
237 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241 # is contrary to our usage. Disable this feature.
242 alias -g '${1+"$@"}'='"$@"'
245 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
247 BIN_SH=xpg4; export BIN_SH # for Tru64
248 DUALCASE=1; export DUALCASE # for MKS sh
253 CONFIG_SHELL=$as_shell
255 if { "$as_shell" 2> /dev/null <<\_ASEOF
256 # Be Bourne compatible
257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261 # is contrary to our usage. Disable this feature.
262 alias -g '${1+"$@"}'='"$@"'
265 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
267 BIN_SH=xpg4; export BIN_SH # for Tru64
268 DUALCASE=1; export DUALCASE # for MKS sh
280 as_func_ret_success () {
283 as_func_ret_failure () {
288 if as_func_success; then
292 echo as_func_success failed.
295 if as_func_failure; then
297 echo as_func_failure succeeded.
300 if as_func_ret_success; then
304 echo as_func_ret_success failed.
307 if as_func_ret_failure; then
309 echo as_func_ret_failure succeeded.
312 if ( set x; as_func_ret_success y && test x = "$1" ); then
316 echo positional parameters were not saved.
319 test $exitcode = 0) || { (exit 1); exit 1; }
324 test "x$as_lineno_1" != "x$as_lineno_2" &&
325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
336 if test "x$CONFIG_SHELL" != x; then
337 for as_var in BASH_ENV ENV
338 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345 if test $as_have_required = no; then
346 echo This script requires a shell more modern than all the
347 echo shells that I found on your system. Please install a
348 echo modern shell, or manually run the script under such a
349 echo shell if you do have one.
350 { (exit 1); exit 1; }
360 (eval "as_func_return () {
369 as_func_ret_success () {
372 as_func_ret_failure () {
377 if as_func_success; then
381 echo as_func_success failed.
384 if as_func_failure; then
386 echo as_func_failure succeeded.
389 if as_func_ret_success; then
393 echo as_func_ret_success failed.
396 if as_func_ret_failure; then
398 echo as_func_ret_failure succeeded.
401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 echo positional parameters were not saved.
408 test \$exitcode = 0") || {
409 echo No shell found that supports shell functions.
410 echo Please tell autoconf@gnu.org about your system,
411 echo including any error possibly output before this
419 test "x$as_lineno_1" != "x$as_lineno_2" &&
420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423 # uniformly replaced by the line number. The first 'sed' inserts a
424 # line-number line after each line using $LINENO; the second 'sed'
425 # does the real work. The second script uses 'N' to pair each
426 # line-number line with the line containing $LINENO, and appends
427 # trailing '-' during substitution so that $LINENO is not a special
429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
430 # scripts with optimization help from Paolo Bonzini. Blame Lee
431 # E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x "$as_me.lineno" ||
448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449 { (exit 1); exit 1; }; }
451 # Don't try to exec as it changes $[0], causing all sort of problems
452 # (the dirname of $[0] is not the place where we might find the
453 # original and so on. Autoconf is especially sensitive to this).
455 # Exit status is that of the last command.
460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
466 ECHO_C= ECHO_N= ECHO_T=
470 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 if expr a : '\(a\)' >/dev/null 2>&1 &&
478 test "X`expr 00001 : '.*\(...\)'`" = X001; then
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
508 if mkdir -p . 2>/dev/null; then
511 test -d ./-p && rmdir ./-p
515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
516 # systems may use methods other than mode bits to determine executability.
517 cat >conf$$.file <<_ASEOF
522 if test -x conf$$.file >/dev/null 2>&1; then
523 as_executable_p="test -x"
529 # Sed expression to map a string onto a valid CPP name.
530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532 # Sed expression to map a string onto a valid variable name.
533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 exec 7<&0 </dev/null 6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix=/usr/local
549 ac_config_libobj_dir=.
555 SHELL=${CONFIG_SHELL-/bin/sh}
557 # Identity of this package.
573 program_transform_name
617 ac_precious_vars='build_alias
622 # Initialize some variables set by options.
624 ac_init_version=false
625 # The variables have the same names as the options, with
626 # dashes changed to underlines.
634 program_transform_name=s,x,x,
642 # Installation directory options.
643 # These are left unexpanded so users can "make install exec_prefix=/foo"
644 # and all the variables that are supposed to be based on exec_prefix
645 # by default will actually change.
646 # Use braces instead of parens because sh, perl, etc. also accept them.
647 # (The list follows the same order as the GNU Coding Standards.)
648 bindir='${exec_prefix}/bin'
649 sbindir='${exec_prefix}/sbin'
650 libexecdir='${exec_prefix}/libexec'
651 datarootdir='${prefix}/share'
652 datadir='${datarootdir}'
653 sysconfdir='${prefix}/etc'
654 sharedstatedir='${prefix}/com'
655 localstatedir='${prefix}/var'
656 includedir='${prefix}/include'
657 oldincludedir='/usr/include'
658 docdir='${datarootdir}/doc/${PACKAGE}'
659 infodir='${datarootdir}/info'
664 libdir='${exec_prefix}/lib'
665 localedir='${datarootdir}/locale'
666 mandir='${datarootdir}/man'
672 # If the previous option needs an argument, assign it.
673 if test -n "$ac_prev"; then
674 eval $ac_prev=\$ac_option
680 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
684 # Accept the important Cygnus configure options, so we can diagnose typos.
686 case $ac_dashdash$ac_option in
690 -bindir | --bindir | --bindi | --bind | --bin | --bi)
692 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
695 -build | --build | --buil | --bui | --bu)
696 ac_prev=build_alias ;;
697 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
698 build_alias=$ac_optarg ;;
700 -cache-file | --cache-file | --cache-fil | --cache-fi \
701 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
702 ac_prev=cache_file ;;
703 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
704 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
705 cache_file=$ac_optarg ;;
708 cache_file=config.cache ;;
710 -datadir | --datadir | --datadi | --datad)
712 -datadir=* | --datadir=* | --datadi=* | --datad=*)
713 datadir=$ac_optarg ;;
715 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
716 | --dataroo | --dataro | --datar)
717 ac_prev=datarootdir ;;
718 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
719 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
720 datarootdir=$ac_optarg ;;
722 -disable-* | --disable-*)
723 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
724 # Reject names that are not valid shell variable names.
725 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
726 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
727 { (exit 1); exit 1; }; }
728 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
729 eval enable_$ac_feature=no ;;
731 -docdir | --docdir | --docdi | --doc | --do)
733 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
736 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
738 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
741 -enable-* | --enable-*)
742 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
743 # Reject names that are not valid shell variable names.
744 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
745 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
746 { (exit 1); exit 1; }; }
747 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
748 eval enable_$ac_feature=\$ac_optarg ;;
750 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
751 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
752 | --exec | --exe | --ex)
753 ac_prev=exec_prefix ;;
754 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
755 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
756 | --exec=* | --exe=* | --ex=*)
757 exec_prefix=$ac_optarg ;;
759 -gas | --gas | --ga | --g)
760 # Obsolete; use --with-gas.
763 -help | --help | --hel | --he | -h)
765 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
766 ac_init_help=recursive ;;
767 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
768 ac_init_help=short ;;
770 -host | --host | --hos | --ho)
771 ac_prev=host_alias ;;
772 -host=* | --host=* | --hos=* | --ho=*)
773 host_alias=$ac_optarg ;;
775 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
777 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
779 htmldir=$ac_optarg ;;
781 -includedir | --includedir | --includedi | --included | --include \
782 | --includ | --inclu | --incl | --inc)
783 ac_prev=includedir ;;
784 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
785 | --includ=* | --inclu=* | --incl=* | --inc=*)
786 includedir=$ac_optarg ;;
788 -infodir | --infodir | --infodi | --infod | --info | --inf)
790 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
791 infodir=$ac_optarg ;;
793 -libdir | --libdir | --libdi | --libd)
795 -libdir=* | --libdir=* | --libdi=* | --libd=*)
798 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
799 | --libexe | --libex | --libe)
800 ac_prev=libexecdir ;;
801 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
802 | --libexe=* | --libex=* | --libe=*)
803 libexecdir=$ac_optarg ;;
805 -localedir | --localedir | --localedi | --localed | --locale)
807 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
808 localedir=$ac_optarg ;;
810 -localstatedir | --localstatedir | --localstatedi | --localstated \
811 | --localstate | --localstat | --localsta | --localst | --locals)
812 ac_prev=localstatedir ;;
813 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
814 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
815 localstatedir=$ac_optarg ;;
817 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
819 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
823 # Obsolete; use --without-fp.
826 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
827 | --no-cr | --no-c | -n)
830 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
831 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
834 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
835 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
836 | --oldin | --oldi | --old | --ol | --o)
837 ac_prev=oldincludedir ;;
838 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
839 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
840 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
841 oldincludedir=$ac_optarg ;;
843 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
845 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
848 -program-prefix | --program-prefix | --program-prefi | --program-pref \
849 | --program-pre | --program-pr | --program-p)
850 ac_prev=program_prefix ;;
851 -program-prefix=* | --program-prefix=* | --program-prefi=* \
852 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
853 program_prefix=$ac_optarg ;;
855 -program-suffix | --program-suffix | --program-suffi | --program-suff \
856 | --program-suf | --program-su | --program-s)
857 ac_prev=program_suffix ;;
858 -program-suffix=* | --program-suffix=* | --program-suffi=* \
859 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
860 program_suffix=$ac_optarg ;;
862 -program-transform-name | --program-transform-name \
863 | --program-transform-nam | --program-transform-na \
864 | --program-transform-n | --program-transform- \
865 | --program-transform | --program-transfor \
866 | --program-transfo | --program-transf \
867 | --program-trans | --program-tran \
868 | --progr-tra | --program-tr | --program-t)
869 ac_prev=program_transform_name ;;
870 -program-transform-name=* | --program-transform-name=* \
871 | --program-transform-nam=* | --program-transform-na=* \
872 | --program-transform-n=* | --program-transform-=* \
873 | --program-transform=* | --program-transfor=* \
874 | --program-transfo=* | --program-transf=* \
875 | --program-trans=* | --program-tran=* \
876 | --progr-tra=* | --program-tr=* | --program-t=*)
877 program_transform_name=$ac_optarg ;;
879 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
881 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
884 -psdir | --psdir | --psdi | --psd | --ps)
886 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
889 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
890 | -silent | --silent | --silen | --sile | --sil)
893 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
895 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
897 sbindir=$ac_optarg ;;
899 -sharedstatedir | --sharedstatedir | --sharedstatedi \
900 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
901 | --sharedst | --shareds | --shared | --share | --shar \
903 ac_prev=sharedstatedir ;;
904 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
905 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
906 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
908 sharedstatedir=$ac_optarg ;;
910 -site | --site | --sit)
912 -site=* | --site=* | --sit=*)
915 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
917 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
920 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
921 | --syscon | --sysco | --sysc | --sys | --sy)
922 ac_prev=sysconfdir ;;
923 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
924 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
925 sysconfdir=$ac_optarg ;;
927 -target | --target | --targe | --targ | --tar | --ta | --t)
928 ac_prev=target_alias ;;
929 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
930 target_alias=$ac_optarg ;;
932 -v | -verbose | --verbose | --verbos | --verbo | --verb)
935 -version | --version | --versio | --versi | --vers | -V)
939 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
940 # Reject names that are not valid shell variable names.
941 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
942 { echo "$as_me: error: invalid package name: $ac_package" >&2
943 { (exit 1); exit 1; }; }
944 ac_package=`echo $ac_package| sed 's/-/_/g'`
945 eval with_$ac_package=\$ac_optarg ;;
947 -without-* | --without-*)
948 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
949 # Reject names that are not valid shell variable names.
950 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
951 { echo "$as_me: error: invalid package name: $ac_package" >&2
952 { (exit 1); exit 1; }; }
953 ac_package=`echo $ac_package | sed 's/-/_/g'`
954 eval with_$ac_package=no ;;
957 # Obsolete; use --with-x.
960 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
961 | --x-incl | --x-inc | --x-in | --x-i)
962 ac_prev=x_includes ;;
963 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
964 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
965 x_includes=$ac_optarg ;;
967 -x-libraries | --x-libraries | --x-librarie | --x-librari \
968 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
969 ac_prev=x_libraries ;;
970 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
971 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
972 x_libraries=$ac_optarg ;;
974 -*) { echo "$as_me: error: unrecognized option: $ac_option
975 Try \`$0 --help' for more information." >&2
976 { (exit 1); exit 1; }; }
980 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
981 # Reject names that are not valid shell variable names.
982 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
983 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
984 { (exit 1); exit 1; }; }
985 eval $ac_envvar=\$ac_optarg
989 # FIXME: should be removed in autoconf 3.0.
990 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
991 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
992 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
993 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
999 if test -n "$ac_prev"; then
1000 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1001 { echo "$as_me: error: missing argument to $ac_option" >&2
1002 { (exit 1); exit 1; }; }
1005 # Be sure to have absolute directory names.
1006 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1007 datadir sysconfdir sharedstatedir localstatedir includedir \
1008 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1009 libdir localedir mandir
1011 eval ac_val=\$$ac_var
1013 [\\/$]* | ?:[\\/]* ) continue;;
1014 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1016 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1017 { (exit 1); exit 1; }; }
1020 # There might be people who depend on the old broken behavior: `$host'
1021 # used to hold the argument of --host etc.
1022 # FIXME: To remove some day.
1025 target=$target_alias
1027 # FIXME: To remove some day.
1028 if test "x$host_alias" != x; then
1029 if test "x$build_alias" = x; then
1030 cross_compiling=maybe
1031 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1032 If a cross compiler is detected then cross compile mode will be used." >&2
1033 elif test "x$build_alias" != "x$host_alias"; then
1039 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1041 test "$silent" = yes && exec 6>/dev/null
1044 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1045 ac_ls_di=`ls -di .` &&
1046 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1047 { echo "$as_me: error: Working directory cannot be determined" >&2
1048 { (exit 1); exit 1; }; }
1049 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1050 { echo "$as_me: error: pwd does not report name of working directory" >&2
1051 { (exit 1); exit 1; }; }
1054 # Find the source files, if location was not specified.
1055 if test -z "$srcdir"; then
1056 ac_srcdir_defaulted=yes
1057 # Try the directory containing this script, then the parent directory.
1058 ac_confdir=`$as_dirname -- "$0" ||
1059 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1060 X"$0" : 'X\(//\)[^/]' \| \
1061 X"$0" : 'X\(//\)$' \| \
1062 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1082 if test ! -r "$srcdir/$ac_unique_file"; then
1086 ac_srcdir_defaulted=no
1088 if test ! -r "$srcdir/$ac_unique_file"; then
1089 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1090 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1091 { (exit 1); exit 1; }; }
1093 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1095 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1096 { (exit 1); exit 1; }; }
1098 # When building in place, set srcdir=.
1099 if test "$ac_abs_confdir" = "$ac_pwd"; then
1102 # Remove unnecessary trailing slashes from srcdir.
1103 # Double slashes in file names in object file debugging info
1104 # mess up M-x gdb in Emacs.
1106 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1108 for ac_var in $ac_precious_vars; do
1109 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1110 eval ac_env_${ac_var}_value=\$${ac_var}
1111 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1112 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1116 # Report the --help message.
1118 if test "$ac_init_help" = "long"; then
1119 # Omit some internal or obsolete options to make the list less imposing.
1120 # This message is too long to be a string in the A/UX 3.1 sh.
1122 \`configure' configures this package to adapt to many kinds of systems.
1124 Usage: $0 [OPTION]... [VAR=VALUE]...
1126 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1127 VAR=VALUE. See below for descriptions of some of the useful variables.
1129 Defaults for the options are specified in brackets.
1132 -h, --help display this help and exit
1133 --help=short display options specific to this package
1134 --help=recursive display the short help of all the included packages
1135 -V, --version display version information and exit
1136 -q, --quiet, --silent do not print \`checking...' messages
1137 --cache-file=FILE cache test results in FILE [disabled]
1138 -C, --config-cache alias for \`--cache-file=config.cache'
1139 -n, --no-create do not create output files
1140 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1142 Installation directories:
1143 --prefix=PREFIX install architecture-independent files in PREFIX
1144 [$ac_default_prefix]
1145 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1148 By default, \`make install' will install all the files in
1149 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1150 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1151 for instance \`--prefix=\$HOME'.
1153 For better control, use the options below.
1155 Fine tuning of the installation directories:
1156 --bindir=DIR user executables [EPREFIX/bin]
1157 --sbindir=DIR system admin executables [EPREFIX/sbin]
1158 --libexecdir=DIR program executables [EPREFIX/libexec]
1159 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1160 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1161 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1162 --libdir=DIR object code libraries [EPREFIX/lib]
1163 --includedir=DIR C header files [PREFIX/include]
1164 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1165 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1166 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1167 --infodir=DIR info documentation [DATAROOTDIR/info]
1168 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1169 --mandir=DIR man documentation [DATAROOTDIR/man]
1170 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1171 --htmldir=DIR html documentation [DOCDIR]
1172 --dvidir=DIR dvi documentation [DOCDIR]
1173 --pdfdir=DIR pdf documentation [DOCDIR]
1174 --psdir=DIR ps documentation [DOCDIR]
1181 if test -n "$ac_init_help"; then
1189 if test "$ac_init_help" = "recursive"; then
1190 # If there are subdirs, report their specific --help.
1191 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1192 test -d "$ac_dir" || continue
1196 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1198 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1199 # A ".." for each directory in $ac_dir_suffix.
1200 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1201 case $ac_top_builddir_sub in
1202 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1203 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1206 ac_abs_top_builddir=$ac_pwd
1207 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1208 # for backward compatibility:
1209 ac_top_builddir=$ac_top_build_prefix
1212 .) # We are building in place.
1214 ac_top_srcdir=$ac_top_builddir_sub
1215 ac_abs_top_srcdir=$ac_pwd ;;
1216 [\\/]* | ?:[\\/]* ) # Absolute name.
1217 ac_srcdir=$srcdir$ac_dir_suffix;
1218 ac_top_srcdir=$srcdir
1219 ac_abs_top_srcdir=$srcdir ;;
1221 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1222 ac_top_srcdir=$ac_top_build_prefix$srcdir
1223 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1225 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1227 cd "$ac_dir" || { ac_status=$?; continue; }
1228 # Check for guested configure.
1229 if test -f "$ac_srcdir/configure.gnu"; then
1231 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1232 elif test -f "$ac_srcdir/configure"; then
1234 $SHELL "$ac_srcdir/configure" --help=recursive
1236 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1238 cd "$ac_pwd" || { ac_status=$?; break; }
1242 test -n "$ac_init_help" && exit $ac_status
1243 if $ac_init_version; then
1246 generated by GNU Autoconf 2.60
1248 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1249 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1250 This configure script is free software; the Free Software Foundation
1251 gives unlimited permission to copy, distribute and modify it.
1255 cat >config.log <<_ACEOF
1256 This file contains any messages produced by compilers while
1257 running configure, to aid debugging if configure makes a mistake.
1259 It was created by $as_me, which was
1260 generated by GNU Autoconf 2.60. Invocation command line was
1272 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1273 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1274 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1275 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1276 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1278 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1279 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1281 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1282 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1283 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1284 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1285 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1286 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1287 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1295 test -z "$as_dir" && as_dir=.
1296 echo "PATH: $as_dir"
1312 # Keep a trace of the command line.
1313 # Strip out --no-create and --no-recursion so they do not pile up.
1314 # Strip out --silent because we don't want to record it for future runs.
1315 # Also quote any args containing shell meta-characters.
1316 # Make two passes to allow for proper duplicate-argument suppression.
1320 ac_must_keep_next=false
1326 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1327 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1328 | -silent | --silent | --silen | --sile | --sil)
1331 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1334 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1336 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1337 if test $ac_must_keep_next = true; then
1338 ac_must_keep_next=false # Got value, back to normal.
1341 *=* | --config-cache | -C | -disable-* | --disable-* \
1342 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1343 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1344 | -with-* | --with-* | -without-* | --without-* | --x)
1345 case "$ac_configure_args0 " in
1346 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1349 -* ) ac_must_keep_next=true ;;
1352 ac_configure_args="$ac_configure_args '$ac_arg'"
1357 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1358 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1360 # When interrupted or exit'd, cleanup temporary files, and complete
1361 # config.log. We remove comments because anyway the quotes in there
1362 # would cause problems or look ugly.
1363 # WARNING: Use '\'' to represent an apostrophe within the trap.
1364 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1365 trap 'exit_status=$?
1366 # Save into config.log some information that might help in debugging.
1371 ## ---------------- ##
1372 ## Cache variables. ##
1373 ## ---------------- ##
1376 # The following way of writing the cache mishandles newlines in values,
1378 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1379 eval ac_val=\$$ac_var
1383 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1384 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1387 _ | IFS | as_nl) ;; #(
1388 *) $as_unset $ac_var ;;
1393 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1394 *${as_nl}ac_space=\ *)
1396 "s/'\''/'\''\\\\'\'''\''/g;
1397 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1400 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1408 ## ----------------- ##
1409 ## Output variables. ##
1410 ## ----------------- ##
1413 for ac_var in $ac_subst_vars
1415 eval ac_val=\$$ac_var
1417 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1419 echo "$ac_var='\''$ac_val'\''"
1423 if test -n "$ac_subst_files"; then
1425 ## ------------------- ##
1426 ## File substitutions. ##
1427 ## ------------------- ##
1430 for ac_var in $ac_subst_files
1432 eval ac_val=\$$ac_var
1434 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1436 echo "$ac_var='\''$ac_val'\''"
1441 if test -s confdefs.h; then
1451 test "$ac_signal" != 0 &&
1452 echo "$as_me: caught signal $ac_signal"
1453 echo "$as_me: exit $exit_status"
1455 rm -f core *.core core.conftest.* &&
1456 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1459 for ac_signal in 1 2 13 15; do
1460 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1464 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1465 rm -f -r conftest* confdefs.h
1467 # Predefined preprocessor variables.
1469 cat >>confdefs.h <<_ACEOF
1470 #define PACKAGE_NAME "$PACKAGE_NAME"
1474 cat >>confdefs.h <<_ACEOF
1475 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1479 cat >>confdefs.h <<_ACEOF
1480 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1484 cat >>confdefs.h <<_ACEOF
1485 #define PACKAGE_STRING "$PACKAGE_STRING"
1489 cat >>confdefs.h <<_ACEOF
1490 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1494 # Let the site file select an alternate cache file if it wants to.
1495 # Prefer explicitly selected file to automatically selected ones.
1496 if test -n "$CONFIG_SITE"; then
1497 set x "$CONFIG_SITE"
1498 elif test "x$prefix" != xNONE; then
1499 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1501 set x "$ac_default_prefix/share/config.site" \
1502 "$ac_default_prefix/etc/config.site"
1507 if test -r "$ac_site_file"; then
1508 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1509 echo "$as_me: loading site script $ac_site_file" >&6;}
1510 sed 's/^/| /' "$ac_site_file" >&5
1515 if test -r "$cache_file"; then
1516 # Some versions of bash will fail to source /dev/null (special
1517 # files actually), so we avoid doing that.
1518 if test -f "$cache_file"; then
1519 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1520 echo "$as_me: loading cache $cache_file" >&6;}
1522 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1523 *) . "./$cache_file";;
1527 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1528 echo "$as_me: creating cache $cache_file" >&6;}
1532 # Check that the precious variables saved in the cache have kept the same
1534 ac_cache_corrupted=false
1535 for ac_var in $ac_precious_vars; do
1536 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1537 eval ac_new_set=\$ac_env_${ac_var}_set
1538 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1539 eval ac_new_val=\$ac_env_${ac_var}_value
1540 case $ac_old_set,$ac_new_set in
1542 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1543 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1544 ac_cache_corrupted=: ;;
1546 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1547 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1548 ac_cache_corrupted=: ;;
1551 if test "x$ac_old_val" != "x$ac_new_val"; then
1552 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1553 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1554 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1555 echo "$as_me: former value: $ac_old_val" >&2;}
1556 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1557 echo "$as_me: current value: $ac_new_val" >&2;}
1558 ac_cache_corrupted=:
1561 # Pass precious variables to config.status.
1562 if test "$ac_new_set" = set; then
1564 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1565 *) ac_arg=$ac_var=$ac_new_val ;;
1567 case " $ac_configure_args " in
1568 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1569 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1573 if $ac_cache_corrupted; then
1574 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1575 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1576 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1577 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1578 { (exit 1); exit 1; }; }
1598 ac_cpp='$CPP $CPPFLAGS'
1599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1606 #AC_DEFUN(AC_CONFIG_FILES)
1608 # Checks for programs.
1609 # Extract the first word of "gpasm", so it can be a program name with args.
1610 set dummy gpasm; ac_word=$2
1611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1613 if test "${ac_cv_prog_GPASM+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 if test -n "$GPASM"; then
1617 ac_cv_prog_GPASM="$GPASM" # Let the user override the test.
1619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1623 test -z "$as_dir" && as_dir=.
1624 for ac_exec_ext in '' $ac_executable_extensions; do
1625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1626 ac_cv_prog_GPASM="gpasm"
1627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1634 test -z "$ac_cv_prog_GPASM" && ac_cv_prog_GPASM=":"
1637 GPASM=$ac_cv_prog_GPASM
1638 if test -n "$GPASM"; then
1639 { echo "$as_me:$LINENO: result: $GPASM" >&5
1640 echo "${ECHO_T}$GPASM" >&6; }
1642 { echo "$as_me:$LINENO: result: no" >&5
1643 echo "${ECHO_T}no" >&6; }
1647 # Extract the first word of "gplink", so it can be a program name with args.
1648 set dummy gplink; ac_word=$2
1649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1651 if test "${ac_cv_prog_GPLINK+set}" = set; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 if test -n "$GPLINK"; then
1655 ac_cv_prog_GPLINK="$GPLINK" # Let the user override the test.
1657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1661 test -z "$as_dir" && as_dir=.
1662 for ac_exec_ext in '' $ac_executable_extensions; do
1663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1664 ac_cv_prog_GPLINK="gplink"
1665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1672 test -z "$ac_cv_prog_GPLINK" && ac_cv_prog_GPLINK=":"
1675 GPLINK=$ac_cv_prog_GPLINK
1676 if test -n "$GPLINK"; then
1677 { echo "$as_me:$LINENO: result: $GPLINK" >&5
1678 echo "${ECHO_T}$GPLINK" >&6; }
1680 { echo "$as_me:$LINENO: result: no" >&5
1681 echo "${ECHO_T}no" >&6; }
1685 # Extract the first word of "gplib", so it can be a program name with args.
1686 set dummy gplib; ac_word=$2
1687 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1689 if test "${ac_cv_prog_GPLIB+set}" = set; then
1690 echo $ECHO_N "(cached) $ECHO_C" >&6
1692 if test -n "$GPLIB"; then
1693 ac_cv_prog_GPLIB="$GPLIB" # Let the user override the test.
1695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1699 test -z "$as_dir" && as_dir=.
1700 for ac_exec_ext in '' $ac_executable_extensions; do
1701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1702 ac_cv_prog_GPLIB="gplib"
1703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1710 test -z "$ac_cv_prog_GPLIB" && ac_cv_prog_GPLIB=":"
1713 GPLIB=$ac_cv_prog_GPLIB
1714 if test -n "$GPLIB"; then
1715 { echo "$as_me:$LINENO: result: $GPLIB" >&5
1716 echo "${ECHO_T}$GPLIB" >&6; }
1718 { echo "$as_me:$LINENO: result: no" >&5
1719 echo "${ECHO_T}no" >&6; }
1724 # Extract the first word of "rm", so it can be a program name with args.
1725 set dummy rm; ac_word=$2
1726 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1728 if test "${ac_cv_prog_RM+set}" = set; then
1729 echo $ECHO_N "(cached) $ECHO_C" >&6
1731 if test -n "$RM"; then
1732 ac_cv_prog_RM="$RM" # Let the user override the test.
1734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1738 test -z "$as_dir" && as_dir=.
1739 for ac_exec_ext in '' $ac_executable_extensions; do
1740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1741 ac_cv_prog_RM="rm -f"
1742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1749 test -z "$ac_cv_prog_RM" && ac_cv_prog_RM=":"
1753 if test -n "$RM"; then
1754 { echo "$as_me:$LINENO: result: $RM" >&5
1755 echo "${ECHO_T}$RM" >&6; }
1757 { echo "$as_me:$LINENO: result: no" >&5
1758 echo "${ECHO_T}no" >&6; }
1762 # Extract the first word of "cp", so it can be a program name with args.
1763 set dummy cp; ac_word=$2
1764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1766 if test "${ac_cv_prog_CP+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1769 if test -n "$CP"; then
1770 ac_cv_prog_CP="$CP" # Let the user override the test.
1772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1776 test -z "$as_dir" && as_dir=.
1777 for ac_exec_ext in '' $ac_executable_extensions; do
1778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1787 test -z "$ac_cv_prog_CP" && ac_cv_prog_CP=":"
1791 if test -n "$CP"; then
1792 { echo "$as_me:$LINENO: result: $CP" >&5
1793 echo "${ECHO_T}$CP" >&6; }
1795 { echo "$as_me:$LINENO: result: no" >&5
1796 echo "${ECHO_T}no" >&6; }
1800 # Extract the first word of "mv", so it can be a program name with args.
1801 set dummy mv; ac_word=$2
1802 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1804 if test "${ac_cv_prog_MV+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 if test -n "$MV"; then
1808 ac_cv_prog_MV="$MV" # Let the user override the test.
1810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1814 test -z "$as_dir" && as_dir=.
1815 for ac_exec_ext in '' $ac_executable_extensions; do
1816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1825 test -z "$ac_cv_prog_MV" && ac_cv_prog_MV=":"
1829 if test -n "$MV"; then
1830 { echo "$as_me:$LINENO: result: $MV" >&5
1831 echo "${ECHO_T}$MV" >&6; }
1833 { echo "$as_me:$LINENO: result: no" >&5
1834 echo "${ECHO_T}no" >&6; }
1838 # Extract the first word of "ls", so it can be a program name with args.
1839 set dummy ls; ac_word=$2
1840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1842 if test "${ac_cv_prog_LS+set}" = set; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1845 if test -n "$LS"; then
1846 ac_cv_prog_LS="$LS" # Let the user override the test.
1848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1852 test -z "$as_dir" && as_dir=.
1853 for ac_exec_ext in '' $ac_executable_extensions; do
1854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1863 test -z "$ac_cv_prog_LS" && ac_cv_prog_LS=":"
1867 if test -n "$LS"; then
1868 { echo "$as_me:$LINENO: result: $LS" >&5
1869 echo "${ECHO_T}$LS" >&6; }
1871 { echo "$as_me:$LINENO: result: no" >&5
1872 echo "${ECHO_T}no" >&6; }
1876 # Extract the first word of "sed", so it can be a program name with args.
1877 set dummy sed; ac_word=$2
1878 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1880 if test "${ac_cv_prog_SED+set}" = set; then
1881 echo $ECHO_N "(cached) $ECHO_C" >&6
1883 if test -n "$SED"; then
1884 ac_cv_prog_SED="$SED" # Let the user override the test.
1886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1890 test -z "$as_dir" && as_dir=.
1891 for ac_exec_ext in '' $ac_executable_extensions; do
1892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1893 ac_cv_prog_SED="sed"
1894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1901 test -z "$ac_cv_prog_SED" && ac_cv_prog_SED=":"
1905 if test -n "$SED"; then
1906 { echo "$as_me:$LINENO: result: $SED" >&5
1907 echo "${ECHO_T}$SED" >&6; }
1909 { echo "$as_me:$LINENO: result: no" >&5
1910 echo "${ECHO_T}no" >&6; }
1914 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
1915 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
1916 if test "${ac_cv_path_GREP+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1919 # Extract the first word of "grep ggrep" to use in msg output
1920 if test -z "$GREP"; then
1921 set dummy grep ggrep; ac_prog_name=$2
1922 if test "${ac_cv_path_GREP+set}" = set; then
1923 echo $ECHO_N "(cached) $ECHO_C" >&6
1925 ac_path_GREP_found=false
1926 # Loop through the user's path and test for each of PROGNAME-LIST
1927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1928 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
1931 test -z "$as_dir" && as_dir=.
1932 for ac_prog in grep ggrep; do
1933 for ac_exec_ext in '' $ac_executable_extensions; do
1934 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1935 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
1936 # Check for GNU ac_path_GREP and select it if it is found.
1937 # Check for GNU $ac_path_GREP
1938 case `"$ac_path_GREP" --version 2>&1` in
1940 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
1943 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
1946 cat "conftest.in" "conftest.in" >"conftest.tmp"
1947 mv "conftest.tmp" "conftest.in"
1948 cp "conftest.in" "conftest.nl"
1949 echo 'GREP' >> "conftest.nl"
1950 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
1951 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1952 ac_count=`expr $ac_count + 1`
1953 if test $ac_count -gt ${ac_path_GREP_max-0}; then
1954 # Best one so far, save it but keep looking for a better one
1955 ac_cv_path_GREP="$ac_path_GREP"
1956 ac_path_GREP_max=$ac_count
1958 # 10*(2^10) chars as input seems more than enough
1959 test $ac_count -gt 10 && break
1961 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
1965 $ac_path_GREP_found && break 3
1975 GREP="$ac_cv_path_GREP"
1976 if test -z "$GREP"; then
1977 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
1978 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
1979 { (exit 1); exit 1; }; }
1983 ac_cv_path_GREP=$GREP
1988 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
1989 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
1990 GREP="$ac_cv_path_GREP"
1993 { echo "$as_me:$LINENO: checking for egrep" >&5
1994 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
1995 if test "${ac_cv_path_EGREP+set}" = set; then
1996 echo $ECHO_N "(cached) $ECHO_C" >&6
1998 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
1999 then ac_cv_path_EGREP="$GREP -E"
2001 # Extract the first word of "egrep" to use in msg output
2002 if test -z "$EGREP"; then
2003 set dummy egrep; ac_prog_name=$2
2004 if test "${ac_cv_path_EGREP+set}" = set; then
2005 echo $ECHO_N "(cached) $ECHO_C" >&6
2007 ac_path_EGREP_found=false
2008 # Loop through the user's path and test for each of PROGNAME-LIST
2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2013 test -z "$as_dir" && as_dir=.
2014 for ac_prog in egrep; do
2015 for ac_exec_ext in '' $ac_executable_extensions; do
2016 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2017 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
2018 # Check for GNU ac_path_EGREP and select it if it is found.
2019 # Check for GNU $ac_path_EGREP
2020 case `"$ac_path_EGREP" --version 2>&1` in
2022 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2025 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2028 cat "conftest.in" "conftest.in" >"conftest.tmp"
2029 mv "conftest.tmp" "conftest.in"
2030 cp "conftest.in" "conftest.nl"
2031 echo 'EGREP' >> "conftest.nl"
2032 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2033 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2034 ac_count=`expr $ac_count + 1`
2035 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2036 # Best one so far, save it but keep looking for a better one
2037 ac_cv_path_EGREP="$ac_path_EGREP"
2038 ac_path_EGREP_max=$ac_count
2040 # 10*(2^10) chars as input seems more than enough
2041 test $ac_count -gt 10 && break
2043 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2047 $ac_path_EGREP_found && break 3
2057 EGREP="$ac_cv_path_EGREP"
2058 if test -z "$EGREP"; then
2059 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2060 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2061 { (exit 1); exit 1; }; }
2065 ac_cv_path_EGREP=$EGREP
2071 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2072 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
2073 EGREP="$ac_cv_path_EGREP"
2076 # Extract the first word of "mkdir", so it can be a program name with args.
2077 set dummy mkdir; ac_word=$2
2078 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2080 if test "${ac_cv_prog_MKDIR+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2083 if test -n "$MKDIR"; then
2084 ac_cv_prog_MKDIR="$MKDIR" # Let the user override the test.
2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2090 test -z "$as_dir" && as_dir=.
2091 for ac_exec_ext in '' $ac_executable_extensions; do
2092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2093 ac_cv_prog_MKDIR="mkdir -p"
2094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2101 test -z "$ac_cv_prog_MKDIR" && ac_cv_prog_MKDIR=":"
2104 MKDIR=$ac_cv_prog_MKDIR
2105 if test -n "$MKDIR"; then
2106 { echo "$as_me:$LINENO: result: $MKDIR" >&5
2107 echo "${ECHO_T}$MKDIR" >&6; }
2109 { echo "$as_me:$LINENO: result: no" >&5
2110 echo "${ECHO_T}no" >&6; }
2114 # Extract the first word of "rmdir", so it can be a program name with args.
2115 set dummy rmdir; ac_word=$2
2116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2118 if test "${ac_cv_prog_RMDIR+set}" = set; then
2119 echo $ECHO_N "(cached) $ECHO_C" >&6
2121 if test -n "$RMDIR"; then
2122 ac_cv_prog_RMDIR="$RMDIR" # Let the user override the test.
2124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128 test -z "$as_dir" && as_dir=.
2129 for ac_exec_ext in '' $ac_executable_extensions; do
2130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2131 ac_cv_prog_RMDIR="rmdir"
2132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2139 test -z "$ac_cv_prog_RMDIR" && ac_cv_prog_RMDIR=":"
2142 RMDIR=$ac_cv_prog_RMDIR
2143 if test -n "$RMDIR"; then
2144 { echo "$as_me:$LINENO: result: $RMDIR" >&5
2145 echo "${ECHO_T}$RMDIR" >&6; }
2147 { echo "$as_me:$LINENO: result: no" >&5
2148 echo "${ECHO_T}no" >&6; }
2153 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2154 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2155 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2156 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2157 echo $ECHO_N "(cached) $ECHO_C" >&6
2159 cat >conftest.make <<\_ACEOF
2162 @echo '@@@%%%=$(MAKE)=@@@%%%'
2164 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2165 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2167 eval ac_cv_prog_make_${ac_make}_set=yes;;
2169 eval ac_cv_prog_make_${ac_make}_set=no;;
2173 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2174 { echo "$as_me:$LINENO: result: yes" >&5
2175 echo "${ECHO_T}yes" >&6; }
2178 { echo "$as_me:$LINENO: result: no" >&5
2179 echo "${ECHO_T}no" >&6; }
2180 SET_MAKE="MAKE=${MAKE-make}"
2184 # Checks for libraries.
2186 # Checks for header files.
2188 # Checks for typedefs, structures, and compiler characteristics.
2190 # Checks for library functions.
2192 $CP "$srcdir"/pics.all pics.build
2194 ac_config_files="$ac_config_files Makefile Makefile.common debug/Makefile debug/gstack/Makefile libc/Makefile libc/ctype/Makefile libc/delay/Makefile libc/stdio/Makefile libc/stdlib/Makefile libc/string/Makefile libc/utils/Makefile libdev/Makefile libio/Makefile libio/adc/Makefile libio/i2c/Makefile libio/usart/Makefile libm/Makefile libsdcc/Makefile libsdcc/char/Makefile libsdcc/fixed16x16/Makefile libsdcc/float/Makefile libsdcc/gptr/Makefile libsdcc/int/Makefile libsdcc/long/Makefile libsdcc/lregs/Makefile libsdcc/stack/Makefile startup/Makefile"
2196 cat >confcache <<\_ACEOF
2197 # This file is a shell script that caches the results of configure
2198 # tests run on this system so they can be shared between configure
2199 # scripts and configure runs, see configure's option --config-cache.
2200 # It is not useful on other systems. If it contains results you don't
2201 # want to keep, you may remove or edit it.
2203 # config.status only pays attention to the cache file if you give it
2204 # the --recheck option to rerun configure.
2206 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2207 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2212 # The following way of writing the cache mishandles newlines in values,
2213 # but we know of no workaround that is simple, portable, and efficient.
2214 # So, we kill variables containing newlines.
2215 # Ultrix sh set writes to stderr and can't be redirected directly,
2216 # and sets the high bit in the cache file unless we assign to the vars.
2218 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2219 eval ac_val=\$$ac_var
2223 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2224 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2227 _ | IFS | as_nl) ;; #(
2228 *) $as_unset $ac_var ;;
2234 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2235 *${as_nl}ac_space=\ *)
2236 # `set' does not quote correctly, so add quotes (double-quote
2237 # substitution turns \\\\ into \\, and sed turns \\ into \).
2240 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2243 # `set' quotes correctly as required by POSIX, so do not add quotes.
2244 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2253 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2255 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2257 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2258 if test -w "$cache_file"; then
2259 test "x$cache_file" != "x/dev/null" &&
2260 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2261 echo "$as_me: updating cache $cache_file" >&6;}
2262 cat confcache >$cache_file
2264 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2265 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2270 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2271 # Let make expand exec_prefix.
2272 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2274 # Transform confdefs.h into DEFS.
2275 # Protect against shell expansion while executing Makefile rules.
2276 # Protect against Makefile macro expansion.
2278 # If the first sed substitution is executed (which looks for macros that
2279 # take arguments), then branch to the quote section. Otherwise,
2280 # look for a macro that doesn't take arguments.
2284 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2286 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2290 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2303 DEFS=`sed -n "$ac_script" confdefs.h`
2308 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2309 # 1. Remove the extension, and $U if already installed.
2310 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2311 ac_i=`echo "$ac_i" | sed "$ac_script"`
2312 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2313 # will be set to the directory where LIBOBJS objects are built.
2314 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2315 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2319 LTLIBOBJS=$ac_ltlibobjs
2323 : ${CONFIG_STATUS=./config.status}
2324 ac_clean_files_save=$ac_clean_files
2325 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2326 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2327 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2328 cat >$CONFIG_STATUS <<_ACEOF
2330 # Generated by $as_me.
2331 # Run this file to recreate the current configuration.
2332 # Compiler output produced by configure, useful for debugging
2333 # configure, is in config.log if it exists.
2338 SHELL=\${CONFIG_SHELL-$SHELL}
2341 cat >>$CONFIG_STATUS <<\_ACEOF
2342 ## --------------------- ##
2343 ## M4sh Initialization. ##
2344 ## --------------------- ##
2346 # Be Bourne compatible
2347 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2350 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2351 # is contrary to our usage. Disable this feature.
2352 alias -g '${1+"$@"}'='"$@"'
2353 setopt NO_GLOB_SUBST
2355 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
2357 BIN_SH=xpg4; export BIN_SH # for Tru64
2358 DUALCASE=1; export DUALCASE # for MKS sh
2362 # Avoid depending upon Character Ranges.
2363 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2364 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2365 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2366 as_cr_digits='0123456789'
2367 as_cr_alnum=$as_cr_Letters$as_cr_digits
2369 # The user is always right.
2370 if test "${PATH_SEPARATOR+set}" != set; then
2371 echo "#! /bin/sh" >conf$$.sh
2372 echo "exit 0" >>conf$$.sh
2374 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2382 # Support unset when possible.
2383 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2391 # We need space, tab and new line, in precisely that order. Quoting is
2392 # there to prevent editors from complaining about space-tab.
2393 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2394 # splitting by setting IFS to empty value.)
2399 # Find who we are. Look in the path if we contain no directory separator.
2401 *[\\/]* ) as_myself=$0 ;;
2402 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2406 test -z "$as_dir" && as_dir=.
2407 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2413 # We did not find ourselves, most probably we were run as `sh COMMAND'
2414 # in which case we are not to be found in the path.
2415 if test "x$as_myself" = x; then
2418 if test ! -f "$as_myself"; then
2419 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2420 { (exit 1); exit 1; }
2423 # Work around bugs in pre-3.0 UWIN ksh.
2424 for as_var in ENV MAIL MAILPATH
2425 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2433 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2434 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2435 LC_TELEPHONE LC_TIME
2437 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2438 eval $as_var=C; export $as_var
2440 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2444 # Required to use basename.
2445 if expr a : '\(a\)' >/dev/null 2>&1 &&
2446 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2452 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2453 as_basename=basename
2459 # Name of the executable.
2460 as_me=`$as_basename -- "$0" ||
2461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2462 X"$0" : 'X\(//\)$' \| \
2463 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2465 sed '/^.*\/\([^/][^/]*\)\/*$/{
2486 test "x$as_lineno_1" != "x$as_lineno_2" &&
2487 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2489 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2490 # uniformly replaced by the line number. The first 'sed' inserts a
2491 # line-number line after each line using $LINENO; the second 'sed'
2492 # does the real work. The second script uses 'N' to pair each
2493 # line-number line with the line containing $LINENO, and appends
2494 # trailing '-' during substitution so that $LINENO is not a special
2496 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2497 # scripts with optimization help from Paolo Bonzini. Blame Lee
2498 # E. McMahon (1931-1989) for sed's syntax. :-)
2510 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2514 chmod +x "$as_me.lineno" ||
2515 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2516 { (exit 1); exit 1; }; }
2518 # Don't try to exec as it changes $[0], causing all sort of problems
2519 # (the dirname of $[0] is not the place where we might find the
2520 # original and so on. Autoconf is especially sensitive to this).
2522 # Exit status is that of the last command.
2527 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2533 ECHO_C= ECHO_N= ECHO_T=
2536 case `echo 'x\c'` in
2537 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2544 if expr a : '\(a\)' >/dev/null 2>&1 &&
2545 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2551 rm -f conf$$ conf$$.exe conf$$.file
2552 if test -d conf$$.dir; then
2553 rm -f conf$$.dir/conf$$.file
2559 if ln -s conf$$.file conf$$ 2>/dev/null; then
2561 # ... but there are two gotchas:
2562 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2563 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2564 # In both cases, we have to default to `cp -p'.
2565 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2567 elif ln conf$$.file conf$$ 2>/dev/null; then
2572 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2573 rmdir conf$$.dir 2>/dev/null
2575 if mkdir -p . 2>/dev/null; then
2578 test -d ./-p && rmdir ./-p
2582 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
2583 # systems may use methods other than mode bits to determine executability.
2584 cat >conf$$.file <<_ASEOF
2588 chmod +x conf$$.file
2589 if test -x conf$$.file >/dev/null 2>&1; then
2590 as_executable_p="test -x"
2596 # Sed expression to map a string onto a valid CPP name.
2597 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2599 # Sed expression to map a string onto a valid variable name.
2600 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2605 # Save the log message, to keep $[0] and so on meaningful, and to
2606 # report actual input values of CONFIG_FILES etc. instead of their
2607 # values after options handling.
2609 This file was extended by $as_me, which was
2610 generated by GNU Autoconf 2.60. Invocation command line was
2612 CONFIG_FILES = $CONFIG_FILES
2613 CONFIG_HEADERS = $CONFIG_HEADERS
2614 CONFIG_LINKS = $CONFIG_LINKS
2615 CONFIG_COMMANDS = $CONFIG_COMMANDS
2618 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2623 cat >>$CONFIG_STATUS <<_ACEOF
2624 # Files that config.status was made for.
2625 config_files="$ac_config_files"
2629 cat >>$CONFIG_STATUS <<\_ACEOF
2631 \`$as_me' instantiates files from templates according to the
2632 current configuration.
2634 Usage: $0 [OPTIONS] [FILE]...
2636 -h, --help print this help, then exit
2637 -V, --version print version number, then exit
2638 -q, --quiet do not print progress messages
2639 -d, --debug don't remove temporary files
2640 --recheck update $as_me by reconfiguring in the same conditions
2641 --file=FILE[:TEMPLATE]
2642 instantiate the configuration file FILE
2644 Configuration files:
2647 Report bugs to <bug-autoconf@gnu.org>."
2650 cat >>$CONFIG_STATUS <<_ACEOF
2653 configured by $0, generated by GNU Autoconf 2.60,
2654 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2656 Copyright (C) 2006 Free Software Foundation, Inc.
2657 This config.status script is free software; the Free Software Foundation
2658 gives unlimited permission to copy, distribute and modify it."
2664 cat >>$CONFIG_STATUS <<\_ACEOF
2665 # If no file are specified by the user, then we need to provide default
2666 # value. By we need to know if files were specified by the user.
2672 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2673 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2684 # Handling of the options.
2685 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2687 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2688 echo "$ac_cs_version"; exit ;;
2689 --debug | --debu | --deb | --de | --d | -d )
2691 --file | --fil | --fi | --f )
2693 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2694 ac_need_defaults=false;;
2695 --he | --h | --help | --hel | -h )
2696 echo "$ac_cs_usage"; exit ;;
2697 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2698 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2702 -*) { echo "$as_me: error: unrecognized option: $1
2703 Try \`$0 --help' for more information." >&2
2704 { (exit 1); exit 1; }; } ;;
2706 *) ac_config_targets="$ac_config_targets $1"
2707 ac_need_defaults=false ;;
2713 ac_configure_extra_args=
2715 if $ac_cs_silent; then
2717 ac_configure_extra_args="$ac_configure_extra_args --silent"
2721 cat >>$CONFIG_STATUS <<_ACEOF
2722 if \$ac_cs_recheck; then
2723 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2726 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2730 cat >>$CONFIG_STATUS <<\_ACEOF
2734 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2735 ## Running $as_me. ##
2741 cat >>$CONFIG_STATUS <<_ACEOF
2744 cat >>$CONFIG_STATUS <<\_ACEOF
2746 # Handling of arguments.
2747 for ac_config_target in $ac_config_targets
2749 case $ac_config_target in
2750 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2751 "Makefile.common") CONFIG_FILES="$CONFIG_FILES Makefile.common" ;;
2752 "debug/Makefile") CONFIG_FILES="$CONFIG_FILES debug/Makefile" ;;
2753 "debug/gstack/Makefile") CONFIG_FILES="$CONFIG_FILES debug/gstack/Makefile" ;;
2754 "libc/Makefile") CONFIG_FILES="$CONFIG_FILES libc/Makefile" ;;
2755 "libc/ctype/Makefile") CONFIG_FILES="$CONFIG_FILES libc/ctype/Makefile" ;;
2756 "libc/delay/Makefile") CONFIG_FILES="$CONFIG_FILES libc/delay/Makefile" ;;
2757 "libc/stdio/Makefile") CONFIG_FILES="$CONFIG_FILES libc/stdio/Makefile" ;;
2758 "libc/stdlib/Makefile") CONFIG_FILES="$CONFIG_FILES libc/stdlib/Makefile" ;;
2759 "libc/string/Makefile") CONFIG_FILES="$CONFIG_FILES libc/string/Makefile" ;;
2760 "libc/utils/Makefile") CONFIG_FILES="$CONFIG_FILES libc/utils/Makefile" ;;
2761 "libdev/Makefile") CONFIG_FILES="$CONFIG_FILES libdev/Makefile" ;;
2762 "libio/Makefile") CONFIG_FILES="$CONFIG_FILES libio/Makefile" ;;
2763 "libio/adc/Makefile") CONFIG_FILES="$CONFIG_FILES libio/adc/Makefile" ;;
2764 "libio/i2c/Makefile") CONFIG_FILES="$CONFIG_FILES libio/i2c/Makefile" ;;
2765 "libio/usart/Makefile") CONFIG_FILES="$CONFIG_FILES libio/usart/Makefile" ;;
2766 "libm/Makefile") CONFIG_FILES="$CONFIG_FILES libm/Makefile" ;;
2767 "libsdcc/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/Makefile" ;;
2768 "libsdcc/char/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/char/Makefile" ;;
2769 "libsdcc/fixed16x16/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/fixed16x16/Makefile" ;;
2770 "libsdcc/float/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/float/Makefile" ;;
2771 "libsdcc/gptr/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/gptr/Makefile" ;;
2772 "libsdcc/int/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/int/Makefile" ;;
2773 "libsdcc/long/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/long/Makefile" ;;
2774 "libsdcc/lregs/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/lregs/Makefile" ;;
2775 "libsdcc/stack/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/stack/Makefile" ;;
2776 "startup/Makefile") CONFIG_FILES="$CONFIG_FILES startup/Makefile" ;;
2778 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2779 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2780 { (exit 1); exit 1; }; };;
2785 # If the user did not use the arguments to specify the items to instantiate,
2786 # then the envvar interface is used. Set only those that are not.
2787 # We use the long form for the default assignment because of an extremely
2788 # bizarre bug on SunOS 4.1.3.
2789 if $ac_need_defaults; then
2790 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2793 # Have a temporary directory for convenience. Make it in the build tree
2794 # simply because there is no reason against having it here, and in addition,
2795 # creating and moving files from /tmp can sometimes cause problems.
2796 # Hook for its removal unless debugging.
2797 # Note that there is a small window in which the directory will not be cleaned:
2798 # after its creation but before its name has been assigned to `$tmp'.
2802 trap 'exit_status=$?
2803 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2805 trap '{ (exit 1); exit 1; }' 1 2 13 15
2807 # Create a (secure) tmp directory for tmp files.
2810 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2811 test -n "$tmp" && test -d "$tmp"
2814 tmp=./conf$$-$RANDOM
2815 (umask 077 && mkdir "$tmp")
2818 echo "$me: cannot create a temporary directory in ." >&2
2819 { (exit 1); exit 1; }
2823 # Set up the sed scripts for CONFIG_FILES section.
2826 # No need to generate the scripts if there are no CONFIG_FILES.
2827 # This happens for instance when ./config.status config.h
2828 if test -n "$CONFIG_FILES"; then
2835 for ac_last_try in false false false false false :; do
2836 cat >conf$$subs.sed <<_ACEOF
2837 SHELL!$SHELL$ac_delim
2838 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2839 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2840 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2841 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2842 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2843 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2844 exec_prefix!$exec_prefix$ac_delim
2845 prefix!$prefix$ac_delim
2846 program_transform_name!$program_transform_name$ac_delim
2847 bindir!$bindir$ac_delim
2848 sbindir!$sbindir$ac_delim
2849 libexecdir!$libexecdir$ac_delim
2850 datarootdir!$datarootdir$ac_delim
2851 datadir!$datadir$ac_delim
2852 sysconfdir!$sysconfdir$ac_delim
2853 sharedstatedir!$sharedstatedir$ac_delim
2854 localstatedir!$localstatedir$ac_delim
2855 includedir!$includedir$ac_delim
2856 oldincludedir!$oldincludedir$ac_delim
2857 docdir!$docdir$ac_delim
2858 infodir!$infodir$ac_delim
2859 htmldir!$htmldir$ac_delim
2860 dvidir!$dvidir$ac_delim
2861 pdfdir!$pdfdir$ac_delim
2862 psdir!$psdir$ac_delim
2863 libdir!$libdir$ac_delim
2864 localedir!$localedir$ac_delim
2865 mandir!$mandir$ac_delim
2867 ECHO_C!$ECHO_C$ac_delim
2868 ECHO_N!$ECHO_N$ac_delim
2869 ECHO_T!$ECHO_T$ac_delim
2871 build_alias!$build_alias$ac_delim
2872 host_alias!$host_alias$ac_delim
2873 target_alias!$target_alias$ac_delim
2874 GPASM!$GPASM$ac_delim
2875 GPLINK!$GPLINK$ac_delim
2876 GPLIB!$GPLIB$ac_delim
2883 EGREP!$EGREP$ac_delim
2884 MKDIR!$MKDIR$ac_delim
2885 RMDIR!$RMDIR$ac_delim
2886 SET_MAKE!$SET_MAKE$ac_delim
2887 LIBOBJS!$LIBOBJS$ac_delim
2888 LTLIBOBJS!$LTLIBOBJS$ac_delim
2891 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then
2893 elif $ac_last_try; then
2894 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2895 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2896 { (exit 1); exit 1; }; }
2898 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2902 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2903 if test -n "$ac_eof"; then
2904 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2905 ac_eof=`expr $ac_eof + 1`
2908 cat >>$CONFIG_STATUS <<_ACEOF
2909 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2910 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2913 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2914 s/^/s,@/; s/!/@,|#_!!_#|/
2917 s/'"$ac_delim"'$/,g/; t
2919 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2920 ' >>$CONFIG_STATUS <conf$$subs.sed
2921 rm -f conf$$subs.sed
2922 cat >>$CONFIG_STATUS <<_ACEOF
2929 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2930 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2931 # trailing colons and then remove the whole line if VPATH becomes empty
2932 # (actually we leave an empty line to preserve line numbers).
2933 if test "x$srcdir" = x.; then
2934 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2938 s/^\([^=]*=[ ]*\):*/\1/
2944 cat >>$CONFIG_STATUS <<\_ACEOF
2945 fi # test -n "$CONFIG_FILES"
2948 for ac_tag in :F $CONFIG_FILES
2951 :[FHLC]) ac_mode=$ac_tag; continue;;
2953 case $ac_mode$ac_tag in
2955 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2956 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2957 { (exit 1); exit 1; }; };;
2958 :[FH]-) ac_tag=-:-;;
2959 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2976 -) ac_f="$tmp/stdin";;
2977 *) # Look for the file first in the build tree, then in the source tree
2978 # (if the path is not absolute). The absolute path cannot be DOS-style,
2979 # because $ac_f cannot contain `:'.
2983 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2985 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2986 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2987 { (exit 1); exit 1; }; };;
2989 ac_file_inputs="$ac_file_inputs $ac_f"
2992 # Let's still pretend it is `configure' which instantiates (i.e., don't
2993 # use $as_me), people would be surprised to read:
2994 # /* config.h. Generated by config.status. */
2995 configure_input="Generated from "`IFS=:
2996 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2997 if test x"$ac_file" != x-; then
2998 configure_input="$ac_file. $configure_input"
2999 { echo "$as_me:$LINENO: creating $ac_file" >&5
3000 echo "$as_me: creating $ac_file" >&6;}
3004 *:-:* | *:-) cat >"$tmp/stdin";;
3009 ac_dir=`$as_dirname -- "$ac_file" ||
3010 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3011 X"$ac_file" : 'X\(//\)[^/]' \| \
3012 X"$ac_file" : 'X\(//\)$' \| \
3013 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3015 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3034 -*) as_dir=./$as_dir;;
3036 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3040 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3041 *) as_qdir=$as_dir;;
3043 as_dirs="'$as_qdir' $as_dirs"
3044 as_dir=`$as_dirname -- "$as_dir" ||
3045 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3046 X"$as_dir" : 'X\(//\)[^/]' \| \
3047 X"$as_dir" : 'X\(//\)$' \| \
3048 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3067 test -d "$as_dir" && break
3069 test -z "$as_dirs" || eval "mkdir $as_dirs"
3070 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3071 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3072 { (exit 1); exit 1; }; }; }
3076 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3078 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3079 # A ".." for each directory in $ac_dir_suffix.
3080 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3081 case $ac_top_builddir_sub in
3082 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3083 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3086 ac_abs_top_builddir=$ac_pwd
3087 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3088 # for backward compatibility:
3089 ac_top_builddir=$ac_top_build_prefix
3092 .) # We are building in place.
3094 ac_top_srcdir=$ac_top_builddir_sub
3095 ac_abs_top_srcdir=$ac_pwd ;;
3096 [\\/]* | ?:[\\/]* ) # Absolute name.
3097 ac_srcdir=$srcdir$ac_dir_suffix;
3098 ac_top_srcdir=$srcdir
3099 ac_abs_top_srcdir=$srcdir ;;
3101 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3102 ac_top_srcdir=$ac_top_build_prefix$srcdir
3103 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3105 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3116 cat >>$CONFIG_STATUS <<\_ACEOF
3117 # If the template does not know about datarootdir, expand it.
3118 # FIXME: This hack should be removed a few years after 2.60.
3119 ac_datarootdir_hack=; ac_datarootdir_seen=
3121 case `sed -n '/datarootdir/ {
3130 ' $ac_file_inputs` in
3131 *datarootdir*) ac_datarootdir_seen=yes;;
3132 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3133 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3134 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3136 cat >>$CONFIG_STATUS <<_ACEOF
3137 ac_datarootdir_hack='
3138 s&@datadir@&$datadir&g
3139 s&@docdir@&$docdir&g
3140 s&@infodir@&$infodir&g
3141 s&@localedir@&$localedir&g
3142 s&@mandir@&$mandir&g
3143 s&\\\${datarootdir}&$datarootdir&g' ;;
3147 # Neutralize VPATH when `$srcdir' = `.'.
3148 # Shell code in configure.ac might set extrasub.
3149 # FIXME: do we really want to maintain this feature?
3150 cat >>$CONFIG_STATUS <<_ACEOF
3154 cat >>$CONFIG_STATUS <<\_ACEOF
3156 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3157 s&@configure_input@&$configure_input&;t t
3158 s&@top_builddir@&$ac_top_builddir_sub&;t t
3159 s&@srcdir@&$ac_srcdir&;t t
3160 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3161 s&@top_srcdir@&$ac_top_srcdir&;t t
3162 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3163 s&@builddir@&$ac_builddir&;t t
3164 s&@abs_builddir@&$ac_abs_builddir&;t t
3165 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3166 $ac_datarootdir_hack
3167 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3169 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3170 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3171 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3172 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3173 which seems to be undefined. Please make sure it is defined." >&5
3174 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3175 which seems to be undefined. Please make sure it is defined." >&2;}
3179 -) cat "$tmp/out"; rm -f "$tmp/out";;
3180 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3191 { (exit 0); exit 0; }
3193 chmod +x $CONFIG_STATUS
3194 ac_clean_files=$ac_clean_files_save
3197 # configure is writing to config.log, and then calls config.status.
3198 # config.status does its own redirection, appending to config.log.
3199 # Unfortunately, on DOS this fails, as config.log is still kept open
3200 # by configure, so config.status won't be able to write to it; its
3201 # output is simply discarded. So we exec the FD to /dev/null,
3202 # effectively closing config.log, so it can be properly (re)opened and
3203 # appended to by config.status. When coming back to configure, we
3204 # need to make the FD available again.
3205 if test "$no_create" != yes; then
3207 ac_config_status_args=
3208 test "$silent" = yes &&
3209 ac_config_status_args="$ac_config_status_args --quiet"
3211 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3213 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3214 # would make configure fail if this is the last instruction.
3215 $ac_cs_success || { (exit 1); exit 1; }