2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
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 more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
588 program_transform_name
632 ac_precious_vars='build_alias
637 # Initialize some variables set by options.
639 ac_init_version=false
640 # The variables have the same names as the options, with
641 # dashes changed to underlines.
649 program_transform_name=s,x,x,
657 # Installation directory options.
658 # These are left unexpanded so users can "make install exec_prefix=/foo"
659 # and all the variables that are supposed to be based on exec_prefix
660 # by default will actually change.
661 # Use braces instead of parens because sh, perl, etc. also accept them.
662 # (The list follows the same order as the GNU Coding Standards.)
663 bindir='${exec_prefix}/bin'
664 sbindir='${exec_prefix}/sbin'
665 libexecdir='${exec_prefix}/libexec'
666 datarootdir='${prefix}/share'
667 datadir='${datarootdir}'
668 sysconfdir='${prefix}/etc'
669 sharedstatedir='${prefix}/com'
670 localstatedir='${prefix}/var'
671 includedir='${prefix}/include'
672 oldincludedir='/usr/include'
673 docdir='${datarootdir}/doc/${PACKAGE}'
674 infodir='${datarootdir}/info'
679 libdir='${exec_prefix}/lib'
680 localedir='${datarootdir}/locale'
681 mandir='${datarootdir}/man'
687 # If the previous option needs an argument, assign it.
688 if test -n "$ac_prev"; then
689 eval $ac_prev=\$ac_option
695 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
699 # Accept the important Cygnus configure options, so we can diagnose typos.
701 case $ac_dashdash$ac_option in
705 -bindir | --bindir | --bindi | --bind | --bin | --bi)
707 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
710 -build | --build | --buil | --bui | --bu)
711 ac_prev=build_alias ;;
712 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
713 build_alias=$ac_optarg ;;
715 -cache-file | --cache-file | --cache-fil | --cache-fi \
716 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
717 ac_prev=cache_file ;;
718 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
719 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
720 cache_file=$ac_optarg ;;
723 cache_file=config.cache ;;
725 -datadir | --datadir | --datadi | --datad)
727 -datadir=* | --datadir=* | --datadi=* | --datad=*)
728 datadir=$ac_optarg ;;
730 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
731 | --dataroo | --dataro | --datar)
732 ac_prev=datarootdir ;;
733 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
734 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
735 datarootdir=$ac_optarg ;;
737 -disable-* | --disable-*)
738 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
739 # Reject names that are not valid shell variable names.
740 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
741 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
742 { (exit 1); exit 1; }; }
743 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
744 eval enable_$ac_feature=no ;;
746 -docdir | --docdir | --docdi | --doc | --do)
748 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
751 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
753 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
756 -enable-* | --enable-*)
757 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
758 # Reject names that are not valid shell variable names.
759 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
760 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
761 { (exit 1); exit 1; }; }
762 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
763 eval enable_$ac_feature=\$ac_optarg ;;
765 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
766 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
767 | --exec | --exe | --ex)
768 ac_prev=exec_prefix ;;
769 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
770 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
771 | --exec=* | --exe=* | --ex=*)
772 exec_prefix=$ac_optarg ;;
774 -gas | --gas | --ga | --g)
775 # Obsolete; use --with-gas.
778 -help | --help | --hel | --he | -h)
780 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
781 ac_init_help=recursive ;;
782 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
783 ac_init_help=short ;;
785 -host | --host | --hos | --ho)
786 ac_prev=host_alias ;;
787 -host=* | --host=* | --hos=* | --ho=*)
788 host_alias=$ac_optarg ;;
790 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
792 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
794 htmldir=$ac_optarg ;;
796 -includedir | --includedir | --includedi | --included | --include \
797 | --includ | --inclu | --incl | --inc)
798 ac_prev=includedir ;;
799 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
800 | --includ=* | --inclu=* | --incl=* | --inc=*)
801 includedir=$ac_optarg ;;
803 -infodir | --infodir | --infodi | --infod | --info | --inf)
805 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
806 infodir=$ac_optarg ;;
808 -libdir | --libdir | --libdi | --libd)
810 -libdir=* | --libdir=* | --libdi=* | --libd=*)
813 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
814 | --libexe | --libex | --libe)
815 ac_prev=libexecdir ;;
816 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
817 | --libexe=* | --libex=* | --libe=*)
818 libexecdir=$ac_optarg ;;
820 -localedir | --localedir | --localedi | --localed | --locale)
822 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
823 localedir=$ac_optarg ;;
825 -localstatedir | --localstatedir | --localstatedi | --localstated \
826 | --localstate | --localstat | --localsta | --localst | --locals)
827 ac_prev=localstatedir ;;
828 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
829 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
830 localstatedir=$ac_optarg ;;
832 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
834 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
838 # Obsolete; use --without-fp.
841 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
842 | --no-cr | --no-c | -n)
845 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
846 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
849 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
850 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
851 | --oldin | --oldi | --old | --ol | --o)
852 ac_prev=oldincludedir ;;
853 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
854 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
855 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
856 oldincludedir=$ac_optarg ;;
858 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
860 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
863 -program-prefix | --program-prefix | --program-prefi | --program-pref \
864 | --program-pre | --program-pr | --program-p)
865 ac_prev=program_prefix ;;
866 -program-prefix=* | --program-prefix=* | --program-prefi=* \
867 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
868 program_prefix=$ac_optarg ;;
870 -program-suffix | --program-suffix | --program-suffi | --program-suff \
871 | --program-suf | --program-su | --program-s)
872 ac_prev=program_suffix ;;
873 -program-suffix=* | --program-suffix=* | --program-suffi=* \
874 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
875 program_suffix=$ac_optarg ;;
877 -program-transform-name | --program-transform-name \
878 | --program-transform-nam | --program-transform-na \
879 | --program-transform-n | --program-transform- \
880 | --program-transform | --program-transfor \
881 | --program-transfo | --program-transf \
882 | --program-trans | --program-tran \
883 | --progr-tra | --program-tr | --program-t)
884 ac_prev=program_transform_name ;;
885 -program-transform-name=* | --program-transform-name=* \
886 | --program-transform-nam=* | --program-transform-na=* \
887 | --program-transform-n=* | --program-transform-=* \
888 | --program-transform=* | --program-transfor=* \
889 | --program-transfo=* | --program-transf=* \
890 | --program-trans=* | --program-tran=* \
891 | --progr-tra=* | --program-tr=* | --program-t=*)
892 program_transform_name=$ac_optarg ;;
894 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
896 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
899 -psdir | --psdir | --psdi | --psd | --ps)
901 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
904 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
905 | -silent | --silent | --silen | --sile | --sil)
908 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
910 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
912 sbindir=$ac_optarg ;;
914 -sharedstatedir | --sharedstatedir | --sharedstatedi \
915 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
916 | --sharedst | --shareds | --shared | --share | --shar \
918 ac_prev=sharedstatedir ;;
919 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
920 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
921 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
923 sharedstatedir=$ac_optarg ;;
925 -site | --site | --sit)
927 -site=* | --site=* | --sit=*)
930 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
932 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
935 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
936 | --syscon | --sysco | --sysc | --sys | --sy)
937 ac_prev=sysconfdir ;;
938 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
939 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
940 sysconfdir=$ac_optarg ;;
942 -target | --target | --targe | --targ | --tar | --ta | --t)
943 ac_prev=target_alias ;;
944 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
945 target_alias=$ac_optarg ;;
947 -v | -verbose | --verbose | --verbos | --verbo | --verb)
950 -version | --version | --versio | --versi | --vers | -V)
954 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
955 # Reject names that are not valid shell variable names.
956 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
957 { echo "$as_me: error: invalid package name: $ac_package" >&2
958 { (exit 1); exit 1; }; }
959 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
960 eval with_$ac_package=\$ac_optarg ;;
962 -without-* | --without-*)
963 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
964 # Reject names that are not valid shell variable names.
965 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
966 { echo "$as_me: error: invalid package name: $ac_package" >&2
967 { (exit 1); exit 1; }; }
968 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
969 eval with_$ac_package=no ;;
972 # Obsolete; use --with-x.
975 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
976 | --x-incl | --x-inc | --x-in | --x-i)
977 ac_prev=x_includes ;;
978 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
979 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
980 x_includes=$ac_optarg ;;
982 -x-libraries | --x-libraries | --x-librarie | --x-librari \
983 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
984 ac_prev=x_libraries ;;
985 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
986 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
987 x_libraries=$ac_optarg ;;
989 -*) { echo "$as_me: error: unrecognized option: $ac_option
990 Try \`$0 --help' for more information." >&2
991 { (exit 1); exit 1; }; }
995 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
998 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
999 { (exit 1); exit 1; }; }
1000 eval $ac_envvar=\$ac_optarg
1001 export $ac_envvar ;;
1004 # FIXME: should be removed in autoconf 3.0.
1005 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1006 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1007 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1008 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1014 if test -n "$ac_prev"; then
1015 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1016 { echo "$as_me: error: missing argument to $ac_option" >&2
1017 { (exit 1); exit 1; }; }
1020 # Be sure to have absolute directory names.
1021 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1022 datadir sysconfdir sharedstatedir localstatedir includedir \
1023 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1024 libdir localedir mandir
1026 eval ac_val=\$$ac_var
1028 [\\/$]* | ?:[\\/]* ) continue;;
1029 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1031 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1032 { (exit 1); exit 1; }; }
1035 # There might be people who depend on the old broken behavior: `$host'
1036 # used to hold the argument of --host etc.
1037 # FIXME: To remove some day.
1040 target=$target_alias
1042 # FIXME: To remove some day.
1043 if test "x$host_alias" != x; then
1044 if test "x$build_alias" = x; then
1045 cross_compiling=maybe
1046 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1047 If a cross compiler is detected then cross compile mode will be used." >&2
1048 elif test "x$build_alias" != "x$host_alias"; then
1054 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1056 test "$silent" = yes && exec 6>/dev/null
1059 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1060 ac_ls_di=`ls -di .` &&
1061 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1062 { echo "$as_me: error: Working directory cannot be determined" >&2
1063 { (exit 1); exit 1; }; }
1064 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1065 { echo "$as_me: error: pwd does not report name of working directory" >&2
1066 { (exit 1); exit 1; }; }
1069 # Find the source files, if location was not specified.
1070 if test -z "$srcdir"; then
1071 ac_srcdir_defaulted=yes
1072 # Try the directory containing this script, then the parent directory.
1073 ac_confdir=`$as_dirname -- "$0" ||
1074 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1075 X"$0" : 'X\(//\)[^/]' \| \
1076 X"$0" : 'X\(//\)$' \| \
1077 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1097 if test ! -r "$srcdir/$ac_unique_file"; then
1101 ac_srcdir_defaulted=no
1103 if test ! -r "$srcdir/$ac_unique_file"; then
1104 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1105 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1106 { (exit 1); exit 1; }; }
1108 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1110 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1111 { (exit 1); exit 1; }; }
1113 # When building in place, set srcdir=.
1114 if test "$ac_abs_confdir" = "$ac_pwd"; then
1117 # Remove unnecessary trailing slashes from srcdir.
1118 # Double slashes in file names in object file debugging info
1119 # mess up M-x gdb in Emacs.
1121 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1123 for ac_var in $ac_precious_vars; do
1124 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1125 eval ac_env_${ac_var}_value=\$${ac_var}
1126 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1127 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1131 # Report the --help message.
1133 if test "$ac_init_help" = "long"; then
1134 # Omit some internal or obsolete options to make the list less imposing.
1135 # This message is too long to be a string in the A/UX 3.1 sh.
1137 \`configure' configures this package to adapt to many kinds of systems.
1139 Usage: $0 [OPTION]... [VAR=VALUE]...
1141 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1142 VAR=VALUE. See below for descriptions of some of the useful variables.
1144 Defaults for the options are specified in brackets.
1147 -h, --help display this help and exit
1148 --help=short display options specific to this package
1149 --help=recursive display the short help of all the included packages
1150 -V, --version display version information and exit
1151 -q, --quiet, --silent do not print \`checking...' messages
1152 --cache-file=FILE cache test results in FILE [disabled]
1153 -C, --config-cache alias for \`--cache-file=config.cache'
1154 -n, --no-create do not create output files
1155 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1157 Installation directories:
1158 --prefix=PREFIX install architecture-independent files in PREFIX
1159 [$ac_default_prefix]
1160 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1163 By default, \`make install' will install all the files in
1164 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1165 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1166 for instance \`--prefix=\$HOME'.
1168 For better control, use the options below.
1170 Fine tuning of the installation directories:
1171 --bindir=DIR user executables [EPREFIX/bin]
1172 --sbindir=DIR system admin executables [EPREFIX/sbin]
1173 --libexecdir=DIR program executables [EPREFIX/libexec]
1174 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1175 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1176 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1177 --libdir=DIR object code libraries [EPREFIX/lib]
1178 --includedir=DIR C header files [PREFIX/include]
1179 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1180 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1181 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1182 --infodir=DIR info documentation [DATAROOTDIR/info]
1183 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1184 --mandir=DIR man documentation [DATAROOTDIR/man]
1185 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1186 --htmldir=DIR html documentation [DOCDIR]
1187 --dvidir=DIR dvi documentation [DOCDIR]
1188 --pdfdir=DIR pdf documentation [DOCDIR]
1189 --psdir=DIR ps documentation [DOCDIR]
1196 if test -n "$ac_init_help"; then
1204 if test "$ac_init_help" = "recursive"; then
1205 # If there are subdirs, report their specific --help.
1206 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1207 test -d "$ac_dir" || continue
1211 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1213 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1214 # A ".." for each directory in $ac_dir_suffix.
1215 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1216 case $ac_top_builddir_sub in
1217 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1218 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1221 ac_abs_top_builddir=$ac_pwd
1222 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1223 # for backward compatibility:
1224 ac_top_builddir=$ac_top_build_prefix
1227 .) # We are building in place.
1229 ac_top_srcdir=$ac_top_builddir_sub
1230 ac_abs_top_srcdir=$ac_pwd ;;
1231 [\\/]* | ?:[\\/]* ) # Absolute name.
1232 ac_srcdir=$srcdir$ac_dir_suffix;
1233 ac_top_srcdir=$srcdir
1234 ac_abs_top_srcdir=$srcdir ;;
1236 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1237 ac_top_srcdir=$ac_top_build_prefix$srcdir
1238 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1240 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1242 cd "$ac_dir" || { ac_status=$?; continue; }
1243 # Check for guested configure.
1244 if test -f "$ac_srcdir/configure.gnu"; then
1246 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1247 elif test -f "$ac_srcdir/configure"; then
1249 $SHELL "$ac_srcdir/configure" --help=recursive
1251 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1253 cd "$ac_pwd" || { ac_status=$?; break; }
1257 test -n "$ac_init_help" && exit $ac_status
1258 if $ac_init_version; then
1261 generated by GNU Autoconf 2.61
1263 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1264 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1265 This configure script is free software; the Free Software Foundation
1266 gives unlimited permission to copy, distribute and modify it.
1270 cat >config.log <<_ACEOF
1271 This file contains any messages produced by compilers while
1272 running configure, to aid debugging if configure makes a mistake.
1274 It was created by $as_me, which was
1275 generated by GNU Autoconf 2.61. Invocation command line was
1287 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1288 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1289 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1290 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1291 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1293 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1294 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1296 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1297 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1298 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1299 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1300 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1301 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1302 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1310 test -z "$as_dir" && as_dir=.
1311 echo "PATH: $as_dir"
1327 # Keep a trace of the command line.
1328 # Strip out --no-create and --no-recursion so they do not pile up.
1329 # Strip out --silent because we don't want to record it for future runs.
1330 # Also quote any args containing shell meta-characters.
1331 # Make two passes to allow for proper duplicate-argument suppression.
1335 ac_must_keep_next=false
1341 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1342 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1343 | -silent | --silent | --silen | --sile | --sil)
1346 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1349 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1351 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1352 if test $ac_must_keep_next = true; then
1353 ac_must_keep_next=false # Got value, back to normal.
1356 *=* | --config-cache | -C | -disable-* | --disable-* \
1357 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1358 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1359 | -with-* | --with-* | -without-* | --without-* | --x)
1360 case "$ac_configure_args0 " in
1361 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1364 -* ) ac_must_keep_next=true ;;
1367 ac_configure_args="$ac_configure_args '$ac_arg'"
1372 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1373 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1375 # When interrupted or exit'd, cleanup temporary files, and complete
1376 # config.log. We remove comments because anyway the quotes in there
1377 # would cause problems or look ugly.
1378 # WARNING: Use '\'' to represent an apostrophe within the trap.
1379 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1380 trap 'exit_status=$?
1381 # Save into config.log some information that might help in debugging.
1386 ## ---------------- ##
1387 ## Cache variables. ##
1388 ## ---------------- ##
1391 # The following way of writing the cache mishandles newlines in values,
1393 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1394 eval ac_val=\$$ac_var
1398 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1399 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1402 _ | IFS | as_nl) ;; #(
1403 *) $as_unset $ac_var ;;
1408 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1409 *${as_nl}ac_space=\ *)
1411 "s/'\''/'\''\\\\'\'''\''/g;
1412 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1415 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1423 ## ----------------- ##
1424 ## Output variables. ##
1425 ## ----------------- ##
1428 for ac_var in $ac_subst_vars
1430 eval ac_val=\$$ac_var
1432 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1434 echo "$ac_var='\''$ac_val'\''"
1438 if test -n "$ac_subst_files"; then
1440 ## ------------------- ##
1441 ## File substitutions. ##
1442 ## ------------------- ##
1445 for ac_var in $ac_subst_files
1447 eval ac_val=\$$ac_var
1449 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1451 echo "$ac_var='\''$ac_val'\''"
1456 if test -s confdefs.h; then
1466 test "$ac_signal" != 0 &&
1467 echo "$as_me: caught signal $ac_signal"
1468 echo "$as_me: exit $exit_status"
1470 rm -f core *.core core.conftest.* &&
1471 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1474 for ac_signal in 1 2 13 15; do
1475 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1479 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1480 rm -f -r conftest* confdefs.h
1482 # Predefined preprocessor variables.
1484 cat >>confdefs.h <<_ACEOF
1485 #define PACKAGE_NAME "$PACKAGE_NAME"
1489 cat >>confdefs.h <<_ACEOF
1490 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1494 cat >>confdefs.h <<_ACEOF
1495 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1499 cat >>confdefs.h <<_ACEOF
1500 #define PACKAGE_STRING "$PACKAGE_STRING"
1504 cat >>confdefs.h <<_ACEOF
1505 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1509 # Let the site file select an alternate cache file if it wants to.
1510 # Prefer explicitly selected file to automatically selected ones.
1511 if test -n "$CONFIG_SITE"; then
1512 set x "$CONFIG_SITE"
1513 elif test "x$prefix" != xNONE; then
1514 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1516 set x "$ac_default_prefix/share/config.site" \
1517 "$ac_default_prefix/etc/config.site"
1522 if test -r "$ac_site_file"; then
1523 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1524 echo "$as_me: loading site script $ac_site_file" >&6;}
1525 sed 's/^/| /' "$ac_site_file" >&5
1530 if test -r "$cache_file"; then
1531 # Some versions of bash will fail to source /dev/null (special
1532 # files actually), so we avoid doing that.
1533 if test -f "$cache_file"; then
1534 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1535 echo "$as_me: loading cache $cache_file" >&6;}
1537 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1538 *) . "./$cache_file";;
1542 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1543 echo "$as_me: creating cache $cache_file" >&6;}
1547 # Check that the precious variables saved in the cache have kept the same
1549 ac_cache_corrupted=false
1550 for ac_var in $ac_precious_vars; do
1551 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1552 eval ac_new_set=\$ac_env_${ac_var}_set
1553 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1554 eval ac_new_val=\$ac_env_${ac_var}_value
1555 case $ac_old_set,$ac_new_set in
1557 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1558 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1559 ac_cache_corrupted=: ;;
1561 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1562 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1563 ac_cache_corrupted=: ;;
1566 if test "x$ac_old_val" != "x$ac_new_val"; then
1567 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1568 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1569 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1570 echo "$as_me: former value: $ac_old_val" >&2;}
1571 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1572 echo "$as_me: current value: $ac_new_val" >&2;}
1573 ac_cache_corrupted=:
1576 # Pass precious variables to config.status.
1577 if test "$ac_new_set" = set; then
1579 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1580 *) ac_arg=$ac_var=$ac_new_val ;;
1582 case " $ac_configure_args " in
1583 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1584 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1588 if $ac_cache_corrupted; then
1589 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1590 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1591 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1592 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1593 { (exit 1); exit 1; }; }
1613 ac_cpp='$CPP $CPPFLAGS'
1614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1621 #AC_DEFUN(AC_CONFIG_FILES)
1623 # Checks for programs.
1624 # Extract the first word of "gpasm", so it can be a program name with args.
1625 set dummy gpasm; ac_word=$2
1626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1628 if test "${ac_cv_prog_GPASM+set}" = set; then
1629 echo $ECHO_N "(cached) $ECHO_C" >&6
1631 if test -n "$GPASM"; then
1632 ac_cv_prog_GPASM="$GPASM" # Let the user override the test.
1634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1638 test -z "$as_dir" && as_dir=.
1639 for ac_exec_ext in '' $ac_executable_extensions; do
1640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1641 ac_cv_prog_GPASM="gpasm"
1642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1649 test -z "$ac_cv_prog_GPASM" && ac_cv_prog_GPASM=":"
1652 GPASM=$ac_cv_prog_GPASM
1653 if test -n "$GPASM"; then
1654 { echo "$as_me:$LINENO: result: $GPASM" >&5
1655 echo "${ECHO_T}$GPASM" >&6; }
1657 { echo "$as_me:$LINENO: result: no" >&5
1658 echo "${ECHO_T}no" >&6; }
1662 # Extract the first word of "gplink", so it can be a program name with args.
1663 set dummy gplink; ac_word=$2
1664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1666 if test "${ac_cv_prog_GPLINK+set}" = set; then
1667 echo $ECHO_N "(cached) $ECHO_C" >&6
1669 if test -n "$GPLINK"; then
1670 ac_cv_prog_GPLINK="$GPLINK" # Let the user override the test.
1672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1676 test -z "$as_dir" && as_dir=.
1677 for ac_exec_ext in '' $ac_executable_extensions; do
1678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1679 ac_cv_prog_GPLINK="gplink"
1680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1687 test -z "$ac_cv_prog_GPLINK" && ac_cv_prog_GPLINK=":"
1690 GPLINK=$ac_cv_prog_GPLINK
1691 if test -n "$GPLINK"; then
1692 { echo "$as_me:$LINENO: result: $GPLINK" >&5
1693 echo "${ECHO_T}$GPLINK" >&6; }
1695 { echo "$as_me:$LINENO: result: no" >&5
1696 echo "${ECHO_T}no" >&6; }
1700 # Extract the first word of "gplib", so it can be a program name with args.
1701 set dummy gplib; ac_word=$2
1702 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1704 if test "${ac_cv_prog_GPLIB+set}" = set; then
1705 echo $ECHO_N "(cached) $ECHO_C" >&6
1707 if test -n "$GPLIB"; then
1708 ac_cv_prog_GPLIB="$GPLIB" # Let the user override the test.
1710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714 test -z "$as_dir" && as_dir=.
1715 for ac_exec_ext in '' $ac_executable_extensions; do
1716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1717 ac_cv_prog_GPLIB="gplib"
1718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1725 test -z "$ac_cv_prog_GPLIB" && ac_cv_prog_GPLIB=":"
1728 GPLIB=$ac_cv_prog_GPLIB
1729 if test -n "$GPLIB"; then
1730 { echo "$as_me:$LINENO: result: $GPLIB" >&5
1731 echo "${ECHO_T}$GPLIB" >&6; }
1733 { echo "$as_me:$LINENO: result: no" >&5
1734 echo "${ECHO_T}no" >&6; }
1739 # Extract the first word of "rm", so it can be a program name with args.
1740 set dummy rm; ac_word=$2
1741 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1743 if test "${ac_cv_prog_RM+set}" = set; then
1744 echo $ECHO_N "(cached) $ECHO_C" >&6
1746 if test -n "$RM"; then
1747 ac_cv_prog_RM="$RM" # Let the user override the test.
1749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1753 test -z "$as_dir" && as_dir=.
1754 for ac_exec_ext in '' $ac_executable_extensions; do
1755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1756 ac_cv_prog_RM="rm -f"
1757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1764 test -z "$ac_cv_prog_RM" && ac_cv_prog_RM=":"
1768 if test -n "$RM"; then
1769 { echo "$as_me:$LINENO: result: $RM" >&5
1770 echo "${ECHO_T}$RM" >&6; }
1772 { echo "$as_me:$LINENO: result: no" >&5
1773 echo "${ECHO_T}no" >&6; }
1777 # Extract the first word of "cp", so it can be a program name with args.
1778 set dummy cp; ac_word=$2
1779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1781 if test "${ac_cv_prog_CP+set}" = set; then
1782 echo $ECHO_N "(cached) $ECHO_C" >&6
1784 if test -n "$CP"; then
1785 ac_cv_prog_CP="$CP" # Let the user override the test.
1787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1791 test -z "$as_dir" && as_dir=.
1792 for ac_exec_ext in '' $ac_executable_extensions; do
1793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1802 test -z "$ac_cv_prog_CP" && ac_cv_prog_CP=":"
1806 if test -n "$CP"; then
1807 { echo "$as_me:$LINENO: result: $CP" >&5
1808 echo "${ECHO_T}$CP" >&6; }
1810 { echo "$as_me:$LINENO: result: no" >&5
1811 echo "${ECHO_T}no" >&6; }
1815 # Extract the first word of "mv", so it can be a program name with args.
1816 set dummy mv; ac_word=$2
1817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1819 if test "${ac_cv_prog_MV+set}" = set; then
1820 echo $ECHO_N "(cached) $ECHO_C" >&6
1822 if test -n "$MV"; then
1823 ac_cv_prog_MV="$MV" # Let the user override the test.
1825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1829 test -z "$as_dir" && as_dir=.
1830 for ac_exec_ext in '' $ac_executable_extensions; do
1831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1840 test -z "$ac_cv_prog_MV" && ac_cv_prog_MV=":"
1844 if test -n "$MV"; then
1845 { echo "$as_me:$LINENO: result: $MV" >&5
1846 echo "${ECHO_T}$MV" >&6; }
1848 { echo "$as_me:$LINENO: result: no" >&5
1849 echo "${ECHO_T}no" >&6; }
1853 # Extract the first word of "ls", so it can be a program name with args.
1854 set dummy ls; ac_word=$2
1855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1857 if test "${ac_cv_prog_LS+set}" = set; then
1858 echo $ECHO_N "(cached) $ECHO_C" >&6
1860 if test -n "$LS"; then
1861 ac_cv_prog_LS="$LS" # Let the user override the test.
1863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1867 test -z "$as_dir" && as_dir=.
1868 for ac_exec_ext in '' $ac_executable_extensions; do
1869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1878 test -z "$ac_cv_prog_LS" && ac_cv_prog_LS=":"
1882 if test -n "$LS"; then
1883 { echo "$as_me:$LINENO: result: $LS" >&5
1884 echo "${ECHO_T}$LS" >&6; }
1886 { echo "$as_me:$LINENO: result: no" >&5
1887 echo "${ECHO_T}no" >&6; }
1891 # Extract the first word of "sed", so it can be a program name with args.
1892 set dummy sed; ac_word=$2
1893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1895 if test "${ac_cv_prog_SED+set}" = set; then
1896 echo $ECHO_N "(cached) $ECHO_C" >&6
1898 if test -n "$SED"; then
1899 ac_cv_prog_SED="$SED" # Let the user override the test.
1901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1905 test -z "$as_dir" && as_dir=.
1906 for ac_exec_ext in '' $ac_executable_extensions; do
1907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1908 ac_cv_prog_SED="sed"
1909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1916 test -z "$ac_cv_prog_SED" && ac_cv_prog_SED=":"
1920 if test -n "$SED"; then
1921 { echo "$as_me:$LINENO: result: $SED" >&5
1922 echo "${ECHO_T}$SED" >&6; }
1924 { echo "$as_me:$LINENO: result: no" >&5
1925 echo "${ECHO_T}no" >&6; }
1929 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
1930 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
1931 if test "${ac_cv_path_GREP+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 # Extract the first word of "grep ggrep" to use in msg output
1935 if test -z "$GREP"; then
1936 set dummy grep ggrep; ac_prog_name=$2
1937 if test "${ac_cv_path_GREP+set}" = set; then
1938 echo $ECHO_N "(cached) $ECHO_C" >&6
1940 ac_path_GREP_found=false
1941 # Loop through the user's path and test for each of PROGNAME-LIST
1942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1943 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
1946 test -z "$as_dir" && as_dir=.
1947 for ac_prog in grep ggrep; do
1948 for ac_exec_ext in '' $ac_executable_extensions; do
1949 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1950 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
1951 # Check for GNU ac_path_GREP and select it if it is found.
1952 # Check for GNU $ac_path_GREP
1953 case `"$ac_path_GREP" --version 2>&1` in
1955 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
1958 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
1961 cat "conftest.in" "conftest.in" >"conftest.tmp"
1962 mv "conftest.tmp" "conftest.in"
1963 cp "conftest.in" "conftest.nl"
1964 echo 'GREP' >> "conftest.nl"
1965 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
1966 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1967 ac_count=`expr $ac_count + 1`
1968 if test $ac_count -gt ${ac_path_GREP_max-0}; then
1969 # Best one so far, save it but keep looking for a better one
1970 ac_cv_path_GREP="$ac_path_GREP"
1971 ac_path_GREP_max=$ac_count
1973 # 10*(2^10) chars as input seems more than enough
1974 test $ac_count -gt 10 && break
1976 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
1980 $ac_path_GREP_found && break 3
1990 GREP="$ac_cv_path_GREP"
1991 if test -z "$GREP"; then
1992 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
1993 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
1994 { (exit 1); exit 1; }; }
1998 ac_cv_path_GREP=$GREP
2003 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2004 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2005 GREP="$ac_cv_path_GREP"
2008 { echo "$as_me:$LINENO: checking for egrep" >&5
2009 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2010 if test "${ac_cv_path_EGREP+set}" = set; then
2011 echo $ECHO_N "(cached) $ECHO_C" >&6
2013 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2014 then ac_cv_path_EGREP="$GREP -E"
2016 # Extract the first word of "egrep" to use in msg output
2017 if test -z "$EGREP"; then
2018 set dummy egrep; ac_prog_name=$2
2019 if test "${ac_cv_path_EGREP+set}" = set; then
2020 echo $ECHO_N "(cached) $ECHO_C" >&6
2022 ac_path_EGREP_found=false
2023 # Loop through the user's path and test for each of PROGNAME-LIST
2024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2025 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2028 test -z "$as_dir" && as_dir=.
2029 for ac_prog in egrep; do
2030 for ac_exec_ext in '' $ac_executable_extensions; do
2031 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2032 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2033 # Check for GNU ac_path_EGREP and select it if it is found.
2034 # Check for GNU $ac_path_EGREP
2035 case `"$ac_path_EGREP" --version 2>&1` in
2037 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2040 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2043 cat "conftest.in" "conftest.in" >"conftest.tmp"
2044 mv "conftest.tmp" "conftest.in"
2045 cp "conftest.in" "conftest.nl"
2046 echo 'EGREP' >> "conftest.nl"
2047 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2048 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2049 ac_count=`expr $ac_count + 1`
2050 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2051 # Best one so far, save it but keep looking for a better one
2052 ac_cv_path_EGREP="$ac_path_EGREP"
2053 ac_path_EGREP_max=$ac_count
2055 # 10*(2^10) chars as input seems more than enough
2056 test $ac_count -gt 10 && break
2058 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2062 $ac_path_EGREP_found && break 3
2072 EGREP="$ac_cv_path_EGREP"
2073 if test -z "$EGREP"; then
2074 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2075 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2076 { (exit 1); exit 1; }; }
2080 ac_cv_path_EGREP=$EGREP
2086 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2087 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
2088 EGREP="$ac_cv_path_EGREP"
2091 # Extract the first word of "mkdir", so it can be a program name with args.
2092 set dummy mkdir; ac_word=$2
2093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2095 if test "${ac_cv_prog_MKDIR+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 if test -n "$MKDIR"; then
2099 ac_cv_prog_MKDIR="$MKDIR" # Let the user override the test.
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir=.
2106 for ac_exec_ext in '' $ac_executable_extensions; do
2107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2108 ac_cv_prog_MKDIR="mkdir -p"
2109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2116 test -z "$ac_cv_prog_MKDIR" && ac_cv_prog_MKDIR=":"
2119 MKDIR=$ac_cv_prog_MKDIR
2120 if test -n "$MKDIR"; then
2121 { echo "$as_me:$LINENO: result: $MKDIR" >&5
2122 echo "${ECHO_T}$MKDIR" >&6; }
2124 { echo "$as_me:$LINENO: result: no" >&5
2125 echo "${ECHO_T}no" >&6; }
2129 # Extract the first word of "rm", so it can be a program name with args.
2130 set dummy rm; ac_word=$2
2131 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2133 if test "${ac_cv_prog_RMDIR+set}" = set; then
2134 echo $ECHO_N "(cached) $ECHO_C" >&6
2136 if test -n "$RMDIR"; then
2137 ac_cv_prog_RMDIR="$RMDIR" # Let the user override the test.
2139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143 test -z "$as_dir" && as_dir=.
2144 for ac_exec_ext in '' $ac_executable_extensions; do
2145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2146 ac_cv_prog_RMDIR="rm -rf"
2147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 test -z "$ac_cv_prog_RMDIR" && ac_cv_prog_RMDIR=":"
2157 RMDIR=$ac_cv_prog_RMDIR
2158 if test -n "$RMDIR"; then
2159 { echo "$as_me:$LINENO: result: $RMDIR" >&5
2160 echo "${ECHO_T}$RMDIR" >&6; }
2162 { echo "$as_me:$LINENO: result: no" >&5
2163 echo "${ECHO_T}no" >&6; }
2168 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2169 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2170 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2171 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2172 echo $ECHO_N "(cached) $ECHO_C" >&6
2174 cat >conftest.make <<\_ACEOF
2177 @echo '@@@%%%=$(MAKE)=@@@%%%'
2179 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2180 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2182 eval ac_cv_prog_make_${ac_make}_set=yes;;
2184 eval ac_cv_prog_make_${ac_make}_set=no;;
2188 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2189 { echo "$as_me:$LINENO: result: yes" >&5
2190 echo "${ECHO_T}yes" >&6; }
2193 { echo "$as_me:$LINENO: result: no" >&5
2194 echo "${ECHO_T}no" >&6; }
2195 SET_MAKE="MAKE=${MAKE-make}"
2199 # Checks for libraries.
2201 # Checks for header files.
2203 # Checks for typedefs, structures, and compiler characteristics.
2205 # Checks for library functions.
2207 $CP "$srcdir"/pics.all pics.build
2209 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"
2211 cat >confcache <<\_ACEOF
2212 # This file is a shell script that caches the results of configure
2213 # tests run on this system so they can be shared between configure
2214 # scripts and configure runs, see configure's option --config-cache.
2215 # It is not useful on other systems. If it contains results you don't
2216 # want to keep, you may remove or edit it.
2218 # config.status only pays attention to the cache file if you give it
2219 # the --recheck option to rerun configure.
2221 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2222 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2227 # The following way of writing the cache mishandles newlines in values,
2228 # but we know of no workaround that is simple, portable, and efficient.
2229 # So, we kill variables containing newlines.
2230 # Ultrix sh set writes to stderr and can't be redirected directly,
2231 # and sets the high bit in the cache file unless we assign to the vars.
2233 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2234 eval ac_val=\$$ac_var
2238 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2239 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2242 _ | IFS | as_nl) ;; #(
2243 *) $as_unset $ac_var ;;
2249 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2250 *${as_nl}ac_space=\ *)
2251 # `set' does not quote correctly, so add quotes (double-quote
2252 # substitution turns \\\\ into \\, and sed turns \\ into \).
2255 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2258 # `set' quotes correctly as required by POSIX, so do not add quotes.
2259 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2268 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2270 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2272 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2273 if test -w "$cache_file"; then
2274 test "x$cache_file" != "x/dev/null" &&
2275 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2276 echo "$as_me: updating cache $cache_file" >&6;}
2277 cat confcache >$cache_file
2279 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2280 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2285 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2286 # Let make expand exec_prefix.
2287 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2289 # Transform confdefs.h into DEFS.
2290 # Protect against shell expansion while executing Makefile rules.
2291 # Protect against Makefile macro expansion.
2293 # If the first sed substitution is executed (which looks for macros that
2294 # take arguments), then branch to the quote section. Otherwise,
2295 # look for a macro that doesn't take arguments.
2299 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2301 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2305 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2318 DEFS=`sed -n "$ac_script" confdefs.h`
2323 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2324 # 1. Remove the extension, and $U if already installed.
2325 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2326 ac_i=`echo "$ac_i" | sed "$ac_script"`
2327 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2328 # will be set to the directory where LIBOBJS objects are built.
2329 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2330 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2334 LTLIBOBJS=$ac_ltlibobjs
2338 : ${CONFIG_STATUS=./config.status}
2339 ac_clean_files_save=$ac_clean_files
2340 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2341 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2342 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2343 cat >$CONFIG_STATUS <<_ACEOF
2345 # Generated by $as_me.
2346 # Run this file to recreate the current configuration.
2347 # Compiler output produced by configure, useful for debugging
2348 # configure, is in config.log if it exists.
2353 SHELL=\${CONFIG_SHELL-$SHELL}
2356 cat >>$CONFIG_STATUS <<\_ACEOF
2357 ## --------------------- ##
2358 ## M4sh Initialization. ##
2359 ## --------------------- ##
2361 # Be more Bourne compatible
2362 DUALCASE=1; export DUALCASE # for MKS sh
2363 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2366 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2367 # is contrary to our usage. Disable this feature.
2368 alias -g '${1+"$@"}'='"$@"'
2369 setopt NO_GLOB_SUBST
2371 case `(set -o) 2>/dev/null` in
2372 *posix*) set -o posix ;;
2381 # Avoid depending upon Character Ranges.
2382 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2383 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2384 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2385 as_cr_digits='0123456789'
2386 as_cr_alnum=$as_cr_Letters$as_cr_digits
2388 # The user is always right.
2389 if test "${PATH_SEPARATOR+set}" != set; then
2390 echo "#! /bin/sh" >conf$$.sh
2391 echo "exit 0" >>conf$$.sh
2393 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2401 # Support unset when possible.
2402 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2410 # We need space, tab and new line, in precisely that order. Quoting is
2411 # there to prevent editors from complaining about space-tab.
2412 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2413 # splitting by setting IFS to empty value.)
2418 # Find who we are. Look in the path if we contain no directory separator.
2420 *[\\/]* ) as_myself=$0 ;;
2421 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2425 test -z "$as_dir" && as_dir=.
2426 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2432 # We did not find ourselves, most probably we were run as `sh COMMAND'
2433 # in which case we are not to be found in the path.
2434 if test "x$as_myself" = x; then
2437 if test ! -f "$as_myself"; then
2438 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2439 { (exit 1); exit 1; }
2442 # Work around bugs in pre-3.0 UWIN ksh.
2443 for as_var in ENV MAIL MAILPATH
2444 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2452 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2453 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2454 LC_TELEPHONE LC_TIME
2456 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2457 eval $as_var=C; export $as_var
2459 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2463 # Required to use basename.
2464 if expr a : '\(a\)' >/dev/null 2>&1 &&
2465 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2471 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2472 as_basename=basename
2478 # Name of the executable.
2479 as_me=`$as_basename -- "$0" ||
2480 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2481 X"$0" : 'X\(//\)$' \| \
2482 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2484 sed '/^.*\/\([^/][^/]*\)\/*$/{
2505 test "x$as_lineno_1" != "x$as_lineno_2" &&
2506 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2508 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2509 # uniformly replaced by the line number. The first 'sed' inserts a
2510 # line-number line after each line using $LINENO; the second 'sed'
2511 # does the real work. The second script uses 'N' to pair each
2512 # line-number line with the line containing $LINENO, and appends
2513 # trailing '-' during substitution so that $LINENO is not a special
2515 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2516 # scripts with optimization help from Paolo Bonzini. Blame Lee
2517 # E. McMahon (1931-1989) for sed's syntax. :-)
2529 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2533 chmod +x "$as_me.lineno" ||
2534 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2535 { (exit 1); exit 1; }; }
2537 # Don't try to exec as it changes $[0], causing all sort of problems
2538 # (the dirname of $[0] is not the place where we might find the
2539 # original and so on. Autoconf is especially sensitive to this).
2541 # Exit status is that of the last command.
2546 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2552 ECHO_C= ECHO_N= ECHO_T=
2555 case `echo 'x\c'` in
2556 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2563 if expr a : '\(a\)' >/dev/null 2>&1 &&
2564 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2570 rm -f conf$$ conf$$.exe conf$$.file
2571 if test -d conf$$.dir; then
2572 rm -f conf$$.dir/conf$$.file
2578 if ln -s conf$$.file conf$$ 2>/dev/null; then
2580 # ... but there are two gotchas:
2581 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2582 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2583 # In both cases, we have to default to `cp -p'.
2584 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2586 elif ln conf$$.file conf$$ 2>/dev/null; then
2591 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2592 rmdir conf$$.dir 2>/dev/null
2594 if mkdir -p . 2>/dev/null; then
2597 test -d ./-p && rmdir ./-p
2601 if test -x / >/dev/null 2>&1; then
2604 if ls -dL / >/dev/null 2>&1; then
2611 if test -d "$1"; then
2617 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2618 ???[sx]*):;;*)false;;esac;fi
2622 as_executable_p=$as_test_x
2624 # Sed expression to map a string onto a valid CPP name.
2625 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2627 # Sed expression to map a string onto a valid variable name.
2628 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2633 # Save the log message, to keep $[0] and so on meaningful, and to
2634 # report actual input values of CONFIG_FILES etc. instead of their
2635 # values after options handling.
2637 This file was extended by $as_me, which was
2638 generated by GNU Autoconf 2.61. Invocation command line was
2640 CONFIG_FILES = $CONFIG_FILES
2641 CONFIG_HEADERS = $CONFIG_HEADERS
2642 CONFIG_LINKS = $CONFIG_LINKS
2643 CONFIG_COMMANDS = $CONFIG_COMMANDS
2646 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2651 cat >>$CONFIG_STATUS <<_ACEOF
2652 # Files that config.status was made for.
2653 config_files="$ac_config_files"
2657 cat >>$CONFIG_STATUS <<\_ACEOF
2659 \`$as_me' instantiates files from templates according to the
2660 current configuration.
2662 Usage: $0 [OPTIONS] [FILE]...
2664 -h, --help print this help, then exit
2665 -V, --version print version number and configuration settings, then exit
2666 -q, --quiet do not print progress messages
2667 -d, --debug don't remove temporary files
2668 --recheck update $as_me by reconfiguring in the same conditions
2669 --file=FILE[:TEMPLATE]
2670 instantiate the configuration file FILE
2672 Configuration files:
2675 Report bugs to <bug-autoconf@gnu.org>."
2678 cat >>$CONFIG_STATUS <<_ACEOF
2681 configured by $0, generated by GNU Autoconf 2.61,
2682 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2684 Copyright (C) 2006 Free Software Foundation, Inc.
2685 This config.status script is free software; the Free Software Foundation
2686 gives unlimited permission to copy, distribute and modify it."
2692 cat >>$CONFIG_STATUS <<\_ACEOF
2693 # If no file are specified by the user, then we need to provide default
2694 # value. By we need to know if files were specified by the user.
2700 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2701 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2712 # Handling of the options.
2713 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2715 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2716 echo "$ac_cs_version"; exit ;;
2717 --debug | --debu | --deb | --de | --d | -d )
2719 --file | --fil | --fi | --f )
2721 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2722 ac_need_defaults=false;;
2723 --he | --h | --help | --hel | -h )
2724 echo "$ac_cs_usage"; exit ;;
2725 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2726 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2730 -*) { echo "$as_me: error: unrecognized option: $1
2731 Try \`$0 --help' for more information." >&2
2732 { (exit 1); exit 1; }; } ;;
2734 *) ac_config_targets="$ac_config_targets $1"
2735 ac_need_defaults=false ;;
2741 ac_configure_extra_args=
2743 if $ac_cs_silent; then
2745 ac_configure_extra_args="$ac_configure_extra_args --silent"
2749 cat >>$CONFIG_STATUS <<_ACEOF
2750 if \$ac_cs_recheck; then
2751 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2754 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2758 cat >>$CONFIG_STATUS <<\_ACEOF
2762 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2763 ## Running $as_me. ##
2769 cat >>$CONFIG_STATUS <<_ACEOF
2772 cat >>$CONFIG_STATUS <<\_ACEOF
2774 # Handling of arguments.
2775 for ac_config_target in $ac_config_targets
2777 case $ac_config_target in
2778 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2779 "Makefile.common") CONFIG_FILES="$CONFIG_FILES Makefile.common" ;;
2780 "debug/Makefile") CONFIG_FILES="$CONFIG_FILES debug/Makefile" ;;
2781 "debug/gstack/Makefile") CONFIG_FILES="$CONFIG_FILES debug/gstack/Makefile" ;;
2782 "libc/Makefile") CONFIG_FILES="$CONFIG_FILES libc/Makefile" ;;
2783 "libc/ctype/Makefile") CONFIG_FILES="$CONFIG_FILES libc/ctype/Makefile" ;;
2784 "libc/delay/Makefile") CONFIG_FILES="$CONFIG_FILES libc/delay/Makefile" ;;
2785 "libc/stdio/Makefile") CONFIG_FILES="$CONFIG_FILES libc/stdio/Makefile" ;;
2786 "libc/stdlib/Makefile") CONFIG_FILES="$CONFIG_FILES libc/stdlib/Makefile" ;;
2787 "libc/string/Makefile") CONFIG_FILES="$CONFIG_FILES libc/string/Makefile" ;;
2788 "libc/utils/Makefile") CONFIG_FILES="$CONFIG_FILES libc/utils/Makefile" ;;
2789 "libdev/Makefile") CONFIG_FILES="$CONFIG_FILES libdev/Makefile" ;;
2790 "libio/Makefile") CONFIG_FILES="$CONFIG_FILES libio/Makefile" ;;
2791 "libio/adc/Makefile") CONFIG_FILES="$CONFIG_FILES libio/adc/Makefile" ;;
2792 "libio/i2c/Makefile") CONFIG_FILES="$CONFIG_FILES libio/i2c/Makefile" ;;
2793 "libio/usart/Makefile") CONFIG_FILES="$CONFIG_FILES libio/usart/Makefile" ;;
2794 "libm/Makefile") CONFIG_FILES="$CONFIG_FILES libm/Makefile" ;;
2795 "libsdcc/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/Makefile" ;;
2796 "libsdcc/char/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/char/Makefile" ;;
2797 "libsdcc/fixed16x16/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/fixed16x16/Makefile" ;;
2798 "libsdcc/float/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/float/Makefile" ;;
2799 "libsdcc/gptr/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/gptr/Makefile" ;;
2800 "libsdcc/int/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/int/Makefile" ;;
2801 "libsdcc/long/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/long/Makefile" ;;
2802 "libsdcc/lregs/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/lregs/Makefile" ;;
2803 "libsdcc/stack/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/stack/Makefile" ;;
2804 "startup/Makefile") CONFIG_FILES="$CONFIG_FILES startup/Makefile" ;;
2806 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2807 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2808 { (exit 1); exit 1; }; };;
2813 # If the user did not use the arguments to specify the items to instantiate,
2814 # then the envvar interface is used. Set only those that are not.
2815 # We use the long form for the default assignment because of an extremely
2816 # bizarre bug on SunOS 4.1.3.
2817 if $ac_need_defaults; then
2818 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2821 # Have a temporary directory for convenience. Make it in the build tree
2822 # simply because there is no reason against having it here, and in addition,
2823 # creating and moving files from /tmp can sometimes cause problems.
2824 # Hook for its removal unless debugging.
2825 # Note that there is a small window in which the directory will not be cleaned:
2826 # after its creation but before its name has been assigned to `$tmp'.
2830 trap 'exit_status=$?
2831 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2833 trap '{ (exit 1); exit 1; }' 1 2 13 15
2835 # Create a (secure) tmp directory for tmp files.
2838 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2839 test -n "$tmp" && test -d "$tmp"
2842 tmp=./conf$$-$RANDOM
2843 (umask 077 && mkdir "$tmp")
2846 echo "$me: cannot create a temporary directory in ." >&2
2847 { (exit 1); exit 1; }
2851 # Set up the sed scripts for CONFIG_FILES section.
2854 # No need to generate the scripts if there are no CONFIG_FILES.
2855 # This happens for instance when ./config.status config.h
2856 if test -n "$CONFIG_FILES"; then
2863 for ac_last_try in false false false false false :; do
2864 cat >conf$$subs.sed <<_ACEOF
2865 SHELL!$SHELL$ac_delim
2866 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2867 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2868 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2869 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2870 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2871 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2872 exec_prefix!$exec_prefix$ac_delim
2873 prefix!$prefix$ac_delim
2874 program_transform_name!$program_transform_name$ac_delim
2875 bindir!$bindir$ac_delim
2876 sbindir!$sbindir$ac_delim
2877 libexecdir!$libexecdir$ac_delim
2878 datarootdir!$datarootdir$ac_delim
2879 datadir!$datadir$ac_delim
2880 sysconfdir!$sysconfdir$ac_delim
2881 sharedstatedir!$sharedstatedir$ac_delim
2882 localstatedir!$localstatedir$ac_delim
2883 includedir!$includedir$ac_delim
2884 oldincludedir!$oldincludedir$ac_delim
2885 docdir!$docdir$ac_delim
2886 infodir!$infodir$ac_delim
2887 htmldir!$htmldir$ac_delim
2888 dvidir!$dvidir$ac_delim
2889 pdfdir!$pdfdir$ac_delim
2890 psdir!$psdir$ac_delim
2891 libdir!$libdir$ac_delim
2892 localedir!$localedir$ac_delim
2893 mandir!$mandir$ac_delim
2895 ECHO_C!$ECHO_C$ac_delim
2896 ECHO_N!$ECHO_N$ac_delim
2897 ECHO_T!$ECHO_T$ac_delim
2899 build_alias!$build_alias$ac_delim
2900 host_alias!$host_alias$ac_delim
2901 target_alias!$target_alias$ac_delim
2902 GPASM!$GPASM$ac_delim
2903 GPLINK!$GPLINK$ac_delim
2904 GPLIB!$GPLIB$ac_delim
2911 EGREP!$EGREP$ac_delim
2912 MKDIR!$MKDIR$ac_delim
2913 RMDIR!$RMDIR$ac_delim
2914 SET_MAKE!$SET_MAKE$ac_delim
2915 LIBOBJS!$LIBOBJS$ac_delim
2916 LTLIBOBJS!$LTLIBOBJS$ac_delim
2919 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then
2921 elif $ac_last_try; then
2922 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2923 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2924 { (exit 1); exit 1; }; }
2926 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2930 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2931 if test -n "$ac_eof"; then
2932 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2933 ac_eof=`expr $ac_eof + 1`
2936 cat >>$CONFIG_STATUS <<_ACEOF
2937 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2938 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2941 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2942 s/^/s,@/; s/!/@,|#_!!_#|/
2945 s/'"$ac_delim"'$/,g/; t
2947 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2948 ' >>$CONFIG_STATUS <conf$$subs.sed
2949 rm -f conf$$subs.sed
2950 cat >>$CONFIG_STATUS <<_ACEOF
2957 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2958 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2959 # trailing colons and then remove the whole line if VPATH becomes empty
2960 # (actually we leave an empty line to preserve line numbers).
2961 if test "x$srcdir" = x.; then
2962 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2966 s/^\([^=]*=[ ]*\):*/\1/
2972 cat >>$CONFIG_STATUS <<\_ACEOF
2973 fi # test -n "$CONFIG_FILES"
2976 for ac_tag in :F $CONFIG_FILES
2979 :[FHLC]) ac_mode=$ac_tag; continue;;
2981 case $ac_mode$ac_tag in
2983 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2984 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2985 { (exit 1); exit 1; }; };;
2986 :[FH]-) ac_tag=-:-;;
2987 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3004 -) ac_f="$tmp/stdin";;
3005 *) # Look for the file first in the build tree, then in the source tree
3006 # (if the path is not absolute). The absolute path cannot be DOS-style,
3007 # because $ac_f cannot contain `:'.
3011 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3013 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3014 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3015 { (exit 1); exit 1; }; };;
3017 ac_file_inputs="$ac_file_inputs $ac_f"
3020 # Let's still pretend it is `configure' which instantiates (i.e., don't
3021 # use $as_me), people would be surprised to read:
3022 # /* config.h. Generated by config.status. */
3023 configure_input="Generated from "`IFS=:
3024 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3025 if test x"$ac_file" != x-; then
3026 configure_input="$ac_file. $configure_input"
3027 { echo "$as_me:$LINENO: creating $ac_file" >&5
3028 echo "$as_me: creating $ac_file" >&6;}
3032 *:-:* | *:-) cat >"$tmp/stdin";;
3037 ac_dir=`$as_dirname -- "$ac_file" ||
3038 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3039 X"$ac_file" : 'X\(//\)[^/]' \| \
3040 X"$ac_file" : 'X\(//\)$' \| \
3041 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3043 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3062 -*) as_dir=./$as_dir;;
3064 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3068 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3069 *) as_qdir=$as_dir;;
3071 as_dirs="'$as_qdir' $as_dirs"
3072 as_dir=`$as_dirname -- "$as_dir" ||
3073 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3074 X"$as_dir" : 'X\(//\)[^/]' \| \
3075 X"$as_dir" : 'X\(//\)$' \| \
3076 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3095 test -d "$as_dir" && break
3097 test -z "$as_dirs" || eval "mkdir $as_dirs"
3098 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3099 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3100 { (exit 1); exit 1; }; }; }
3104 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3106 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3107 # A ".." for each directory in $ac_dir_suffix.
3108 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3109 case $ac_top_builddir_sub in
3110 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3111 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3114 ac_abs_top_builddir=$ac_pwd
3115 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3116 # for backward compatibility:
3117 ac_top_builddir=$ac_top_build_prefix
3120 .) # We are building in place.
3122 ac_top_srcdir=$ac_top_builddir_sub
3123 ac_abs_top_srcdir=$ac_pwd ;;
3124 [\\/]* | ?:[\\/]* ) # Absolute name.
3125 ac_srcdir=$srcdir$ac_dir_suffix;
3126 ac_top_srcdir=$srcdir
3127 ac_abs_top_srcdir=$srcdir ;;
3129 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3130 ac_top_srcdir=$ac_top_build_prefix$srcdir
3131 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3133 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3144 cat >>$CONFIG_STATUS <<\_ACEOF
3145 # If the template does not know about datarootdir, expand it.
3146 # FIXME: This hack should be removed a few years after 2.60.
3147 ac_datarootdir_hack=; ac_datarootdir_seen=
3149 case `sed -n '/datarootdir/ {
3158 ' $ac_file_inputs` in
3159 *datarootdir*) ac_datarootdir_seen=yes;;
3160 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3161 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3162 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3164 cat >>$CONFIG_STATUS <<_ACEOF
3165 ac_datarootdir_hack='
3166 s&@datadir@&$datadir&g
3167 s&@docdir@&$docdir&g
3168 s&@infodir@&$infodir&g
3169 s&@localedir@&$localedir&g
3170 s&@mandir@&$mandir&g
3171 s&\\\${datarootdir}&$datarootdir&g' ;;
3175 # Neutralize VPATH when `$srcdir' = `.'.
3176 # Shell code in configure.ac might set extrasub.
3177 # FIXME: do we really want to maintain this feature?
3178 cat >>$CONFIG_STATUS <<_ACEOF
3182 cat >>$CONFIG_STATUS <<\_ACEOF
3184 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3185 s&@configure_input@&$configure_input&;t t
3186 s&@top_builddir@&$ac_top_builddir_sub&;t t
3187 s&@srcdir@&$ac_srcdir&;t t
3188 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3189 s&@top_srcdir@&$ac_top_srcdir&;t t
3190 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3191 s&@builddir@&$ac_builddir&;t t
3192 s&@abs_builddir@&$ac_abs_builddir&;t t
3193 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3194 $ac_datarootdir_hack
3195 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3197 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3198 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3199 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3200 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3201 which seems to be undefined. Please make sure it is defined." >&5
3202 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3203 which seems to be undefined. Please make sure it is defined." >&2;}
3207 -) cat "$tmp/out"; rm -f "$tmp/out";;
3208 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3219 { (exit 0); exit 0; }
3221 chmod +x $CONFIG_STATUS
3222 ac_clean_files=$ac_clean_files_save
3225 # configure is writing to config.log, and then calls config.status.
3226 # config.status does its own redirection, appending to config.log.
3227 # Unfortunately, on DOS this fails, as config.log is still kept open
3228 # by configure, so config.status won't be able to write to it; its
3229 # output is simply discarded. So we exec the FD to /dev/null,
3230 # effectively closing config.log, so it can be properly (re)opened and
3231 # appended to by config.status. When coming back to configure, we
3232 # need to make the FD available again.
3233 if test "$no_create" != yes; then
3235 ac_config_status_args=
3236 test "$silent" = yes &&
3237 ac_config_status_args="$ac_config_status_args --quiet"
3239 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3241 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3242 # would make configure fail if this is the last instruction.
3243 $ac_cs_success || { (exit 1); exit 1; }