2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for pic16lib 0.3.
5 # Report bugs to <tecodev AT users sourceforge net>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix=/usr/local
566 ac_config_libobj_dir=.
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='pic16lib'
576 PACKAGE_TARNAME='pic16lib'
577 PACKAGE_VERSION='0.3'
578 PACKAGE_STRING='pic16lib 0.3'
579 PACKAGE_BUGREPORT='tecodev AT users sourceforge net'
581 ac_unique_file="debug/gstack/gstack.c"
591 program_transform_name
633 INSTALL_STRIP_PROGRAM
662 am__fastdepCCAS_FALSE
666 ac_precious_vars='build_alias
671 # Initialize some variables set by options.
673 ac_init_version=false
674 # The variables have the same names as the options, with
675 # dashes changed to underlines.
683 program_transform_name=s,x,x,
691 # Installation directory options.
692 # These are left unexpanded so users can "make install exec_prefix=/foo"
693 # and all the variables that are supposed to be based on exec_prefix
694 # by default will actually change.
695 # Use braces instead of parens because sh, perl, etc. also accept them.
696 # (The list follows the same order as the GNU Coding Standards.)
697 bindir='${exec_prefix}/bin'
698 sbindir='${exec_prefix}/sbin'
699 libexecdir='${exec_prefix}/libexec'
700 datarootdir='${prefix}/share'
701 datadir='${datarootdir}'
702 sysconfdir='${prefix}/etc'
703 sharedstatedir='${prefix}/com'
704 localstatedir='${prefix}/var'
705 includedir='${prefix}/include'
706 oldincludedir='/usr/include'
707 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
708 infodir='${datarootdir}/info'
713 libdir='${exec_prefix}/lib'
714 localedir='${datarootdir}/locale'
715 mandir='${datarootdir}/man'
721 # If the previous option needs an argument, assign it.
722 if test -n "$ac_prev"; then
723 eval $ac_prev=\$ac_option
729 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
733 # Accept the important Cygnus configure options, so we can diagnose typos.
735 case $ac_dashdash$ac_option in
739 -bindir | --bindir | --bindi | --bind | --bin | --bi)
741 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
744 -build | --build | --buil | --bui | --bu)
745 ac_prev=build_alias ;;
746 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
747 build_alias=$ac_optarg ;;
749 -cache-file | --cache-file | --cache-fil | --cache-fi \
750 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
751 ac_prev=cache_file ;;
752 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
753 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
754 cache_file=$ac_optarg ;;
757 cache_file=config.cache ;;
759 -datadir | --datadir | --datadi | --datad)
761 -datadir=* | --datadir=* | --datadi=* | --datad=*)
762 datadir=$ac_optarg ;;
764 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
765 | --dataroo | --dataro | --datar)
766 ac_prev=datarootdir ;;
767 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
768 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
769 datarootdir=$ac_optarg ;;
771 -disable-* | --disable-*)
772 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
773 # Reject names that are not valid shell variable names.
774 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
775 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
776 { (exit 1); exit 1; }; }
777 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
778 eval enable_$ac_feature=no ;;
780 -docdir | --docdir | --docdi | --doc | --do)
782 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
785 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
787 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
790 -enable-* | --enable-*)
791 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
792 # Reject names that are not valid shell variable names.
793 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
795 { (exit 1); exit 1; }; }
796 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
797 eval enable_$ac_feature=\$ac_optarg ;;
799 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
800 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
801 | --exec | --exe | --ex)
802 ac_prev=exec_prefix ;;
803 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
804 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
805 | --exec=* | --exe=* | --ex=*)
806 exec_prefix=$ac_optarg ;;
808 -gas | --gas | --ga | --g)
809 # Obsolete; use --with-gas.
812 -help | --help | --hel | --he | -h)
814 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
815 ac_init_help=recursive ;;
816 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
817 ac_init_help=short ;;
819 -host | --host | --hos | --ho)
820 ac_prev=host_alias ;;
821 -host=* | --host=* | --hos=* | --ho=*)
822 host_alias=$ac_optarg ;;
824 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
826 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
828 htmldir=$ac_optarg ;;
830 -includedir | --includedir | --includedi | --included | --include \
831 | --includ | --inclu | --incl | --inc)
832 ac_prev=includedir ;;
833 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
834 | --includ=* | --inclu=* | --incl=* | --inc=*)
835 includedir=$ac_optarg ;;
837 -infodir | --infodir | --infodi | --infod | --info | --inf)
839 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
840 infodir=$ac_optarg ;;
842 -libdir | --libdir | --libdi | --libd)
844 -libdir=* | --libdir=* | --libdi=* | --libd=*)
847 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
848 | --libexe | --libex | --libe)
849 ac_prev=libexecdir ;;
850 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
851 | --libexe=* | --libex=* | --libe=*)
852 libexecdir=$ac_optarg ;;
854 -localedir | --localedir | --localedi | --localed | --locale)
856 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
857 localedir=$ac_optarg ;;
859 -localstatedir | --localstatedir | --localstatedi | --localstated \
860 | --localstate | --localstat | --localsta | --localst | --locals)
861 ac_prev=localstatedir ;;
862 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
863 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
864 localstatedir=$ac_optarg ;;
866 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
868 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
872 # Obsolete; use --without-fp.
875 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
876 | --no-cr | --no-c | -n)
879 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
880 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
883 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
884 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
885 | --oldin | --oldi | --old | --ol | --o)
886 ac_prev=oldincludedir ;;
887 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
888 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
889 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
890 oldincludedir=$ac_optarg ;;
892 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
894 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
897 -program-prefix | --program-prefix | --program-prefi | --program-pref \
898 | --program-pre | --program-pr | --program-p)
899 ac_prev=program_prefix ;;
900 -program-prefix=* | --program-prefix=* | --program-prefi=* \
901 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
902 program_prefix=$ac_optarg ;;
904 -program-suffix | --program-suffix | --program-suffi | --program-suff \
905 | --program-suf | --program-su | --program-s)
906 ac_prev=program_suffix ;;
907 -program-suffix=* | --program-suffix=* | --program-suffi=* \
908 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
909 program_suffix=$ac_optarg ;;
911 -program-transform-name | --program-transform-name \
912 | --program-transform-nam | --program-transform-na \
913 | --program-transform-n | --program-transform- \
914 | --program-transform | --program-transfor \
915 | --program-transfo | --program-transf \
916 | --program-trans | --program-tran \
917 | --progr-tra | --program-tr | --program-t)
918 ac_prev=program_transform_name ;;
919 -program-transform-name=* | --program-transform-name=* \
920 | --program-transform-nam=* | --program-transform-na=* \
921 | --program-transform-n=* | --program-transform-=* \
922 | --program-transform=* | --program-transfor=* \
923 | --program-transfo=* | --program-transf=* \
924 | --program-trans=* | --program-tran=* \
925 | --progr-tra=* | --program-tr=* | --program-t=*)
926 program_transform_name=$ac_optarg ;;
928 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
930 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
933 -psdir | --psdir | --psdi | --psd | --ps)
935 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
938 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
939 | -silent | --silent | --silen | --sile | --sil)
942 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
944 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
946 sbindir=$ac_optarg ;;
948 -sharedstatedir | --sharedstatedir | --sharedstatedi \
949 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
950 | --sharedst | --shareds | --shared | --share | --shar \
952 ac_prev=sharedstatedir ;;
953 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
954 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
955 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
957 sharedstatedir=$ac_optarg ;;
959 -site | --site | --sit)
961 -site=* | --site=* | --sit=*)
964 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
966 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
969 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
970 | --syscon | --sysco | --sysc | --sys | --sy)
971 ac_prev=sysconfdir ;;
972 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
973 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
974 sysconfdir=$ac_optarg ;;
976 -target | --target | --targe | --targ | --tar | --ta | --t)
977 ac_prev=target_alias ;;
978 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
979 target_alias=$ac_optarg ;;
981 -v | -verbose | --verbose | --verbos | --verbo | --verb)
984 -version | --version | --versio | --versi | --vers | -V)
988 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
989 # Reject names that are not valid shell variable names.
990 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
991 { echo "$as_me: error: invalid package name: $ac_package" >&2
992 { (exit 1); exit 1; }; }
993 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
994 eval with_$ac_package=\$ac_optarg ;;
996 -without-* | --without-*)
997 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1000 { echo "$as_me: error: invalid package name: $ac_package" >&2
1001 { (exit 1); exit 1; }; }
1002 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1003 eval with_$ac_package=no ;;
1006 # Obsolete; use --with-x.
1009 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1010 | --x-incl | --x-inc | --x-in | --x-i)
1011 ac_prev=x_includes ;;
1012 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1013 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1014 x_includes=$ac_optarg ;;
1016 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1017 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1018 ac_prev=x_libraries ;;
1019 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1020 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1021 x_libraries=$ac_optarg ;;
1023 -*) { echo "$as_me: error: unrecognized option: $ac_option
1024 Try \`$0 --help' for more information." >&2
1025 { (exit 1); exit 1; }; }
1029 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1032 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1033 { (exit 1); exit 1; }; }
1034 eval $ac_envvar=\$ac_optarg
1035 export $ac_envvar ;;
1038 # FIXME: should be removed in autoconf 3.0.
1039 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1040 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1041 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1042 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1048 if test -n "$ac_prev"; then
1049 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1050 { echo "$as_me: error: missing argument to $ac_option" >&2
1051 { (exit 1); exit 1; }; }
1054 # Be sure to have absolute directory names.
1055 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1056 datadir sysconfdir sharedstatedir localstatedir includedir \
1057 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1058 libdir localedir mandir
1060 eval ac_val=\$$ac_var
1062 [\\/$]* | ?:[\\/]* ) continue;;
1063 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1065 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1066 { (exit 1); exit 1; }; }
1069 # There might be people who depend on the old broken behavior: `$host'
1070 # used to hold the argument of --host etc.
1071 # FIXME: To remove some day.
1074 target=$target_alias
1076 # FIXME: To remove some day.
1077 if test "x$host_alias" != x; then
1078 if test "x$build_alias" = x; then
1079 cross_compiling=maybe
1080 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1081 If a cross compiler is detected then cross compile mode will be used." >&2
1082 elif test "x$build_alias" != "x$host_alias"; then
1088 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1090 test "$silent" = yes && exec 6>/dev/null
1093 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1094 ac_ls_di=`ls -di .` &&
1095 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1096 { echo "$as_me: error: Working directory cannot be determined" >&2
1097 { (exit 1); exit 1; }; }
1098 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1099 { echo "$as_me: error: pwd does not report name of working directory" >&2
1100 { (exit 1); exit 1; }; }
1103 # Find the source files, if location was not specified.
1104 if test -z "$srcdir"; then
1105 ac_srcdir_defaulted=yes
1106 # Try the directory containing this script, then the parent directory.
1107 ac_confdir=`$as_dirname -- "$0" ||
1108 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1109 X"$0" : 'X\(//\)[^/]' \| \
1110 X"$0" : 'X\(//\)$' \| \
1111 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1131 if test ! -r "$srcdir/$ac_unique_file"; then
1135 ac_srcdir_defaulted=no
1137 if test ! -r "$srcdir/$ac_unique_file"; then
1138 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1139 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1140 { (exit 1); exit 1; }; }
1142 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1144 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1145 { (exit 1); exit 1; }; }
1147 # When building in place, set srcdir=.
1148 if test "$ac_abs_confdir" = "$ac_pwd"; then
1151 # Remove unnecessary trailing slashes from srcdir.
1152 # Double slashes in file names in object file debugging info
1153 # mess up M-x gdb in Emacs.
1155 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1157 for ac_var in $ac_precious_vars; do
1158 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1159 eval ac_env_${ac_var}_value=\$${ac_var}
1160 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1161 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1165 # Report the --help message.
1167 if test "$ac_init_help" = "long"; then
1168 # Omit some internal or obsolete options to make the list less imposing.
1169 # This message is too long to be a string in the A/UX 3.1 sh.
1171 \`configure' configures pic16lib 0.3 to adapt to many kinds of systems.
1173 Usage: $0 [OPTION]... [VAR=VALUE]...
1175 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1176 VAR=VALUE. See below for descriptions of some of the useful variables.
1178 Defaults for the options are specified in brackets.
1181 -h, --help display this help and exit
1182 --help=short display options specific to this package
1183 --help=recursive display the short help of all the included packages
1184 -V, --version display version information and exit
1185 -q, --quiet, --silent do not print \`checking...' messages
1186 --cache-file=FILE cache test results in FILE [disabled]
1187 -C, --config-cache alias for \`--cache-file=config.cache'
1188 -n, --no-create do not create output files
1189 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1191 Installation directories:
1192 --prefix=PREFIX install architecture-independent files in PREFIX
1193 [$ac_default_prefix]
1194 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1197 By default, \`make install' will install all the files in
1198 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1199 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1200 for instance \`--prefix=\$HOME'.
1202 For better control, use the options below.
1204 Fine tuning of the installation directories:
1205 --bindir=DIR user executables [EPREFIX/bin]
1206 --sbindir=DIR system admin executables [EPREFIX/sbin]
1207 --libexecdir=DIR program executables [EPREFIX/libexec]
1208 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1209 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1210 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1211 --libdir=DIR object code libraries [EPREFIX/lib]
1212 --includedir=DIR C header files [PREFIX/include]
1213 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1214 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1215 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1216 --infodir=DIR info documentation [DATAROOTDIR/info]
1217 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1218 --mandir=DIR man documentation [DATAROOTDIR/man]
1219 --docdir=DIR documentation root [DATAROOTDIR/doc/pic16lib]
1220 --htmldir=DIR html documentation [DOCDIR]
1221 --dvidir=DIR dvi documentation [DOCDIR]
1222 --pdfdir=DIR pdf documentation [DOCDIR]
1223 --psdir=DIR ps documentation [DOCDIR]
1229 --program-prefix=PREFIX prepend PREFIX to installed program names
1230 --program-suffix=SUFFIX append SUFFIX to installed program names
1231 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1235 if test -n "$ac_init_help"; then
1236 case $ac_init_help in
1237 short | recursive ) echo "Configuration of pic16lib 0.3:";;
1242 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1243 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1244 --disable-dependency-tracking speeds up one-time build
1245 --enable-dependency-tracking do not reject slow dependency extractors
1247 Report bugs to <tecodev AT users sourceforge net>.
1252 if test "$ac_init_help" = "recursive"; then
1253 # If there are subdirs, report their specific --help.
1254 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1255 test -d "$ac_dir" || continue
1259 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1261 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1262 # A ".." for each directory in $ac_dir_suffix.
1263 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1264 case $ac_top_builddir_sub in
1265 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1266 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1269 ac_abs_top_builddir=$ac_pwd
1270 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1271 # for backward compatibility:
1272 ac_top_builddir=$ac_top_build_prefix
1275 .) # We are building in place.
1277 ac_top_srcdir=$ac_top_builddir_sub
1278 ac_abs_top_srcdir=$ac_pwd ;;
1279 [\\/]* | ?:[\\/]* ) # Absolute name.
1280 ac_srcdir=$srcdir$ac_dir_suffix;
1281 ac_top_srcdir=$srcdir
1282 ac_abs_top_srcdir=$srcdir ;;
1284 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1285 ac_top_srcdir=$ac_top_build_prefix$srcdir
1286 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1288 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1290 cd "$ac_dir" || { ac_status=$?; continue; }
1291 # Check for guested configure.
1292 if test -f "$ac_srcdir/configure.gnu"; then
1294 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1295 elif test -f "$ac_srcdir/configure"; then
1297 $SHELL "$ac_srcdir/configure" --help=recursive
1299 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1301 cd "$ac_pwd" || { ac_status=$?; break; }
1305 test -n "$ac_init_help" && exit $ac_status
1306 if $ac_init_version; then
1308 pic16lib configure 0.3
1309 generated by GNU Autoconf 2.61
1311 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1312 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1313 This configure script is free software; the Free Software Foundation
1314 gives unlimited permission to copy, distribute and modify it.
1318 cat >config.log <<_ACEOF
1319 This file contains any messages produced by compilers while
1320 running configure, to aid debugging if configure makes a mistake.
1322 It was created by pic16lib $as_me 0.3, which was
1323 generated by GNU Autoconf 2.61. Invocation command line was
1335 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1336 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1337 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1338 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1339 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1341 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1342 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1344 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1345 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1346 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1347 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1348 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1349 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1350 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1358 test -z "$as_dir" && as_dir=.
1359 echo "PATH: $as_dir"
1375 # Keep a trace of the command line.
1376 # Strip out --no-create and --no-recursion so they do not pile up.
1377 # Strip out --silent because we don't want to record it for future runs.
1378 # Also quote any args containing shell meta-characters.
1379 # Make two passes to allow for proper duplicate-argument suppression.
1383 ac_must_keep_next=false
1389 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1390 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1391 | -silent | --silent | --silen | --sile | --sil)
1394 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1397 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1399 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1400 if test $ac_must_keep_next = true; then
1401 ac_must_keep_next=false # Got value, back to normal.
1404 *=* | --config-cache | -C | -disable-* | --disable-* \
1405 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1406 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1407 | -with-* | --with-* | -without-* | --without-* | --x)
1408 case "$ac_configure_args0 " in
1409 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1412 -* ) ac_must_keep_next=true ;;
1415 ac_configure_args="$ac_configure_args '$ac_arg'"
1420 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1421 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1423 # When interrupted or exit'd, cleanup temporary files, and complete
1424 # config.log. We remove comments because anyway the quotes in there
1425 # would cause problems or look ugly.
1426 # WARNING: Use '\'' to represent an apostrophe within the trap.
1427 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1428 trap 'exit_status=$?
1429 # Save into config.log some information that might help in debugging.
1434 ## ---------------- ##
1435 ## Cache variables. ##
1436 ## ---------------- ##
1439 # The following way of writing the cache mishandles newlines in values,
1441 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1442 eval ac_val=\$$ac_var
1446 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1447 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1450 _ | IFS | as_nl) ;; #(
1451 *) $as_unset $ac_var ;;
1456 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1457 *${as_nl}ac_space=\ *)
1459 "s/'\''/'\''\\\\'\'''\''/g;
1460 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1463 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1471 ## ----------------- ##
1472 ## Output variables. ##
1473 ## ----------------- ##
1476 for ac_var in $ac_subst_vars
1478 eval ac_val=\$$ac_var
1480 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1482 echo "$ac_var='\''$ac_val'\''"
1486 if test -n "$ac_subst_files"; then
1488 ## ------------------- ##
1489 ## File substitutions. ##
1490 ## ------------------- ##
1493 for ac_var in $ac_subst_files
1495 eval ac_val=\$$ac_var
1497 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1499 echo "$ac_var='\''$ac_val'\''"
1504 if test -s confdefs.h; then
1514 test "$ac_signal" != 0 &&
1515 echo "$as_me: caught signal $ac_signal"
1516 echo "$as_me: exit $exit_status"
1518 rm -f core *.core core.conftest.* &&
1519 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1522 for ac_signal in 1 2 13 15; do
1523 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1527 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1528 rm -f -r conftest* confdefs.h
1530 # Predefined preprocessor variables.
1532 cat >>confdefs.h <<_ACEOF
1533 #define PACKAGE_NAME "$PACKAGE_NAME"
1537 cat >>confdefs.h <<_ACEOF
1538 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1542 cat >>confdefs.h <<_ACEOF
1543 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1547 cat >>confdefs.h <<_ACEOF
1548 #define PACKAGE_STRING "$PACKAGE_STRING"
1552 cat >>confdefs.h <<_ACEOF
1553 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1557 # Let the site file select an alternate cache file if it wants to.
1558 # Prefer explicitly selected file to automatically selected ones.
1559 if test -n "$CONFIG_SITE"; then
1560 set x "$CONFIG_SITE"
1561 elif test "x$prefix" != xNONE; then
1562 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1564 set x "$ac_default_prefix/share/config.site" \
1565 "$ac_default_prefix/etc/config.site"
1570 if test -r "$ac_site_file"; then
1571 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1572 echo "$as_me: loading site script $ac_site_file" >&6;}
1573 sed 's/^/| /' "$ac_site_file" >&5
1578 if test -r "$cache_file"; then
1579 # Some versions of bash will fail to source /dev/null (special
1580 # files actually), so we avoid doing that.
1581 if test -f "$cache_file"; then
1582 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1583 echo "$as_me: loading cache $cache_file" >&6;}
1585 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1586 *) . "./$cache_file";;
1590 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1591 echo "$as_me: creating cache $cache_file" >&6;}
1595 # Check that the precious variables saved in the cache have kept the same
1597 ac_cache_corrupted=false
1598 for ac_var in $ac_precious_vars; do
1599 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1600 eval ac_new_set=\$ac_env_${ac_var}_set
1601 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1602 eval ac_new_val=\$ac_env_${ac_var}_value
1603 case $ac_old_set,$ac_new_set in
1605 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1606 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1607 ac_cache_corrupted=: ;;
1609 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1610 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1611 ac_cache_corrupted=: ;;
1614 if test "x$ac_old_val" != "x$ac_new_val"; then
1615 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1616 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1617 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1618 echo "$as_me: former value: $ac_old_val" >&2;}
1619 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1620 echo "$as_me: current value: $ac_new_val" >&2;}
1621 ac_cache_corrupted=:
1624 # Pass precious variables to config.status.
1625 if test "$ac_new_set" = set; then
1627 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1628 *) ac_arg=$ac_var=$ac_new_val ;;
1630 case " $ac_configure_args " in
1631 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1632 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1636 if $ac_cache_corrupted; then
1637 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1638 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1639 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1640 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1641 { (exit 1); exit 1; }; }
1669 ac_cpp='$CPP $CPPFLAGS'
1670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1675 am__api_version='1.10'
1678 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1679 if test -f "$ac_dir/install-sh"; then
1681 ac_install_sh="$ac_aux_dir/install-sh -c"
1683 elif test -f "$ac_dir/install.sh"; then
1685 ac_install_sh="$ac_aux_dir/install.sh -c"
1687 elif test -f "$ac_dir/shtool"; then
1689 ac_install_sh="$ac_aux_dir/shtool install -c"
1693 if test -z "$ac_aux_dir"; then
1694 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1695 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1696 { (exit 1); exit 1; }; }
1699 # These three variables are undocumented and unsupported,
1700 # and are intended to be withdrawn in a future Autoconf release.
1701 # They can cause serious problems if a builder's source tree is in a directory
1702 # whose full name contains unusual characters.
1703 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1704 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1705 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1708 # Find a good install program. We prefer a C program (faster),
1709 # so one script is as good as another. But avoid the broken or
1710 # incompatible versions:
1711 # SysV /etc/install, /usr/sbin/install
1712 # SunOS /usr/etc/install
1713 # IRIX /sbin/install
1715 # AmigaOS /C/install, which installs bootblocks on floppy discs
1716 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1717 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1718 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1719 # OS/2's system install, which has a completely different semantic
1720 # ./install, which can be erroneously created by make from ./install.sh.
1721 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1722 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1723 if test -z "$INSTALL"; then
1724 if test "${ac_cv_path_install+set}" = set; then
1725 echo $ECHO_N "(cached) $ECHO_C" >&6
1727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1731 test -z "$as_dir" && as_dir=.
1732 # Account for people who put trailing slashes in PATH elements.
1734 ./ | .// | /cC/* | \
1735 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1736 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1739 # OSF1 and SCO ODT 3.0 have their own names for install.
1740 # Don't use installbsd from OSF since it installs stuff as root
1742 for ac_prog in ginstall scoinst install; do
1743 for ac_exec_ext in '' $ac_executable_extensions; do
1744 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1745 if test $ac_prog = install &&
1746 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1747 # AIX install. It has an incompatible calling convention.
1749 elif test $ac_prog = install &&
1750 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1751 # program-specific install script used by HP pwplus--don't use.
1754 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1767 if test "${ac_cv_path_install+set}" = set; then
1768 INSTALL=$ac_cv_path_install
1770 # As a last resort, use the slow shell script. Don't cache a
1771 # value for INSTALL within a source directory, because that will
1772 # break other packages using the cache if that directory is
1773 # removed, or if the value is a relative name.
1774 INSTALL=$ac_install_sh
1777 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1778 echo "${ECHO_T}$INSTALL" >&6; }
1780 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1781 # It thinks the first close brace ends the variable substitution.
1782 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1784 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1786 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1788 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1789 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1792 echo timestamp > conftest.file
1793 # Do `set' in a subshell so we don't clobber the current shell's
1794 # arguments. Must try -L first in case configure is actually a
1795 # symlink; some systems play weird games with the mod time of symlinks
1796 # (eg FreeBSD returns the mod time of the symlink's containing
1799 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1800 if test "$*" = "X"; then
1802 set X `ls -t $srcdir/configure conftest.file`
1805 if test "$*" != "X $srcdir/configure conftest.file" \
1806 && test "$*" != "X conftest.file $srcdir/configure"; then
1808 # If neither matched, then we have a broken ls. This can happen
1809 # if, for instance, CONFIG_SHELL is bash and it inherits a
1810 # broken ls alias from the environment. This has actually
1811 # happened. Such a system could not be considered "sane".
1812 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1813 alias in your environment" >&5
1814 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1815 alias in your environment" >&2;}
1816 { (exit 1); exit 1; }; }
1819 test "$2" = conftest.file
1825 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1826 Check your system clock" >&5
1827 echo "$as_me: error: newly created file is older than distributed files!
1828 Check your system clock" >&2;}
1829 { (exit 1); exit 1; }; }
1831 { echo "$as_me:$LINENO: result: yes" >&5
1832 echo "${ECHO_T}yes" >&6; }
1833 test "$program_prefix" != NONE &&
1834 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1835 # Use a double $ so make ignores it.
1836 test "$program_suffix" != NONE &&
1837 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1838 # Double any \ or $. echo might interpret backslashes.
1839 # By default was `s,x,x', remove it if useless.
1840 cat <<\_ACEOF >conftest.sed
1841 s/[\\$]/&&/g;s/;s,x,x,$//
1843 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1846 # expand $ac_aux_dir to an absolute path
1847 am_aux_dir=`cd $ac_aux_dir && pwd`
1849 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1850 # Use eval to expand $SHELL
1851 if eval "$MISSING --run true"; then
1852 am_missing_run="$MISSING --run "
1855 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1856 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1859 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1860 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1861 if test -z "$MKDIR_P"; then
1862 if test "${ac_cv_path_mkdir+set}" = set; then
1863 echo $ECHO_N "(cached) $ECHO_C" >&6
1865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1866 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1869 test -z "$as_dir" && as_dir=.
1870 for ac_prog in mkdir gmkdir; do
1871 for ac_exec_ext in '' $ac_executable_extensions; do
1872 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1873 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1874 'mkdir (GNU coreutils) '* | \
1875 'mkdir (coreutils) '* | \
1876 'mkdir (fileutils) '4.1*)
1877 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1887 if test "${ac_cv_path_mkdir+set}" = set; then
1888 MKDIR_P="$ac_cv_path_mkdir -p"
1890 # As a last resort, use the slow shell script. Don't cache a
1891 # value for MKDIR_P within a source directory, because that will
1892 # break other packages using the cache if that directory is
1893 # removed, or if the value is a relative name.
1894 test -d ./--version && rmdir ./--version
1895 MKDIR_P="$ac_install_sh -d"
1898 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1899 echo "${ECHO_T}$MKDIR_P" >&6; }
1903 [\\/$]* | ?:[\\/]*) ;;
1904 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1907 for ac_prog in gawk mawk nawk awk
1909 # Extract the first word of "$ac_prog", so it can be a program name with args.
1910 set dummy $ac_prog; ac_word=$2
1911 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1913 if test "${ac_cv_prog_AWK+set}" = set; then
1914 echo $ECHO_N "(cached) $ECHO_C" >&6
1916 if test -n "$AWK"; then
1917 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1923 test -z "$as_dir" && as_dir=.
1924 for ac_exec_ext in '' $ac_executable_extensions; do
1925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1926 ac_cv_prog_AWK="$ac_prog"
1927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1937 if test -n "$AWK"; then
1938 { echo "$as_me:$LINENO: result: $AWK" >&5
1939 echo "${ECHO_T}$AWK" >&6; }
1941 { echo "$as_me:$LINENO: result: no" >&5
1942 echo "${ECHO_T}no" >&6; }
1946 test -n "$AWK" && break
1949 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1950 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1951 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1952 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1953 echo $ECHO_N "(cached) $ECHO_C" >&6
1955 cat >conftest.make <<\_ACEOF
1958 @echo '@@@%%%=$(MAKE)=@@@%%%'
1960 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1961 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1963 eval ac_cv_prog_make_${ac_make}_set=yes;;
1965 eval ac_cv_prog_make_${ac_make}_set=no;;
1969 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1970 { echo "$as_me:$LINENO: result: yes" >&5
1971 echo "${ECHO_T}yes" >&6; }
1974 { echo "$as_me:$LINENO: result: no" >&5
1975 echo "${ECHO_T}no" >&6; }
1976 SET_MAKE="MAKE=${MAKE-make}"
1979 rm -rf .tst 2>/dev/null
1980 mkdir .tst 2>/dev/null
1981 if test -d .tst; then
1986 rmdir .tst 2>/dev/null
1988 if test "`cd $srcdir && pwd`" != "`pwd`"; then
1989 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1990 # is not polluted with repeated "-I."
1991 am__isrc=' -I$(srcdir)'
1992 # test to see if srcdir already configured
1993 if test -f $srcdir/config.status; then
1994 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1995 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1996 { (exit 1); exit 1; }; }
2000 # test whether we have cygpath
2001 if test -z "$CYGPATH_W"; then
2002 if (cygpath --version) >/dev/null 2>/dev/null; then
2003 CYGPATH_W='cygpath -w'
2010 # Define the identity of the package.
2015 cat >>confdefs.h <<_ACEOF
2016 #define PACKAGE "$PACKAGE"
2020 cat >>confdefs.h <<_ACEOF
2021 #define VERSION "$VERSION"
2024 # Some tools Automake needs.
2026 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2029 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2032 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2035 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2038 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2040 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2042 # Installed binaries are usually stripped using `strip' when the user
2043 # run `make install-strip'. However `strip' might not be the right
2044 # tool to use in cross-compilation environments, therefore Automake
2045 # will honor the `STRIP' environment variable to overrule this program.
2046 if test "$cross_compiling" != no; then
2047 if test -n "$ac_tool_prefix"; then
2048 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2049 set dummy ${ac_tool_prefix}strip; ac_word=$2
2050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2052 if test "${ac_cv_prog_STRIP+set}" = set; then
2053 echo $ECHO_N "(cached) $ECHO_C" >&6
2055 if test -n "$STRIP"; then
2056 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2062 test -z "$as_dir" && as_dir=.
2063 for ac_exec_ext in '' $ac_executable_extensions; do
2064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2065 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2075 STRIP=$ac_cv_prog_STRIP
2076 if test -n "$STRIP"; then
2077 { echo "$as_me:$LINENO: result: $STRIP" >&5
2078 echo "${ECHO_T}$STRIP" >&6; }
2080 { echo "$as_me:$LINENO: result: no" >&5
2081 echo "${ECHO_T}no" >&6; }
2086 if test -z "$ac_cv_prog_STRIP"; then
2088 # Extract the first word of "strip", so it can be a program name with args.
2089 set dummy strip; ac_word=$2
2090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2092 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2093 echo $ECHO_N "(cached) $ECHO_C" >&6
2095 if test -n "$ac_ct_STRIP"; then
2096 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 test -z "$as_dir" && as_dir=.
2103 for ac_exec_ext in '' $ac_executable_extensions; do
2104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2105 ac_cv_prog_ac_ct_STRIP="strip"
2106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2115 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2116 if test -n "$ac_ct_STRIP"; then
2117 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2118 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2120 { echo "$as_me:$LINENO: result: no" >&5
2121 echo "${ECHO_T}no" >&6; }
2124 if test "x$ac_ct_STRIP" = x; then
2127 case $cross_compiling:$ac_tool_warned in
2129 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2130 whose name does not start with the host triplet. If you think this
2131 configuration is useful to you, please write to autoconf@gnu.org." >&5
2132 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2133 whose name does not start with the host triplet. If you think this
2134 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2135 ac_tool_warned=yes ;;
2140 STRIP="$ac_cv_prog_STRIP"
2144 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2146 # We need awk for the "check" target. The system "awk" is bad on
2148 # Always define AMTAR for backward compatibility.
2150 AMTAR=${AMTAR-"${am_missing_run}tar"}
2152 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2159 ac_config_headers="$ac_config_headers config.h"
2165 \\/*|?:\\/*) abs_srcdir="$srcdir";
2167 *) abs_srcdir="$ac_pwd/$srcdir";
2170 case $ac_top_build_prefix in
2172 abs_top_builddir="$ac_top_build_prefix";
2174 *) abs_top_builddir="$ac_pwd/$ac_top_build_prefix";
2178 libdir=$libdir/pic16
2180 # Checks for programs.
2182 # The default architecture can be selected at configure time by setting the
2183 # environment variable ARCH to the desired device (18fxxx).
2187 # We cannot use AC_PROG_CC(sdcc) as sdcc might not be built at configure-time...
2188 CC=${CC-$abs_top_builddir/../../../bin/sdcc}
2190 CFLAGS="-mpic16 -p$ARCH"
2192 # Extract the first word of "gpasm", so it can be a program name with args.
2193 set dummy gpasm; ac_word=$2
2194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2196 if test "${ac_cv_path_CCAS+set}" = set; then
2197 echo $ECHO_N "(cached) $ECHO_C" >&6
2201 ac_cv_path_CCAS="$CCAS" # Let the user override the test with a path.
2204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2208 test -z "$as_dir" && as_dir=.
2209 for ac_exec_ext in '' $ac_executable_extensions; do
2210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2211 ac_cv_path_CCAS="$as_dir/$ac_word$ac_exec_ext"
2212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2219 test -z "$ac_cv_path_CCAS" && ac_cv_path_CCAS=":"
2223 CCAS=$ac_cv_path_CCAS
2224 if test -n "$CCAS"; then
2225 { echo "$as_me:$LINENO: result: $CCAS" >&5
2226 echo "${ECHO_T}$CCAS" >&6; }
2228 { echo "$as_me:$LINENO: result: no" >&5
2229 echo "${ECHO_T}no" >&6; }
2235 # Extract the first word of "gplink", so it can be a program name with args.
2236 set dummy gplink; ac_word=$2
2237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2239 if test "${ac_cv_path_LD+set}" = set; then
2240 echo $ECHO_N "(cached) $ECHO_C" >&6
2244 ac_cv_path_LD="$LD" # Let the user override the test with a path.
2247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 test -z "$as_dir" && as_dir=.
2252 for ac_exec_ext in '' $ac_executable_extensions; do
2253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2254 ac_cv_path_LD="$as_dir/$ac_word$ac_exec_ext"
2255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2262 test -z "$ac_cv_path_LD" && ac_cv_path_LD=":"
2267 if test -n "$LD"; then
2268 { echo "$as_me:$LINENO: result: $LD" >&5
2269 echo "${ECHO_T}$LD" >&6; }
2271 { echo "$as_me:$LINENO: result: no" >&5
2272 echo "${ECHO_T}no" >&6; }
2276 # Extract the first word of "gplib", so it can be a program name with args.
2277 set dummy gplib; ac_word=$2
2278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2280 if test "${ac_cv_path_AR+set}" = set; then
2281 echo $ECHO_N "(cached) $ECHO_C" >&6
2285 ac_cv_path_AR="$AR" # Let the user override the test with a path.
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2292 test -z "$as_dir" && as_dir=.
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2295 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
2296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2303 test -z "$ac_cv_path_AR" && ac_cv_path_AR=":"
2308 if test -n "$AR"; then
2309 { echo "$as_me:$LINENO: result: $AR" >&5
2310 echo "${ECHO_T}$AR" >&6; }
2312 { echo "$as_me:$LINENO: result: no" >&5
2313 echo "${ECHO_T}no" >&6; }
2320 # $RANLIB is called by the autotools but not provided nor required
2326 DEPDIR="${am__leading_dot}deps"
2328 ac_config_commands="$ac_config_commands depfiles"
2331 am_make=${MAKE-make}
2332 cat > confinc << 'END'
2337 # If we don't find an include directive, just comment out the code.
2338 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2339 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2343 # First try GNU make style include.
2344 echo "include confinc" > confmf
2345 # We grep out `Entering directory' and `Leaving directory'
2346 # messages which can occur if `w' ends up in MAKEFLAGS.
2347 # In particular we don't look at `^make:' because GNU make might
2348 # be invoked under some other name (usually "gmake"), in which
2349 # case it prints its new name instead of `make'.
2350 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2355 # Now try BSD make style include.
2356 if test "$am__include" = "#"; then
2357 echo '.include "confinc"' > confmf
2358 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2359 am__include=.include
2366 { echo "$as_me:$LINENO: result: $_am_result" >&5
2367 echo "${ECHO_T}$_am_result" >&6; }
2368 rm -f confinc confmf
2370 # Check whether --enable-dependency-tracking was given.
2371 if test "${enable_dependency_tracking+set}" = set; then
2372 enableval=$enable_dependency_tracking;
2375 if test "x$enable_dependency_tracking" != xno; then
2376 am_depcomp="$ac_aux_dir/depcomp"
2379 if test "x$enable_dependency_tracking" != xno; then
2389 depcc="$CC" am_compiler_list=
2391 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2392 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2393 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2394 echo $ECHO_N "(cached) $ECHO_C" >&6
2396 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2397 # We make a subdir and do the tests there. Otherwise we can end up
2398 # making bogus files that we don't know about and never remove. For
2399 # instance it was reported that on HP-UX the gcc test will end up
2400 # making a dummy file named `D' -- because `-MD' means `put the output
2403 # Copy depcomp to subdir because otherwise we won't find it if we're
2404 # using a relative directory.
2405 cp "$am_depcomp" conftest.dir
2407 # We will build objects and dependencies in a subdirectory because
2408 # it helps to detect inapplicable dependency modes. For instance
2409 # both Tru64's cc and ICC support -MD to output dependencies as a
2410 # side effect of compilation, but ICC will put the dependencies in
2411 # the current directory while Tru64 will put them in the object
2415 am_cv_CC_dependencies_compiler_type=none
2416 if test "$am_compiler_list" = ""; then
2417 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2419 for depmode in $am_compiler_list; do
2420 # Setup a source with many dependencies, because some compilers
2421 # like to wrap large dependency lists on column 80 (with \), and
2422 # we should not choose a depcomp mode which is confused by this.
2424 # We need to recreate these files for each test, as the compiler may
2425 # overwrite some of them when testing with obscure command lines.
2426 # This happens at least with the AIX C compiler.
2428 for i in 1 2 3 4 5 6; do
2429 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2430 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2431 # Solaris 8's {/usr,}/bin/sh.
2432 touch sub/conftst$i.h
2434 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2438 # after this tag, mechanisms are not by side-effect, so they'll
2439 # only be used when explicitly requested
2440 if test "x$enable_dependency_tracking" = xyes; then
2448 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2449 # mode. It turns out that the SunPro C++ compiler does not properly
2450 # handle `-M -o', and we need to detect this.
2451 if depmode=$depmode \
2452 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2453 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2454 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2455 >/dev/null 2>conftest.err &&
2456 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
2457 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2458 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2459 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2460 # icc doesn't choke on unknown options, it will just issue warnings
2461 # or remarks (even with -Werror). So we grep stderr for any message
2462 # that says an option was ignored or not supported.
2463 # When given -MP, icc 7.0 and 7.1 complain thusly:
2464 # icc: Command line warning: ignoring option '-M'; no argument required
2465 # The diagnosis changed in icc 8.0:
2466 # icc: Command line remark: option '-MP' not supported
2467 if (grep 'ignoring option' conftest.err ||
2468 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2469 am_cv_CC_dependencies_compiler_type=$depmode
2478 am_cv_CC_dependencies_compiler_type=none
2482 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2483 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
2484 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2487 test "x$enable_dependency_tracking" != xno \
2488 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2490 am__fastdepCC_FALSE='#'
2492 am__fastdepCC_TRUE='#'
2493 am__fastdepCC_FALSE=
2498 depcc="$CCAS" am_compiler_list=
2500 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2501 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2502 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2506 # We make a subdir and do the tests there. Otherwise we can end up
2507 # making bogus files that we don't know about and never remove. For
2508 # instance it was reported that on HP-UX the gcc test will end up
2509 # making a dummy file named `D' -- because `-MD' means `put the output
2512 # Copy depcomp to subdir because otherwise we won't find it if we're
2513 # using a relative directory.
2514 cp "$am_depcomp" conftest.dir
2516 # We will build objects and dependencies in a subdirectory because
2517 # it helps to detect inapplicable dependency modes. For instance
2518 # both Tru64's cc and ICC support -MD to output dependencies as a
2519 # side effect of compilation, but ICC will put the dependencies in
2520 # the current directory while Tru64 will put them in the object
2524 am_cv_CCAS_dependencies_compiler_type=none
2525 if test "$am_compiler_list" = ""; then
2526 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2528 for depmode in $am_compiler_list; do
2529 # Setup a source with many dependencies, because some compilers
2530 # like to wrap large dependency lists on column 80 (with \), and
2531 # we should not choose a depcomp mode which is confused by this.
2533 # We need to recreate these files for each test, as the compiler may
2534 # overwrite some of them when testing with obscure command lines.
2535 # This happens at least with the AIX C compiler.
2537 for i in 1 2 3 4 5 6; do
2538 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2539 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2540 # Solaris 8's {/usr,}/bin/sh.
2541 touch sub/conftst$i.h
2543 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2547 # after this tag, mechanisms are not by side-effect, so they'll
2548 # only be used when explicitly requested
2549 if test "x$enable_dependency_tracking" = xyes; then
2557 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2558 # mode. It turns out that the SunPro C++ compiler does not properly
2559 # handle `-M -o', and we need to detect this.
2560 if depmode=$depmode \
2561 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2562 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2563 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2564 >/dev/null 2>conftest.err &&
2565 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
2566 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2567 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2568 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2569 # icc doesn't choke on unknown options, it will just issue warnings
2570 # or remarks (even with -Werror). So we grep stderr for any message
2571 # that says an option was ignored or not supported.
2572 # When given -MP, icc 7.0 and 7.1 complain thusly:
2573 # icc: Command line warning: ignoring option '-M'; no argument required
2574 # The diagnosis changed in icc 8.0:
2575 # icc: Command line remark: option '-MP' not supported
2576 if (grep 'ignoring option' conftest.err ||
2577 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2578 am_cv_CCAS_dependencies_compiler_type=$depmode
2587 am_cv_CCAS_dependencies_compiler_type=none
2591 { echo "$as_me:$LINENO: result: $am_cv_CCAS_dependencies_compiler_type" >&5
2592 echo "${ECHO_T}$am_cv_CCAS_dependencies_compiler_type" >&6; }
2593 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
2596 test "x$enable_dependency_tracking" != xno \
2597 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
2598 am__fastdepCCAS_TRUE=
2599 am__fastdepCCAS_FALSE='#'
2601 am__fastdepCCAS_TRUE='#'
2602 am__fastdepCCAS_FALSE=
2607 # Checks for libraries.
2609 # Checks for header files.
2611 # Checks for typedefs, structures, and compiler characteristics.
2613 # Checks for library functions.
2615 case "$CCAS:$LD:$AR" in
2617 { { echo "$as_me:$LINENO: error: gputils (gpasm, gplink, and gplib) are required but not found." >&5
2618 echo "$as_me: error: gputils (gpasm, gplink, and gplib) are required but not found." >&2;}
2619 { (exit 1); exit 1; }; }
2623 ac_config_files="$ac_config_files Makefile debug/Makefile libc/Makefile libdev/Makefile libio/Makefile libm/Makefile libsdcc/Makefile startup/Makefile"
2625 cat >confcache <<\_ACEOF
2626 # This file is a shell script that caches the results of configure
2627 # tests run on this system so they can be shared between configure
2628 # scripts and configure runs, see configure's option --config-cache.
2629 # It is not useful on other systems. If it contains results you don't
2630 # want to keep, you may remove or edit it.
2632 # config.status only pays attention to the cache file if you give it
2633 # the --recheck option to rerun configure.
2635 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2636 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2641 # The following way of writing the cache mishandles newlines in values,
2642 # but we know of no workaround that is simple, portable, and efficient.
2643 # So, we kill variables containing newlines.
2644 # Ultrix sh set writes to stderr and can't be redirected directly,
2645 # and sets the high bit in the cache file unless we assign to the vars.
2647 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2648 eval ac_val=\$$ac_var
2652 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2653 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2656 _ | IFS | as_nl) ;; #(
2657 *) $as_unset $ac_var ;;
2663 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2664 *${as_nl}ac_space=\ *)
2665 # `set' does not quote correctly, so add quotes (double-quote
2666 # substitution turns \\\\ into \\, and sed turns \\ into \).
2669 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2672 # `set' quotes correctly as required by POSIX, so do not add quotes.
2673 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2682 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2684 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2686 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2687 if test -w "$cache_file"; then
2688 test "x$cache_file" != "x/dev/null" &&
2689 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2690 echo "$as_me: updating cache $cache_file" >&6;}
2691 cat confcache >$cache_file
2693 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2694 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2699 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2700 # Let make expand exec_prefix.
2701 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2703 DEFS=-DHAVE_CONFIG_H
2707 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2708 # 1. Remove the extension, and $U if already installed.
2709 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2710 ac_i=`echo "$ac_i" | sed "$ac_script"`
2711 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2712 # will be set to the directory where LIBOBJS objects are built.
2713 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2714 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2718 LTLIBOBJS=$ac_ltlibobjs
2721 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2722 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
2723 Usually this means the macro was only invoked conditionally." >&5
2724 echo "$as_me: error: conditional \"AMDEP\" was never defined.
2725 Usually this means the macro was only invoked conditionally." >&2;}
2726 { (exit 1); exit 1; }; }
2728 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
2729 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
2730 Usually this means the macro was only invoked conditionally." >&5
2731 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
2732 Usually this means the macro was only invoked conditionally." >&2;}
2733 { (exit 1); exit 1; }; }
2735 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
2736 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCCAS\" was never defined.
2737 Usually this means the macro was only invoked conditionally." >&5
2738 echo "$as_me: error: conditional \"am__fastdepCCAS\" was never defined.
2739 Usually this means the macro was only invoked conditionally." >&2;}
2740 { (exit 1); exit 1; }; }
2743 : ${CONFIG_STATUS=./config.status}
2744 ac_clean_files_save=$ac_clean_files
2745 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2746 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2747 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2748 cat >$CONFIG_STATUS <<_ACEOF
2750 # Generated by $as_me.
2751 # Run this file to recreate the current configuration.
2752 # Compiler output produced by configure, useful for debugging
2753 # configure, is in config.log if it exists.
2758 SHELL=\${CONFIG_SHELL-$SHELL}
2761 cat >>$CONFIG_STATUS <<\_ACEOF
2762 ## --------------------- ##
2763 ## M4sh Initialization. ##
2764 ## --------------------- ##
2766 # Be more Bourne compatible
2767 DUALCASE=1; export DUALCASE # for MKS sh
2768 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2771 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2772 # is contrary to our usage. Disable this feature.
2773 alias -g '${1+"$@"}'='"$@"'
2774 setopt NO_GLOB_SUBST
2776 case `(set -o) 2>/dev/null` in
2777 *posix*) set -o posix ;;
2786 # Avoid depending upon Character Ranges.
2787 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2788 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2789 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2790 as_cr_digits='0123456789'
2791 as_cr_alnum=$as_cr_Letters$as_cr_digits
2793 # The user is always right.
2794 if test "${PATH_SEPARATOR+set}" != set; then
2795 echo "#! /bin/sh" >conf$$.sh
2796 echo "exit 0" >>conf$$.sh
2798 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2806 # Support unset when possible.
2807 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2815 # We need space, tab and new line, in precisely that order. Quoting is
2816 # there to prevent editors from complaining about space-tab.
2817 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2818 # splitting by setting IFS to empty value.)
2823 # Find who we are. Look in the path if we contain no directory separator.
2825 *[\\/]* ) as_myself=$0 ;;
2826 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2830 test -z "$as_dir" && as_dir=.
2831 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2837 # We did not find ourselves, most probably we were run as `sh COMMAND'
2838 # in which case we are not to be found in the path.
2839 if test "x$as_myself" = x; then
2842 if test ! -f "$as_myself"; then
2843 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2844 { (exit 1); exit 1; }
2847 # Work around bugs in pre-3.0 UWIN ksh.
2848 for as_var in ENV MAIL MAILPATH
2849 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2857 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2858 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2859 LC_TELEPHONE LC_TIME
2861 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2862 eval $as_var=C; export $as_var
2864 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2868 # Required to use basename.
2869 if expr a : '\(a\)' >/dev/null 2>&1 &&
2870 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2876 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2877 as_basename=basename
2883 # Name of the executable.
2884 as_me=`$as_basename -- "$0" ||
2885 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2886 X"$0" : 'X\(//\)$' \| \
2887 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2889 sed '/^.*\/\([^/][^/]*\)\/*$/{
2910 test "x$as_lineno_1" != "x$as_lineno_2" &&
2911 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2913 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2914 # uniformly replaced by the line number. The first 'sed' inserts a
2915 # line-number line after each line using $LINENO; the second 'sed'
2916 # does the real work. The second script uses 'N' to pair each
2917 # line-number line with the line containing $LINENO, and appends
2918 # trailing '-' during substitution so that $LINENO is not a special
2920 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2921 # scripts with optimization help from Paolo Bonzini. Blame Lee
2922 # E. McMahon (1931-1989) for sed's syntax. :-)
2934 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2938 chmod +x "$as_me.lineno" ||
2939 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2940 { (exit 1); exit 1; }; }
2942 # Don't try to exec as it changes $[0], causing all sort of problems
2943 # (the dirname of $[0] is not the place where we might find the
2944 # original and so on. Autoconf is especially sensitive to this).
2946 # Exit status is that of the last command.
2951 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2957 ECHO_C= ECHO_N= ECHO_T=
2960 case `echo 'x\c'` in
2961 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2968 if expr a : '\(a\)' >/dev/null 2>&1 &&
2969 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2975 rm -f conf$$ conf$$.exe conf$$.file
2976 if test -d conf$$.dir; then
2977 rm -f conf$$.dir/conf$$.file
2983 if ln -s conf$$.file conf$$ 2>/dev/null; then
2985 # ... but there are two gotchas:
2986 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2987 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2988 # In both cases, we have to default to `cp -p'.
2989 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2991 elif ln conf$$.file conf$$ 2>/dev/null; then
2996 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2997 rmdir conf$$.dir 2>/dev/null
2999 if mkdir -p . 2>/dev/null; then
3002 test -d ./-p && rmdir ./-p
3006 if test -x / >/dev/null 2>&1; then
3009 if ls -dL / >/dev/null 2>&1; then
3016 if test -d "$1"; then
3022 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3023 ???[sx]*):;;*)false;;esac;fi
3027 as_executable_p=$as_test_x
3029 # Sed expression to map a string onto a valid CPP name.
3030 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3032 # Sed expression to map a string onto a valid variable name.
3033 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3038 # Save the log message, to keep $[0] and so on meaningful, and to
3039 # report actual input values of CONFIG_FILES etc. instead of their
3040 # values after options handling.
3042 This file was extended by pic16lib $as_me 0.3, which was
3043 generated by GNU Autoconf 2.61. Invocation command line was
3045 CONFIG_FILES = $CONFIG_FILES
3046 CONFIG_HEADERS = $CONFIG_HEADERS
3047 CONFIG_LINKS = $CONFIG_LINKS
3048 CONFIG_COMMANDS = $CONFIG_COMMANDS
3051 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3056 cat >>$CONFIG_STATUS <<_ACEOF
3057 # Files that config.status was made for.
3058 config_files="$ac_config_files"
3059 config_headers="$ac_config_headers"
3060 config_commands="$ac_config_commands"
3064 cat >>$CONFIG_STATUS <<\_ACEOF
3066 \`$as_me' instantiates files from templates according to the
3067 current configuration.
3069 Usage: $0 [OPTIONS] [FILE]...
3071 -h, --help print this help, then exit
3072 -V, --version print version number and configuration settings, then exit
3073 -q, --quiet do not print progress messages
3074 -d, --debug don't remove temporary files
3075 --recheck update $as_me by reconfiguring in the same conditions
3076 --file=FILE[:TEMPLATE]
3077 instantiate the configuration file FILE
3078 --header=FILE[:TEMPLATE]
3079 instantiate the configuration header FILE
3081 Configuration files:
3084 Configuration headers:
3087 Configuration commands:
3090 Report bugs to <bug-autoconf@gnu.org>."
3093 cat >>$CONFIG_STATUS <<_ACEOF
3095 pic16lib config.status 0.3
3096 configured by $0, generated by GNU Autoconf 2.61,
3097 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3099 Copyright (C) 2006 Free Software Foundation, Inc.
3100 This config.status script is free software; the Free Software Foundation
3101 gives unlimited permission to copy, distribute and modify it."
3109 cat >>$CONFIG_STATUS <<\_ACEOF
3110 # If no file are specified by the user, then we need to provide default
3111 # value. By we need to know if files were specified by the user.
3117 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3118 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3129 # Handling of the options.
3130 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3132 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3133 echo "$ac_cs_version"; exit ;;
3134 --debug | --debu | --deb | --de | --d | -d )
3136 --file | --fil | --fi | --f )
3138 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3139 ac_need_defaults=false;;
3140 --header | --heade | --head | --hea )
3142 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3143 ac_need_defaults=false;;
3145 # Conflict between --help and --header
3146 { echo "$as_me: error: ambiguous option: $1
3147 Try \`$0 --help' for more information." >&2
3148 { (exit 1); exit 1; }; };;
3149 --help | --hel | -h )
3150 echo "$ac_cs_usage"; exit ;;
3151 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3152 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3156 -*) { echo "$as_me: error: unrecognized option: $1
3157 Try \`$0 --help' for more information." >&2
3158 { (exit 1); exit 1; }; } ;;
3160 *) ac_config_targets="$ac_config_targets $1"
3161 ac_need_defaults=false ;;
3167 ac_configure_extra_args=
3169 if $ac_cs_silent; then
3171 ac_configure_extra_args="$ac_configure_extra_args --silent"
3175 cat >>$CONFIG_STATUS <<_ACEOF
3176 if \$ac_cs_recheck; then
3177 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3180 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3184 cat >>$CONFIG_STATUS <<\_ACEOF
3188 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3189 ## Running $as_me. ##
3195 cat >>$CONFIG_STATUS <<_ACEOF
3199 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3203 cat >>$CONFIG_STATUS <<\_ACEOF
3205 # Handling of arguments.
3206 for ac_config_target in $ac_config_targets
3208 case $ac_config_target in
3209 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3210 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3211 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3212 "debug/Makefile") CONFIG_FILES="$CONFIG_FILES debug/Makefile" ;;
3213 "libc/Makefile") CONFIG_FILES="$CONFIG_FILES libc/Makefile" ;;
3214 "libdev/Makefile") CONFIG_FILES="$CONFIG_FILES libdev/Makefile" ;;
3215 "libio/Makefile") CONFIG_FILES="$CONFIG_FILES libio/Makefile" ;;
3216 "libm/Makefile") CONFIG_FILES="$CONFIG_FILES libm/Makefile" ;;
3217 "libsdcc/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/Makefile" ;;
3218 "startup/Makefile") CONFIG_FILES="$CONFIG_FILES startup/Makefile" ;;
3220 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3221 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3222 { (exit 1); exit 1; }; };;
3227 # If the user did not use the arguments to specify the items to instantiate,
3228 # then the envvar interface is used. Set only those that are not.
3229 # We use the long form for the default assignment because of an extremely
3230 # bizarre bug on SunOS 4.1.3.
3231 if $ac_need_defaults; then
3232 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3233 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3234 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3237 # Have a temporary directory for convenience. Make it in the build tree
3238 # simply because there is no reason against having it here, and in addition,
3239 # creating and moving files from /tmp can sometimes cause problems.
3240 # Hook for its removal unless debugging.
3241 # Note that there is a small window in which the directory will not be cleaned:
3242 # after its creation but before its name has been assigned to `$tmp'.
3246 trap 'exit_status=$?
3247 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3249 trap '{ (exit 1); exit 1; }' 1 2 13 15
3251 # Create a (secure) tmp directory for tmp files.
3254 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3255 test -n "$tmp" && test -d "$tmp"
3258 tmp=./conf$$-$RANDOM
3259 (umask 077 && mkdir "$tmp")
3262 echo "$me: cannot create a temporary directory in ." >&2
3263 { (exit 1); exit 1; }
3267 # Set up the sed scripts for CONFIG_FILES section.
3270 # No need to generate the scripts if there are no CONFIG_FILES.
3271 # This happens for instance when ./config.status config.h
3272 if test -n "$CONFIG_FILES"; then
3279 for ac_last_try in false false false false false :; do
3280 cat >conf$$subs.sed <<_ACEOF
3281 SHELL!$SHELL$ac_delim
3282 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3283 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3284 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3285 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3286 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3287 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3288 exec_prefix!$exec_prefix$ac_delim
3289 prefix!$prefix$ac_delim
3290 program_transform_name!$program_transform_name$ac_delim
3291 bindir!$bindir$ac_delim
3292 sbindir!$sbindir$ac_delim
3293 libexecdir!$libexecdir$ac_delim
3294 datarootdir!$datarootdir$ac_delim
3295 datadir!$datadir$ac_delim
3296 sysconfdir!$sysconfdir$ac_delim
3297 sharedstatedir!$sharedstatedir$ac_delim
3298 localstatedir!$localstatedir$ac_delim
3299 includedir!$includedir$ac_delim
3300 oldincludedir!$oldincludedir$ac_delim
3301 docdir!$docdir$ac_delim
3302 infodir!$infodir$ac_delim
3303 htmldir!$htmldir$ac_delim
3304 dvidir!$dvidir$ac_delim
3305 pdfdir!$pdfdir$ac_delim
3306 psdir!$psdir$ac_delim
3307 libdir!$libdir$ac_delim
3308 localedir!$localedir$ac_delim
3309 mandir!$mandir$ac_delim
3311 ECHO_C!$ECHO_C$ac_delim
3312 ECHO_N!$ECHO_N$ac_delim
3313 ECHO_T!$ECHO_T$ac_delim
3315 build_alias!$build_alias$ac_delim
3316 host_alias!$host_alias$ac_delim
3317 target_alias!$target_alias$ac_delim
3318 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3319 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3320 INSTALL_DATA!$INSTALL_DATA$ac_delim
3321 am__isrc!$am__isrc$ac_delim
3322 CYGPATH_W!$CYGPATH_W$ac_delim
3323 PACKAGE!$PACKAGE$ac_delim
3324 VERSION!$VERSION$ac_delim
3325 ACLOCAL!$ACLOCAL$ac_delim
3326 AUTOCONF!$AUTOCONF$ac_delim
3327 AUTOMAKE!$AUTOMAKE$ac_delim
3328 AUTOHEADER!$AUTOHEADER$ac_delim
3329 MAKEINFO!$MAKEINFO$ac_delim
3330 install_sh!$install_sh$ac_delim
3331 STRIP!$STRIP$ac_delim
3332 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3333 mkdir_p!$mkdir_p$ac_delim
3335 SET_MAKE!$SET_MAKE$ac_delim
3336 am__leading_dot!$am__leading_dot$ac_delim
3337 AMTAR!$AMTAR$ac_delim
3338 am__tar!$am__tar$ac_delim
3339 am__untar!$am__untar$ac_delim
3342 CFLAGS!$CFLAGS$ac_delim
3344 CCASFLAGS!$CCASFLAGS$ac_delim
3347 ARFLAGS!$ARFLAGS$ac_delim
3348 RANLIB!$RANLIB$ac_delim
3349 OBJEXT!$OBJEXT$ac_delim
3350 DEPDIR!$DEPDIR$ac_delim
3351 am__include!$am__include$ac_delim
3352 am__quote!$am__quote$ac_delim
3353 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
3354 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
3355 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
3356 CCDEPMODE!$CCDEPMODE$ac_delim
3357 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
3358 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
3359 CCASDEPMODE!$CCASDEPMODE$ac_delim
3360 am__fastdepCCAS_TRUE!$am__fastdepCCAS_TRUE$ac_delim
3361 am__fastdepCCAS_FALSE!$am__fastdepCCAS_FALSE$ac_delim
3362 LIBOBJS!$LIBOBJS$ac_delim
3363 LTLIBOBJS!$LTLIBOBJS$ac_delim
3366 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 83; then
3368 elif $ac_last_try; then
3369 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3370 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3371 { (exit 1); exit 1; }; }
3373 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3377 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3378 if test -n "$ac_eof"; then
3379 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3380 ac_eof=`expr $ac_eof + 1`
3383 cat >>$CONFIG_STATUS <<_ACEOF
3384 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3385 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3388 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3389 s/^/s,@/; s/!/@,|#_!!_#|/
3392 s/'"$ac_delim"'$/,g/; t
3394 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3395 ' >>$CONFIG_STATUS <conf$$subs.sed
3396 rm -f conf$$subs.sed
3397 cat >>$CONFIG_STATUS <<_ACEOF
3404 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3405 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3406 # trailing colons and then remove the whole line if VPATH becomes empty
3407 # (actually we leave an empty line to preserve line numbers).
3408 if test "x$srcdir" = x.; then
3409 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3413 s/^\([^=]*=[ ]*\):*/\1/
3419 cat >>$CONFIG_STATUS <<\_ACEOF
3420 fi # test -n "$CONFIG_FILES"
3423 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
3426 :[FHLC]) ac_mode=$ac_tag; continue;;
3428 case $ac_mode$ac_tag in
3430 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3431 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3432 { (exit 1); exit 1; }; };;
3433 :[FH]-) ac_tag=-:-;;
3434 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3451 -) ac_f="$tmp/stdin";;
3452 *) # Look for the file first in the build tree, then in the source tree
3453 # (if the path is not absolute). The absolute path cannot be DOS-style,
3454 # because $ac_f cannot contain `:'.
3458 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3460 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3461 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3462 { (exit 1); exit 1; }; };;
3464 ac_file_inputs="$ac_file_inputs $ac_f"
3467 # Let's still pretend it is `configure' which instantiates (i.e., don't
3468 # use $as_me), people would be surprised to read:
3469 # /* config.h. Generated by config.status. */
3470 configure_input="Generated from "`IFS=:
3471 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3472 if test x"$ac_file" != x-; then
3473 configure_input="$ac_file. $configure_input"
3474 { echo "$as_me:$LINENO: creating $ac_file" >&5
3475 echo "$as_me: creating $ac_file" >&6;}
3479 *:-:* | *:-) cat >"$tmp/stdin";;
3484 ac_dir=`$as_dirname -- "$ac_file" ||
3485 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3486 X"$ac_file" : 'X\(//\)[^/]' \| \
3487 X"$ac_file" : 'X\(//\)$' \| \
3488 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3509 -*) as_dir=./$as_dir;;
3511 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3515 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3516 *) as_qdir=$as_dir;;
3518 as_dirs="'$as_qdir' $as_dirs"
3519 as_dir=`$as_dirname -- "$as_dir" ||
3520 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3521 X"$as_dir" : 'X\(//\)[^/]' \| \
3522 X"$as_dir" : 'X\(//\)$' \| \
3523 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3542 test -d "$as_dir" && break
3544 test -z "$as_dirs" || eval "mkdir $as_dirs"
3545 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3546 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3547 { (exit 1); exit 1; }; }; }
3551 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3553 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3554 # A ".." for each directory in $ac_dir_suffix.
3555 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3556 case $ac_top_builddir_sub in
3557 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3558 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3561 ac_abs_top_builddir=$ac_pwd
3562 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3563 # for backward compatibility:
3564 ac_top_builddir=$ac_top_build_prefix
3567 .) # We are building in place.
3569 ac_top_srcdir=$ac_top_builddir_sub
3570 ac_abs_top_srcdir=$ac_pwd ;;
3571 [\\/]* | ?:[\\/]* ) # Absolute name.
3572 ac_srcdir=$srcdir$ac_dir_suffix;
3573 ac_top_srcdir=$srcdir
3574 ac_abs_top_srcdir=$srcdir ;;
3576 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3577 ac_top_srcdir=$ac_top_build_prefix$srcdir
3578 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3580 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3590 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3591 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3595 [\\/$]* | ?:[\\/]* ) ;;
3596 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3600 cat >>$CONFIG_STATUS <<\_ACEOF
3601 # If the template does not know about datarootdir, expand it.
3602 # FIXME: This hack should be removed a few years after 2.60.
3603 ac_datarootdir_hack=; ac_datarootdir_seen=
3605 case `sed -n '/datarootdir/ {
3614 ' $ac_file_inputs` in
3615 *datarootdir*) ac_datarootdir_seen=yes;;
3616 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3617 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3618 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3620 cat >>$CONFIG_STATUS <<_ACEOF
3621 ac_datarootdir_hack='
3622 s&@datadir@&$datadir&g
3623 s&@docdir@&$docdir&g
3624 s&@infodir@&$infodir&g
3625 s&@localedir@&$localedir&g
3626 s&@mandir@&$mandir&g
3627 s&\\\${datarootdir}&$datarootdir&g' ;;
3631 # Neutralize VPATH when `$srcdir' = `.'.
3632 # Shell code in configure.ac might set extrasub.
3633 # FIXME: do we really want to maintain this feature?
3634 cat >>$CONFIG_STATUS <<_ACEOF
3638 cat >>$CONFIG_STATUS <<\_ACEOF
3640 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3641 s&@configure_input@&$configure_input&;t t
3642 s&@top_builddir@&$ac_top_builddir_sub&;t t
3643 s&@srcdir@&$ac_srcdir&;t t
3644 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3645 s&@top_srcdir@&$ac_top_srcdir&;t t
3646 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3647 s&@builddir@&$ac_builddir&;t t
3648 s&@abs_builddir@&$ac_abs_builddir&;t t
3649 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3650 s&@INSTALL@&$ac_INSTALL&;t t
3651 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3652 $ac_datarootdir_hack
3653 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3655 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3656 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3657 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3658 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3659 which seems to be undefined. Please make sure it is defined." >&5
3660 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3661 which seems to be undefined. Please make sure it is defined." >&2;}
3665 -) cat "$tmp/out"; rm -f "$tmp/out";;
3666 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3675 # Transform confdefs.h into a sed script `conftest.defines', that
3676 # substitutes the proper values into config.h.in to produce config.h.
3677 rm -f conftest.defines conftest.tail
3678 # First, append a space to every undef/define line, to ease matching.
3679 echo 's/$/ /' >conftest.defines
3680 # Then, protect against being on the right side of a sed subst, or in
3681 # an unquoted here document, in config.status. If some macros were
3682 # called several times there might be several #defines for the same
3683 # symbol, which is useless. But do not sort them, since the last
3684 # AC_DEFINE must be honored.
3685 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3686 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
3687 # NAME is the cpp macro being defined, VALUE is the value it is being given.
3688 # PARAMS is the parameter list in the macro definition--in most cases, it's
3689 # just an empty string.
3690 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
3691 ac_dB='\\)[ (].*,\\1define\\2'
3699 s/^[ ]*#[ ]*define[ ][ ]*//
3704 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
3705 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
3706 ' >>conftest.defines
3708 # Remove the space that was appended to ease matching.
3709 # Then replace #undef with comments. This is necessary, for
3710 # example, in the case of _POSIX_SOURCE, which is predefined and required
3711 # on some systems where configure will not decide to define it.
3712 # (The regexp can be short, since the line contains either #define or #undef.)
3714 s,^[ #]*u.*,/* & */,' >>conftest.defines
3716 # Break up conftest.defines:
3719 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
3720 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
3721 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
3723 ac_in='$ac_file_inputs'
3724 ac_out='"$tmp/out1"'
3725 ac_nxt='"$tmp/out2"'
3729 # Write a here document:
3730 cat >>$CONFIG_STATUS <<_ACEOF
3731 # First, check the format of the line:
3732 cat >"\$tmp/defines.sed" <<\\CEOF
3733 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
3734 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
3738 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
3740 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
3741 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
3742 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
3743 grep . conftest.tail >/dev/null || break
3744 rm -f conftest.defines
3745 mv conftest.tail conftest.defines
3747 rm -f conftest.defines conftest.tail
3749 echo "ac_result=$ac_in" >>$CONFIG_STATUS
3750 cat >>$CONFIG_STATUS <<\_ACEOF
3751 if test x"$ac_file" != x-; then
3752 echo "/* $configure_input */" >"$tmp/config.h"
3753 cat "$ac_result" >>"$tmp/config.h"
3754 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
3755 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3756 echo "$as_me: $ac_file is unchanged" >&6;}
3759 mv "$tmp/config.h" $ac_file
3762 echo "/* $configure_input */"
3766 # Compute $ac_file's index in $config_headers.
3769 for _am_header in $config_headers :; do
3771 $_am_arg | $_am_arg:* )
3774 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
3777 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
3778 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3779 X"$_am_arg" : 'X\(//\)[^/]' \| \
3780 X"$_am_arg" : 'X\(//\)$' \| \
3781 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
3783 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3799 s/.*/./; q'`/stamp-h$_am_stamp_count
3802 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
3803 echo "$as_me: executing $ac_file commands" >&6;}
3808 case $ac_file$ac_mode in
3809 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
3810 # Strip MF so we end up with the name of the file.
3811 mf=`echo "$mf" | sed -e 's/:.*$//'`
3812 # Check whether this is an Automake generated Makefile or not.
3813 # We used to match only the files named `Makefile.in', but
3814 # some people rename them; so instead we look at the file content.
3815 # Grep'ing the first line is not enough: some people post-process
3816 # each Makefile.in and add a new line on top of each file to say so.
3817 # Grep'ing the whole file is not good either: AIX grep has a line
3818 # limit of 2048, but all sed's we know have understand at least 4000.
3819 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
3820 dirpart=`$as_dirname -- "$mf" ||
3821 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3822 X"$mf" : 'X\(//\)[^/]' \| \
3823 X"$mf" : 'X\(//\)$' \| \
3824 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
3826 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3846 # Extract the definition of DEPDIR, am__include, and am__quote
3847 # from the Makefile without running `make'.
3848 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3849 test -z "$DEPDIR" && continue
3850 am__include=`sed -n 's/^am__include = //p' < "$mf"`
3851 test -z "am__include" && continue
3852 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3853 # When using ansi2knr, U may be empty or an underscore; expand it
3854 U=`sed -n 's/^U = //p' < "$mf"`
3855 # Find all dependency output files, they are included files with
3856 # $(DEPDIR) in their names. We invoke sed twice because it is the
3857 # simplest approach to changing $(DEPDIR) to its actual value in the
3859 for file in `sed -n "
3860 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
3861 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3862 # Make sure the directory exists.
3863 test -f "$dirpart/$file" && continue
3864 fdir=`$as_dirname -- "$file" ||
3865 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3866 X"$file" : 'X\(//\)[^/]' \| \
3867 X"$file" : 'X\(//\)$' \| \
3868 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
3870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3887 { as_dir=$dirpart/$fdir
3889 -*) as_dir=./$as_dir;;
3891 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3895 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3896 *) as_qdir=$as_dir;;
3898 as_dirs="'$as_qdir' $as_dirs"
3899 as_dir=`$as_dirname -- "$as_dir" ||
3900 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3901 X"$as_dir" : 'X\(//\)[^/]' \| \
3902 X"$as_dir" : 'X\(//\)$' \| \
3903 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3905 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3922 test -d "$as_dir" && break
3924 test -z "$as_dirs" || eval "mkdir $as_dirs"
3925 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3926 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3927 { (exit 1); exit 1; }; }; }
3928 # echo "creating $dirpart/$file"
3929 echo '# dummy' > "$dirpart/$file"
3938 { (exit 0); exit 0; }
3940 chmod +x $CONFIG_STATUS
3941 ac_clean_files=$ac_clean_files_save
3944 # configure is writing to config.log, and then calls config.status.
3945 # config.status does its own redirection, appending to config.log.
3946 # Unfortunately, on DOS this fails, as config.log is still kept open
3947 # by configure, so config.status won't be able to write to it; its
3948 # output is simply discarded. So we exec the FD to /dev/null,
3949 # effectively closing config.log, so it can be properly (re)opened and
3950 # appended to by config.status. When coming back to configure, we
3951 # need to make the FD available again.
3952 if test "$no_create" != yes; then
3954 ac_config_status_args=
3955 test "$silent" = yes &&
3956 ac_config_status_args="$ac_config_status_args --quiet"
3958 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3960 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3961 # would make configure fail if this is the last instruction.
3962 $ac_cs_success || { (exit 1); exit 1; }