2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir=.
247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
255 for as_shell in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
277 CONFIG_SHELL=$as_shell
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
305 as_func_ret_success () {
308 as_func_ret_failure () {
313 if as_func_success; then
317 echo as_func_success failed.
320 if as_func_failure; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure; then
334 echo as_func_ret_failure succeeded.
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) || { (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") || {
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system,
436 echo including any error possibly output before this message.
437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
492 ECHO_C= ECHO_N= ECHO_T=
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file
514 mkdir conf$$.dir 2>/dev/null
516 if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525 elif ln conf$$.file conf$$ 2>/dev/null; then
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
536 if mkdir -p . 2>/dev/null; then
539 test -d ./-p && rmdir ./-p
543 if test -x / >/dev/null 2>&1; then
546 if ls -dL / >/dev/null 2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev/null 6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix=/usr/local
586 ac_config_libobj_dir=.
592 SHELL=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
601 ac_unique_file=".version"
602 ac_unique_file="Makefile.in"
603 # Factoring default headers for most tests.
604 ac_includes_default="\
606 #ifdef HAVE_SYS_TYPES_H
607 # include <sys/types.h>
609 #ifdef HAVE_SYS_STAT_H
610 # include <sys/stat.h>
616 # ifdef HAVE_STDLIB_H
621 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
626 #ifdef HAVE_STRINGS_H
627 # include <strings.h>
629 #ifdef HAVE_INTTYPES_H
630 # include <inttypes.h>
639 enable_option_checking=no
640 ac_subst_vars='LTLIBOBJS
653 OPT_DISABLE_DEVICE_LIB
667 sdccconf_h_dir_separator
723 program_transform_name
735 enable_option_checking
755 ac_precious_vars='build_alias
764 sdccconf_h_dir_separator
768 ac_subdirs_all='support/cpp
775 # Initialize some variables set by options.
777 ac_init_version=false
778 ac_unrecognized_opts=
780 # The variables have the same names as the options, with
781 # dashes changed to underlines.
789 program_transform_name=s,x,x,
797 # Installation directory options.
798 # These are left unexpanded so users can "make install exec_prefix=/foo"
799 # and all the variables that are supposed to be based on exec_prefix
800 # by default will actually change.
801 # Use braces instead of parens because sh, perl, etc. also accept them.
802 # (The list follows the same order as the GNU Coding Standards.)
803 bindir='${exec_prefix}/bin'
804 sbindir='${exec_prefix}/sbin'
805 libexecdir='${exec_prefix}/libexec'
806 datarootdir='${prefix}/share'
807 datadir='${datarootdir}'
808 sysconfdir='${prefix}/etc'
809 sharedstatedir='${prefix}/com'
810 localstatedir='${prefix}/var'
811 includedir='${prefix}/include'
812 oldincludedir='/usr/include'
813 docdir='${datarootdir}/doc/${PACKAGE}'
814 infodir='${datarootdir}/info'
819 libdir='${exec_prefix}/lib'
820 localedir='${datarootdir}/locale'
821 mandir='${datarootdir}/man'
827 # If the previous option needs an argument, assign it.
828 if test -n "$ac_prev"; then
829 eval $ac_prev=\$ac_option
835 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
839 # Accept the important Cygnus configure options, so we can diagnose typos.
841 case $ac_dashdash$ac_option in
845 -bindir | --bindir | --bindi | --bind | --bin | --bi)
847 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
850 -build | --build | --buil | --bui | --bu)
851 ac_prev=build_alias ;;
852 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
853 build_alias=$ac_optarg ;;
855 -cache-file | --cache-file | --cache-fil | --cache-fi \
856 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
857 ac_prev=cache_file ;;
858 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
859 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
860 cache_file=$ac_optarg ;;
863 cache_file=config.cache ;;
865 -datadir | --datadir | --datadi | --datad)
867 -datadir=* | --datadir=* | --datadi=* | --datad=*)
868 datadir=$ac_optarg ;;
870 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
871 | --dataroo | --dataro | --datar)
872 ac_prev=datarootdir ;;
873 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
874 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
875 datarootdir=$ac_optarg ;;
877 -disable-* | --disable-*)
878 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
879 # Reject names that are not valid shell variable names.
880 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
881 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
882 { (exit 1); exit 1; }; }
883 ac_useropt_orig=$ac_useropt
884 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
885 case $ac_user_opts in
889 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
890 ac_unrecognized_sep=', ';;
892 eval enable_$ac_useropt=no ;;
894 -docdir | --docdir | --docdi | --doc | --do)
896 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
899 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
901 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
904 -enable-* | --enable-*)
905 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
906 # Reject names that are not valid shell variable names.
907 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
908 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
909 { (exit 1); exit 1; }; }
910 ac_useropt_orig=$ac_useropt
911 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
912 case $ac_user_opts in
916 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
917 ac_unrecognized_sep=', ';;
919 eval enable_$ac_useropt=\$ac_optarg ;;
921 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
922 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
923 | --exec | --exe | --ex)
924 ac_prev=exec_prefix ;;
925 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
926 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
927 | --exec=* | --exe=* | --ex=*)
928 exec_prefix=$ac_optarg ;;
930 -gas | --gas | --ga | --g)
931 # Obsolete; use --with-gas.
934 -help | --help | --hel | --he | -h)
936 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
937 ac_init_help=recursive ;;
938 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
939 ac_init_help=short ;;
941 -host | --host | --hos | --ho)
942 ac_prev=host_alias ;;
943 -host=* | --host=* | --hos=* | --ho=*)
944 host_alias=$ac_optarg ;;
946 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
948 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
950 htmldir=$ac_optarg ;;
952 -includedir | --includedir | --includedi | --included | --include \
953 | --includ | --inclu | --incl | --inc)
954 ac_prev=includedir ;;
955 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
956 | --includ=* | --inclu=* | --incl=* | --inc=*)
957 includedir=$ac_optarg ;;
959 -infodir | --infodir | --infodi | --infod | --info | --inf)
961 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
962 infodir=$ac_optarg ;;
964 -libdir | --libdir | --libdi | --libd)
966 -libdir=* | --libdir=* | --libdi=* | --libd=*)
969 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
970 | --libexe | --libex | --libe)
971 ac_prev=libexecdir ;;
972 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
973 | --libexe=* | --libex=* | --libe=*)
974 libexecdir=$ac_optarg ;;
976 -localedir | --localedir | --localedi | --localed | --locale)
978 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
979 localedir=$ac_optarg ;;
981 -localstatedir | --localstatedir | --localstatedi | --localstated \
982 | --localstate | --localstat | --localsta | --localst | --locals)
983 ac_prev=localstatedir ;;
984 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
985 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
986 localstatedir=$ac_optarg ;;
988 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
990 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
994 # Obsolete; use --without-fp.
997 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
998 | --no-cr | --no-c | -n)
1001 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1002 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1005 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1006 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1007 | --oldin | --oldi | --old | --ol | --o)
1008 ac_prev=oldincludedir ;;
1009 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1010 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1011 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1012 oldincludedir=$ac_optarg ;;
1014 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1016 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1017 prefix=$ac_optarg ;;
1019 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1020 | --program-pre | --program-pr | --program-p)
1021 ac_prev=program_prefix ;;
1022 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1023 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1024 program_prefix=$ac_optarg ;;
1026 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1027 | --program-suf | --program-su | --program-s)
1028 ac_prev=program_suffix ;;
1029 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1030 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1031 program_suffix=$ac_optarg ;;
1033 -program-transform-name | --program-transform-name \
1034 | --program-transform-nam | --program-transform-na \
1035 | --program-transform-n | --program-transform- \
1036 | --program-transform | --program-transfor \
1037 | --program-transfo | --program-transf \
1038 | --program-trans | --program-tran \
1039 | --progr-tra | --program-tr | --program-t)
1040 ac_prev=program_transform_name ;;
1041 -program-transform-name=* | --program-transform-name=* \
1042 | --program-transform-nam=* | --program-transform-na=* \
1043 | --program-transform-n=* | --program-transform-=* \
1044 | --program-transform=* | --program-transfor=* \
1045 | --program-transfo=* | --program-transf=* \
1046 | --program-trans=* | --program-tran=* \
1047 | --progr-tra=* | --program-tr=* | --program-t=*)
1048 program_transform_name=$ac_optarg ;;
1050 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1052 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1053 pdfdir=$ac_optarg ;;
1055 -psdir | --psdir | --psdi | --psd | --ps)
1057 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061 | -silent | --silent | --silen | --sile | --sil)
1064 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1066 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1068 sbindir=$ac_optarg ;;
1070 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1071 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1072 | --sharedst | --shareds | --shared | --share | --shar \
1074 ac_prev=sharedstatedir ;;
1075 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1076 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1077 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1079 sharedstatedir=$ac_optarg ;;
1081 -site | --site | --sit)
1083 -site=* | --site=* | --sit=*)
1086 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1088 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1089 srcdir=$ac_optarg ;;
1091 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1092 | --syscon | --sysco | --sysc | --sys | --sy)
1093 ac_prev=sysconfdir ;;
1094 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1095 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1096 sysconfdir=$ac_optarg ;;
1098 -target | --target | --targe | --targ | --tar | --ta | --t)
1099 ac_prev=target_alias ;;
1100 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1101 target_alias=$ac_optarg ;;
1103 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1106 -version | --version | --versio | --versi | --vers | -V)
1107 ac_init_version=: ;;
1110 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1113 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1114 { (exit 1); exit 1; }; }
1115 ac_useropt_orig=$ac_useropt
1116 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117 case $ac_user_opts in
1121 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1122 ac_unrecognized_sep=', ';;
1124 eval with_$ac_useropt=\$ac_optarg ;;
1126 -without-* | --without-*)
1127 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1130 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1131 { (exit 1); exit 1; }; }
1132 ac_useropt_orig=$ac_useropt
1133 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1134 case $ac_user_opts in
1138 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1139 ac_unrecognized_sep=', ';;
1141 eval with_$ac_useropt=no ;;
1144 # Obsolete; use --with-x.
1147 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1148 | --x-incl | --x-inc | --x-in | --x-i)
1149 ac_prev=x_includes ;;
1150 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1151 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1152 x_includes=$ac_optarg ;;
1154 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1155 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1156 ac_prev=x_libraries ;;
1157 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1158 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1159 x_libraries=$ac_optarg ;;
1161 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1162 Try \`$0 --help' for more information." >&2
1163 { (exit 1); exit 1; }; }
1167 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1168 # Reject names that are not valid shell variable names.
1169 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1170 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1171 { (exit 1); exit 1; }; }
1172 eval $ac_envvar=\$ac_optarg
1173 export $ac_envvar ;;
1176 # FIXME: should be removed in autoconf 3.0.
1177 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1178 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1179 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1180 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1186 if test -n "$ac_prev"; then
1187 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1188 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1189 { (exit 1); exit 1; }; }
1192 if test -n "$ac_unrecognized_opts"; then
1193 case $enable_option_checking in
1195 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1196 { (exit 1); exit 1; }; } ;;
1197 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1201 # Check all directory arguments for consistency.
1202 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1203 datadir sysconfdir sharedstatedir localstatedir includedir \
1204 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1205 libdir localedir mandir
1207 eval ac_val=\$$ac_var
1208 # Remove trailing slashes.
1211 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1212 eval $ac_var=\$ac_val;;
1214 # Be sure to have absolute directory names.
1216 [\\/$]* | ?:[\\/]* ) continue;;
1217 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1219 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1220 { (exit 1); exit 1; }; }
1223 # There might be people who depend on the old broken behavior: `$host'
1224 # used to hold the argument of --host etc.
1225 # FIXME: To remove some day.
1228 target=$target_alias
1230 # FIXME: To remove some day.
1231 if test "x$host_alias" != x; then
1232 if test "x$build_alias" = x; then
1233 cross_compiling=maybe
1234 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1235 If a cross compiler is detected then cross compile mode will be used." >&2
1236 elif test "x$build_alias" != "x$host_alias"; then
1242 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1244 test "$silent" = yes && exec 6>/dev/null
1247 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1248 ac_ls_di=`ls -di .` &&
1249 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1250 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1251 { (exit 1); exit 1; }; }
1252 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1253 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1254 { (exit 1); exit 1; }; }
1257 # Find the source files, if location was not specified.
1258 if test -z "$srcdir"; then
1259 ac_srcdir_defaulted=yes
1260 # Try the directory containing this script, then the parent directory.
1261 ac_confdir=`$as_dirname -- "$as_myself" ||
1262 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1263 X"$as_myself" : 'X\(//\)[^/]' \| \
1264 X"$as_myself" : 'X\(//\)$' \| \
1265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1266 $as_echo X"$as_myself" |
1267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1289 ac_srcdir_defaulted=no
1291 if test ! -r "$srcdir/$ac_unique_file"; then
1292 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1293 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1294 { (exit 1); exit 1; }; }
1296 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1298 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1299 { (exit 1); exit 1; }; }
1301 # When building in place, set srcdir=.
1302 if test "$ac_abs_confdir" = "$ac_pwd"; then
1305 # Remove unnecessary trailing slashes from srcdir.
1306 # Double slashes in file names in object file debugging info
1307 # mess up M-x gdb in Emacs.
1309 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1311 for ac_var in $ac_precious_vars; do
1312 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1313 eval ac_env_${ac_var}_value=\$${ac_var}
1314 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1315 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1319 # Report the --help message.
1321 if test "$ac_init_help" = "long"; then
1322 # Omit some internal or obsolete options to make the list less imposing.
1323 # This message is too long to be a string in the A/UX 3.1 sh.
1325 \`configure' configures this package to adapt to many kinds of systems.
1327 Usage: $0 [OPTION]... [VAR=VALUE]...
1329 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1330 VAR=VALUE. See below for descriptions of some of the useful variables.
1332 Defaults for the options are specified in brackets.
1335 -h, --help display this help and exit
1336 --help=short display options specific to this package
1337 --help=recursive display the short help of all the included packages
1338 -V, --version display version information and exit
1339 -q, --quiet, --silent do not print \`checking...' messages
1340 --cache-file=FILE cache test results in FILE [disabled]
1341 -C, --config-cache alias for \`--cache-file=config.cache'
1342 -n, --no-create do not create output files
1343 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1345 Installation directories:
1346 --prefix=PREFIX install architecture-independent files in PREFIX
1347 [$ac_default_prefix]
1348 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1351 By default, \`make install' will install all the files in
1352 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1353 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1354 for instance \`--prefix=\$HOME'.
1356 For better control, use the options below.
1358 Fine tuning of the installation directories:
1359 --bindir=DIR user executables [EPREFIX/bin]
1360 --sbindir=DIR system admin executables [EPREFIX/sbin]
1361 --libexecdir=DIR program executables [EPREFIX/libexec]
1362 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1363 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1364 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1365 --libdir=DIR object code libraries [EPREFIX/lib]
1366 --includedir=DIR C header files [PREFIX/include]
1367 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1368 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1369 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1370 --infodir=DIR info documentation [DATAROOTDIR/info]
1371 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1372 --mandir=DIR man documentation [DATAROOTDIR/man]
1373 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1374 --htmldir=DIR html documentation [DOCDIR]
1375 --dvidir=DIR dvi documentation [DOCDIR]
1376 --pdfdir=DIR pdf documentation [DOCDIR]
1377 --psdir=DIR ps documentation [DOCDIR]
1383 --program-prefix=PREFIX prepend PREFIX to installed program names
1384 --program-suffix=SUFFIX append SUFFIX to installed program names
1385 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1389 if test -n "$ac_init_help"; then
1394 --disable-option-checking ignore unrecognized --enable/--with options
1395 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1396 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1397 --disable-mcs51-port Excludes the Intel mcs51 port
1398 --disable-gbz80-port Excludes the Gameboy gbz80 port
1399 --disable-z80-port Excludes the z80 port
1400 --disable-avr-port Excludes the AVR port
1401 --disable-ds390-port Excludes the DS390 port
1402 --disable-ds400-port Excludes the DS400 port
1403 --disable-pic-port Excludes the PIC port
1404 --disable-pic16-port Excludes the PIC16 port
1405 --disable-xa51-port Excludes the XA51 port
1406 --disable-hc08-port Excludes the HC08 port
1407 --disable-ucsim Disables configuring and building of ucsim
1408 --disable-device-lib Disables building device libraries
1409 --disable-packihx Disables building packihx
1410 --disable-sdcpp Disables building sdcpp
1411 --disable-sdcdb Disables building sdcdb
1412 --enable-doc Enables building the documentation
1413 --enable-libgc Use the Bohem memory allocator. Lower runtime
1417 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1418 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1419 --without-ccache do not use ccache even if available
1421 Some influential environment variables:
1422 CC C compiler command
1423 CFLAGS C compiler flags
1424 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1425 nonstandard directory <lib dir>
1426 LIBS libraries to pass to the linker, e.g. -l<library>
1427 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1428 you have headers in a nonstandard directory <include dir>
1430 sdccconf_h_dir_separator
1431 needed in sdccconf.h: either "/" (default) or "\\"
1433 appended to datadir to define SDCC's include directory
1435 appended to datadir to define SDCC's library root directory
1436 docdir documentation installation directory
1438 Use these variables to override the choices made by `configure' or to help
1439 it to find libraries and programs with nonstandard names/locations.
1445 if test "$ac_init_help" = "recursive"; then
1446 # If there are subdirs, report their specific --help.
1447 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1448 test -d "$ac_dir" ||
1449 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1454 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1456 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1457 # A ".." for each directory in $ac_dir_suffix.
1458 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1459 case $ac_top_builddir_sub in
1460 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1461 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1464 ac_abs_top_builddir=$ac_pwd
1465 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1466 # for backward compatibility:
1467 ac_top_builddir=$ac_top_build_prefix
1470 .) # We are building in place.
1472 ac_top_srcdir=$ac_top_builddir_sub
1473 ac_abs_top_srcdir=$ac_pwd ;;
1474 [\\/]* | ?:[\\/]* ) # Absolute name.
1475 ac_srcdir=$srcdir$ac_dir_suffix;
1476 ac_top_srcdir=$srcdir
1477 ac_abs_top_srcdir=$srcdir ;;
1479 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1480 ac_top_srcdir=$ac_top_build_prefix$srcdir
1481 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1483 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1485 cd "$ac_dir" || { ac_status=$?; continue; }
1486 # Check for guested configure.
1487 if test -f "$ac_srcdir/configure.gnu"; then
1489 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1490 elif test -f "$ac_srcdir/configure"; then
1492 $SHELL "$ac_srcdir/configure" --help=recursive
1494 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1496 cd "$ac_pwd" || { ac_status=$?; break; }
1500 test -n "$ac_init_help" && exit $ac_status
1501 if $ac_init_version; then
1504 generated by GNU Autoconf 2.63
1506 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1507 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1508 This configure script is free software; the Free Software Foundation
1509 gives unlimited permission to copy, distribute and modify it.
1513 cat >config.log <<_ACEOF
1514 This file contains any messages produced by compilers while
1515 running configure, to aid debugging if configure makes a mistake.
1517 It was created by $as_me, which was
1518 generated by GNU Autoconf 2.63. Invocation command line was
1530 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1531 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1532 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1533 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1534 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1536 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1537 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1539 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1540 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1541 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1542 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1543 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1544 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1545 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1553 test -z "$as_dir" && as_dir=.
1554 $as_echo "PATH: $as_dir"
1570 # Keep a trace of the command line.
1571 # Strip out --no-create and --no-recursion so they do not pile up.
1572 # Strip out --silent because we don't want to record it for future runs.
1573 # Also quote any args containing shell meta-characters.
1574 # Make two passes to allow for proper duplicate-argument suppression.
1578 ac_must_keep_next=false
1584 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1585 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1586 | -silent | --silent | --silen | --sile | --sil)
1589 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1592 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1594 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1595 if test $ac_must_keep_next = true; then
1596 ac_must_keep_next=false # Got value, back to normal.
1599 *=* | --config-cache | -C | -disable-* | --disable-* \
1600 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1601 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1602 | -with-* | --with-* | -without-* | --without-* | --x)
1603 case "$ac_configure_args0 " in
1604 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1607 -* ) ac_must_keep_next=true ;;
1610 ac_configure_args="$ac_configure_args '$ac_arg'"
1615 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1616 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1618 # When interrupted or exit'd, cleanup temporary files, and complete
1619 # config.log. We remove comments because anyway the quotes in there
1620 # would cause problems or look ugly.
1621 # WARNING: Use '\'' to represent an apostrophe within the trap.
1622 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1623 trap 'exit_status=$?
1624 # Save into config.log some information that might help in debugging.
1629 ## ---------------- ##
1630 ## Cache variables. ##
1631 ## ---------------- ##
1634 # The following way of writing the cache mishandles newlines in values,
1636 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1637 eval ac_val=\$$ac_var
1641 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1642 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1645 _ | IFS | as_nl) ;; #(
1646 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1647 *) $as_unset $ac_var ;;
1652 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1653 *${as_nl}ac_space=\ *)
1655 "s/'\''/'\''\\\\'\'''\''/g;
1656 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1659 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1667 ## ----------------- ##
1668 ## Output variables. ##
1669 ## ----------------- ##
1672 for ac_var in $ac_subst_vars
1674 eval ac_val=\$$ac_var
1676 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1678 $as_echo "$ac_var='\''$ac_val'\''"
1682 if test -n "$ac_subst_files"; then
1684 ## ------------------- ##
1685 ## File substitutions. ##
1686 ## ------------------- ##
1689 for ac_var in $ac_subst_files
1691 eval ac_val=\$$ac_var
1693 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1695 $as_echo "$ac_var='\''$ac_val'\''"
1700 if test -s confdefs.h; then
1710 test "$ac_signal" != 0 &&
1711 $as_echo "$as_me: caught signal $ac_signal"
1712 $as_echo "$as_me: exit $exit_status"
1714 rm -f core *.core core.conftest.* &&
1715 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1718 for ac_signal in 1 2 13 15; do
1719 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1723 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1724 rm -f -r conftest* confdefs.h
1726 # Predefined preprocessor variables.
1728 cat >>confdefs.h <<_ACEOF
1729 #define PACKAGE_NAME "$PACKAGE_NAME"
1733 cat >>confdefs.h <<_ACEOF
1734 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1738 cat >>confdefs.h <<_ACEOF
1739 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1743 cat >>confdefs.h <<_ACEOF
1744 #define PACKAGE_STRING "$PACKAGE_STRING"
1748 cat >>confdefs.h <<_ACEOF
1749 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1753 # Let the site file select an alternate cache file if it wants to.
1754 # Prefer an explicitly selected file to automatically selected ones.
1757 if test -n "$CONFIG_SITE"; then
1758 ac_site_file1=$CONFIG_SITE
1759 elif test "x$prefix" != xNONE; then
1760 ac_site_file1=$prefix/share/config.site
1761 ac_site_file2=$prefix/etc/config.site
1763 ac_site_file1=$ac_default_prefix/share/config.site
1764 ac_site_file2=$ac_default_prefix/etc/config.site
1766 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1768 test "x$ac_site_file" = xNONE && continue
1769 if test -r "$ac_site_file"; then
1770 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1771 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1772 sed 's/^/| /' "$ac_site_file" >&5
1777 if test -r "$cache_file"; then
1778 # Some versions of bash will fail to source /dev/null (special
1779 # files actually), so we avoid doing that.
1780 if test -f "$cache_file"; then
1781 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1782 $as_echo "$as_me: loading cache $cache_file" >&6;}
1784 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1785 *) . "./$cache_file";;
1789 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1790 $as_echo "$as_me: creating cache $cache_file" >&6;}
1794 # Check that the precious variables saved in the cache have kept the same
1796 ac_cache_corrupted=false
1797 for ac_var in $ac_precious_vars; do
1798 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1799 eval ac_new_set=\$ac_env_${ac_var}_set
1800 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1801 eval ac_new_val=\$ac_env_${ac_var}_value
1802 case $ac_old_set,$ac_new_set in
1804 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1805 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1806 ac_cache_corrupted=: ;;
1808 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1809 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1810 ac_cache_corrupted=: ;;
1813 if test "x$ac_old_val" != "x$ac_new_val"; then
1814 # differences in whitespace do not lead to failure.
1815 ac_old_val_w=`echo x $ac_old_val`
1816 ac_new_val_w=`echo x $ac_new_val`
1817 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1818 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1819 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1820 ac_cache_corrupted=:
1822 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1823 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1824 eval $ac_var=\$ac_old_val
1826 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1827 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1828 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1829 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1832 # Pass precious variables to config.status.
1833 if test "$ac_new_set" = set; then
1835 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1836 *) ac_arg=$ac_var=$ac_new_val ;;
1838 case " $ac_configure_args " in
1839 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1840 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1844 if $ac_cache_corrupted; then
1845 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1847 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1848 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1849 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1850 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1851 { (exit 1); exit 1; }; }
1871 ac_cpp='$CPP $CPPFLAGS'
1872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1878 ac_config_headers="$ac_config_headers sdccconf.h:sdccconf_in.h as/link/asxxxx_config.h"
1881 for ac_prog in gawk mawk nawk awk
1883 # Extract the first word of "$ac_prog", so it can be a program name with args.
1884 set dummy $ac_prog; ac_word=$2
1885 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1886 $as_echo_n "checking for $ac_word... " >&6; }
1887 if test "${ac_cv_prog_AWK+set}" = set; then
1888 $as_echo_n "(cached) " >&6
1890 if test -n "$AWK"; then
1891 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1897 test -z "$as_dir" && as_dir=.
1898 for ac_exec_ext in '' $ac_executable_extensions; do
1899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1900 ac_cv_prog_AWK="$ac_prog"
1901 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1911 if test -n "$AWK"; then
1912 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
1913 $as_echo "$AWK" >&6; }
1915 { $as_echo "$as_me:$LINENO: result: no" >&5
1916 $as_echo "no" >&6; }
1920 test -n "$AWK" && break
1924 { $as_echo "$as_me:$LINENO: checking version of the package" >&5
1925 $as_echo_n "checking version of the package... " >&6; }
1926 if test -f ${srcdir}/.version; then
1927 { read VERSION; } < ${srcdir}/.version
1928 { $as_echo "$as_me:$LINENO: result: $VERSION" >&5
1929 $as_echo "$VERSION" >&6; }
1930 elif test -f ../.version; then
1931 { read VERSION; } < ../.version
1932 { $as_echo "$as_me:$LINENO: result: $VERSION" >&5
1933 $as_echo "$VERSION" >&6; }
1936 { $as_echo "$as_me:$LINENO: result: unknown using 0.0.0" >&5
1937 $as_echo "unknown using 0.0.0" >&6; }
1939 VERSIONHI=`echo $VERSION|$AWK 'BEGIN {FS="."} {print $1}'`
1940 VERSIONLO=`echo $VERSION|$AWK 'BEGIN {FS="."} {print $2}'`
1941 VERSIONP=`echo $VERSION|$AWK 'BEGIN {FS="."} {print $3}'`
1949 cat >>confdefs.h <<_ACEOF
1950 #define SDCC_VERSION_LO ${VERSIONLO}
1953 cat >>confdefs.h <<_ACEOF
1954 #define SDCC_VERSION_HI ${VERSIONHI}
1957 cat >>confdefs.h <<_ACEOF
1958 #define SDCC_VERSION_P ${VERSIONP}
1961 cat >>confdefs.h <<_ACEOF
1962 #define SDCC_VERSION_STR "${VERSION}"
1965 test "$program_prefix" != NONE &&
1966 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1967 # Use a double $ so make ignores it.
1968 test "$program_suffix" != NONE &&
1969 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1970 # Double any \ or $.
1971 # By default was `s,x,x', remove it if useless.
1972 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1973 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1975 sdcc_cv_version=$VERSION
1976 sdcc_cv_versionhi=$VERSIONHI
1977 sdcc_cv_versionlo=$VERSIONLO
1978 sdcc_cv_versionp=$VERSIONP
1982 # ===========================================================================
1984 ac_cpp='$CPP $CPPFLAGS'
1985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1988 if test -n "$ac_tool_prefix"; then
1989 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1990 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1991 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1992 $as_echo_n "checking for $ac_word... " >&6; }
1993 if test "${ac_cv_prog_CC+set}" = set; then
1994 $as_echo_n "(cached) " >&6
1996 if test -n "$CC"; then
1997 ac_cv_prog_CC="$CC" # Let the user override the test.
1999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2003 test -z "$as_dir" && as_dir=.
2004 for ac_exec_ext in '' $ac_executable_extensions; do
2005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2006 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2007 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2017 if test -n "$CC"; then
2018 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2019 $as_echo "$CC" >&6; }
2021 { $as_echo "$as_me:$LINENO: result: no" >&5
2022 $as_echo "no" >&6; }
2027 if test -z "$ac_cv_prog_CC"; then
2029 # Extract the first word of "gcc", so it can be a program name with args.
2030 set dummy gcc; ac_word=$2
2031 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2032 $as_echo_n "checking for $ac_word... " >&6; }
2033 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2034 $as_echo_n "(cached) " >&6
2036 if test -n "$ac_ct_CC"; then
2037 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043 test -z "$as_dir" && as_dir=.
2044 for ac_exec_ext in '' $ac_executable_extensions; do
2045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2046 ac_cv_prog_ac_ct_CC="gcc"
2047 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2056 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2057 if test -n "$ac_ct_CC"; then
2058 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2059 $as_echo "$ac_ct_CC" >&6; }
2061 { $as_echo "$as_me:$LINENO: result: no" >&5
2062 $as_echo "no" >&6; }
2065 if test "x$ac_ct_CC" = x; then
2068 case $cross_compiling:$ac_tool_warned in
2070 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2072 ac_tool_warned=yes ;;
2080 if test -z "$CC"; then
2081 if test -n "$ac_tool_prefix"; then
2082 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2083 set dummy ${ac_tool_prefix}cc; ac_word=$2
2084 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2085 $as_echo_n "checking for $ac_word... " >&6; }
2086 if test "${ac_cv_prog_CC+set}" = set; then
2087 $as_echo_n "(cached) " >&6
2089 if test -n "$CC"; then
2090 ac_cv_prog_CC="$CC" # Let the user override the test.
2092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2096 test -z "$as_dir" && as_dir=.
2097 for ac_exec_ext in '' $ac_executable_extensions; do
2098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2099 ac_cv_prog_CC="${ac_tool_prefix}cc"
2100 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2110 if test -n "$CC"; then
2111 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2112 $as_echo "$CC" >&6; }
2114 { $as_echo "$as_me:$LINENO: result: no" >&5
2115 $as_echo "no" >&6; }
2121 if test -z "$CC"; then
2122 # Extract the first word of "cc", so it can be a program name with args.
2123 set dummy cc; ac_word=$2
2124 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2125 $as_echo_n "checking for $ac_word... " >&6; }
2126 if test "${ac_cv_prog_CC+set}" = set; then
2127 $as_echo_n "(cached) " >&6
2129 if test -n "$CC"; then
2130 ac_cv_prog_CC="$CC" # Let the user override the test.
2133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137 test -z "$as_dir" && as_dir=.
2138 for ac_exec_ext in '' $ac_executable_extensions; do
2139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2140 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2141 ac_prog_rejected=yes
2145 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2152 if test $ac_prog_rejected = yes; then
2153 # We found a bogon in the path, so make sure we never use it.
2154 set dummy $ac_cv_prog_CC
2156 if test $# != 0; then
2157 # We chose a different compiler from the bogus one.
2158 # However, it has the same basename, so the bogon will be chosen
2159 # first if we set CC to just the basename; use the full file name.
2161 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2167 if test -n "$CC"; then
2168 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2169 $as_echo "$CC" >&6; }
2171 { $as_echo "$as_me:$LINENO: result: no" >&5
2172 $as_echo "no" >&6; }
2177 if test -z "$CC"; then
2178 if test -n "$ac_tool_prefix"; then
2179 for ac_prog in cl.exe
2181 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2182 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2183 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2184 $as_echo_n "checking for $ac_word... " >&6; }
2185 if test "${ac_cv_prog_CC+set}" = set; then
2186 $as_echo_n "(cached) " >&6
2188 if test -n "$CC"; then
2189 ac_cv_prog_CC="$CC" # Let the user override the test.
2191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 test -z "$as_dir" && as_dir=.
2196 for ac_exec_ext in '' $ac_executable_extensions; do
2197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2198 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2199 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2209 if test -n "$CC"; then
2210 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2211 $as_echo "$CC" >&6; }
2213 { $as_echo "$as_me:$LINENO: result: no" >&5
2214 $as_echo "no" >&6; }
2218 test -n "$CC" && break
2221 if test -z "$CC"; then
2223 for ac_prog in cl.exe
2225 # Extract the first word of "$ac_prog", so it can be a program name with args.
2226 set dummy $ac_prog; ac_word=$2
2227 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2228 $as_echo_n "checking for $ac_word... " >&6; }
2229 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2230 $as_echo_n "(cached) " >&6
2232 if test -n "$ac_ct_CC"; then
2233 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2239 test -z "$as_dir" && as_dir=.
2240 for ac_exec_ext in '' $ac_executable_extensions; do
2241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2242 ac_cv_prog_ac_ct_CC="$ac_prog"
2243 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2252 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2253 if test -n "$ac_ct_CC"; then
2254 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2255 $as_echo "$ac_ct_CC" >&6; }
2257 { $as_echo "$as_me:$LINENO: result: no" >&5
2258 $as_echo "no" >&6; }
2262 test -n "$ac_ct_CC" && break
2265 if test "x$ac_ct_CC" = x; then
2268 case $cross_compiling:$ac_tool_warned in
2270 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2272 ac_tool_warned=yes ;;
2281 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2283 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2284 See \`config.log' for more details." >&5
2285 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2286 See \`config.log' for more details." >&2;}
2287 { (exit 1); exit 1; }; }; }
2289 # Provide some information about the compiler.
2290 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2293 { (ac_try="$ac_compiler --version >&5"
2295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2296 *) ac_try_echo=$ac_try;;
2298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2299 $as_echo "$ac_try_echo") >&5
2300 (eval "$ac_compiler --version >&5") 2>&5
2302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303 (exit $ac_status); }
2304 { (ac_try="$ac_compiler -v >&5"
2306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2307 *) ac_try_echo=$ac_try;;
2309 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2310 $as_echo "$ac_try_echo") >&5
2311 (eval "$ac_compiler -v >&5") 2>&5
2313 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); }
2315 { (ac_try="$ac_compiler -V >&5"
2317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2318 *) ac_try_echo=$ac_try;;
2320 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2321 $as_echo "$ac_try_echo") >&5
2322 (eval "$ac_compiler -V >&5") 2>&5
2324 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }
2327 cat >conftest.$ac_ext <<_ACEOF
2330 cat confdefs.h >>conftest.$ac_ext
2331 cat >>conftest.$ac_ext <<_ACEOF
2332 /* end confdefs.h. */
2342 ac_clean_files_save=$ac_clean_files
2343 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2344 # Try to create an executable without -o first, disregard a.out.
2345 # It will help us diagnose broken compilers, and finding out an intuition
2347 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2348 $as_echo_n "checking for C compiler default output file name... " >&6; }
2349 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2351 # The possible output files:
2352 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2355 for ac_file in $ac_files
2358 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2359 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2364 if { (ac_try="$ac_link_default"
2366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2367 *) ac_try_echo=$ac_try;;
2369 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2370 $as_echo "$ac_try_echo") >&5
2371 (eval "$ac_link_default") 2>&5
2373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }; then
2375 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2376 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2377 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2378 # so that the user can short-circuit this test for compilers unknown to
2380 for ac_file in $ac_files ''
2382 test -f "$ac_file" || continue
2384 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2387 # We found the default executable, but exeext='' is most
2391 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2393 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2395 # We set ac_cv_exeext here because the later test for it is not
2396 # safe: cross compilers may not add the suffix if given an `-o'
2397 # argument, so we may need to know it at that point already.
2398 # Even if this section looks crufty: it has the advantage of
2405 test "$ac_cv_exeext" = no && ac_cv_exeext=
2411 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2412 $as_echo "$ac_file" >&6; }
2413 if test -z "$ac_file"; then
2414 $as_echo "$as_me: failed program was:" >&5
2415 sed 's/^/| /' conftest.$ac_ext >&5
2417 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2419 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2420 See \`config.log' for more details." >&5
2421 $as_echo "$as_me: error: C compiler cannot create executables
2422 See \`config.log' for more details." >&2;}
2423 { (exit 77); exit 77; }; }; }
2426 ac_exeext=$ac_cv_exeext
2428 # Check that the compiler produces executables we can run. If not, either
2429 # the compiler is broken, or we cross compile.
2430 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2431 $as_echo_n "checking whether the C compiler works... " >&6; }
2432 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2433 # If not cross compiling, check that we can run a simple program.
2434 if test "$cross_compiling" != yes; then
2435 if { ac_try='./$ac_file'
2436 { (case "(($ac_try" in
2437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2438 *) ac_try_echo=$ac_try;;
2440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2441 $as_echo "$ac_try_echo") >&5
2442 (eval "$ac_try") 2>&5
2444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445 (exit $ac_status); }; }; then
2448 if test "$cross_compiling" = maybe; then
2451 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2453 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2454 If you meant to cross compile, use \`--host'.
2455 See \`config.log' for more details." >&5
2456 $as_echo "$as_me: error: cannot run C compiled programs.
2457 If you meant to cross compile, use \`--host'.
2458 See \`config.log' for more details." >&2;}
2459 { (exit 1); exit 1; }; }; }
2463 { $as_echo "$as_me:$LINENO: result: yes" >&5
2464 $as_echo "yes" >&6; }
2466 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2467 ac_clean_files=$ac_clean_files_save
2468 # Check that the compiler produces executables we can run. If not, either
2469 # the compiler is broken, or we cross compile.
2470 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2471 $as_echo_n "checking whether we are cross compiling... " >&6; }
2472 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2473 $as_echo "$cross_compiling" >&6; }
2475 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2476 $as_echo_n "checking for suffix of executables... " >&6; }
2477 if { (ac_try="$ac_link"
2479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2480 *) ac_try_echo=$ac_try;;
2482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2483 $as_echo "$ac_try_echo") >&5
2484 (eval "$ac_link") 2>&5
2486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; then
2488 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2489 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2490 # work properly (i.e., refer to `conftest.exe'), while it won't with
2492 for ac_file in conftest.exe conftest conftest.*; do
2493 test -f "$ac_file" || continue
2495 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2496 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2502 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2504 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2505 See \`config.log' for more details." >&5
2506 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2507 See \`config.log' for more details." >&2;}
2508 { (exit 1); exit 1; }; }; }
2511 rm -f conftest$ac_cv_exeext
2512 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2513 $as_echo "$ac_cv_exeext" >&6; }
2515 rm -f conftest.$ac_ext
2516 EXEEXT=$ac_cv_exeext
2518 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2519 $as_echo_n "checking for suffix of object files... " >&6; }
2520 if test "${ac_cv_objext+set}" = set; then
2521 $as_echo_n "(cached) " >&6
2523 cat >conftest.$ac_ext <<_ACEOF
2526 cat confdefs.h >>conftest.$ac_ext
2527 cat >>conftest.$ac_ext <<_ACEOF
2528 /* end confdefs.h. */
2538 rm -f conftest.o conftest.obj
2539 if { (ac_try="$ac_compile"
2541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2542 *) ac_try_echo=$ac_try;;
2544 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2545 $as_echo "$ac_try_echo") >&5
2546 (eval "$ac_compile") 2>&5
2548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }; then
2550 for ac_file in conftest.o conftest.obj conftest.*; do
2551 test -f "$ac_file" || continue;
2553 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2554 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2559 $as_echo "$as_me: failed program was:" >&5
2560 sed 's/^/| /' conftest.$ac_ext >&5
2562 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2564 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2565 See \`config.log' for more details." >&5
2566 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2567 See \`config.log' for more details." >&2;}
2568 { (exit 1); exit 1; }; }; }
2571 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2573 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2574 $as_echo "$ac_cv_objext" >&6; }
2575 OBJEXT=$ac_cv_objext
2577 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2578 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2579 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2580 $as_echo_n "(cached) " >&6
2582 cat >conftest.$ac_ext <<_ACEOF
2585 cat confdefs.h >>conftest.$ac_ext
2586 cat >>conftest.$ac_ext <<_ACEOF
2587 /* end confdefs.h. */
2600 rm -f conftest.$ac_objext
2601 if { (ac_try="$ac_compile"
2603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2604 *) ac_try_echo=$ac_try;;
2606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2607 $as_echo "$ac_try_echo") >&5
2608 (eval "$ac_compile") 2>conftest.er1
2610 grep -v '^ *+' conftest.er1 >conftest.err
2612 cat conftest.err >&5
2613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614 (exit $ac_status); } && {
2615 test -z "$ac_c_werror_flag" ||
2616 test ! -s conftest.err
2617 } && test -s conftest.$ac_objext; then
2620 $as_echo "$as_me: failed program was:" >&5
2621 sed 's/^/| /' conftest.$ac_ext >&5
2626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2627 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2630 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2631 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2632 if test $ac_compiler_gnu = yes; then
2637 ac_test_CFLAGS=${CFLAGS+set}
2638 ac_save_CFLAGS=$CFLAGS
2639 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2640 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2641 if test "${ac_cv_prog_cc_g+set}" = set; then
2642 $as_echo_n "(cached) " >&6
2644 ac_save_c_werror_flag=$ac_c_werror_flag
2645 ac_c_werror_flag=yes
2648 cat >conftest.$ac_ext <<_ACEOF
2651 cat confdefs.h >>conftest.$ac_ext
2652 cat >>conftest.$ac_ext <<_ACEOF
2653 /* end confdefs.h. */
2663 rm -f conftest.$ac_objext
2664 if { (ac_try="$ac_compile"
2666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2667 *) ac_try_echo=$ac_try;;
2669 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2670 $as_echo "$ac_try_echo") >&5
2671 (eval "$ac_compile") 2>conftest.er1
2673 grep -v '^ *+' conftest.er1 >conftest.err
2675 cat conftest.err >&5
2676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); } && {
2678 test -z "$ac_c_werror_flag" ||
2679 test ! -s conftest.err
2680 } && test -s conftest.$ac_objext; then
2683 $as_echo "$as_me: failed program was:" >&5
2684 sed 's/^/| /' conftest.$ac_ext >&5
2687 cat >conftest.$ac_ext <<_ACEOF
2690 cat confdefs.h >>conftest.$ac_ext
2691 cat >>conftest.$ac_ext <<_ACEOF
2692 /* end confdefs.h. */
2702 rm -f conftest.$ac_objext
2703 if { (ac_try="$ac_compile"
2705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2706 *) ac_try_echo=$ac_try;;
2708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2709 $as_echo "$ac_try_echo") >&5
2710 (eval "$ac_compile") 2>conftest.er1
2712 grep -v '^ *+' conftest.er1 >conftest.err
2714 cat conftest.err >&5
2715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); } && {
2717 test -z "$ac_c_werror_flag" ||
2718 test ! -s conftest.err
2719 } && test -s conftest.$ac_objext; then
2722 $as_echo "$as_me: failed program was:" >&5
2723 sed 's/^/| /' conftest.$ac_ext >&5
2725 ac_c_werror_flag=$ac_save_c_werror_flag
2727 cat >conftest.$ac_ext <<_ACEOF
2730 cat confdefs.h >>conftest.$ac_ext
2731 cat >>conftest.$ac_ext <<_ACEOF
2732 /* end confdefs.h. */
2742 rm -f conftest.$ac_objext
2743 if { (ac_try="$ac_compile"
2745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2746 *) ac_try_echo=$ac_try;;
2748 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2749 $as_echo "$ac_try_echo") >&5
2750 (eval "$ac_compile") 2>conftest.er1
2752 grep -v '^ *+' conftest.er1 >conftest.err
2754 cat conftest.err >&5
2755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); } && {
2757 test -z "$ac_c_werror_flag" ||
2758 test ! -s conftest.err
2759 } && test -s conftest.$ac_objext; then
2762 $as_echo "$as_me: failed program was:" >&5
2763 sed 's/^/| /' conftest.$ac_ext >&5
2768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2775 ac_c_werror_flag=$ac_save_c_werror_flag
2777 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2778 $as_echo "$ac_cv_prog_cc_g" >&6; }
2779 if test "$ac_test_CFLAGS" = set; then
2780 CFLAGS=$ac_save_CFLAGS
2781 elif test $ac_cv_prog_cc_g = yes; then
2782 if test "$GCC" = yes; then
2788 if test "$GCC" = yes; then
2794 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2795 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2796 if test "${ac_cv_prog_cc_c89+set}" = set; then
2797 $as_echo_n "(cached) " >&6
2799 ac_cv_prog_cc_c89=no
2801 cat >conftest.$ac_ext <<_ACEOF
2804 cat confdefs.h >>conftest.$ac_ext
2805 cat >>conftest.$ac_ext <<_ACEOF
2806 /* end confdefs.h. */
2809 #include <sys/types.h>
2810 #include <sys/stat.h>
2811 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2812 struct buf { int x; };
2813 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2814 static char *e (p, i)
2820 static char *f (char * (*g) (char **, int), char **p, ...)
2825 s = g (p, va_arg (v,int));
2830 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2831 function prototypes and stuff, but not '\xHH' hex character constants.
2832 These don't provoke an error unfortunately, instead are silently treated
2833 as 'x'. The following induces an error, until -std is added to get
2834 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2835 array size at least. It's necessary to write '\x00'==0 to get something
2836 that's true only with -std. */
2837 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2839 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2840 inside strings and character constants. */
2842 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2844 int test (int i, double x);
2845 struct s1 {int (*f) (int a);};
2846 struct s2 {int (*f) (double a);};
2847 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2853 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2858 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2859 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2861 CC="$ac_save_CC $ac_arg"
2862 rm -f conftest.$ac_objext
2863 if { (ac_try="$ac_compile"
2865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2866 *) ac_try_echo=$ac_try;;
2868 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2869 $as_echo "$ac_try_echo") >&5
2870 (eval "$ac_compile") 2>conftest.er1
2872 grep -v '^ *+' conftest.er1 >conftest.err
2874 cat conftest.err >&5
2875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); } && {
2877 test -z "$ac_c_werror_flag" ||
2878 test ! -s conftest.err
2879 } && test -s conftest.$ac_objext; then
2880 ac_cv_prog_cc_c89=$ac_arg
2882 $as_echo "$as_me: failed program was:" >&5
2883 sed 's/^/| /' conftest.$ac_ext >&5
2888 rm -f core conftest.err conftest.$ac_objext
2889 test "x$ac_cv_prog_cc_c89" != "xno" && break
2891 rm -f conftest.$ac_ext
2896 case "x$ac_cv_prog_cc_c89" in
2898 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2899 $as_echo "none needed" >&6; } ;;
2901 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2902 $as_echo "unsupported" >&6; } ;;
2904 CC="$CC $ac_cv_prog_cc_c89"
2905 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2906 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2911 ac_cpp='$CPP $CPPFLAGS'
2912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2917 ac_cpp='$CPP $CPPFLAGS'
2918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2921 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2922 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2923 # On Suns, sometimes $CPP names a directory.
2924 if test -n "$CPP" && test -d "$CPP"; then
2927 if test -z "$CPP"; then
2928 if test "${ac_cv_prog_CPP+set}" = set; then
2929 $as_echo_n "(cached) " >&6
2931 # Double quotes because CPP needs to be expanded
2932 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2935 for ac_c_preproc_warn_flag in '' yes
2937 # Use a header file that comes with gcc, so configuring glibc
2938 # with a fresh cross-compiler works.
2939 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2940 # <limits.h> exists even on freestanding compilers.
2941 # On the NeXT, cc -E runs the code through the compiler's parser,
2942 # not just through cpp. "Syntax error" is here to catch this case.
2943 cat >conftest.$ac_ext <<_ACEOF
2946 cat confdefs.h >>conftest.$ac_ext
2947 cat >>conftest.$ac_ext <<_ACEOF
2948 /* end confdefs.h. */
2950 # include <limits.h>
2952 # include <assert.h>
2956 if { (ac_try="$ac_cpp conftest.$ac_ext"
2958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2959 *) ac_try_echo=$ac_try;;
2961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2962 $as_echo "$ac_try_echo") >&5
2963 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2965 grep -v '^ *+' conftest.er1 >conftest.err
2967 cat conftest.err >&5
2968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); } >/dev/null && {
2970 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2971 test ! -s conftest.err
2975 $as_echo "$as_me: failed program was:" >&5
2976 sed 's/^/| /' conftest.$ac_ext >&5
2978 # Broken: fails on valid input.
2982 rm -f conftest.err conftest.$ac_ext
2984 # OK, works on sane cases. Now check whether nonexistent headers
2985 # can be detected and how.
2986 cat >conftest.$ac_ext <<_ACEOF
2989 cat confdefs.h >>conftest.$ac_ext
2990 cat >>conftest.$ac_ext <<_ACEOF
2991 /* end confdefs.h. */
2992 #include <ac_nonexistent.h>
2994 if { (ac_try="$ac_cpp conftest.$ac_ext"
2996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2997 *) ac_try_echo=$ac_try;;
2999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3000 $as_echo "$ac_try_echo") >&5
3001 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3003 grep -v '^ *+' conftest.er1 >conftest.err
3005 cat conftest.err >&5
3006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); } >/dev/null && {
3008 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3009 test ! -s conftest.err
3011 # Broken: success on invalid input.
3014 $as_echo "$as_me: failed program was:" >&5
3015 sed 's/^/| /' conftest.$ac_ext >&5
3017 # Passes both tests.
3022 rm -f conftest.err conftest.$ac_ext
3025 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3026 rm -f conftest.err conftest.$ac_ext
3027 if $ac_preproc_ok; then
3039 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3040 $as_echo "$CPP" >&6; }
3042 for ac_c_preproc_warn_flag in '' yes
3044 # Use a header file that comes with gcc, so configuring glibc
3045 # with a fresh cross-compiler works.
3046 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3047 # <limits.h> exists even on freestanding compilers.
3048 # On the NeXT, cc -E runs the code through the compiler's parser,
3049 # not just through cpp. "Syntax error" is here to catch this case.
3050 cat >conftest.$ac_ext <<_ACEOF
3053 cat confdefs.h >>conftest.$ac_ext
3054 cat >>conftest.$ac_ext <<_ACEOF
3055 /* end confdefs.h. */
3057 # include <limits.h>
3059 # include <assert.h>
3063 if { (ac_try="$ac_cpp conftest.$ac_ext"
3065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3066 *) ac_try_echo=$ac_try;;
3068 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3069 $as_echo "$ac_try_echo") >&5
3070 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3072 grep -v '^ *+' conftest.er1 >conftest.err
3074 cat conftest.err >&5
3075 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); } >/dev/null && {
3077 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3078 test ! -s conftest.err
3082 $as_echo "$as_me: failed program was:" >&5
3083 sed 's/^/| /' conftest.$ac_ext >&5
3085 # Broken: fails on valid input.
3089 rm -f conftest.err conftest.$ac_ext
3091 # OK, works on sane cases. Now check whether nonexistent headers
3092 # can be detected and how.
3093 cat >conftest.$ac_ext <<_ACEOF
3096 cat confdefs.h >>conftest.$ac_ext
3097 cat >>conftest.$ac_ext <<_ACEOF
3098 /* end confdefs.h. */
3099 #include <ac_nonexistent.h>
3101 if { (ac_try="$ac_cpp conftest.$ac_ext"
3103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3104 *) ac_try_echo=$ac_try;;
3106 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3107 $as_echo "$ac_try_echo") >&5
3108 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3110 grep -v '^ *+' conftest.er1 >conftest.err
3112 cat conftest.err >&5
3113 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); } >/dev/null && {
3115 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3116 test ! -s conftest.err
3118 # Broken: success on invalid input.
3121 $as_echo "$as_me: failed program was:" >&5
3122 sed 's/^/| /' conftest.$ac_ext >&5
3124 # Passes both tests.
3129 rm -f conftest.err conftest.$ac_ext
3132 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3133 rm -f conftest.err conftest.$ac_ext
3134 if $ac_preproc_ok; then
3137 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3139 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3140 See \`config.log' for more details." >&5
3141 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3142 See \`config.log' for more details." >&2;}
3143 { (exit 1); exit 1; }; }; }
3147 ac_cpp='$CPP $CPPFLAGS'
3148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3153 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3154 if test -f "$ac_dir/install-sh"; then
3156 ac_install_sh="$ac_aux_dir/install-sh -c"
3158 elif test -f "$ac_dir/install.sh"; then
3160 ac_install_sh="$ac_aux_dir/install.sh -c"
3162 elif test -f "$ac_dir/shtool"; then
3164 ac_install_sh="$ac_aux_dir/shtool install -c"
3168 if test -z "$ac_aux_dir"; then
3169 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
3170 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
3171 { (exit 1); exit 1; }; }
3174 # These three variables are undocumented and unsupported,
3175 # and are intended to be withdrawn in a future Autoconf release.
3176 # They can cause serious problems if a builder's source tree is in a directory
3177 # whose full name contains unusual characters.
3178 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3179 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3180 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3183 # Find a good install program. We prefer a C program (faster),
3184 # so one script is as good as another. But avoid the broken or
3185 # incompatible versions:
3186 # SysV /etc/install, /usr/sbin/install
3187 # SunOS /usr/etc/install
3188 # IRIX /sbin/install
3190 # AmigaOS /C/install, which installs bootblocks on floppy discs
3191 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3192 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3193 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3194 # OS/2's system install, which has a completely different semantic
3195 # ./install, which can be erroneously created by make from ./install.sh.
3196 # Reject install programs that cannot install multiple files.
3197 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3198 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3199 if test -z "$INSTALL"; then
3200 if test "${ac_cv_path_install+set}" = set; then
3201 $as_echo_n "(cached) " >&6
3203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3207 test -z "$as_dir" && as_dir=.
3208 # Account for people who put trailing slashes in PATH elements.
3210 ./ | .// | /cC/* | \
3211 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3212 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3215 # OSF1 and SCO ODT 3.0 have their own names for install.
3216 # Don't use installbsd from OSF since it installs stuff as root
3218 for ac_prog in ginstall scoinst install; do
3219 for ac_exec_ext in '' $ac_executable_extensions; do
3220 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3221 if test $ac_prog = install &&
3222 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3223 # AIX install. It has an incompatible calling convention.
3225 elif test $ac_prog = install &&
3226 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3227 # program-specific install script used by HP pwplus--don't use.
3230 rm -rf conftest.one conftest.two conftest.dir
3231 echo one > conftest.one
3232 echo two > conftest.two
3234 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3235 test -s conftest.one && test -s conftest.two &&
3236 test -s conftest.dir/conftest.one &&
3237 test -s conftest.dir/conftest.two
3239 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3252 rm -rf conftest.one conftest.two conftest.dir
3255 if test "${ac_cv_path_install+set}" = set; then
3256 INSTALL=$ac_cv_path_install
3258 # As a last resort, use the slow shell script. Don't cache a
3259 # value for INSTALL within a source directory, because that will
3260 # break other packages using the cache if that directory is
3261 # removed, or if the value is a relative name.
3262 INSTALL=$ac_install_sh
3265 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3266 $as_echo "$INSTALL" >&6; }
3268 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3269 # It thinks the first close brace ends the variable substitution.
3270 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3272 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3274 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3276 if test -n "$ac_tool_prefix"; then
3277 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3278 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3279 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3280 $as_echo_n "checking for $ac_word... " >&6; }
3281 if test "${ac_cv_prog_RANLIB+set}" = set; then
3282 $as_echo_n "(cached) " >&6
3284 if test -n "$RANLIB"; then
3285 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3291 test -z "$as_dir" && as_dir=.
3292 for ac_exec_ext in '' $ac_executable_extensions; do
3293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3294 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3295 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3304 RANLIB=$ac_cv_prog_RANLIB
3305 if test -n "$RANLIB"; then
3306 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3307 $as_echo "$RANLIB" >&6; }
3309 { $as_echo "$as_me:$LINENO: result: no" >&5
3310 $as_echo "no" >&6; }
3315 if test -z "$ac_cv_prog_RANLIB"; then
3316 ac_ct_RANLIB=$RANLIB
3317 # Extract the first word of "ranlib", so it can be a program name with args.
3318 set dummy ranlib; ac_word=$2
3319 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3320 $as_echo_n "checking for $ac_word... " >&6; }
3321 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3322 $as_echo_n "(cached) " >&6
3324 if test -n "$ac_ct_RANLIB"; then
3325 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3331 test -z "$as_dir" && as_dir=.
3332 for ac_exec_ext in '' $ac_executable_extensions; do
3333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3334 ac_cv_prog_ac_ct_RANLIB="ranlib"
3335 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3344 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3345 if test -n "$ac_ct_RANLIB"; then
3346 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3347 $as_echo "$ac_ct_RANLIB" >&6; }
3349 { $as_echo "$as_me:$LINENO: result: no" >&5
3350 $as_echo "no" >&6; }
3353 if test "x$ac_ct_RANLIB" = x; then
3356 case $cross_compiling:$ac_tool_warned in
3358 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3360 ac_tool_warned=yes ;;
3362 RANLIB=$ac_ct_RANLIB
3365 RANLIB="$ac_cv_prog_RANLIB"
3368 # Extract the first word of "autoconf", so it can be a program name with args.
3369 set dummy autoconf; ac_word=$2
3370 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3371 $as_echo_n "checking for $ac_word... " >&6; }
3372 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
3373 $as_echo_n "(cached) " >&6
3375 if test -n "$AUTOCONF"; then
3376 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3382 test -z "$as_dir" && as_dir=.
3383 for ac_exec_ext in '' $ac_executable_extensions; do
3384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3385 ac_cv_prog_AUTOCONF="autoconf"
3386 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3393 test -z "$ac_cv_prog_AUTOCONF" && ac_cv_prog_AUTOCONF=":"
3396 AUTOCONF=$ac_cv_prog_AUTOCONF
3397 if test -n "$AUTOCONF"; then
3398 { $as_echo "$as_me:$LINENO: result: $AUTOCONF" >&5
3399 $as_echo "$AUTOCONF" >&6; }
3401 { $as_echo "$as_me:$LINENO: result: no" >&5
3402 $as_echo "no" >&6; }
3406 # Extract the first word of "strip", so it can be a program name with args.
3407 set dummy strip; ac_word=$2
3408 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3409 $as_echo_n "checking for $ac_word... " >&6; }
3410 if test "${ac_cv_prog_STRIP+set}" = set; then
3411 $as_echo_n "(cached) " >&6
3413 if test -n "$STRIP"; then
3414 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3420 test -z "$as_dir" && as_dir=.
3421 for ac_exec_ext in '' $ac_executable_extensions; do
3422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3423 ac_cv_prog_STRIP="strip"
3424 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3431 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
3434 STRIP=$ac_cv_prog_STRIP
3435 if test -n "$STRIP"; then
3436 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
3437 $as_echo "$STRIP" >&6; }
3439 { $as_echo "$as_me:$LINENO: result: no" >&5
3440 $as_echo "no" >&6; }
3444 # Extract the first word of "as", so it can be a program name with args.
3445 set dummy as; ac_word=$2
3446 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3447 $as_echo_n "checking for $ac_word... " >&6; }
3448 if test "${ac_cv_prog_AS+set}" = set; then
3449 $as_echo_n "(cached) " >&6
3451 if test -n "$AS"; then
3452 ac_cv_prog_AS="$AS" # Let the user override the test.
3454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3458 test -z "$as_dir" && as_dir=.
3459 for ac_exec_ext in '' $ac_executable_extensions; do
3460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3462 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3469 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS=":"
3473 if test -n "$AS"; then
3474 { $as_echo "$as_me:$LINENO: result: $AS" >&5
3475 $as_echo "$AS" >&6; }
3477 { $as_echo "$as_me:$LINENO: result: no" >&5
3478 $as_echo "no" >&6; }
3482 # Extract the first word of "cp", so it can be a program name with args.
3483 set dummy cp; ac_word=$2
3484 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3485 $as_echo_n "checking for $ac_word... " >&6; }
3486 if test "${ac_cv_prog_CP+set}" = set; then
3487 $as_echo_n "(cached) " >&6
3489 if test -n "$CP"; then
3490 ac_cv_prog_CP="$CP" # Let the user override the test.
3492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3496 test -z "$as_dir" && as_dir=.
3497 for ac_exec_ext in '' $ac_executable_extensions; do
3498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3500 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3507 test -z "$ac_cv_prog_CP" && ac_cv_prog_CP=":"
3511 if test -n "$CP"; then
3512 { $as_echo "$as_me:$LINENO: result: $CP" >&5
3513 $as_echo "$CP" >&6; }
3515 { $as_echo "$as_me:$LINENO: result: no" >&5
3516 $as_echo "no" >&6; }
3521 for ac_prog in flex lex
3523 # Extract the first word of "$ac_prog", so it can be a program name with args.
3524 set dummy $ac_prog; ac_word=$2
3525 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3526 $as_echo_n "checking for $ac_word... " >&6; }
3527 if test "${ac_cv_prog_LEX+set}" = set; then
3528 $as_echo_n "(cached) " >&6
3530 if test -n "$LEX"; then
3531 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3537 test -z "$as_dir" && as_dir=.
3538 for ac_exec_ext in '' $ac_executable_extensions; do
3539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3540 ac_cv_prog_LEX="$ac_prog"
3541 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3551 if test -n "$LEX"; then
3552 { $as_echo "$as_me:$LINENO: result: $LEX" >&5
3553 $as_echo "$LEX" >&6; }
3555 { $as_echo "$as_me:$LINENO: result: no" >&5
3556 $as_echo "no" >&6; }
3560 test -n "$LEX" && break
3562 test -n "$LEX" || LEX=":"
3565 for ac_prog in 'bison -y' byacc yacc
3567 # Extract the first word of "$ac_prog", so it can be a program name with args.
3568 set dummy $ac_prog; ac_word=$2
3569 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3570 $as_echo_n "checking for $ac_word... " >&6; }
3571 if test "${ac_cv_prog_YACC+set}" = set; then
3572 $as_echo_n "(cached) " >&6
3574 if test -n "$YACC"; then
3575 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581 test -z "$as_dir" && as_dir=.
3582 for ac_exec_ext in '' $ac_executable_extensions; do
3583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3584 ac_cv_prog_YACC="$ac_prog"
3585 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3594 YACC=$ac_cv_prog_YACC
3595 if test -n "$YACC"; then
3596 { $as_echo "$as_me:$LINENO: result: $YACC" >&5
3597 $as_echo "$YACC" >&6; }
3599 { $as_echo "$as_me:$LINENO: result: no" >&5
3600 $as_echo "no" >&6; }
3604 test -n "$YACC" && break
3606 test -n "$YACC" || YACC=":"
3611 if test "$YACC" = ":"; then
3612 { { $as_echo "$as_me:$LINENO: error: Cannot find required program bison." >&5
3613 $as_echo "$as_me: error: Cannot find required program bison." >&2;}
3614 { (exit 1); exit 1; }; }
3617 if test "$LEX" = ":"; then
3618 { { $as_echo "$as_me:$LINENO: error: Cannot find required program flex." >&5
3619 $as_echo "$as_me: error: Cannot find required program flex." >&2;}
3620 { (exit 1); exit 1; }; }
3625 ac_cpp='$CPP $CPPFLAGS'
3626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3632 # Check whether --with-ccache was given.
3633 if test "${with_ccache+set}" = set; then
3634 withval=$with_ccache;
3637 case x${with_ccache-yes} in
3638 xyes) # Extract the first word of "ccache", so it can be a program name with args.
3639 set dummy ccache; ac_word=$2
3640 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3641 $as_echo_n "checking for $ac_word... " >&6; }
3642 if test "${ac_cv_prog_CCACHE+set}" = set; then
3643 $as_echo_n "(cached) " >&6
3645 if test -n "$CCACHE"; then
3646 ac_cv_prog_CCACHE="$CCACHE" # Let the user override the test.
3648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3652 test -z "$as_dir" && as_dir=.
3653 for ac_exec_ext in '' $ac_executable_extensions; do
3654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3655 ac_cv_prog_CCACHE="ccache"
3656 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3665 CCACHE=$ac_cv_prog_CCACHE
3666 if test -n "$CCACHE"; then
3667 { $as_echo "$as_me:$LINENO: result: $CCACHE" >&5
3668 $as_echo "$CCACHE" >&6; }
3670 { $as_echo "$as_me:$LINENO: result: no" >&5
3671 $as_echo "no" >&6; }
3676 *) CCACHE=$with_ccache
3681 # Checking for functions
3682 # ===========================================================================
3685 for ac_func in strerror
3687 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3688 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
3689 $as_echo_n "checking for $ac_func... " >&6; }
3690 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
3691 $as_echo_n "(cached) " >&6
3693 cat >conftest.$ac_ext <<_ACEOF
3696 cat confdefs.h >>conftest.$ac_ext
3697 cat >>conftest.$ac_ext <<_ACEOF
3698 /* end confdefs.h. */
3699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3701 #define $ac_func innocuous_$ac_func
3703 /* System header to define __stub macros and hopefully few prototypes,
3704 which can conflict with char $ac_func (); below.
3705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3706 <limits.h> exists even on freestanding compilers. */
3709 # include <limits.h>
3711 # include <assert.h>
3716 /* Override any GCC internal prototype to avoid an error.
3717 Use char because int might match the return type of a GCC
3718 builtin and then its argument prototype would still apply. */
3723 /* The GNU C library defines this for functions which it implements
3724 to always fail with ENOSYS. Some functions are actually named
3725 something starting with __ and the normal name is an alias. */
3726 #if defined __stub_$ac_func || defined __stub___$ac_func
3738 rm -f conftest.$ac_objext conftest$ac_exeext
3739 if { (ac_try="$ac_link"
3741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3742 *) ac_try_echo=$ac_try;;
3744 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3745 $as_echo "$ac_try_echo") >&5
3746 (eval "$ac_link") 2>conftest.er1
3748 grep -v '^ *+' conftest.er1 >conftest.err
3750 cat conftest.err >&5
3751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); } && {
3753 test -z "$ac_c_werror_flag" ||
3754 test ! -s conftest.err
3755 } && test -s conftest$ac_exeext && {
3756 test "$cross_compiling" = yes ||
3757 $as_test_x conftest$ac_exeext
3759 eval "$as_ac_var=yes"
3761 $as_echo "$as_me: failed program was:" >&5
3762 sed 's/^/| /' conftest.$ac_ext >&5
3764 eval "$as_ac_var=no"
3767 rm -rf conftest.dSYM
3768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3769 conftest$ac_exeext conftest.$ac_ext
3771 ac_res=`eval 'as_val=${'$as_ac_var'}
3772 $as_echo "$as_val"'`
3773 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3774 $as_echo "$ac_res" >&6; }
3775 as_val=`eval 'as_val=${'$as_ac_var'}
3776 $as_echo "$as_val"'`
3777 if test "x$as_val" = x""yes; then
3778 cat >>confdefs.h <<_ACEOF
3779 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3789 for ac_func in vsnprintf snprintf vsprintf mkstemp
3791 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3792 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
3793 $as_echo_n "checking for $ac_func... " >&6; }
3794 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
3795 $as_echo_n "(cached) " >&6
3797 cat >conftest.$ac_ext <<_ACEOF
3800 cat confdefs.h >>conftest.$ac_ext
3801 cat >>conftest.$ac_ext <<_ACEOF
3802 /* end confdefs.h. */
3803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3805 #define $ac_func innocuous_$ac_func
3807 /* System header to define __stub macros and hopefully few prototypes,
3808 which can conflict with char $ac_func (); below.
3809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3810 <limits.h> exists even on freestanding compilers. */
3813 # include <limits.h>
3815 # include <assert.h>
3820 /* Override any GCC internal prototype to avoid an error.
3821 Use char because int might match the return type of a GCC
3822 builtin and then its argument prototype would still apply. */
3827 /* The GNU C library defines this for functions which it implements
3828 to always fail with ENOSYS. Some functions are actually named
3829 something starting with __ and the normal name is an alias. */
3830 #if defined __stub_$ac_func || defined __stub___$ac_func
3842 rm -f conftest.$ac_objext conftest$ac_exeext
3843 if { (ac_try="$ac_link"
3845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3846 *) ac_try_echo=$ac_try;;
3848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3849 $as_echo "$ac_try_echo") >&5
3850 (eval "$ac_link") 2>conftest.er1
3852 grep -v '^ *+' conftest.er1 >conftest.err
3854 cat conftest.err >&5
3855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } && {
3857 test -z "$ac_c_werror_flag" ||
3858 test ! -s conftest.err
3859 } && test -s conftest$ac_exeext && {
3860 test "$cross_compiling" = yes ||
3861 $as_test_x conftest$ac_exeext
3863 eval "$as_ac_var=yes"
3865 $as_echo "$as_me: failed program was:" >&5
3866 sed 's/^/| /' conftest.$ac_ext >&5
3868 eval "$as_ac_var=no"
3871 rm -rf conftest.dSYM
3872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3873 conftest$ac_exeext conftest.$ac_ext
3875 ac_res=`eval 'as_val=${'$as_ac_var'}
3876 $as_echo "$as_val"'`
3877 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3878 $as_echo "$ac_res" >&6; }
3879 as_val=`eval 'as_val=${'$as_ac_var'}
3880 $as_echo "$as_val"'`
3881 if test "x$as_val" = x""yes; then
3882 cat >>confdefs.h <<_ACEOF
3883 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3892 # ===========================================================================
3894 # adl_DD_COPT macro checks if the compiler specified as the 1st parameter
3895 # supports option specified as the 2nd parameter
3896 # For example: DD_CPORT(CXX, fPIC)
3900 # This macro expands DIR and assigns it to RET.
3901 # If DIR is NONE, then it's replaced by DEFAULT.
3903 # Based on AC_DEFINE_DIR
3907 # adl_EXPAND(prefix, "/usr/local", expanded_prefix)
3911 # adl_NORMALIZE_PATH
3913 # - empty paths are changed to '.'
3914 # - trailing slashes are removed
3915 # - repeated slashes are squeezed except a leading doubled slash '//'
3916 # (which might indicate a networked disk on some OS).
3919 # REFERENCE_STRING is used to turn '/' into '\' and vice-versa: if
3920 # REFERENCE_STRING contains some backslashes, all slashes and backslashes
3921 # are turned into backslashes, otherwise they are all turned into slashes.
3923 # This makes processing of DOS filenames quite easier, because you can turn a
3924 # filename to the Unix notation, make your processing, and turn it back to
3925 # original notation.
3930 # adl_COMPUTE_RELATIVE_PATH
3932 # PATH_LIST is a space-separated list of colon-separated triplets of the form
3933 # 'FROM:TO:RESULT'. This function iterates over these triplets and set $RESULT
3934 # to the relative path from $FROM to $TO. Note that $FROM and $TO needs to be
3935 # absolute filenames for this macro to success.
3941 ## The following helper macros are too fragile to be used out
3942 ## of adl_COMPUTE_RELATIVE_PATHS (mainly because they assume that
3943 ## paths are normalized), that's why I'm keeping them in the same file.
3944 ## Still, some of them maybe worth to reuse.
3962 # Checking characteristics of compilers and other programs
3963 # ===========================================================================
3964 { $as_echo "$as_me:$LINENO: checking whether preprocessor accepts -MM or -M" >&5
3965 $as_echo_n "checking whether preprocessor accepts -MM or -M... " >&6; }
3966 if test "${sdcc_cv_MM+set}" = set; then
3967 $as_echo_n "(cached) " >&6
3969 echo "#include <stdio.h>" >_test_.c
3971 $CPP -v -MM _test_.c 1>&5 2>&5
3972 if test "$?" = "0"; then
3979 { $as_echo "$as_me:$LINENO: result: $sdcc_cv_MM" >&5
3980 $as_echo "$sdcc_cv_MM" >&6; }
3984 # This is the first time when CFLAGS are set/modified!!
3986 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -ggdb" >&5
3987 $as_echo_n "checking whether $CC accepts -ggdb... " >&6; }
3988 if test "${sdcc_cv_CCggdb+set}" = set; then
3989 $as_echo_n "(cached) " >&6
3995 $CC -v -ggdb -c _test_.c 1>&5 2>&5
3996 if test "$?" = "0"; then
3997 sdcc_cv_CCggdb="yes"
4001 rm -f _test_.* a.out
4003 { $as_echo "$as_me:$LINENO: result: $sdcc_cv_CCggdb" >&5
4004 $as_echo "$sdcc_cv_CCggdb" >&6; }
4006 if test "$sdcc_cv_CCggdb" = "yes"; then
4007 CFLAGS="-ggdb ${CFLAGS}"
4011 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -pipe" >&5
4012 $as_echo_n "checking whether $CC accepts -pipe... " >&6; }
4013 if test "${sdcc_cv_CCpipe+set}" = set; then
4014 $as_echo_n "(cached) " >&6
4020 $CC -v -pipe -c _test_.c 1>&5 2>&5
4021 if test "$?" = "0"; then
4022 sdcc_cv_CCpipe="yes"
4026 rm -f _test_.* a.out
4028 { $as_echo "$as_me:$LINENO: result: $sdcc_cv_CCpipe" >&5
4029 $as_echo "$sdcc_cv_CCpipe" >&6; }
4031 if test "$sdcc_cv_CCpipe" = "yes"; then
4032 CFLAGS="-pipe $CFLAGS"
4036 # Checks for typedefs, structures, and compiler characteristics.
4037 # ===========================================================================
4038 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4039 $as_echo_n "checking return type of signal handlers... " >&6; }
4040 if test "${ac_cv_type_signal+set}" = set; then
4041 $as_echo_n "(cached) " >&6
4043 cat >conftest.$ac_ext <<_ACEOF
4046 cat confdefs.h >>conftest.$ac_ext
4047 cat >>conftest.$ac_ext <<_ACEOF
4048 /* end confdefs.h. */
4049 #include <sys/types.h>
4055 return *(signal (0, 0)) (0) == 1;
4060 rm -f conftest.$ac_objext
4061 if { (ac_try="$ac_compile"
4063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4064 *) ac_try_echo=$ac_try;;
4066 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4067 $as_echo "$ac_try_echo") >&5
4068 (eval "$ac_compile") 2>conftest.er1
4070 grep -v '^ *+' conftest.er1 >conftest.err
4072 cat conftest.err >&5
4073 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074 (exit $ac_status); } && {
4075 test -z "$ac_c_werror_flag" ||
4076 test ! -s conftest.err
4077 } && test -s conftest.$ac_objext; then
4078 ac_cv_type_signal=int
4080 $as_echo "$as_me: failed program was:" >&5
4081 sed 's/^/| /' conftest.$ac_ext >&5
4083 ac_cv_type_signal=void
4086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4088 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4089 $as_echo "$ac_cv_type_signal" >&6; }
4091 cat >>confdefs.h <<_ACEOF
4092 #define RETSIGTYPE $ac_cv_type_signal
4098 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4099 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4100 if test "${ac_cv_path_GREP+set}" = set; then
4101 $as_echo_n "(cached) " >&6
4103 if test -z "$GREP"; then
4104 ac_path_GREP_found=false
4105 # Loop through the user's path and test for each of PROGNAME-LIST
4106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4107 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4110 test -z "$as_dir" && as_dir=.
4111 for ac_prog in grep ggrep; do
4112 for ac_exec_ext in '' $ac_executable_extensions; do
4113 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4114 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4115 # Check for GNU ac_path_GREP and select it if it is found.
4116 # Check for GNU $ac_path_GREP
4117 case `"$ac_path_GREP" --version 2>&1` in
4119 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4122 $as_echo_n 0123456789 >"conftest.in"
4125 cat "conftest.in" "conftest.in" >"conftest.tmp"
4126 mv "conftest.tmp" "conftest.in"
4127 cp "conftest.in" "conftest.nl"
4128 $as_echo 'GREP' >> "conftest.nl"
4129 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4130 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4131 ac_count=`expr $ac_count + 1`
4132 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4133 # Best one so far, save it but keep looking for a better one
4134 ac_cv_path_GREP="$ac_path_GREP"
4135 ac_path_GREP_max=$ac_count
4137 # 10*(2^10) chars as input seems more than enough
4138 test $ac_count -gt 10 && break
4140 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4143 $ac_path_GREP_found && break 3
4148 if test -z "$ac_cv_path_GREP"; then
4149 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4150 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4151 { (exit 1); exit 1; }; }
4154 ac_cv_path_GREP=$GREP
4158 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4159 $as_echo "$ac_cv_path_GREP" >&6; }
4160 GREP="$ac_cv_path_GREP"
4163 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4164 $as_echo_n "checking for egrep... " >&6; }
4165 if test "${ac_cv_path_EGREP+set}" = set; then
4166 $as_echo_n "(cached) " >&6
4168 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4169 then ac_cv_path_EGREP="$GREP -E"
4171 if test -z "$EGREP"; then
4172 ac_path_EGREP_found=false
4173 # Loop through the user's path and test for each of PROGNAME-LIST
4174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4175 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4178 test -z "$as_dir" && as_dir=.
4179 for ac_prog in egrep; do
4180 for ac_exec_ext in '' $ac_executable_extensions; do
4181 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4182 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4183 # Check for GNU ac_path_EGREP and select it if it is found.
4184 # Check for GNU $ac_path_EGREP
4185 case `"$ac_path_EGREP" --version 2>&1` in
4187 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4190 $as_echo_n 0123456789 >"conftest.in"
4193 cat "conftest.in" "conftest.in" >"conftest.tmp"
4194 mv "conftest.tmp" "conftest.in"
4195 cp "conftest.in" "conftest.nl"
4196 $as_echo 'EGREP' >> "conftest.nl"
4197 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4198 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4199 ac_count=`expr $ac_count + 1`
4200 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4201 # Best one so far, save it but keep looking for a better one
4202 ac_cv_path_EGREP="$ac_path_EGREP"
4203 ac_path_EGREP_max=$ac_count
4205 # 10*(2^10) chars as input seems more than enough
4206 test $ac_count -gt 10 && break
4208 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4211 $ac_path_EGREP_found && break 3
4216 if test -z "$ac_cv_path_EGREP"; then
4217 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4218 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4219 { (exit 1); exit 1; }; }
4222 ac_cv_path_EGREP=$EGREP
4227 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4228 $as_echo "$ac_cv_path_EGREP" >&6; }
4229 EGREP="$ac_cv_path_EGREP"
4232 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4233 $as_echo_n "checking for ANSI C header files... " >&6; }
4234 if test "${ac_cv_header_stdc+set}" = set; then
4235 $as_echo_n "(cached) " >&6
4237 cat >conftest.$ac_ext <<_ACEOF
4240 cat confdefs.h >>conftest.$ac_ext
4241 cat >>conftest.$ac_ext <<_ACEOF
4242 /* end confdefs.h. */
4256 rm -f conftest.$ac_objext
4257 if { (ac_try="$ac_compile"
4259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4260 *) ac_try_echo=$ac_try;;
4262 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4263 $as_echo "$ac_try_echo") >&5
4264 (eval "$ac_compile") 2>conftest.er1
4266 grep -v '^ *+' conftest.er1 >conftest.err
4268 cat conftest.err >&5
4269 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4270 (exit $ac_status); } && {
4271 test -z "$ac_c_werror_flag" ||
4272 test ! -s conftest.err
4273 } && test -s conftest.$ac_objext; then
4274 ac_cv_header_stdc=yes
4276 $as_echo "$as_me: failed program was:" >&5
4277 sed 's/^/| /' conftest.$ac_ext >&5
4279 ac_cv_header_stdc=no
4282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4284 if test $ac_cv_header_stdc = yes; then
4285 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4286 cat >conftest.$ac_ext <<_ACEOF
4289 cat confdefs.h >>conftest.$ac_ext
4290 cat >>conftest.$ac_ext <<_ACEOF
4291 /* end confdefs.h. */
4295 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4296 $EGREP "memchr" >/dev/null 2>&1; then
4299 ac_cv_header_stdc=no
4305 if test $ac_cv_header_stdc = yes; then
4306 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4307 cat >conftest.$ac_ext <<_ACEOF
4310 cat confdefs.h >>conftest.$ac_ext
4311 cat >>conftest.$ac_ext <<_ACEOF
4312 /* end confdefs.h. */
4316 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4317 $EGREP "free" >/dev/null 2>&1; then
4320 ac_cv_header_stdc=no
4326 if test $ac_cv_header_stdc = yes; then
4327 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4328 if test "$cross_compiling" = yes; then
4331 cat >conftest.$ac_ext <<_ACEOF
4334 cat confdefs.h >>conftest.$ac_ext
4335 cat >>conftest.$ac_ext <<_ACEOF
4336 /* end confdefs.h. */
4339 #if ((' ' & 0x0FF) == 0x020)
4340 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4341 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4343 # define ISLOWER(c) \
4344 (('a' <= (c) && (c) <= 'i') \
4345 || ('j' <= (c) && (c) <= 'r') \
4346 || ('s' <= (c) && (c) <= 'z'))
4347 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4350 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4355 for (i = 0; i < 256; i++)
4356 if (XOR (islower (i), ISLOWER (i))
4357 || toupper (i) != TOUPPER (i))
4362 rm -f conftest$ac_exeext
4363 if { (ac_try="$ac_link"
4365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4366 *) ac_try_echo=$ac_try;;
4368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4369 $as_echo "$ac_try_echo") >&5
4370 (eval "$ac_link") 2>&5
4372 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4374 { (case "(($ac_try" in
4375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4376 *) ac_try_echo=$ac_try;;
4378 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4379 $as_echo "$ac_try_echo") >&5
4380 (eval "$ac_try") 2>&5
4382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); }; }; then
4386 $as_echo "$as_me: program exited with status $ac_status" >&5
4387 $as_echo "$as_me: failed program was:" >&5
4388 sed 's/^/| /' conftest.$ac_ext >&5
4391 ac_cv_header_stdc=no
4393 rm -rf conftest.dSYM
4394 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4400 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4401 $as_echo "$ac_cv_header_stdc" >&6; }
4402 if test $ac_cv_header_stdc = yes; then
4404 cat >>confdefs.h <<\_ACEOF
4405 #define STDC_HEADERS 1
4410 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4420 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4421 inttypes.h stdint.h unistd.h
4423 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4424 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4425 $as_echo_n "checking for $ac_header... " >&6; }
4426 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4427 $as_echo_n "(cached) " >&6
4429 cat >conftest.$ac_ext <<_ACEOF
4432 cat confdefs.h >>conftest.$ac_ext
4433 cat >>conftest.$ac_ext <<_ACEOF
4434 /* end confdefs.h. */
4435 $ac_includes_default
4437 #include <$ac_header>
4439 rm -f conftest.$ac_objext
4440 if { (ac_try="$ac_compile"
4442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4443 *) ac_try_echo=$ac_try;;
4445 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4446 $as_echo "$ac_try_echo") >&5
4447 (eval "$ac_compile") 2>conftest.er1
4449 grep -v '^ *+' conftest.er1 >conftest.err
4451 cat conftest.err >&5
4452 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); } && {
4454 test -z "$ac_c_werror_flag" ||
4455 test ! -s conftest.err
4456 } && test -s conftest.$ac_objext; then
4457 eval "$as_ac_Header=yes"
4459 $as_echo "$as_me: failed program was:" >&5
4460 sed 's/^/| /' conftest.$ac_ext >&5
4462 eval "$as_ac_Header=no"
4465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4467 ac_res=`eval 'as_val=${'$as_ac_Header'}
4468 $as_echo "$as_val"'`
4469 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4470 $as_echo "$ac_res" >&6; }
4471 as_val=`eval 'as_val=${'$as_ac_Header'}
4472 $as_echo "$as_val"'`
4473 if test "x$as_val" = x""yes; then
4474 cat >>confdefs.h <<_ACEOF
4475 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4483 # The cast to long int works around a bug in the HP C Compiler
4484 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4485 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4486 # This bug is HP SR number 8606223364.
4487 { $as_echo "$as_me:$LINENO: checking size of char" >&5
4488 $as_echo_n "checking size of char... " >&6; }
4489 if test "${ac_cv_sizeof_char+set}" = set; then
4490 $as_echo_n "(cached) " >&6
4492 if test "$cross_compiling" = yes; then
4493 # Depending upon the size, compute the lo and hi bounds.
4494 cat >conftest.$ac_ext <<_ACEOF
4497 cat confdefs.h >>conftest.$ac_ext
4498 cat >>conftest.$ac_ext <<_ACEOF
4499 /* end confdefs.h. */
4500 $ac_includes_default
4504 static int test_array [1 - 2 * !(((long int) (sizeof (char))) >= 0)];
4511 rm -f conftest.$ac_objext
4512 if { (ac_try="$ac_compile"
4514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4515 *) ac_try_echo=$ac_try;;
4517 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4518 $as_echo "$ac_try_echo") >&5
4519 (eval "$ac_compile") 2>conftest.er1
4521 grep -v '^ *+' conftest.er1 >conftest.err
4523 cat conftest.err >&5
4524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); } && {
4526 test -z "$ac_c_werror_flag" ||
4527 test ! -s conftest.err
4528 } && test -s conftest.$ac_objext; then
4531 cat >conftest.$ac_ext <<_ACEOF
4534 cat confdefs.h >>conftest.$ac_ext
4535 cat >>conftest.$ac_ext <<_ACEOF
4536 /* end confdefs.h. */
4537 $ac_includes_default
4541 static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= $ac_mid)];
4548 rm -f conftest.$ac_objext
4549 if { (ac_try="$ac_compile"
4551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4552 *) ac_try_echo=$ac_try;;
4554 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4555 $as_echo "$ac_try_echo") >&5
4556 (eval "$ac_compile") 2>conftest.er1
4558 grep -v '^ *+' conftest.er1 >conftest.err
4560 cat conftest.err >&5
4561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); } && {
4563 test -z "$ac_c_werror_flag" ||
4564 test ! -s conftest.err
4565 } && test -s conftest.$ac_objext; then
4566 ac_hi=$ac_mid; break
4568 $as_echo "$as_me: failed program was:" >&5
4569 sed 's/^/| /' conftest.$ac_ext >&5
4571 ac_lo=`expr $ac_mid + 1`
4572 if test $ac_lo -le $ac_mid; then
4576 ac_mid=`expr 2 '*' $ac_mid + 1`
4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4582 $as_echo "$as_me: failed program was:" >&5
4583 sed 's/^/| /' conftest.$ac_ext >&5
4585 cat >conftest.$ac_ext <<_ACEOF
4588 cat confdefs.h >>conftest.$ac_ext
4589 cat >>conftest.$ac_ext <<_ACEOF
4590 /* end confdefs.h. */
4591 $ac_includes_default
4595 static int test_array [1 - 2 * !(((long int) (sizeof (char))) < 0)];
4602 rm -f conftest.$ac_objext
4603 if { (ac_try="$ac_compile"
4605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4606 *) ac_try_echo=$ac_try;;
4608 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4609 $as_echo "$ac_try_echo") >&5
4610 (eval "$ac_compile") 2>conftest.er1
4612 grep -v '^ *+' conftest.er1 >conftest.err
4614 cat conftest.err >&5
4615 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); } && {
4617 test -z "$ac_c_werror_flag" ||
4618 test ! -s conftest.err
4619 } && test -s conftest.$ac_objext; then
4622 cat >conftest.$ac_ext <<_ACEOF
4625 cat confdefs.h >>conftest.$ac_ext
4626 cat >>conftest.$ac_ext <<_ACEOF
4627 /* end confdefs.h. */
4628 $ac_includes_default
4632 static int test_array [1 - 2 * !(((long int) (sizeof (char))) >= $ac_mid)];
4639 rm -f conftest.$ac_objext
4640 if { (ac_try="$ac_compile"
4642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4643 *) ac_try_echo=$ac_try;;
4645 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4646 $as_echo "$ac_try_echo") >&5
4647 (eval "$ac_compile") 2>conftest.er1
4649 grep -v '^ *+' conftest.er1 >conftest.err
4651 cat conftest.err >&5
4652 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); } && {
4654 test -z "$ac_c_werror_flag" ||
4655 test ! -s conftest.err
4656 } && test -s conftest.$ac_objext; then
4657 ac_lo=$ac_mid; break
4659 $as_echo "$as_me: failed program was:" >&5
4660 sed 's/^/| /' conftest.$ac_ext >&5
4662 ac_hi=`expr '(' $ac_mid ')' - 1`
4663 if test $ac_mid -le $ac_hi; then
4667 ac_mid=`expr 2 '*' $ac_mid`
4670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4673 $as_echo "$as_me: failed program was:" >&5
4674 sed 's/^/| /' conftest.$ac_ext >&5
4679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4683 # Binary search between lo and hi bounds.
4684 while test "x$ac_lo" != "x$ac_hi"; do
4685 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4686 cat >conftest.$ac_ext <<_ACEOF
4689 cat confdefs.h >>conftest.$ac_ext
4690 cat >>conftest.$ac_ext <<_ACEOF
4691 /* end confdefs.h. */
4692 $ac_includes_default
4696 static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= $ac_mid)];
4703 rm -f conftest.$ac_objext
4704 if { (ac_try="$ac_compile"
4706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4707 *) ac_try_echo=$ac_try;;
4709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4710 $as_echo "$ac_try_echo") >&5
4711 (eval "$ac_compile") 2>conftest.er1
4713 grep -v '^ *+' conftest.er1 >conftest.err
4715 cat conftest.err >&5
4716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); } && {
4718 test -z "$ac_c_werror_flag" ||
4719 test ! -s conftest.err
4720 } && test -s conftest.$ac_objext; then
4723 $as_echo "$as_me: failed program was:" >&5
4724 sed 's/^/| /' conftest.$ac_ext >&5
4726 ac_lo=`expr '(' $ac_mid ')' + 1`
4729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4732 ?*) ac_cv_sizeof_char=$ac_lo;;
4733 '') if test "$ac_cv_type_char" = yes; then
4734 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4736 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (char)
4737 See \`config.log' for more details." >&5
4738 $as_echo "$as_me: error: cannot compute sizeof (char)
4739 See \`config.log' for more details." >&2;}
4740 { (exit 77); exit 77; }; }; }
4746 cat >conftest.$ac_ext <<_ACEOF
4749 cat confdefs.h >>conftest.$ac_ext
4750 cat >>conftest.$ac_ext <<_ACEOF
4751 /* end confdefs.h. */
4752 $ac_includes_default
4753 static long int longval () { return (long int) (sizeof (char)); }
4754 static unsigned long int ulongval () { return (long int) (sizeof (char)); }
4761 FILE *f = fopen ("conftest.val", "w");
4764 if (((long int) (sizeof (char))) < 0)
4766 long int i = longval ();
4767 if (i != ((long int) (sizeof (char))))
4769 fprintf (f, "%ld", i);
4773 unsigned long int i = ulongval ();
4774 if (i != ((long int) (sizeof (char))))
4776 fprintf (f, "%lu", i);
4778 /* Do not output a trailing newline, as this causes \r\n confusion
4779 on some platforms. */
4780 return ferror (f) || fclose (f) != 0;
4786 rm -f conftest$ac_exeext
4787 if { (ac_try="$ac_link"
4789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4790 *) ac_try_echo=$ac_try;;
4792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4793 $as_echo "$ac_try_echo") >&5
4794 (eval "$ac_link") 2>&5
4796 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4798 { (case "(($ac_try" in
4799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4800 *) ac_try_echo=$ac_try;;
4802 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4803 $as_echo "$ac_try_echo") >&5
4804 (eval "$ac_try") 2>&5
4806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; }; then
4808 ac_cv_sizeof_char=`cat conftest.val`
4810 $as_echo "$as_me: program exited with status $ac_status" >&5
4811 $as_echo "$as_me: failed program was:" >&5
4812 sed 's/^/| /' conftest.$ac_ext >&5
4815 if test "$ac_cv_type_char" = yes; then
4816 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4818 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (char)
4819 See \`config.log' for more details." >&5
4820 $as_echo "$as_me: error: cannot compute sizeof (char)
4821 See \`config.log' for more details." >&2;}
4822 { (exit 77); exit 77; }; }; }
4827 rm -rf conftest.dSYM
4828 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4832 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
4833 $as_echo "$ac_cv_sizeof_char" >&6; }
4837 cat >>confdefs.h <<_ACEOF
4838 #define SIZEOF_CHAR $ac_cv_sizeof_char
4842 # The cast to long int works around a bug in the HP C Compiler
4843 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4844 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4845 # This bug is HP SR number 8606223364.
4846 { $as_echo "$as_me:$LINENO: checking size of short" >&5
4847 $as_echo_n "checking size of short... " >&6; }
4848 if test "${ac_cv_sizeof_short+set}" = set; then
4849 $as_echo_n "(cached) " >&6
4851 if test "$cross_compiling" = yes; then
4852 # Depending upon the size, compute the lo and hi bounds.
4853 cat >conftest.$ac_ext <<_ACEOF
4856 cat confdefs.h >>conftest.$ac_ext
4857 cat >>conftest.$ac_ext <<_ACEOF
4858 /* end confdefs.h. */
4859 $ac_includes_default
4863 static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= 0)];
4870 rm -f conftest.$ac_objext
4871 if { (ac_try="$ac_compile"
4873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4874 *) ac_try_echo=$ac_try;;
4876 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4877 $as_echo "$ac_try_echo") >&5
4878 (eval "$ac_compile") 2>conftest.er1
4880 grep -v '^ *+' conftest.er1 >conftest.err
4882 cat conftest.err >&5
4883 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 (exit $ac_status); } && {
4885 test -z "$ac_c_werror_flag" ||
4886 test ! -s conftest.err
4887 } && test -s conftest.$ac_objext; then
4890 cat >conftest.$ac_ext <<_ACEOF
4893 cat confdefs.h >>conftest.$ac_ext
4894 cat >>conftest.$ac_ext <<_ACEOF
4895 /* end confdefs.h. */
4896 $ac_includes_default
4900 static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
4907 rm -f conftest.$ac_objext
4908 if { (ac_try="$ac_compile"
4910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4911 *) ac_try_echo=$ac_try;;
4913 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4914 $as_echo "$ac_try_echo") >&5
4915 (eval "$ac_compile") 2>conftest.er1
4917 grep -v '^ *+' conftest.er1 >conftest.err
4919 cat conftest.err >&5
4920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); } && {
4922 test -z "$ac_c_werror_flag" ||
4923 test ! -s conftest.err
4924 } && test -s conftest.$ac_objext; then
4925 ac_hi=$ac_mid; break
4927 $as_echo "$as_me: failed program was:" >&5
4928 sed 's/^/| /' conftest.$ac_ext >&5
4930 ac_lo=`expr $ac_mid + 1`
4931 if test $ac_lo -le $ac_mid; then
4935 ac_mid=`expr 2 '*' $ac_mid + 1`
4938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4941 $as_echo "$as_me: failed program was:" >&5
4942 sed 's/^/| /' conftest.$ac_ext >&5
4944 cat >conftest.$ac_ext <<_ACEOF
4947 cat confdefs.h >>conftest.$ac_ext
4948 cat >>conftest.$ac_ext <<_ACEOF
4949 /* end confdefs.h. */
4950 $ac_includes_default
4954 static int test_array [1 - 2 * !(((long int) (sizeof (short))) < 0)];
4961 rm -f conftest.$ac_objext
4962 if { (ac_try="$ac_compile"
4964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4965 *) ac_try_echo=$ac_try;;
4967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4968 $as_echo "$ac_try_echo") >&5
4969 (eval "$ac_compile") 2>conftest.er1
4971 grep -v '^ *+' conftest.er1 >conftest.err
4973 cat conftest.err >&5
4974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); } && {
4976 test -z "$ac_c_werror_flag" ||
4977 test ! -s conftest.err
4978 } && test -s conftest.$ac_objext; then
4981 cat >conftest.$ac_ext <<_ACEOF
4984 cat confdefs.h >>conftest.$ac_ext
4985 cat >>conftest.$ac_ext <<_ACEOF
4986 /* end confdefs.h. */
4987 $ac_includes_default
4991 static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= $ac_mid)];
4998 rm -f conftest.$ac_objext
4999 if { (ac_try="$ac_compile"
5001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5002 *) ac_try_echo=$ac_try;;
5004 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5005 $as_echo "$ac_try_echo") >&5
5006 (eval "$ac_compile") 2>conftest.er1
5008 grep -v '^ *+' conftest.er1 >conftest.err
5010 cat conftest.err >&5
5011 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); } && {
5013 test -z "$ac_c_werror_flag" ||
5014 test ! -s conftest.err
5015 } && test -s conftest.$ac_objext; then
5016 ac_lo=$ac_mid; break
5018 $as_echo "$as_me: failed program was:" >&5
5019 sed 's/^/| /' conftest.$ac_ext >&5
5021 ac_hi=`expr '(' $ac_mid ')' - 1`
5022 if test $ac_mid -le $ac_hi; then
5026 ac_mid=`expr 2 '*' $ac_mid`
5029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5032 $as_echo "$as_me: failed program was:" >&5
5033 sed 's/^/| /' conftest.$ac_ext >&5
5038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5042 # Binary search between lo and hi bounds.
5043 while test "x$ac_lo" != "x$ac_hi"; do
5044 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5045 cat >conftest.$ac_ext <<_ACEOF
5048 cat confdefs.h >>conftest.$ac_ext
5049 cat >>conftest.$ac_ext <<_ACEOF
5050 /* end confdefs.h. */
5051 $ac_includes_default
5055 static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
5062 rm -f conftest.$ac_objext
5063 if { (ac_try="$ac_compile"
5065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5066 *) ac_try_echo=$ac_try;;
5068 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5069 $as_echo "$ac_try_echo") >&5
5070 (eval "$ac_compile") 2>conftest.er1
5072 grep -v '^ *+' conftest.er1 >conftest.err
5074 cat conftest.err >&5
5075 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076 (exit $ac_status); } && {
5077 test -z "$ac_c_werror_flag" ||
5078 test ! -s conftest.err
5079 } && test -s conftest.$ac_objext; then
5082 $as_echo "$as_me: failed program was:" >&5
5083 sed 's/^/| /' conftest.$ac_ext >&5
5085 ac_lo=`expr '(' $ac_mid ')' + 1`
5088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5091 ?*) ac_cv_sizeof_short=$ac_lo;;
5092 '') if test "$ac_cv_type_short" = yes; then
5093 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5095 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
5096 See \`config.log' for more details." >&5
5097 $as_echo "$as_me: error: cannot compute sizeof (short)
5098 See \`config.log' for more details." >&2;}
5099 { (exit 77); exit 77; }; }; }
5101 ac_cv_sizeof_short=0
5105 cat >conftest.$ac_ext <<_ACEOF
5108 cat confdefs.h >>conftest.$ac_ext
5109 cat >>conftest.$ac_ext <<_ACEOF
5110 /* end confdefs.h. */
5111 $ac_includes_default
5112 static long int longval () { return (long int) (sizeof (short)); }
5113 static unsigned long int ulongval () { return (long int) (sizeof (short)); }
5120 FILE *f = fopen ("conftest.val", "w");
5123 if (((long int) (sizeof (short))) < 0)
5125 long int i = longval ();
5126 if (i != ((long int) (sizeof (short))))
5128 fprintf (f, "%ld", i);
5132 unsigned long int i = ulongval ();
5133 if (i != ((long int) (sizeof (short))))
5135 fprintf (f, "%lu", i);
5137 /* Do not output a trailing newline, as this causes \r\n confusion
5138 on some platforms. */
5139 return ferror (f) || fclose (f) != 0;
5145 rm -f conftest$ac_exeext
5146 if { (ac_try="$ac_link"
5148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5149 *) ac_try_echo=$ac_try;;
5151 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5152 $as_echo "$ac_try_echo") >&5
5153 (eval "$ac_link") 2>&5
5155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5157 { (case "(($ac_try" in
5158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5159 *) ac_try_echo=$ac_try;;
5161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5162 $as_echo "$ac_try_echo") >&5
5163 (eval "$ac_try") 2>&5
5165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166 (exit $ac_status); }; }; then
5167 ac_cv_sizeof_short=`cat conftest.val`
5169 $as_echo "$as_me: program exited with status $ac_status" >&5
5170 $as_echo "$as_me: failed program was:" >&5
5171 sed 's/^/| /' conftest.$ac_ext >&5
5174 if test "$ac_cv_type_short" = yes; then
5175 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5177 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
5178 See \`config.log' for more details." >&5
5179 $as_echo "$as_me: error: cannot compute sizeof (short)
5180 See \`config.log' for more details." >&2;}
5181 { (exit 77); exit 77; }; }; }
5183 ac_cv_sizeof_short=0
5186 rm -rf conftest.dSYM
5187 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5191 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
5192 $as_echo "$ac_cv_sizeof_short" >&6; }
5196 cat >>confdefs.h <<_ACEOF
5197 #define SIZEOF_SHORT $ac_cv_sizeof_short
5201 # The cast to long int works around a bug in the HP C Compiler
5202 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5203 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5204 # This bug is HP SR number 8606223364.
5205 { $as_echo "$as_me:$LINENO: checking size of int" >&5
5206 $as_echo_n "checking size of int... " >&6; }
5207 if test "${ac_cv_sizeof_int+set}" = set; then
5208 $as_echo_n "(cached) " >&6
5210 if test "$cross_compiling" = yes; then
5211 # Depending upon the size, compute the lo and hi bounds.
5212 cat >conftest.$ac_ext <<_ACEOF
5215 cat confdefs.h >>conftest.$ac_ext
5216 cat >>conftest.$ac_ext <<_ACEOF
5217 /* end confdefs.h. */
5218 $ac_includes_default
5222 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
5229 rm -f conftest.$ac_objext
5230 if { (ac_try="$ac_compile"
5232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5233 *) ac_try_echo=$ac_try;;
5235 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5236 $as_echo "$ac_try_echo") >&5
5237 (eval "$ac_compile") 2>conftest.er1
5239 grep -v '^ *+' conftest.er1 >conftest.err
5241 cat conftest.err >&5
5242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); } && {
5244 test -z "$ac_c_werror_flag" ||
5245 test ! -s conftest.err
5246 } && test -s conftest.$ac_objext; then
5249 cat >conftest.$ac_ext <<_ACEOF
5252 cat confdefs.h >>conftest.$ac_ext
5253 cat >>conftest.$ac_ext <<_ACEOF
5254 /* end confdefs.h. */
5255 $ac_includes_default
5259 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
5266 rm -f conftest.$ac_objext
5267 if { (ac_try="$ac_compile"
5269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5270 *) ac_try_echo=$ac_try;;
5272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5273 $as_echo "$ac_try_echo") >&5
5274 (eval "$ac_compile") 2>conftest.er1
5276 grep -v '^ *+' conftest.er1 >conftest.err
5278 cat conftest.err >&5
5279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); } && {
5281 test -z "$ac_c_werror_flag" ||
5282 test ! -s conftest.err
5283 } && test -s conftest.$ac_objext; then
5284 ac_hi=$ac_mid; break
5286 $as_echo "$as_me: failed program was:" >&5
5287 sed 's/^/| /' conftest.$ac_ext >&5
5289 ac_lo=`expr $ac_mid + 1`
5290 if test $ac_lo -le $ac_mid; then
5294 ac_mid=`expr 2 '*' $ac_mid + 1`
5297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5300 $as_echo "$as_me: failed program was:" >&5
5301 sed 's/^/| /' conftest.$ac_ext >&5
5303 cat >conftest.$ac_ext <<_ACEOF
5306 cat confdefs.h >>conftest.$ac_ext
5307 cat >>conftest.$ac_ext <<_ACEOF
5308 /* end confdefs.h. */
5309 $ac_includes_default
5313 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
5320 rm -f conftest.$ac_objext
5321 if { (ac_try="$ac_compile"
5323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5324 *) ac_try_echo=$ac_try;;
5326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5327 $as_echo "$ac_try_echo") >&5
5328 (eval "$ac_compile") 2>conftest.er1
5330 grep -v '^ *+' conftest.er1 >conftest.err
5332 cat conftest.err >&5
5333 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5334 (exit $ac_status); } && {
5335 test -z "$ac_c_werror_flag" ||
5336 test ! -s conftest.err
5337 } && test -s conftest.$ac_objext; then
5340 cat >conftest.$ac_ext <<_ACEOF
5343 cat confdefs.h >>conftest.$ac_ext
5344 cat >>conftest.$ac_ext <<_ACEOF
5345 /* end confdefs.h. */
5346 $ac_includes_default
5350 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
5357 rm -f conftest.$ac_objext
5358 if { (ac_try="$ac_compile"
5360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5361 *) ac_try_echo=$ac_try;;
5363 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5364 $as_echo "$ac_try_echo") >&5
5365 (eval "$ac_compile") 2>conftest.er1
5367 grep -v '^ *+' conftest.er1 >conftest.err
5369 cat conftest.err >&5
5370 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); } && {
5372 test -z "$ac_c_werror_flag" ||
5373 test ! -s conftest.err
5374 } && test -s conftest.$ac_objext; then
5375 ac_lo=$ac_mid; break
5377 $as_echo "$as_me: failed program was:" >&5
5378 sed 's/^/| /' conftest.$ac_ext >&5
5380 ac_hi=`expr '(' $ac_mid ')' - 1`
5381 if test $ac_mid -le $ac_hi; then
5385 ac_mid=`expr 2 '*' $ac_mid`
5388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5391 $as_echo "$as_me: failed program was:" >&5
5392 sed 's/^/| /' conftest.$ac_ext >&5
5397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5401 # Binary search between lo and hi bounds.
5402 while test "x$ac_lo" != "x$ac_hi"; do
5403 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5404 cat >conftest.$ac_ext <<_ACEOF
5407 cat confdefs.h >>conftest.$ac_ext
5408 cat >>conftest.$ac_ext <<_ACEOF
5409 /* end confdefs.h. */
5410 $ac_includes_default
5414 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
5421 rm -f conftest.$ac_objext
5422 if { (ac_try="$ac_compile"
5424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5425 *) ac_try_echo=$ac_try;;
5427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5428 $as_echo "$ac_try_echo") >&5
5429 (eval "$ac_compile") 2>conftest.er1
5431 grep -v '^ *+' conftest.er1 >conftest.err
5433 cat conftest.err >&5
5434 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5435 (exit $ac_status); } && {
5436 test -z "$ac_c_werror_flag" ||
5437 test ! -s conftest.err
5438 } && test -s conftest.$ac_objext; then
5441 $as_echo "$as_me: failed program was:" >&5
5442 sed 's/^/| /' conftest.$ac_ext >&5
5444 ac_lo=`expr '(' $ac_mid ')' + 1`
5447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5450 ?*) ac_cv_sizeof_int=$ac_lo;;
5451 '') if test "$ac_cv_type_int" = yes; then
5452 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5454 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
5455 See \`config.log' for more details." >&5
5456 $as_echo "$as_me: error: cannot compute sizeof (int)
5457 See \`config.log' for more details." >&2;}
5458 { (exit 77); exit 77; }; }; }
5464 cat >conftest.$ac_ext <<_ACEOF
5467 cat confdefs.h >>conftest.$ac_ext
5468 cat >>conftest.$ac_ext <<_ACEOF
5469 /* end confdefs.h. */
5470 $ac_includes_default
5471 static long int longval () { return (long int) (sizeof (int)); }
5472 static unsigned long int ulongval () { return (long int) (sizeof (int)); }
5479 FILE *f = fopen ("conftest.val", "w");
5482 if (((long int) (sizeof (int))) < 0)
5484 long int i = longval ();
5485 if (i != ((long int) (sizeof (int))))
5487 fprintf (f, "%ld", i);
5491 unsigned long int i = ulongval ();
5492 if (i != ((long int) (sizeof (int))))
5494 fprintf (f, "%lu", i);
5496 /* Do not output a trailing newline, as this causes \r\n confusion
5497 on some platforms. */
5498 return ferror (f) || fclose (f) != 0;
5504 rm -f conftest$ac_exeext
5505 if { (ac_try="$ac_link"
5507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5508 *) ac_try_echo=$ac_try;;
5510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5511 $as_echo "$ac_try_echo") >&5
5512 (eval "$ac_link") 2>&5
5514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5516 { (case "(($ac_try" in
5517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5518 *) ac_try_echo=$ac_try;;
5520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5521 $as_echo "$ac_try_echo") >&5
5522 (eval "$ac_try") 2>&5
5524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5525 (exit $ac_status); }; }; then
5526 ac_cv_sizeof_int=`cat conftest.val`
5528 $as_echo "$as_me: program exited with status $ac_status" >&5
5529 $as_echo "$as_me: failed program was:" >&5
5530 sed 's/^/| /' conftest.$ac_ext >&5
5533 if test "$ac_cv_type_int" = yes; then
5534 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5536 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
5537 See \`config.log' for more details." >&5
5538 $as_echo "$as_me: error: cannot compute sizeof (int)
5539 See \`config.log' for more details." >&2;}
5540 { (exit 77); exit 77; }; }; }
5545 rm -rf conftest.dSYM
5546 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5550 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
5551 $as_echo "$ac_cv_sizeof_int" >&6; }
5555 cat >>confdefs.h <<_ACEOF
5556 #define SIZEOF_INT $ac_cv_sizeof_int
5560 # The cast to long int works around a bug in the HP C Compiler
5561 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5562 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5563 # This bug is HP SR number 8606223364.
5564 { $as_echo "$as_me:$LINENO: checking size of long" >&5
5565 $as_echo_n "checking size of long... " >&6; }
5566 if test "${ac_cv_sizeof_long+set}" = set; then
5567 $as_echo_n "(cached) " >&6
5569 if test "$cross_compiling" = yes; then
5570 # Depending upon the size, compute the lo and hi bounds.
5571 cat >conftest.$ac_ext <<_ACEOF
5574 cat confdefs.h >>conftest.$ac_ext
5575 cat >>conftest.$ac_ext <<_ACEOF
5576 /* end confdefs.h. */
5577 $ac_includes_default
5581 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
5588 rm -f conftest.$ac_objext
5589 if { (ac_try="$ac_compile"
5591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5592 *) ac_try_echo=$ac_try;;
5594 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5595 $as_echo "$ac_try_echo") >&5
5596 (eval "$ac_compile") 2>conftest.er1
5598 grep -v '^ *+' conftest.er1 >conftest.err
5600 cat conftest.err >&5
5601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 (exit $ac_status); } && {
5603 test -z "$ac_c_werror_flag" ||
5604 test ! -s conftest.err
5605 } && test -s conftest.$ac_objext; then
5608 cat >conftest.$ac_ext <<_ACEOF
5611 cat confdefs.h >>conftest.$ac_ext
5612 cat >>conftest.$ac_ext <<_ACEOF
5613 /* end confdefs.h. */
5614 $ac_includes_default
5618 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
5625 rm -f conftest.$ac_objext
5626 if { (ac_try="$ac_compile"
5628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5629 *) ac_try_echo=$ac_try;;
5631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5632 $as_echo "$ac_try_echo") >&5
5633 (eval "$ac_compile") 2>conftest.er1
5635 grep -v '^ *+' conftest.er1 >conftest.err
5637 cat conftest.err >&5
5638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); } && {
5640 test -z "$ac_c_werror_flag" ||
5641 test ! -s conftest.err
5642 } && test -s conftest.$ac_objext; then
5643 ac_hi=$ac_mid; break
5645 $as_echo "$as_me: failed program was:" >&5
5646 sed 's/^/| /' conftest.$ac_ext >&5
5648 ac_lo=`expr $ac_mid + 1`
5649 if test $ac_lo -le $ac_mid; then
5653 ac_mid=`expr 2 '*' $ac_mid + 1`
5656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5659 $as_echo "$as_me: failed program was:" >&5
5660 sed 's/^/| /' conftest.$ac_ext >&5
5662 cat >conftest.$ac_ext <<_ACEOF
5665 cat confdefs.h >>conftest.$ac_ext
5666 cat >>conftest.$ac_ext <<_ACEOF
5667 /* end confdefs.h. */
5668 $ac_includes_default
5672 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
5679 rm -f conftest.$ac_objext
5680 if { (ac_try="$ac_compile"
5682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5683 *) ac_try_echo=$ac_try;;
5685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5686 $as_echo "$ac_try_echo") >&5
5687 (eval "$ac_compile") 2>conftest.er1
5689 grep -v '^ *+' conftest.er1 >conftest.err
5691 cat conftest.err >&5
5692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5693 (exit $ac_status); } && {
5694 test -z "$ac_c_werror_flag" ||
5695 test ! -s conftest.err
5696 } && test -s conftest.$ac_objext; then
5699 cat >conftest.$ac_ext <<_ACEOF
5702 cat confdefs.h >>conftest.$ac_ext
5703 cat >>conftest.$ac_ext <<_ACEOF
5704 /* end confdefs.h. */
5705 $ac_includes_default
5709 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
5716 rm -f conftest.$ac_objext
5717 if { (ac_try="$ac_compile"
5719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5720 *) ac_try_echo=$ac_try;;
5722 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5723 $as_echo "$ac_try_echo") >&5
5724 (eval "$ac_compile") 2>conftest.er1
5726 grep -v '^ *+' conftest.er1 >conftest.err
5728 cat conftest.err >&5
5729 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730 (exit $ac_status); } && {
5731 test -z "$ac_c_werror_flag" ||
5732 test ! -s conftest.err
5733 } && test -s conftest.$ac_objext; then
5734 ac_lo=$ac_mid; break
5736 $as_echo "$as_me: failed program was:" >&5
5737 sed 's/^/| /' conftest.$ac_ext >&5
5739 ac_hi=`expr '(' $ac_mid ')' - 1`
5740 if test $ac_mid -le $ac_hi; then
5744 ac_mid=`expr 2 '*' $ac_mid`
5747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5750 $as_echo "$as_me: failed program was:" >&5
5751 sed 's/^/| /' conftest.$ac_ext >&5
5756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5760 # Binary search between lo and hi bounds.
5761 while test "x$ac_lo" != "x$ac_hi"; do
5762 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5763 cat >conftest.$ac_ext <<_ACEOF
5766 cat confdefs.h >>conftest.$ac_ext
5767 cat >>conftest.$ac_ext <<_ACEOF
5768 /* end confdefs.h. */
5769 $ac_includes_default
5773 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
5780 rm -f conftest.$ac_objext
5781 if { (ac_try="$ac_compile"
5783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5784 *) ac_try_echo=$ac_try;;
5786 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5787 $as_echo "$ac_try_echo") >&5
5788 (eval "$ac_compile") 2>conftest.er1
5790 grep -v '^ *+' conftest.er1 >conftest.err
5792 cat conftest.err >&5
5793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5794 (exit $ac_status); } && {
5795 test -z "$ac_c_werror_flag" ||
5796 test ! -s conftest.err
5797 } && test -s conftest.$ac_objext; then
5800 $as_echo "$as_me: failed program was:" >&5
5801 sed 's/^/| /' conftest.$ac_ext >&5
5803 ac_lo=`expr '(' $ac_mid ')' + 1`
5806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5809 ?*) ac_cv_sizeof_long=$ac_lo;;
5810 '') if test "$ac_cv_type_long" = yes; then
5811 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5813 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
5814 See \`config.log' for more details." >&5
5815 $as_echo "$as_me: error: cannot compute sizeof (long)
5816 See \`config.log' for more details." >&2;}
5817 { (exit 77); exit 77; }; }; }
5823 cat >conftest.$ac_ext <<_ACEOF
5826 cat confdefs.h >>conftest.$ac_ext
5827 cat >>conftest.$ac_ext <<_ACEOF
5828 /* end confdefs.h. */
5829 $ac_includes_default
5830 static long int longval () { return (long int) (sizeof (long)); }
5831 static unsigned long int ulongval () { return (long int) (sizeof (long)); }
5838 FILE *f = fopen ("conftest.val", "w");
5841 if (((long int) (sizeof (long))) < 0)
5843 long int i = longval ();
5844 if (i != ((long int) (sizeof (long))))
5846 fprintf (f, "%ld", i);
5850 unsigned long int i = ulongval ();
5851 if (i != ((long int) (sizeof (long))))
5853 fprintf (f, "%lu", i);
5855 /* Do not output a trailing newline, as this causes \r\n confusion
5856 on some platforms. */
5857 return ferror (f) || fclose (f) != 0;
5863 rm -f conftest$ac_exeext
5864 if { (ac_try="$ac_link"
5866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5867 *) ac_try_echo=$ac_try;;
5869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5870 $as_echo "$ac_try_echo") >&5
5871 (eval "$ac_link") 2>&5
5873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5875 { (case "(($ac_try" in
5876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5877 *) ac_try_echo=$ac_try;;
5879 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5880 $as_echo "$ac_try_echo") >&5
5881 (eval "$ac_try") 2>&5
5883 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 (exit $ac_status); }; }; then
5885 ac_cv_sizeof_long=`cat conftest.val`
5887 $as_echo "$as_me: program exited with status $ac_status" >&5
5888 $as_echo "$as_me: failed program was:" >&5
5889 sed 's/^/| /' conftest.$ac_ext >&5
5892 if test "$ac_cv_type_long" = yes; then
5893 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5895 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
5896 See \`config.log' for more details." >&5
5897 $as_echo "$as_me: error: cannot compute sizeof (long)
5898 See \`config.log' for more details." >&2;}
5899 { (exit 77); exit 77; }; }; }
5904 rm -rf conftest.dSYM
5905 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5909 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5910 $as_echo "$ac_cv_sizeof_long" >&6; }
5914 cat >>confdefs.h <<_ACEOF
5915 #define SIZEOF_LONG $ac_cv_sizeof_long
5920 { $as_echo "$as_me:$LINENO: checking whether char is unsigned" >&5
5921 $as_echo_n "checking whether char is unsigned... " >&6; }
5922 if test "${ac_cv_c_char_unsigned+set}" = set; then
5923 $as_echo_n "(cached) " >&6
5925 cat >conftest.$ac_ext <<_ACEOF
5928 cat confdefs.h >>conftest.$ac_ext
5929 cat >>conftest.$ac_ext <<_ACEOF
5930 /* end confdefs.h. */
5931 $ac_includes_default
5935 static int test_array [1 - 2 * !(((char) -1) < 0)];
5942 rm -f conftest.$ac_objext
5943 if { (ac_try="$ac_compile"
5945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5946 *) ac_try_echo=$ac_try;;
5948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5949 $as_echo "$ac_try_echo") >&5
5950 (eval "$ac_compile") 2>conftest.er1
5952 grep -v '^ *+' conftest.er1 >conftest.err
5954 cat conftest.err >&5
5955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5956 (exit $ac_status); } && {
5957 test -z "$ac_c_werror_flag" ||
5958 test ! -s conftest.err
5959 } && test -s conftest.$ac_objext; then
5960 ac_cv_c_char_unsigned=no
5962 $as_echo "$as_me: failed program was:" >&5
5963 sed 's/^/| /' conftest.$ac_ext >&5
5965 ac_cv_c_char_unsigned=yes
5968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5970 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
5971 $as_echo "$ac_cv_c_char_unsigned" >&6; }
5972 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
5973 cat >>confdefs.h <<\_ACEOF
5974 #define __CHAR_UNSIGNED__ 1
5982 if expr "$ac_cv_sizeof_char" '>=' "$1" >/dev/null; then
5986 if expr "$ac_cv_sizeof_short" '>=' "$1" >/dev/null; then
5990 if expr "$ac_cv_sizeof_int" '>=' "$1" >/dev/null; then
5994 if expr "$ac_cv_sizeof_long" '>=' "$1" >/dev/null; then
6001 { $as_echo "$as_me:$LINENO: checking type name for byte" >&5
6002 $as_echo_n "checking type name for byte... " >&6; }
6003 TYPE_CHAR=`type_name 1`
6004 if test "$ac_cv_c_char_unsigned" = "yes"; then
6005 TYPE_BYTE="signed $TYPE_CHAR"
6007 TYPE_BYTE=$TYPE_CHAR
6009 { $as_echo "$as_me:$LINENO: result: $TYPE_BYTE" >&5
6010 $as_echo "$TYPE_BYTE" >&6; }
6011 { $as_echo "$as_me:$LINENO: checking type name for word" >&5
6012 $as_echo_n "checking type name for word... " >&6; }
6013 TYPE_WORD=`type_name 2`
6014 { $as_echo "$as_me:$LINENO: result: $TYPE_WORD" >&5
6015 $as_echo "$TYPE_WORD" >&6; }
6016 { $as_echo "$as_me:$LINENO: checking type name for dword" >&5
6017 $as_echo_n "checking type name for dword... " >&6; }
6018 TYPE_DWORD=`type_name 4`
6019 { $as_echo "$as_me:$LINENO: result: $TYPE_DWORD" >&5
6020 $as_echo "$TYPE_DWORD" >&6; }
6022 cat >>confdefs.h <<_ACEOF
6023 #define TYPE_BYTE $TYPE_BYTE
6026 cat >>confdefs.h <<_ACEOF
6027 #define TYPE_WORD $TYPE_WORD
6030 cat >>confdefs.h <<_ACEOF
6031 #define TYPE_DWORD $TYPE_DWORD
6035 cat >>confdefs.h <<_ACEOF
6036 #define TYPE_UBYTE unsigned $TYPE_CHAR
6039 cat >>confdefs.h <<_ACEOF
6040 #define TYPE_UWORD unsigned $TYPE_WORD
6043 cat >>confdefs.h <<_ACEOF
6044 #define TYPE_UDWORD unsigned $TYPE_DWORD
6049 # SDCC_BUILD_BIGENDIAN ([ACTION-IF-TRUE], [ACTION-IF-FALSE], [ACTION-IF-UNKNOWN])
6050 # -------------------------------------------------------------------------
6051 # SDCC_BUILD_BIGENDIAN
6053 { $as_echo "$as_me:$LINENO: checking whether host machine byte ordering is bigendian" >&5
6054 $as_echo_n "checking whether host machine byte ordering is bigendian... " >&6; }
6055 if test "${sdcc_cv_build_bigendian+set}" = set; then
6056 $as_echo_n "(cached) " >&6
6058 # See if sys/param.h defines the BYTE_ORDER macro.
6059 cat >conftest.$ac_ext <<_ACEOF
6062 cat confdefs.h >>conftest.$ac_ext
6063 cat >>conftest.$ac_ext <<_ACEOF
6064 /* end confdefs.h. */
6065 #include <sys/types.h>
6066 #include <sys/param.h>
6071 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
6072 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
6080 rm -f conftest.$ac_objext
6081 if { (ac_try="$ac_compile"
6083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6084 *) ac_try_echo=$ac_try;;
6086 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6087 $as_echo "$ac_try_echo") >&5
6088 (eval "$ac_compile") 2>conftest.er1
6090 grep -v '^ *+' conftest.er1 >conftest.err
6092 cat conftest.err >&5
6093 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); } && {
6095 test -z "$ac_c_werror_flag" ||
6096 test ! -s conftest.err
6097 } && test -s conftest.$ac_objext; then
6098 # It does; now see whether it defined to BIG_ENDIAN or not.
6099 cat >conftest.$ac_ext <<_ACEOF
6102 cat confdefs.h >>conftest.$ac_ext
6103 cat >>conftest.$ac_ext <<_ACEOF
6104 /* end confdefs.h. */
6105 #include <sys/types.h>
6106 #include <sys/param.h>
6111 #if BYTE_ORDER != BIG_ENDIAN
6119 rm -f conftest.$ac_objext
6120 if { (ac_try="$ac_compile"
6122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6123 *) ac_try_echo=$ac_try;;
6125 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6126 $as_echo "$ac_try_echo") >&5
6127 (eval "$ac_compile") 2>conftest.er1
6129 grep -v '^ *+' conftest.er1 >conftest.err
6131 cat conftest.err >&5
6132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 (exit $ac_status); } && {
6134 test -z "$ac_c_werror_flag" ||
6135 test ! -s conftest.err
6136 } && test -s conftest.$ac_objext; then
6137 sdcc_cv_build_bigendian=yes
6139 $as_echo "$as_me: failed program was:" >&5
6140 sed 's/^/| /' conftest.$ac_ext >&5
6142 sdcc_cv_build_bigendian=no
6145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6147 $as_echo "$as_me: failed program was:" >&5
6148 sed 's/^/| /' conftest.$ac_ext >&5
6150 # It does not; compile a test program.
6151 if test "$cross_compiling" = yes; then
6152 # try to guess the endianness by grepping values into an object file
6153 sdcc_cv_build_bigendian=unknown
6154 cat >conftest.$ac_ext <<_ACEOF
6157 cat confdefs.h >>conftest.$ac_ext
6158 cat >>conftest.$ac_ext <<_ACEOF
6159 /* end confdefs.h. */
6160 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6161 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6162 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
6163 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6164 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6165 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
6169 _ascii (); _ebcdic ();
6174 rm -f conftest.$ac_objext
6175 if { (ac_try="$ac_compile"
6177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6178 *) ac_try_echo=$ac_try;;
6180 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6181 $as_echo "$ac_try_echo") >&5
6182 (eval "$ac_compile") 2>conftest.er1
6184 grep -v '^ *+' conftest.er1 >conftest.err
6186 cat conftest.err >&5
6187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188 (exit $ac_status); } && {
6189 test -z "$ac_c_werror_flag" ||
6190 test ! -s conftest.err
6191 } && test -s conftest.$ac_objext; then
6192 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
6193 sdcc_cv_build_bigendian=yes
6195 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
6196 if test "$sdcc_cv_build_bigendian" = unknown; then
6197 sdcc_cv_build_bigendian=no
6199 # finding both strings is unlikely to happen, but who knows?
6200 sdcc_cv_build_bigendian=unknown
6204 $as_echo "$as_me: failed program was:" >&5
6205 sed 's/^/| /' conftest.$ac_ext >&5
6210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6212 cat >conftest.$ac_ext <<_ACEOF
6215 cat confdefs.h >>conftest.$ac_ext
6216 cat >>conftest.$ac_ext <<_ACEOF
6217 /* end confdefs.h. */
6218 $ac_includes_default
6223 /* Are we little or big endian? From Harbison&Steele. */
6227 char c[sizeof (long int)];
6230 return u.c[sizeof (long int) - 1] == 1;
6236 rm -f conftest$ac_exeext
6237 if { (ac_try="$ac_link"
6239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6240 *) ac_try_echo=$ac_try;;
6242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6243 $as_echo "$ac_try_echo") >&5
6244 (eval "$ac_link") 2>&5
6246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6247 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6248 { (case "(($ac_try" in
6249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6250 *) ac_try_echo=$ac_try;;
6252 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6253 $as_echo "$ac_try_echo") >&5
6254 (eval "$ac_try") 2>&5
6256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); }; }; then
6258 sdcc_cv_build_bigendian=no
6260 $as_echo "$as_me: program exited with status $ac_status" >&5
6261 $as_echo "$as_me: failed program was:" >&5
6262 sed 's/^/| /' conftest.$ac_ext >&5
6265 sdcc_cv_build_bigendian=yes
6267 rm -rf conftest.dSYM
6268 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6276 { $as_echo "$as_me:$LINENO: result: $sdcc_cv_build_bigendian" >&5
6277 $as_echo "$sdcc_cv_build_bigendian" >&6; }
6278 case $sdcc_cv_build_bigendian in
6281 cat >>confdefs.h <<\_ACEOF
6282 #define BUILD_WORDS_BIGENDIAN 1
6288 { { $as_echo "$as_me:$LINENO: error: unknown endianness
6289 presetting sdcc_cv_build_bigendian=no (or yes) will help" >&5
6290 $as_echo "$as_me: error: unknown endianness
6291 presetting sdcc_cv_build_bigendian=no (or yes) will help" >&2;}
6292 { (exit 1); exit 1; }; } ;;
6296 # Set standard installation paths
6297 # ===========================================================================
6299 # In the Makefiles we need paths with '/' as directory separator, even if
6300 # crosscompiling for Win32.
6301 # And we want to preserve the macros (e.g. ${prefix}) in the Makefiles.
6302 # The variables in the Makefiles are replaced by AC_SUBST()
6304 # In sdccconf.h the '/' in paths can be replaced by "\\" (normalized), if
6306 # The macros are expanded for the header.
6307 # The variables in the header are replaced by AC_*DEFINE*()
6308 # sdccconf_h_dir_separator contains a backslash.
6310 if test "x${sdccconf_h_dir_separator}" = "x"; then
6311 sdccconf_h_dir_separator="/"
6317 # include_dir_suffix:
6318 # *nix default: "sdcc/include"
6321 if test "${include_dir_suffix}" = ""; then
6322 include_dir_suffix="sdcc/include"
6326 # *nix default: "sdcc/lib"
6328 if test "${lib_dir_suffix}" = ""; then
6329 lib_dir_suffix="sdcc/lib"
6333 # *nix default: "${datadir}/sdcc/doc"
6335 if test "${docdir}" = ""; then
6336 docdir="\${datadir}"/sdcc/doc
6344 cat >>confdefs.h <<_ACEOF
6345 #define DIR_SEPARATOR_STRING "${sdccconf_h_dir_separator}"
6348 cat >>confdefs.h <<_ACEOF
6349 #define DIR_SEPARATOR_CHAR '${sdccconf_h_dir_separator}'
6354 # default: "NONE", ${ac_default_prefix}: "/usr/local"
6356 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
6357 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6359 test "x$ac_expand" = xNONE && ac_expand="$ac_default_prefix"
6360 ac_expand=`eval echo $ac_expand`
6361 expanded_prefix=`eval echo $ac_expand`
6364 ac_ndu=$expanded_prefix
6367 :*[\\/]:) ac_ndu=`echo "$ac_ndu" | sed 's,[\\/]*$,,'` ;;
6370 case $sdccconf_h_dir_separator in
6372 *\\*) ac_ndu=`echo "$ac_ndu" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
6373 s,^[\\/],\\\\\\\\,'` ;;
6375 *) ac_ndu=`echo "$ac_ndu" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
6377 cat >>confdefs.h <<_ACEOF
6378 #define PREFIX "${ac_ndu}"
6384 # default: "${prefix}"
6386 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
6387 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6388 ac_expand=$exec_prefix
6389 test "x$ac_expand" = xNONE && ac_expand="$expanded_prefix"
6390 ac_expand=`eval echo $ac_expand`
6391 expanded_exec_prefix=`eval echo $ac_expand`
6394 ac_ndu=$expanded_exec_prefix
6397 :*[\\/]:) ac_ndu=`echo "$ac_ndu" | sed 's,[\\/]*$,,'` ;;
6400 case $sdccconf_h_dir_separator in
6402 *\\*) ac_ndu=`echo "$ac_ndu" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
6403 s,^[\\/],\\\\\\\\,'` ;;
6405 *) ac_ndu=`echo "$ac_ndu" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
6407 cat >>confdefs.h <<_ACEOF
6408 #define EXEC_PREFIX "${ac_ndu}"
6414 # default: "${exec_prefix}/bin"
6416 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
6417 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6419 test "x$ac_expand" = xNONE && ac_expand="$"NONE""
6420 ac_expand=`eval echo $ac_expand`
6421 expanded_bindir=`eval echo $ac_expand`
6424 ac_ndu=$expanded_bindir
6427 :*[\\/]:) ac_ndu=`echo "$ac_ndu" | sed 's,[\\/]*$,,'` ;;
6430 case $sdccconf_h_dir_separator in
6432 *\\*) ac_ndu=`echo "$ac_ndu" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
6433 s,^[\\/],\\\\\\\\,'` ;;
6435 *) ac_ndu=`echo "$ac_ndu" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
6437 cat >>confdefs.h <<_ACEOF
6438 #define BINDIR "${ac_ndu}"
6444 # default: "${prefix}/share"
6446 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
6447 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6449 test "x$ac_expand" = xNONE && ac_expand="$"NONE""
6450 ac_expand=`eval echo $ac_expand`
6451 expanded_datadir=`eval echo $ac_expand`
6454 ac_ndu=$expanded_datadir
6457 :*[\\/]:) ac_ndu=`echo "$ac_ndu" | sed 's,[\\/]*$,,'` ;;
6460 case $sdccconf_h_dir_separator in
6462 *\\*) ac_ndu=`echo "$ac_ndu" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
6463 s,^[\\/],\\\\\\\\,'` ;;
6465 *) ac_ndu=`echo "$ac_ndu" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
6467 cat >>confdefs.h <<_ACEOF
6468 #define DATADIR "${ac_ndu}"
6473 # include/lib suffix
6474 norm_inc_dir_suffix=${include_dir_suffix}
6475 case ":$norm_inc_dir_suffix:" in
6476 ::) norm_inc_dir_suffix='.' ;;
6477 :*[\\/]:) norm_inc_dir_suffix=`echo "$norm_inc_dir_suffix" | sed 's,[\\/]*$,,'` ;;
6480 case $sdccconf_h_dir_separator in
6482 *\\*) norm_inc_dir_suffix=`echo "$norm_inc_dir_suffix" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
6483 s,^[\\/],\\\\\\\\,'` ;;
6485 *) norm_inc_dir_suffix=`echo "$norm_inc_dir_suffix" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
6487 cat >>confdefs.h <<_ACEOF
6488 #define INCLUDE_DIR_SUFFIX DIR_SEPARATOR_STRING "${norm_inc_dir_suffix}"
6491 norm_lib_dir_suffix=${lib_dir_suffix}
6492 case ":$norm_lib_dir_suffix:" in
6493 ::) norm_lib_dir_suffix='.' ;;
6494 :*[\\/]:) norm_lib_dir_suffix=`echo "$norm_lib_dir_suffix" | sed 's,[\\/]*$,,'` ;;
6497 case $sdccconf_h_dir_separator in
6499 *\\*) norm_lib_dir_suffix=`echo "$norm_lib_dir_suffix" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
6500 s,^[\\/],\\\\\\\\,'` ;;
6502 *) norm_lib_dir_suffix=`echo "$norm_lib_dir_suffix" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
6504 cat >>confdefs.h <<_ACEOF
6505 #define LIB_DIR_SUFFIX DIR_SEPARATOR_STRING "${norm_lib_dir_suffix}"
6510 for _lcl_i in expanded_bindir:expanded_datadir:bin2data_dir; do
6511 _lcl_from=\$`echo "$_lcl_i" | sed 's,:.*$,,'`
6512 _lcl_to=\$`echo "$_lcl_i" | sed 's,^[^:]*:,,' | sed 's,:[^:]*$,,'`
6513 _lcl_result_var=`echo "$_lcl_i" | sed 's,^.*:,,'`
6514 _lcl_receval="$_lcl_from"
6515 _lcl_from=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix"
6516 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
6518 while test "$_lcl_receval_old" != "$_lcl_receval"; do
6519 _lcl_receval_old="$_lcl_receval"
6520 eval _lcl_receval="\"$_lcl_receval\""
6522 echo "$_lcl_receval")`
6523 _lcl_receval="$_lcl_to"
6524 _lcl_to=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix"
6525 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
6527 while test "$_lcl_receval_old" != "$_lcl_receval"; do
6528 _lcl_receval_old="$_lcl_receval"
6529 eval _lcl_receval="\"$_lcl_receval\""
6531 echo "$_lcl_receval")`
6532 _lcl_notation="$_lcl_from$_lcl_to"
6533 case ":$_lcl_from:" in
6534 ::) _lcl_from='.' ;;
6535 :*[\\/]:) _lcl_from=`echo "$_lcl_from" | sed 's,[\\/]*$,,'` ;;
6540 *\\*) _lcl_from=`echo "$_lcl_from" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
6541 s,^[\\/],\\\\\\\\,'` ;;
6543 *) _lcl_from=`echo "$_lcl_from" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
6545 case ":$_lcl_to:" in
6547 :*[\\/]:) _lcl_to=`echo "$_lcl_to" | sed 's,[\\/]*$,,'` ;;
6552 *\\*) _lcl_to=`echo "$_lcl_to" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
6553 s,^[\\/],\\\\\\\\,'` ;;
6555 *) _lcl_to=`echo "$_lcl_to" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
6557 _lcl_common_prefix=''
6558 _lcl_second_prefix_match=''
6559 while test "$_lcl_second_prefix_match" != 0; do
6560 _lcl_first_prefix=`expr "x$_lcl_from" : "x\($_lcl_common_prefix/*[^/]*\)"`
6561 _lcl_second_prefix_match=`expr "x$_lcl_to" : "x$_lcl_first_prefix"`
6562 if test "$_lcl_second_prefix_match" != 0; then
6563 if test "$_lcl_first_prefix" != "$_lcl_common_prefix"; then
6564 _lcl_common_prefix="$_lcl_first_prefix"
6566 _lcl_second_prefix_match=0
6570 _lcl_first_suffix=`expr "x$_lcl_from" : "x$_lcl_common_prefix/*\(.*\)"`
6573 while test "$_lcl_tmp" != ''; do
6574 _lcl_tmp=`expr "x$_lcl_first_suffix" : "x[^/]*/*\(.*\)"`
6575 if test "$_lcl_first_suffix" != ''; then
6576 _lcl_first_suffix="$_lcl_tmp"
6577 _lcl_first_rel="../$_lcl_first_rel"
6580 _lcl_second_suffix=`expr "x$_lcl_to" : "x$_lcl_common_prefix/*\(.*\)"`
6581 _lcl_result_tmp="$_lcl_first_rel$_lcl_second_suffix"
6582 case ":$_lcl_result_tmp:" in
6583 ::) _lcl_result_tmp='.' ;;
6584 :*[\\/]:) _lcl_result_tmp=`echo "$_lcl_result_tmp" | sed 's,[\\/]*$,,'` ;;
6587 case "$_lcl_notation" in
6589 *\\*) _lcl_result_tmp=`echo "$_lcl_result_tmp" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
6590 s,^[\\/],\\\\\\\\,'` ;;
6592 *) _lcl_result_tmp=`echo "$_lcl_result_tmp" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
6594 eval $_lcl_result_var='$_lcl_result_tmp'
6596 case ":$bin2data_dir:" in
6597 ::) bin2data_dir='.' ;;
6598 :*[\\/]:) bin2data_dir=`echo "$bin2data_dir" | sed 's,[\\/]*$,,'` ;;
6601 case $sdccconf_h_dir_separator in
6603 *\\*) bin2data_dir=`echo "$bin2data_dir" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
6604 s,^[\\/],\\\\\\\\,'` ;;
6606 *) bin2data_dir=`echo "$bin2data_dir" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
6608 cat >>confdefs.h <<_ACEOF
6609 #define BIN2DATA_DIR DIR_SEPARATOR_STRING "${bin2data_dir}"
6613 for _lcl_i in expanded_prefix:expanded_bindir:prefix2bin_dir; do
6614 _lcl_from=\$`echo "$_lcl_i" | sed 's,:.*$,,'`
6615 _lcl_to=\$`echo "$_lcl_i" | sed 's,^[^:]*:,,' | sed 's,:[^:]*$,,'`
6616 _lcl_result_var=`echo "$_lcl_i" | sed 's,^.*:,,'`
6617 _lcl_receval="$_lcl_from"
6618 _lcl_from=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix"
6619 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
6621 while test "$_lcl_receval_old" != "$_lcl_receval"; do
6622 _lcl_receval_old="$_lcl_receval"
6623 eval _lcl_receval="\"$_lcl_receval\""
6625 echo "$_lcl_receval")`
6626 _lcl_receval="$_lcl_to"
6627 _lcl_to=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix"
6628 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
6630 while test "$_lcl_receval_old" != "$_lcl_receval"; do
6631 _lcl_receval_old="$_lcl_receval"
6632 eval _lcl_receval="\"$_lcl_receval\""
6634 echo "$_lcl_receval")`
6635 _lcl_notation="$_lcl_from$_lcl_to"
6636 case ":$_lcl_from:" in
6637 ::) _lcl_from='.' ;;
6638 :*[\\/]:) _lcl_from=`echo "$_lcl_from" | sed 's,[\\/]*$,,'` ;;
6643 *\\*) _lcl_from=`echo "$_lcl_from" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
6644 s,^[\\/],\\\\\\\\,'` ;;
6646 *) _lcl_from=`echo "$_lcl_from" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
6648 case ":$_lcl_to:" in
6650 :*[\\/]:) _lcl_to=`echo "$_lcl_to" | sed 's,[\\/]*$,,'` ;;
6655 *\\*) _lcl_to=`echo "$_lcl_to" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
6656 s,^[\\/],\\\\\\\\,'` ;;
6658 *) _lcl_to=`echo "$_lcl_to" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
6660 _lcl_common_prefix=''
6661 _lcl_second_prefix_match=''
6662 while test "$_lcl_second_prefix_match" != 0; do
6663 _lcl_first_prefix=`expr "x$_lcl_from" : "x\($_lcl_common_prefix/*[^/]*\)"`
6664 _lcl_second_prefix_match=`expr "x$_lcl_to" : "x$_lcl_first_prefix"`
6665 if test "$_lcl_second_prefix_match" != 0; then
6666 if test "$_lcl_first_prefix" != "$_lcl_common_prefix"; then
6667 _lcl_common_prefix="$_lcl_first_prefix"
6669 _lcl_second_prefix_match=0
6673 _lcl_first_suffix=`expr "x$_lcl_from" : "x$_lcl_common_prefix/*\(.*\)"`
6676 while test "$_lcl_tmp" != ''; do
6677 _lcl_tmp=`expr "x$_lcl_first_suffix" : "x[^/]*/*\(.*\)"`
6678 if test "$_lcl_first_suffix" != ''; then
6679 _lcl_first_suffix="$_lcl_tmp"
6680 _lcl_first_rel="../$_lcl_first_rel"
6683 _lcl_second_suffix=`expr "x$_lcl_to" : "x$_lcl_common_prefix/*\(.*\)"`
6684 _lcl_result_tmp="$_lcl_first_rel$_lcl_second_suffix"
6685 case ":$_lcl_result_tmp:" in
6686 ::) _lcl_result_tmp='.' ;;
6687 :*[\\/]:) _lcl_result_tmp=`echo "$_lcl_result_tmp" | sed 's,[\\/]*$,,'` ;;
6690 case "$_lcl_notation" in
6692 *\\*) _lcl_result_tmp=`echo "$_lcl_result_tmp" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
6693 s,^[\\/],\\\\\\\\,'` ;;
6695 *) _lcl_result_tmp=`echo "$_lcl_result_tmp" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
6697 eval $_lcl_result_var='$_lcl_result_tmp'
6699 case ":$prefix2bin_dir:" in
6700 ::) prefix2bin_dir='.' ;;
6701 :*[\\/]:) prefix2bin_dir=`echo "$prefix2bin_dir" | sed 's,[\\/]*$,,'` ;;
6704 case $sdccconf_h_dir_separator in
6706 *\\*) prefix2bin_dir=`echo "$prefix2bin_dir" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
6707 s,^[\\/],\\\\\\\\,'` ;;
6709 *) prefix2bin_dir=`echo "$prefix2bin_dir" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
6711 cat >>confdefs.h <<_ACEOF
6712 #define PREFIX2BIN_DIR DIR_SEPARATOR_STRING "${prefix2bin_dir}"
6716 for _lcl_i in expanded_prefix:expanded_datadir:prefix2data_dir; do
6717 _lcl_from=\$`echo "$_lcl_i" | sed 's,:.*$,,'`
6718 _lcl_to=\$`echo "$_lcl_i" | sed 's,^[^:]*:,,' | sed 's,:[^:]*$,,'`
6719 _lcl_result_var=`echo "$_lcl_i" | sed 's,^.*:,,'`
6720 _lcl_receval="$_lcl_from"
6721 _lcl_from=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix"
6722 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
6724 while test "$_lcl_receval_old" != "$_lcl_receval"; do
6725 _lcl_receval_old="$_lcl_receval"
6726 eval _lcl_receval="\"$_lcl_receval\""
6728 echo "$_lcl_receval")`
6729 _lcl_receval="$_lcl_to"
6730 _lcl_to=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix"
6731 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
6733 while test "$_lcl_receval_old" != "$_lcl_receval"; do
6734 _lcl_receval_old="$_lcl_receval"
6735 eval _lcl_receval="\"$_lcl_receval\""
6737 echo "$_lcl_receval")`
6738 _lcl_notation="$_lcl_from$_lcl_to"
6739 case ":$_lcl_from:" in
6740 ::) _lcl_from='.' ;;
6741 :*[\\/]:) _lcl_from=`echo "$_lcl_from" | sed 's,[\\/]*$,,'` ;;
6746 *\\*) _lcl_from=`echo "$_lcl_from" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
6747 s,^[\\/],\\\\\\\\,'` ;;
6749 *) _lcl_from=`echo "$_lcl_from" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
6751 case ":$_lcl_to:" in
6753 :*[\\/]:) _lcl_to=`echo "$_lcl_to" | sed 's,[\\/]*$,,'` ;;
6758 *\\*) _lcl_to=`echo "$_lcl_to" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
6759 s,^[\\/],\\\\\\\\,'` ;;
6761 *) _lcl_to=`echo "$_lcl_to" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
6763 _lcl_common_prefix=''
6764 _lcl_second_prefix_match=''
6765 while test "$_lcl_second_prefix_match" != 0; do
6766 _lcl_first_prefix=`expr "x$_lcl_from" : "x\($_lcl_common_prefix/*[^/]*\)"`
6767 _lcl_second_prefix_match=`expr "x$_lcl_to" : "x$_lcl_first_prefix"`
6768 if test "$_lcl_second_prefix_match" != 0; then
6769 if test "$_lcl_first_prefix" != "$_lcl_common_prefix"; then
6770 _lcl_common_prefix="$_lcl_first_prefix"
6772 _lcl_second_prefix_match=0
6776 _lcl_first_suffix=`expr "x$_lcl_from" : "x$_lcl_common_prefix/*\(.*\)"`
6779 while test "$_lcl_tmp" != ''; do
6780 _lcl_tmp=`expr "x$_lcl_first_suffix" : "x[^/]*/*\(.*\)"`
6781 if test "$_lcl_first_suffix" != ''; then
6782 _lcl_first_suffix="$_lcl_tmp"
6783 _lcl_first_rel="../$_lcl_first_rel"
6786 _lcl_second_suffix=`expr "x$_lcl_to" : "x$_lcl_common_prefix/*\(.*\)"`
6787 _lcl_result_tmp="$_lcl_first_rel$_lcl_second_suffix"
6788 case ":$_lcl_result_tmp:" in
6789 ::) _lcl_result_tmp='.' ;;
6790 :*[\\/]:) _lcl_result_tmp=`echo "$_lcl_result_tmp" | sed 's,[\\/]*$,,'` ;;
6793 case "$_lcl_notation" in
6795 *\\*) _lcl_result_tmp=`echo "$_lcl_result_tmp" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
6796 s,^[\\/],\\\\\\\\,'` ;;
6798 *) _lcl_result_tmp=`echo "$_lcl_result_tmp" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
6800 eval $_lcl_result_var='$_lcl_result_tmp'
6802 case ":$prefix2data_dir:" in
6803 ::) prefix2data_dir='.' ;;
6804 :*[\\/]:) prefix2data_dir=`echo "$prefix2data_dir" | sed 's,[\\/]*$,,'` ;;
6807 case $sdccconf_h_dir_separator in
6809 *\\*) prefix2data_dir=`echo "$prefix2data_dir" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
6810 s,^[\\/],\\\\\\\\,'` ;;
6812 *) prefix2data_dir=`echo "$prefix2data_dir" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
6814 if test "${prefix2data_dir}" = "."; then
6815 # small optimization for Mingw32; otherwise Borut will complain ;-)
6816 cat >>confdefs.h <<_ACEOF
6817 #define PREFIX2DATA_DIR ""
6821 cat >>confdefs.h <<_ACEOF
6822 #define PREFIX2DATA_DIR DIR_SEPARATOR_STRING "${prefix2data_dir}"
6828 cat >>confdefs.h <<_ACEOF
6829 #define STD_LIB "libsdcc"
6832 cat >>confdefs.h <<_ACEOF
6833 #define STD_INT_LIB "libint"
6836 cat >>confdefs.h <<_ACEOF
6837 #define STD_LONG_LIB "liblong"
6840 cat >>confdefs.h <<_ACEOF
6841 #define STD_FP_LIB "libfloat"
6844 cat >>confdefs.h <<_ACEOF
6845 #define STD_DS390_LIB "libds390"
6848 cat >>confdefs.h <<_ACEOF
6849 #define STD_DS400_LIB "libds400"
6852 cat >>confdefs.h <<_ACEOF
6853 #define STD_XA51_LIB "libxa51"
6857 # SDCC runtime environment variables
6858 sdcc_dir_name="SDCC_HOME"
6859 cat >>confdefs.h <<_ACEOF
6860 #define SDCC_DIR_NAME "${sdcc_dir_name}"
6864 sdcc_include_name="SDCC_INCLUDE"
6865 cat >>confdefs.h <<_ACEOF
6866 #define SDCC_INCLUDE_NAME "${sdcc_include_name}"
6870 sdcc_lib_name="SDCC_LIB"
6871 cat >>confdefs.h <<_ACEOF
6872 #define SDCC_LIB_NAME "${sdcc_lib_name}"
6876 # Port selection helper
6877 # ===========================================================================
6878 # macro AC_DO_ENABLER()
6879 # $1 used to access enable_$1, e.g. enable_doc
6880 # $2 OPT_DISABLE_$2, normally uppercase of $1, e.g. DOC
6884 # macro AC_DO_DISABLER()
6885 # $1 used to access disable_$1, e.g. ucsim
6886 # $2 OPT_DISABLE_$2, normally uppercase of $1, e.g. UCSIM
6890 # macro AC_DO_PORT($1, $2, $3, $4)
6891 # $1 used to access enable_$2_port, e.g. gbz80
6892 # $2 port name in ports.all and ports.build, e.g. z80
6893 # $3 OPT_DISABLE_$3, normally uppercase of $2, e.g. GBZ80
6897 # Now handle the port selection
6898 # ===========================================================================
6899 rm -f ports.all ports.build
6901 # Check whether --enable-mcs51-port was given.
6902 if test "${enable_mcs51_port+set}" = set; then
6903 enableval=$enable_mcs51_port;
6907 if test "$enable_mcs51_port" = "no"; then
6910 enable_mcs51_port="yes"
6914 cat >>confdefs.h <<_ACEOF
6915 #define OPT_DISABLE_MCS51 $OPT_DISABLE_MCS51
6920 echo mcs51 >>ports.all
6921 if test $OPT_DISABLE_MCS51 = 0; then
6922 echo mcs51 >>ports.build
6926 # Check whether --enable-gbz80-port was given.
6927 if test "${enable_gbz80_port+set}" = set; then
6928 enableval=$enable_gbz80_port;
6932 if test "$enable_gbz80_port" = "no"; then
6935 enable_gbz80_port="yes"
6939 cat >>confdefs.h <<_ACEOF
6940 #define OPT_DISABLE_GBZ80 $OPT_DISABLE_GBZ80
6945 echo z80 >>ports.all
6946 if test $OPT_DISABLE_GBZ80 = 0; then
6947 echo z80 >>ports.build
6951 # Check whether --enable-z80-port was given.
6952 if test "${enable_z80_port+set}" = set; then
6953 enableval=$enable_z80_port;
6957 if test "$enable_z80_port" = "no"; then
6960 enable_z80_port="yes"
6964 cat >>confdefs.h <<_ACEOF
6965 #define OPT_DISABLE_Z80 $OPT_DISABLE_Z80
6970 echo z80 >>ports.all
6971 if test $OPT_DISABLE_Z80 = 0; then
6972 echo z80 >>ports.build
6976 # Check whether --enable-avr-port was given.
6977 if test "${enable_avr_port+set}" = set; then
6978 enableval=$enable_avr_port;
6982 if test "$enable_avr_port" = "no"; then
6985 enable_avr_port="yes"
6989 cat >>confdefs.h <<_ACEOF
6990 #define OPT_DISABLE_AVR $OPT_DISABLE_AVR
6995 echo avr >>ports.all
6996 if test $OPT_DISABLE_AVR = 0; then
6997 echo avr >>ports.build
7001 # Check whether --enable-ds390-port was given.
7002 if test "${enable_ds390_port+set}" = set; then
7003 enableval=$enable_ds390_port;
7007 if test "$enable_ds390_port" = "no"; then
7010 enable_ds390_port="yes"
7014 cat >>confdefs.h <<_ACEOF
7015 #define OPT_DISABLE_DS390 $OPT_DISABLE_DS390
7020 echo ds390 >>ports.all
7021 if test $OPT_DISABLE_DS390 = 0; then
7022 echo ds390 >>ports.build
7025 cat >>confdefs.h <<_ACEOF
7026 #define OPT_DISABLE_TININative $OPT_DISABLE_DS390
7030 # Check whether --enable-ds400-port was given.
7031 if test "${enable_ds400_port+set}" = set; then
7032 enableval=$enable_ds400_port;
7036 if test "$enable_ds400_port" = "no"; then
7039 enable_ds400_port="yes"
7043 cat >>confdefs.h <<_ACEOF
7044 #define OPT_DISABLE_DS400 $OPT_DISABLE_DS400
7049 echo ds400 >>ports.all
7050 if test $OPT_DISABLE_DS400 = 0; then
7051 echo ds400 >>ports.build
7055 # Check whether --enable-pic-port was given.
7056 if test "${enable_pic_port+set}" = set; then
7057 enableval=$enable_pic_port;
7061 if test "$enable_pic_port" = "no"; then
7064 enable_pic_port="yes"
7068 cat >>confdefs.h <<_ACEOF
7069 #define OPT_DISABLE_PIC $OPT_DISABLE_PIC
7074 echo pic >>ports.all
7075 if test $OPT_DISABLE_PIC = 0; then
7076 echo pic >>ports.build
7080 # Check whether --enable-pic16-port was given.
7081 if test "${enable_pic16_port+set}" = set; then
7082 enableval=$enable_pic16_port;
7086 if test "$enable_pic16_port" = "no"; then
7089 enable_pic16_port="yes"
7093 cat >>confdefs.h <<_ACEOF
7094 #define OPT_DISABLE_PIC16 $OPT_DISABLE_PIC16
7099 echo pic16 >>ports.all
7100 if test $OPT_DISABLE_PIC16 = 0; then
7101 echo pic16 >>ports.build
7105 # Check whether --enable-xa51-port was given.
7106 if test "${enable_xa51_port+set}" = set; then
7107 enableval=$enable_xa51_port;
7111 if test "$enable_xa51_port" = "no"; then
7114 enable_xa51_port="yes"
7118 cat >>confdefs.h <<_ACEOF
7119 #define OPT_DISABLE_XA51 $OPT_DISABLE_XA51
7124 echo xa51 >>ports.all
7125 if test $OPT_DISABLE_XA51 = 0; then
7126 echo xa51 >>ports.build
7130 # Check whether --enable-hc08-port was given.
7131 if test "${enable_hc08_port+set}" = set; then
7132 enableval=$enable_hc08_port;
7136 if test "$enable_hc08_port" = "no"; then
7139 enable_hc08_port="yes"
7143 cat >>confdefs.h <<_ACEOF
7144 #define OPT_DISABLE_HC08 $OPT_DISABLE_HC08
7149 echo hc08 >>ports.all
7150 if test $OPT_DISABLE_HC08 = 0; then
7151 echo hc08 >>ports.build
7156 # Check whether --enable-ucsim was given.
7157 if test "${enable_ucsim+set}" = set; then
7158 enableval=$enable_ucsim;
7162 arg1=`echo ucsim | sed s/-/_/`
7164 if test "`eval echo \\$enable_$arg1`" = "no"; then
7170 cat >>confdefs.h <<_ACEOF
7171 #define OPT_DISABLE_UCSIM $OPT_DISABLE_UCSIM
7177 # Check whether --enable-device-lib was given.
7178 if test "${enable_device_lib+set}" = set; then
7179 enableval=$enable_device_lib;
7183 arg1=`echo device-lib | sed s/-/_/`
7185 if test "`eval echo \\$enable_$arg1`" = "no"; then
7186 OPT_DISABLE_DEVICE_LIB=1
7188 OPT_DISABLE_DEVICE_LIB=0
7191 cat >>confdefs.h <<_ACEOF
7192 #define OPT_DISABLE_DEVICE_LIB $OPT_DISABLE_DEVICE_LIB
7198 # Check whether --enable-packihx was given.
7199 if test "${enable_packihx+set}" = set; then
7200 enableval=$enable_packihx;
7204 arg1=`echo packihx | sed s/-/_/`
7206 if test "`eval echo \\$enable_$arg1`" = "no"; then
7207 OPT_DISABLE_PACKIHX=1
7209 OPT_DISABLE_PACKIHX=0
7212 cat >>confdefs.h <<_ACEOF
7213 #define OPT_DISABLE_PACKIHX $OPT_DISABLE_PACKIHX
7219 # Check whether --enable-sdcpp was given.
7220 if test "${enable_sdcpp+set}" = set; then
7221 enableval=$enable_sdcpp;
7225 arg1=`echo sdcpp | sed s/-/_/`
7227 if test "`eval echo \\$enable_$arg1`" = "no"; then
7233 cat >>confdefs.h <<_ACEOF
7234 #define OPT_DISABLE_SDCPP $OPT_DISABLE_SDCPP
7240 # Check whether --enable-sdcdb was given.
7241 if test "${enable_sdcdb+set}" = set; then
7242 enableval=$enable_sdcdb;
7246 arg1=`echo sdcdb | sed s/-/_/`
7248 if test "`eval echo \\$enable_$arg1`" = "no"; then
7254 cat >>confdefs.h <<_ACEOF
7255 #define OPT_DISABLE_SDCDB $OPT_DISABLE_SDCDB
7262 # Check whether --enable-doc was given.
7263 if test "${enable_doc+set}" = set; then
7264 enableval=$enable_doc;
7268 if test "$enable_doc" = "yes"; then
7274 cat >>confdefs.h <<_ACEOF
7275 #define OPT_ENABLE_DOC $OPT_ENABLE_DOC
7280 # Extract the first word of "lyx", so it can be a program name with args.
7281 set dummy lyx; ac_word=$2
7282 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7283 $as_echo_n "checking for $ac_word... " >&6; }
7284 if test "${ac_cv_prog_LYX+set}" = set; then
7285 $as_echo_n "(cached) " >&6
7287 if test -n "$LYX"; then
7288 ac_cv_prog_LYX="$LYX" # Let the user override the test.
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294 test -z "$as_dir" && as_dir=.
7295 for ac_exec_ext in '' $ac_executable_extensions; do
7296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7297 ac_cv_prog_LYX="lyx"
7298 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7305 test -z "$ac_cv_prog_LYX" && ac_cv_prog_LYX=":"
7309 if test -n "$LYX"; then
7310 { $as_echo "$as_me:$LINENO: result: $LYX" >&5
7311 $as_echo "$LYX" >&6; }
7313 { $as_echo "$as_me:$LINENO: result: no" >&5
7314 $as_echo "no" >&6; }
7318 # Extract the first word of "latex2html", so it can be a program name with args.
7319 set dummy latex2html; ac_word=$2
7320 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7321 $as_echo_n "checking for $ac_word... " >&6; }
7322 if test "${ac_cv_prog_LATEX2HTML+set}" = set; then
7323 $as_echo_n "(cached) " >&6
7325 if test -n "$LATEX2HTML"; then
7326 ac_cv_prog_LATEX2HTML="$LATEX2HTML" # Let the user override the test.
7328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7332 test -z "$as_dir" && as_dir=.
7333 for ac_exec_ext in '' $ac_executable_extensions; do
7334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7335 ac_cv_prog_LATEX2HTML="latex2html"
7336 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7343 test -z "$ac_cv_prog_LATEX2HTML" && ac_cv_prog_LATEX2HTML=":"
7346 LATEX2HTML=$ac_cv_prog_LATEX2HTML
7347 if test -n "$LATEX2HTML"; then
7348 { $as_echo "$as_me:$LINENO: result: $LATEX2HTML" >&5
7349 $as_echo "$LATEX2HTML" >&6; }
7351 { $as_echo "$as_me:$LINENO: result: no" >&5
7352 $as_echo "no" >&6; }
7356 # Extract the first word of "pdflatex", so it can be a program name with args.
7357 set dummy pdflatex; ac_word=$2
7358 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7359 $as_echo_n "checking for $ac_word... " >&6; }
7360 if test "${ac_cv_prog_PDFLATEX+set}" = set; then
7361 $as_echo_n "(cached) " >&6
7363 if test -n "$PDFLATEX"; then
7364 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
7366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7370 test -z "$as_dir" && as_dir=.
7371 for ac_exec_ext in '' $ac_executable_extensions; do
7372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7373 ac_cv_prog_PDFLATEX="pdflatex"
7374 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7381 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX=":"
7384 PDFLATEX=$ac_cv_prog_PDFLATEX
7385 if test -n "$PDFLATEX"; then
7386 { $as_echo "$as_me:$LINENO: result: $PDFLATEX" >&5
7387 $as_echo "$PDFLATEX" >&6; }
7389 { $as_echo "$as_me:$LINENO: result: no" >&5
7390 $as_echo "no" >&6; }
7394 # Extract the first word of "pdfopt", so it can be a program name with args.
7395 set dummy pdfopt; ac_word=$2
7396 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7397 $as_echo_n "checking for $ac_word... " >&6; }
7398 if test "${ac_cv_prog_PDFOPT+set}" = set; then
7399 $as_echo_n "(cached) " >&6
7401 if test -n "$PDFOPT"; then
7402 ac_cv_prog_PDFOPT="$PDFOPT" # Let the user override the test.
7404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7408 test -z "$as_dir" && as_dir=.
7409 for ac_exec_ext in '' $ac_executable_extensions; do
7410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7411 ac_cv_prog_PDFOPT="pdfopt"
7412 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7419 test -z "$ac_cv_prog_PDFOPT" && ac_cv_prog_PDFOPT=":"
7422 PDFOPT=$ac_cv_prog_PDFOPT
7423 if test -n "$PDFOPT"; then
7424 { $as_echo "$as_me:$LINENO: result: $PDFOPT" >&5
7425 $as_echo "$PDFOPT" >&6; }
7427 { $as_echo "$as_me:$LINENO: result: no" >&5
7428 $as_echo "no" >&6; }
7432 # Extract the first word of "makeindex", so it can be a program name with args.
7433 set dummy makeindex; ac_word=$2
7434 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7435 $as_echo_n "checking for $ac_word... " >&6; }
7436 if test "${ac_cv_prog_MAKEINDEX+set}" = set; then
7437 $as_echo_n "(cached) " >&6
7439 if test -n "$MAKEINDEX"; then
7440 ac_cv_prog_MAKEINDEX="$MAKEINDEX" # Let the user override the test.
7442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7446 test -z "$as_dir" && as_dir=.
7447 for ac_exec_ext in '' $ac_executable_extensions; do
7448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7449 ac_cv_prog_MAKEINDEX="makeindex"
7450 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7457 test -z "$ac_cv_prog_MAKEINDEX" && ac_cv_prog_MAKEINDEX=":"
7460 MAKEINDEX=$ac_cv_prog_MAKEINDEX
7461 if test -n "$MAKEINDEX"; then
7462 { $as_echo "$as_me:$LINENO: result: $MAKEINDEX" >&5
7463 $as_echo "$MAKEINDEX" >&6; }
7465 { $as_echo "$as_me:$LINENO: result: no" >&5
7466 $as_echo "no" >&6; }
7471 if test $OPT_ENABLE_DOC = 1; then
7472 if test "$LYX" = ":"; then
7473 { { $as_echo "$as_me:$LINENO: error: Cannot find required program lyx." >&5
7474 $as_echo "$as_me: error: Cannot find required program lyx." >&2;}
7475 { (exit 1); exit 1; }; }
7478 if test "$LATEX2HTML" = ":"; then
7479 { { $as_echo "$as_me:$LINENO: error: Cannot find required program latex2html." >&5
7480 $as_echo "$as_me: error: Cannot find required program latex2html." >&2;}
7481 { (exit 1); exit 1; }; }
7484 if test "$PDFLATEX" = ":"; then
7485 { { $as_echo "$as_me:$LINENO: error: Cannot find required program pdflatex." >&5
7486 $as_echo "$as_me: error: Cannot find required program pdflatex." >&2;}
7487 { (exit 1); exit 1; }; }
7490 if test "$PDFOPT" = ":"; then
7491 { { $as_echo "$as_me:$LINENO: error: Cannot find required program pdfopt." >&5
7492 $as_echo "$as_me: error: Cannot find required program pdfopt." >&2;}
7493 { (exit 1); exit 1; }; }
7496 if test "$MAKEINDEX" = ":"; then
7497 { { $as_echo "$as_me:$LINENO: error: Cannot find required program makeindex." >&5
7498 $as_echo "$as_me: error: Cannot find required program makeindex." >&2;}
7499 { (exit 1); exit 1; }; }
7505 # Check whether --enable-libgc was given.
7506 if test "${enable_libgc+set}" = set; then
7507 enableval=$enable_libgc;
7511 if test "$enable_libgc" = "yes"; then
7517 cat >>confdefs.h <<_ACEOF
7518 #define OPT_ENABLE_LIBGC $OPT_ENABLE_LIBGC
7523 if test $OPT_ENABLE_LIBGC = 1; then
7525 { $as_echo "$as_me:$LINENO: checking for GC_malloc in -lgc" >&5
7526 $as_echo_n "checking for GC_malloc in -lgc... " >&6; }
7527 if test "${ac_cv_lib_gc_GC_malloc+set}" = set; then
7528 $as_echo_n "(cached) " >&6
7530 ac_check_lib_save_LIBS=$LIBS
7532 cat >conftest.$ac_ext <<_ACEOF
7535 cat confdefs.h >>conftest.$ac_ext
7536 cat >>conftest.$ac_ext <<_ACEOF
7537 /* end confdefs.h. */
7539 /* Override any GCC internal prototype to avoid an error.
7540 Use char because int might match the return type of a GCC
7541 builtin and then its argument prototype would still apply. */
7549 return GC_malloc ();
7554 rm -f conftest.$ac_objext conftest$ac_exeext
7555 if { (ac_try="$ac_link"
7557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7558 *) ac_try_echo=$ac_try;;
7560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7561 $as_echo "$ac_try_echo") >&5
7562 (eval "$ac_link") 2>conftest.er1
7564 grep -v '^ *+' conftest.er1 >conftest.err
7566 cat conftest.err >&5
7567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7568 (exit $ac_status); } && {
7569 test -z "$ac_c_werror_flag" ||
7570 test ! -s conftest.err
7571 } && test -s conftest$ac_exeext && {
7572 test "$cross_compiling" = yes ||
7573 $as_test_x conftest$ac_exeext
7575 ac_cv_lib_gc_GC_malloc=yes
7577 $as_echo "$as_me: failed program was:" >&5
7578 sed 's/^/| /' conftest.$ac_ext >&5
7580 ac_cv_lib_gc_GC_malloc=no
7583 rm -rf conftest.dSYM
7584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7585 conftest$ac_exeext conftest.$ac_ext
7586 LIBS=$ac_check_lib_save_LIBS
7588 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gc_GC_malloc" >&5
7589 $as_echo "$ac_cv_lib_gc_GC_malloc" >&6; }
7590 if test "x$ac_cv_lib_gc_GC_malloc" = x""yes; then
7591 cat >>confdefs.h <<_ACEOF
7592 #define HAVE_LIBGC 1
7599 if test $ac_cv_lib_gc_GC_malloc = no; then
7600 { { $as_echo "$as_me:$LINENO: error: Cannot find library libgc with Bohem memory allocator." >&5
7601 $as_echo "$as_me: error: Cannot find library libgc with Bohem memory allocator." >&2;}
7602 { (exit 1); exit 1; }; }
7607 uniq ports.all ports
7609 uniq ports.build ports
7610 mv ports ports.build
7612 # Generating output files
7613 # ===========================================================================
7614 test $OPT_DISABLE_SDCPP = 0 &&
7616 subdirs="$subdirs support/cpp"
7618 test $OPT_DISABLE_PACKIHX = 0 && subdirs="$subdirs support/packihx"
7620 test $OPT_DISABLE_UCSIM = 0 && subdirs="$subdirs sim/ucsim"
7622 test $OPT_DISABLE_SDCDB = 0 && subdirs="$subdirs debugger/mcs51"
7624 ac_config_files="$ac_config_files doc/Makefile"
7627 test $OPT_DISABLE_AVR = 0 && ac_config_files="$ac_config_files src/avr/Makefile"
7630 if test $OPT_DISABLE_DS390 = 0; then
7631 ac_config_files="$ac_config_files src/ds390/Makefile"
7633 test $OPT_DISABLE_DEVICE_LIB = 0 && ac_config_files="$ac_config_files device/lib/ds390/Makefile"
7637 if test $OPT_DISABLE_DS400 = 0; then
7638 ac_config_files="$ac_config_files src/ds400/Makefile"
7640 test $OPT_DISABLE_DEVICE_LIB = 0 && ac_config_files="$ac_config_files device/lib/ds400/Makefile"
7644 if test $OPT_DISABLE_HC08 = 0; then
7645 ac_config_files="$ac_config_files src/hc08/Makefile as/hc08/Makefile as/link/hc08/Makefile"
7647 test $OPT_DISABLE_DEVICE_LIB = 0 && ac_config_files="$ac_config_files device/lib/hc08/Makefile"
7651 if test $OPT_DISABLE_MCS51 = 0; then
7652 ac_config_files="$ac_config_files src/mcs51/Makefile as/mcs51/Makefile as/link/mcs51/Makefile"
7654 test $OPT_DISABLE_DEVICE_LIB = 0 && ac_config_files="$ac_config_files device/lib/mcs51/Makefile device/lib/small/Makefile device/lib/medium/Makefile device/lib/large/Makefile"
7658 if test $OPT_DISABLE_PIC = 0; then
7659 ac_config_files="$ac_config_files src/pic/Makefile"
7661 test $OPT_DISABLE_DEVICE_LIB = 0 && subdirs="$subdirs device/lib/pic"
7664 if test $OPT_DISABLE_PIC16 = 0; then
7665 ac_config_files="$ac_config_files src/pic16/Makefile"
7667 test $OPT_DISABLE_DEVICE_LIB = 0 && subdirs="$subdirs device/lib/pic16"
7671 test $OPT_DISABLE_XA51 = 0 && ac_config_files="$ac_config_files src/xa51/Makefile"
7674 if test $OPT_DISABLE_Z80 = 0; then
7675 ac_config_files="$ac_config_files src/z80/Makefile as/Makefile as/z80/Makefile as/link/Makefile as/link/z80/Makefile"
7677 test $OPT_DISABLE_DEVICE_LIB = 0 && ac_config_files="$ac_config_files device/lib/z80/Makefile device/lib/gbz80/Makefile"
7681 test $OPT_DISABLE_DEVICE_LIB = 0 && ac_config_files="$ac_config_files device/lib/Makefile"
7684 ac_config_files="$ac_config_files main.mk:main_in.mk src/Makefile device/include/Makefile support/librarian/Makefile support/makebin/Makefile support/regression/Makefile support/valdiag/Makefile Makefile Makefile.common:Makefile.common.in"
7686 cat >confcache <<\_ACEOF
7687 # This file is a shell script that caches the results of configure
7688 # tests run on this system so they can be shared between configure
7689 # scripts and configure runs, see configure's option --config-cache.
7690 # It is not useful on other systems. If it contains results you don't
7691 # want to keep, you may remove or edit it.
7693 # config.status only pays attention to the cache file if you give it
7694 # the --recheck option to rerun configure.
7696 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7697 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7702 # The following way of writing the cache mishandles newlines in values,
7703 # but we know of no workaround that is simple, portable, and efficient.
7704 # So, we kill variables containing newlines.
7705 # Ultrix sh set writes to stderr and can't be redirected directly,
7706 # and sets the high bit in the cache file unless we assign to the vars.
7708 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7709 eval ac_val=\$$ac_var
7713 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
7714 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7717 _ | IFS | as_nl) ;; #(
7718 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7719 *) $as_unset $ac_var ;;
7725 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7726 *${as_nl}ac_space=\ *)
7727 # `set' does not quote correctly, so add quotes (double-quote
7728 # substitution turns \\\\ into \\, and sed turns \\ into \).
7731 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7734 # `set' quotes correctly as required by POSIX, so do not add quotes.
7735 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7744 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7746 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7748 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7749 if test -w "$cache_file"; then
7750 test "x$cache_file" != "x/dev/null" &&
7751 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
7752 $as_echo "$as_me: updating cache $cache_file" >&6;}
7753 cat confcache >$cache_file
7755 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7756 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7761 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7762 # Let make expand exec_prefix.
7763 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7765 DEFS=-DHAVE_CONFIG_H
7769 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7770 # 1. Remove the extension, and $U if already installed.
7771 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7772 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7773 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7774 # will be set to the directory where LIBOBJS objects are built.
7775 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7776 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7780 LTLIBOBJS=$ac_ltlibobjs
7784 : ${CONFIG_STATUS=./config.status}
7786 ac_clean_files_save=$ac_clean_files
7787 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7788 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7789 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7790 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7792 # Generated by $as_me.
7793 # Run this file to recreate the current configuration.
7794 # Compiler output produced by configure, useful for debugging
7795 # configure, is in config.log if it exists.
7800 SHELL=\${CONFIG_SHELL-$SHELL}
7803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7804 ## --------------------- ##
7805 ## M4sh Initialization. ##
7806 ## --------------------- ##
7808 # Be more Bourne compatible
7809 DUALCASE=1; export DUALCASE # for MKS sh
7810 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7813 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7814 # is contrary to our usage. Disable this feature.
7815 alias -g '${1+"$@"}'='"$@"'
7816 setopt NO_GLOB_SUBST
7818 case `(set -o) 2>/dev/null` in
7819 *posix*) set -o posix ;;
7828 # Avoid depending upon Character Ranges.
7829 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7830 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7831 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7832 as_cr_digits='0123456789'
7833 as_cr_alnum=$as_cr_Letters$as_cr_digits
7838 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7839 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7840 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7841 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7842 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7843 as_echo='printf %s\n'
7844 as_echo_n='printf %s'
7846 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7847 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7848 as_echo_n='/usr/ucb/echo -n'
7850 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7851 as_echo_n_body='eval
7855 expr "X$arg" : "X\\(.*\\)$as_nl";
7856 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7858 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7860 export as_echo_n_body
7861 as_echo_n='sh -c $as_echo_n_body as_echo'
7864 as_echo='sh -c $as_echo_body as_echo'
7867 # The user is always right.
7868 if test "${PATH_SEPARATOR+set}" != set; then
7870 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7871 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7876 # Support unset when possible.
7877 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7885 # We need space, tab and new line, in precisely that order. Quoting is
7886 # there to prevent editors from complaining about space-tab.
7887 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7888 # splitting by setting IFS to empty value.)
7891 # Find who we are. Look in the path if we contain no directory separator.
7893 *[\\/]* ) as_myself=$0 ;;
7894 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7898 test -z "$as_dir" && as_dir=.
7899 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7905 # We did not find ourselves, most probably we were run as `sh COMMAND'
7906 # in which case we are not to be found in the path.
7907 if test "x$as_myself" = x; then
7910 if test ! -f "$as_myself"; then
7911 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7912 { (exit 1); exit 1; }
7915 # Work around bugs in pre-3.0 UWIN ksh.
7916 for as_var in ENV MAIL MAILPATH
7917 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7929 # Required to use basename.
7930 if expr a : '\(a\)' >/dev/null 2>&1 &&
7931 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7937 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7938 as_basename=basename
7944 # Name of the executable.
7945 as_me=`$as_basename -- "$0" ||
7946 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7947 X"$0" : 'X\(//\)$' \| \
7948 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7950 sed '/^.*\/\([^/][^/]*\)\/*$/{
7971 test "x$as_lineno_1" != "x$as_lineno_2" &&
7972 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7974 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7975 # uniformly replaced by the line number. The first 'sed' inserts a
7976 # line-number line after each line using $LINENO; the second 'sed'
7977 # does the real work. The second script uses 'N' to pair each
7978 # line-number line with the line containing $LINENO, and appends
7979 # trailing '-' during substitution so that $LINENO is not a special
7981 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7982 # scripts with optimization help from Paolo Bonzini. Blame Lee
7983 # E. McMahon (1931-1989) for sed's syntax. :-)
7995 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7999 chmod +x "$as_me.lineno" ||
8000 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8001 { (exit 1); exit 1; }; }
8003 # Don't try to exec as it changes $[0], causing all sort of problems
8004 # (the dirname of $[0] is not the place where we might find the
8005 # original and so on. Autoconf is especially sensitive to this).
8007 # Exit status is that of the last command.
8012 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8018 ECHO_C= ECHO_N= ECHO_T=
8021 case `echo 'x\c'` in
8022 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8028 if expr a : '\(a\)' >/dev/null 2>&1 &&
8029 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8035 rm -f conf$$ conf$$.exe conf$$.file
8036 if test -d conf$$.dir; then
8037 rm -f conf$$.dir/conf$$.file
8040 mkdir conf$$.dir 2>/dev/null
8042 if (echo >conf$$.file) 2>/dev/null; then
8043 if ln -s conf$$.file conf$$ 2>/dev/null; then
8045 # ... but there are two gotchas:
8046 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8047 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8048 # In both cases, we have to default to `cp -p'.
8049 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8051 elif ln conf$$.file conf$$ 2>/dev/null; then
8059 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8060 rmdir conf$$.dir 2>/dev/null
8062 if mkdir -p . 2>/dev/null; then
8065 test -d ./-p && rmdir ./-p
8069 if test -x / >/dev/null 2>&1; then
8072 if ls -dL / >/dev/null 2>&1; then
8079 if test -d "$1"; then
8085 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8086 ???[sx]*):;;*)false;;esac;fi
8090 as_executable_p=$as_test_x
8092 # Sed expression to map a string onto a valid CPP name.
8093 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8095 # Sed expression to map a string onto a valid variable name.
8096 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8101 # Save the log message, to keep $[0] and so on meaningful, and to
8102 # report actual input values of CONFIG_FILES etc. instead of their
8103 # values after options handling.
8105 This file was extended by $as_me, which was
8106 generated by GNU Autoconf 2.63. Invocation command line was
8108 CONFIG_FILES = $CONFIG_FILES
8109 CONFIG_HEADERS = $CONFIG_HEADERS
8110 CONFIG_LINKS = $CONFIG_LINKS
8111 CONFIG_COMMANDS = $CONFIG_COMMANDS
8114 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8119 case $ac_config_files in *"
8120 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8123 case $ac_config_headers in *"
8124 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8129 # Files that config.status was made for.
8130 config_files="$ac_config_files"
8131 config_headers="$ac_config_headers"
8135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8137 \`$as_me' instantiates files from templates according to the
8138 current configuration.
8140 Usage: $0 [OPTION]... [FILE]...
8142 -h, --help print this help, then exit
8143 -V, --version print version number and configuration settings, then exit
8144 -q, --quiet, --silent
8145 do not print progress messages
8146 -d, --debug don't remove temporary files
8147 --recheck update $as_me by reconfiguring in the same conditions
8148 --file=FILE[:TEMPLATE]
8149 instantiate the configuration file FILE
8150 --header=FILE[:TEMPLATE]
8151 instantiate the configuration header FILE
8153 Configuration files:
8156 Configuration headers:
8159 Report bugs to <bug-autoconf@gnu.org>."
8162 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8165 configured by $0, generated by GNU Autoconf 2.63,
8166 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8168 Copyright (C) 2008 Free Software Foundation, Inc.
8169 This config.status script is free software; the Free Software Foundation
8170 gives unlimited permission to copy, distribute and modify it."
8176 test -n "\$AWK" || AWK=awk
8179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8180 # The default lists apply if the user does not specify any file.
8186 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8187 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8198 # Handling of the options.
8199 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8201 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8202 $as_echo "$ac_cs_version"; exit ;;
8203 --debug | --debu | --deb | --de | --d | -d )
8205 --file | --fil | --fi | --f )
8208 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8210 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
8211 ac_need_defaults=false;;
8212 --header | --heade | --head | --hea )
8215 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8217 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
8218 ac_need_defaults=false;;
8220 # Conflict between --help and --header
8221 { $as_echo "$as_me: error: ambiguous option: $1
8222 Try \`$0 --help' for more information." >&2
8223 { (exit 1); exit 1; }; };;
8224 --help | --hel | -h )
8225 $as_echo "$ac_cs_usage"; exit ;;
8226 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8227 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8231 -*) { $as_echo "$as_me: error: unrecognized option: $1
8232 Try \`$0 --help' for more information." >&2
8233 { (exit 1); exit 1; }; } ;;
8235 *) ac_config_targets="$ac_config_targets $1"
8236 ac_need_defaults=false ;;
8242 ac_configure_extra_args=
8244 if $ac_cs_silent; then
8246 ac_configure_extra_args="$ac_configure_extra_args --silent"
8250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8251 if \$ac_cs_recheck; then
8252 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8254 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8255 CONFIG_SHELL='$SHELL'
8261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8265 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8266 ## Running $as_me. ##
8272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8277 # Handling of arguments.
8278 for ac_config_target in $ac_config_targets
8280 case $ac_config_target in
8281 "sdccconf.h") CONFIG_HEADERS="$CONFIG_HEADERS sdccconf.h:sdccconf_in.h" ;;
8282 "as/link/asxxxx_config.h") CONFIG_HEADERS="$CONFIG_HEADERS as/link/asxxxx_config.h" ;;
8283 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
8284 "src/avr/Makefile") CONFIG_FILES="$CONFIG_FILES src/avr/Makefile" ;;
8285 "src/ds390/Makefile") CONFIG_FILES="$CONFIG_FILES src/ds390/Makefile" ;;
8286 "device/lib/ds390/Makefile") CONFIG_FILES="$CONFIG_FILES device/lib/ds390/Makefile" ;;
8287 "src/ds400/Makefile") CONFIG_FILES="$CONFIG_FILES src/ds400/Makefile" ;;
8288 "device/lib/ds400/Makefile") CONFIG_FILES="$CONFIG_FILES device/lib/ds400/Makefile" ;;
8289 "src/hc08/Makefile") CONFIG_FILES="$CONFIG_FILES src/hc08/Makefile" ;;
8290 "as/hc08/Makefile") CONFIG_FILES="$CONFIG_FILES as/hc08/Makefile" ;;
8291 "as/link/hc08/Makefile") CONFIG_FILES="$CONFIG_FILES as/link/hc08/Makefile" ;;
8292 "device/lib/hc08/Makefile") CONFIG_FILES="$CONFIG_FILES device/lib/hc08/Makefile" ;;
8293 "src/mcs51/Makefile") CONFIG_FILES="$CONFIG_FILES src/mcs51/Makefile" ;;
8294 "as/mcs51/Makefile") CONFIG_FILES="$CONFIG_FILES as/mcs51/Makefile" ;;
8295 "as/link/mcs51/Makefile") CONFIG_FILES="$CONFIG_FILES as/link/mcs51/Makefile" ;;
8296 "device/lib/mcs51/Makefile") CONFIG_FILES="$CONFIG_FILES device/lib/mcs51/Makefile" ;;
8297 "device/lib/small/Makefile") CONFIG_FILES="$CONFIG_FILES device/lib/small/Makefile" ;;
8298 "device/lib/medium/Makefile") CONFIG_FILES="$CONFIG_FILES device/lib/medium/Makefile" ;;
8299 "device/lib/large/Makefile") CONFIG_FILES="$CONFIG_FILES device/lib/large/Makefile" ;;
8300 "src/pic/Makefile") CONFIG_FILES="$CONFIG_FILES src/pic/Makefile" ;;
8301 "src/pic16/Makefile") CONFIG_FILES="$CONFIG_FILES src/pic16/Makefile" ;;
8302 "src/xa51/Makefile") CONFIG_FILES="$CONFIG_FILES src/xa51/Makefile" ;;
8303 "src/z80/Makefile") CONFIG_FILES="$CONFIG_FILES src/z80/Makefile" ;;
8304 "as/Makefile") CONFIG_FILES="$CONFIG_FILES as/Makefile" ;;
8305 "as/z80/Makefile") CONFIG_FILES="$CONFIG_FILES as/z80/Makefile" ;;
8306 "as/link/Makefile") CONFIG_FILES="$CONFIG_FILES as/link/Makefile" ;;
8307 "as/link/z80/Makefile") CONFIG_FILES="$CONFIG_FILES as/link/z80/Makefile" ;;
8308 "device/lib/z80/Makefile") CONFIG_FILES="$CONFIG_FILES device/lib/z80/Makefile" ;;
8309 "device/lib/gbz80/Makefile") CONFIG_FILES="$CONFIG_FILES device/lib/gbz80/Makefile" ;;
8310 "device/lib/Makefile") CONFIG_FILES="$CONFIG_FILES device/lib/Makefile" ;;
8311 "main.mk") CONFIG_FILES="$CONFIG_FILES main.mk:main_in.mk" ;;
8312 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8313 "device/include/Makefile") CONFIG_FILES="$CONFIG_FILES device/include/Makefile" ;;
8314 "support/librarian/Makefile") CONFIG_FILES="$CONFIG_FILES support/librarian/Makefile" ;;
8315 "support/makebin/Makefile") CONFIG_FILES="$CONFIG_FILES support/makebin/Makefile" ;;
8316 "support/regression/Makefile") CONFIG_FILES="$CONFIG_FILES support/regression/Makefile" ;;
8317 "support/valdiag/Makefile") CONFIG_FILES="$CONFIG_FILES support/valdiag/Makefile" ;;
8318 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8319 "Makefile.common") CONFIG_FILES="$CONFIG_FILES Makefile.common:Makefile.common.in" ;;
8321 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8322 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8323 { (exit 1); exit 1; }; };;
8328 # If the user did not use the arguments to specify the items to instantiate,
8329 # then the envvar interface is used. Set only those that are not.
8330 # We use the long form for the default assignment because of an extremely
8331 # bizarre bug on SunOS 4.1.3.
8332 if $ac_need_defaults; then
8333 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8334 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8337 # Have a temporary directory for convenience. Make it in the build tree
8338 # simply because there is no reason against having it here, and in addition,
8339 # creating and moving files from /tmp can sometimes cause problems.
8340 # Hook for its removal unless debugging.
8341 # Note that there is a small window in which the directory will not be cleaned:
8342 # after its creation but before its name has been assigned to `$tmp'.
8346 trap 'exit_status=$?
8347 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8349 trap '{ (exit 1); exit 1; }' 1 2 13 15
8351 # Create a (secure) tmp directory for tmp files.
8354 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8355 test -n "$tmp" && test -d "$tmp"
8358 tmp=./conf$$-$RANDOM
8359 (umask 077 && mkdir "$tmp")
8362 $as_echo "$as_me: cannot create a temporary directory in ." >&2
8363 { (exit 1); exit 1; }
8366 # Set up the scripts for CONFIG_FILES section.
8367 # No need to generate them if there are no CONFIG_FILES.
8368 # This happens for instance with `./config.status config.h'.
8369 if test -n "$CONFIG_FILES"; then
8374 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8375 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8381 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8386 echo "cat >conf$$subs.awk <<_ACEOF" &&
8387 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8390 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8391 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8392 { (exit 1); exit 1; }; }
8393 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8395 for ac_last_try in false false false false false :; do
8396 . ./conf$$subs.sh ||
8397 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8398 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8399 { (exit 1); exit 1; }; }
8401 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8402 if test $ac_delim_n = $ac_delim_num; then
8404 elif $ac_last_try; then
8405 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8406 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8407 { (exit 1); exit 1; }; }
8409 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8414 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8415 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
8419 s/^/S["/; s/!.*/"]=/
8429 s/\(.\{148\}\).*/\1/
8431 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8436 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8443 s/\(.\{148\}\).*/\1/
8445 s/["\\]/\\&/g; s/^/"/; s/$/"/
8449 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8454 ' <conf$$subs.awk | sed '
8459 ' >>$CONFIG_STATUS || ac_write_fail=1
8460 rm -f conf$$subs.awk
8461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8463 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
8464 for (key in S) S_is_set[key] = 1
8470 nfields = split(line, field, "@")
8472 len = length(field[1])
8473 for (i = 2; i < nfields; i++) {
8475 keylen = length(key)
8476 if (S_is_set[key]) {
8478 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8479 len += length(value) + length(field[++i])
8490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8491 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8492 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8495 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8496 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
8497 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
8498 { (exit 1); exit 1; }; }
8501 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8502 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8503 # trailing colons and then remove the whole line if VPATH becomes empty
8504 # (actually we leave an empty line to preserve line numbers).
8505 if test "x$srcdir" = x.; then
8506 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8510 s/^\([^=]*=[ ]*\):*/\1/
8516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8517 fi # test -n "$CONFIG_FILES"
8519 # Set up the scripts for CONFIG_HEADERS section.
8520 # No need to generate them if there are no CONFIG_HEADERS.
8521 # This happens for instance with `./config.status Makefile'.
8522 if test -n "$CONFIG_HEADERS"; then
8523 cat >"$tmp/defines.awk" <<\_ACAWK ||
8527 # Transform confdefs.h into an awk script `defines.awk', embedded as
8528 # here-document in config.status, that substitutes the proper values into
8529 # config.h.in to produce config.h.
8531 # Create a delimiter string that does not exist in confdefs.h, to ease
8532 # handling of long lines.
8534 for ac_last_try in false false :; do
8535 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
8536 if test -z "$ac_t"; then
8538 elif $ac_last_try; then
8539 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
8540 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
8541 { (exit 1); exit 1; }; }
8543 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8547 # For the awk script, D is an array of macro values keyed by name,
8548 # likewise P contains macro parameters if any. Preserve backslash
8549 # newline sequences.
8551 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8553 s/.\{148\}/&'"$ac_delim"'/g
8556 s/^[ ]*#[ ]*define[ ][ ]*/ /
8563 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8565 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8569 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8570 D["\1"]=" \3\\\\\\n"\\/p
8572 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8577 s/.\{148\}/&'"$ac_delim"'/g
8582 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8585 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8587 ' <confdefs.h | sed '
8588 s/'"$ac_delim"'/"\\\
8589 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8591 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8592 for (key in D) D_is_set[key] = 1
8595 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8597 split(line, arg, " ")
8598 if (arg[1] == "#") {
8602 defundef = substr(arg[1], 2)
8605 split(mac1, mac2, "(") #)
8607 prefix = substr(line, 1, index(line, defundef) - 1)
8608 if (D_is_set[macro]) {
8609 # Preserve the white space surrounding the "#".
8610 print prefix "define", macro P[macro] D[macro]
8613 # Replace #undef with comments. This is necessary, for example,
8614 # in the case of _POSIX_SOURCE, which is predefined and required
8615 # on some systems where configure will not decide to define it.
8616 if (defundef == "undef") {
8617 print "/*", prefix defundef, macro, "*/"
8625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8626 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
8627 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
8628 { (exit 1); exit 1; }; }
8629 fi # test -n "$CONFIG_HEADERS"
8632 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
8637 :[FHLC]) ac_mode=$ac_tag; continue;;
8639 case $ac_mode$ac_tag in
8641 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
8642 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
8643 { (exit 1); exit 1; }; };;
8644 :[FH]-) ac_tag=-:-;;
8645 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8662 -) ac_f="$tmp/stdin";;
8663 *) # Look for the file first in the build tree, then in the source tree
8664 # (if the path is not absolute). The absolute path cannot be DOS-style,
8665 # because $ac_f cannot contain `:'.
8669 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8671 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8672 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8673 { (exit 1); exit 1; }; };;
8675 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8676 ac_file_inputs="$ac_file_inputs '$ac_f'"
8679 # Let's still pretend it is `configure' which instantiates (i.e., don't
8680 # use $as_me), people would be surprised to read:
8681 # /* config.h. Generated by config.status. */
8682 configure_input='Generated from '`
8683 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8685 if test x"$ac_file" != x-; then
8686 configure_input="$ac_file. $configure_input"
8687 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
8688 $as_echo "$as_me: creating $ac_file" >&6;}
8690 # Neutralize special characters interpreted by sed in replacement strings.
8691 case $configure_input in #(
8692 *\&* | *\|* | *\\* )
8693 ac_sed_conf_input=`$as_echo "$configure_input" |
8694 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8695 *) ac_sed_conf_input=$configure_input;;
8699 *:-:* | *:-) cat >"$tmp/stdin" \
8700 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8701 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8702 { (exit 1); exit 1; }; } ;;
8707 ac_dir=`$as_dirname -- "$ac_file" ||
8708 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8709 X"$ac_file" : 'X\(//\)[^/]' \| \
8710 X"$ac_file" : 'X\(//\)$' \| \
8711 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8712 $as_echo X"$ac_file" |
8713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8732 -*) as_dir=./$as_dir;;
8734 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8738 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8739 *) as_qdir=$as_dir;;
8741 as_dirs="'$as_qdir' $as_dirs"
8742 as_dir=`$as_dirname -- "$as_dir" ||
8743 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8744 X"$as_dir" : 'X\(//\)[^/]' \| \
8745 X"$as_dir" : 'X\(//\)$' \| \
8746 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8747 $as_echo X"$as_dir" |
8748 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8765 test -d "$as_dir" && break
8767 test -z "$as_dirs" || eval "mkdir $as_dirs"
8768 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8769 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
8770 { (exit 1); exit 1; }; }; }
8774 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8776 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8777 # A ".." for each directory in $ac_dir_suffix.
8778 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8779 case $ac_top_builddir_sub in
8780 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8781 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8784 ac_abs_top_builddir=$ac_pwd
8785 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8786 # for backward compatibility:
8787 ac_top_builddir=$ac_top_build_prefix
8790 .) # We are building in place.
8792 ac_top_srcdir=$ac_top_builddir_sub
8793 ac_abs_top_srcdir=$ac_pwd ;;
8794 [\\/]* | ?:[\\/]* ) # Absolute name.
8795 ac_srcdir=$srcdir$ac_dir_suffix;
8796 ac_top_srcdir=$srcdir
8797 ac_abs_top_srcdir=$srcdir ;;
8799 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8800 ac_top_srcdir=$ac_top_build_prefix$srcdir
8801 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8803 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8813 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8814 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8819 # If the template does not know about datarootdir, expand it.
8820 # FIXME: This hack should be removed a few years after 2.60.
8821 ac_datarootdir_hack=; ac_datarootdir_seen=
8834 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8835 *datarootdir*) ac_datarootdir_seen=yes;;
8836 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8837 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8838 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8841 ac_datarootdir_hack='
8842 s&@datadir@&$datadir&g
8843 s&@docdir@&$docdir&g
8844 s&@infodir@&$infodir&g
8845 s&@localedir@&$localedir&g
8846 s&@mandir@&$mandir&g
8847 s&\\\${datarootdir}&$datarootdir&g' ;;
8851 # Neutralize VPATH when `$srcdir' = `.'.
8852 # Shell code in configure.ac might set extrasub.
8853 # FIXME: do we really want to maintain this feature?
8854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8855 ac_sed_extra="$ac_vpsub
8858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8860 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8861 s|@configure_input@|$ac_sed_conf_input|;t t
8862 s&@top_builddir@&$ac_top_builddir_sub&;t t
8863 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8864 s&@srcdir@&$ac_srcdir&;t t
8865 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8866 s&@top_srcdir@&$ac_top_srcdir&;t t
8867 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8868 s&@builddir@&$ac_builddir&;t t
8869 s&@abs_builddir@&$ac_abs_builddir&;t t
8870 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8871 s&@INSTALL@&$ac_INSTALL&;t t
8872 $ac_datarootdir_hack
8874 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8875 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8876 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8877 { (exit 1); exit 1; }; }
8879 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8880 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8881 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8882 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8883 which seems to be undefined. Please make sure it is defined." >&5
8884 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8885 which seems to be undefined. Please make sure it is defined." >&2;}
8889 -) cat "$tmp/out" && rm -f "$tmp/out";;
8890 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8892 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8893 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8894 { (exit 1); exit 1; }; }
8900 if test x"$ac_file" != x-; then
8902 $as_echo "/* $configure_input */" \
8903 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8904 } >"$tmp/config.h" \
8905 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8906 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8907 { (exit 1); exit 1; }; }
8908 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8909 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8910 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8913 mv "$tmp/config.h" "$ac_file" \
8914 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8915 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8916 { (exit 1); exit 1; }; }
8919 $as_echo "/* $configure_input */" \
8920 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8921 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
8922 $as_echo "$as_me: error: could not create -" >&2;}
8923 { (exit 1); exit 1; }; }
8933 { (exit 0); exit 0; }
8935 chmod +x $CONFIG_STATUS
8936 ac_clean_files=$ac_clean_files_save
8938 test $ac_write_fail = 0 ||
8939 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
8940 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
8941 { (exit 1); exit 1; }; }
8944 # configure is writing to config.log, and then calls config.status.
8945 # config.status does its own redirection, appending to config.log.
8946 # Unfortunately, on DOS this fails, as config.log is still kept open
8947 # by configure, so config.status won't be able to write to it; its
8948 # output is simply discarded. So we exec the FD to /dev/null,
8949 # effectively closing config.log, so it can be properly (re)opened and
8950 # appended to by config.status. When coming back to configure, we
8951 # need to make the FD available again.
8952 if test "$no_create" != yes; then
8954 ac_config_status_args=
8955 test "$silent" = yes &&
8956 ac_config_status_args="$ac_config_status_args --quiet"
8958 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8960 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8961 # would make configure fail if this is the last instruction.
8962 $ac_cs_success || { (exit 1); exit 1; }
8966 # CONFIG_SUBDIRS section.
8968 if test "$no_recursion" != yes; then
8970 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
8971 # so they do not pile up.
8972 ac_sub_configure_args=
8974 eval "set x $ac_configure_args"
8978 if test -n "$ac_prev"; then
8983 -cache-file | --cache-file | --cache-fil | --cache-fi \
8984 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
8985 ac_prev=cache_file ;;
8986 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
8987 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
8990 --config-cache | -C)
8992 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
8994 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
8996 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
8998 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
9000 --disable-option-checking)
9004 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9006 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
9010 # Always prepend --prefix to ensure using the same prefix
9011 # in subdir configurations.
9012 ac_arg="--prefix=$prefix"
9014 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9016 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
9019 if test "$silent" = yes; then
9020 ac_sub_configure_args="--silent $ac_sub_configure_args"
9023 # Always prepend --disable-option-checking to silence warnings, since
9024 # different subdirs can have different --enable and --with options.
9025 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
9028 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
9030 # Do not complain, so a configure script can configure whichever
9031 # parts of a large source tree are present.
9032 test -d "$srcdir/$ac_dir" || continue
9034 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
9035 $as_echo "$as_me:$LINENO: $ac_msg" >&5
9036 $as_echo "$ac_msg" >&6
9039 -*) as_dir=./$as_dir;;
9041 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9045 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9046 *) as_qdir=$as_dir;;
9048 as_dirs="'$as_qdir' $as_dirs"
9049 as_dir=`$as_dirname -- "$as_dir" ||
9050 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9051 X"$as_dir" : 'X\(//\)[^/]' \| \
9052 X"$as_dir" : 'X\(//\)$' \| \
9053 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9054 $as_echo X"$as_dir" |
9055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9072 test -d "$as_dir" && break
9074 test -z "$as_dirs" || eval "mkdir $as_dirs"
9075 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9076 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9077 { (exit 1); exit 1; }; }; }
9081 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9083 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9084 # A ".." for each directory in $ac_dir_suffix.
9085 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9086 case $ac_top_builddir_sub in
9087 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9088 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9091 ac_abs_top_builddir=$ac_pwd
9092 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9093 # for backward compatibility:
9094 ac_top_builddir=$ac_top_build_prefix
9097 .) # We are building in place.
9099 ac_top_srcdir=$ac_top_builddir_sub
9100 ac_abs_top_srcdir=$ac_pwd ;;
9101 [\\/]* | ?:[\\/]* ) # Absolute name.
9102 ac_srcdir=$srcdir$ac_dir_suffix;
9103 ac_top_srcdir=$srcdir
9104 ac_abs_top_srcdir=$srcdir ;;
9106 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9107 ac_top_srcdir=$ac_top_build_prefix$srcdir
9108 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9110 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9115 # Check for guested configure; otherwise get Cygnus style configure.
9116 if test -f "$ac_srcdir/configure.gnu"; then
9117 ac_sub_configure=$ac_srcdir/configure.gnu
9118 elif test -f "$ac_srcdir/configure"; then
9119 ac_sub_configure=$ac_srcdir/configure
9120 elif test -f "$ac_srcdir/configure.in"; then
9121 # This should be Cygnus configure.
9122 ac_sub_configure=$ac_aux_dir/configure
9124 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
9125 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
9129 # The recursion is here.
9130 if test -n "$ac_sub_configure"; then
9131 # Make the cache file name correct relative to the subdirectory.
9133 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
9135 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
9138 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
9139 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
9140 # The eval makes quoting arguments work.
9141 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
9142 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
9143 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
9144 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
9145 { (exit 1); exit 1; }; }
9151 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9152 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9153 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9157 # I found no better place
9160 # Prepare result message
9161 # ======================
9163 # In the C-header we need \\ as dir-separator, but in the message only \
9164 dirch=${sdccconf_h_dir_separator}
9165 test ${dirch} = '\\' && dirch='\'
9167 # calc friendly strings
9169 binPath=`echo "/${prefix2bin_dir}" | sed 's,/\./,/,g'`
9170 case ":$binPath:" in
9172 :*[\\/]:) binPath=`echo "$binPath" | sed 's,[\\/]*$,,'` ;;
9177 *\\*) binPath=`echo "$binPath" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
9178 s,^[\\/],\\\\\\\\,'` ;;
9180 *) binPath=`echo "$binPath" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
9182 binPath=`echo "$binPath" | sed 's,\\\\\\\\,\\\\,g'`
9185 incPath1=`echo "/${prefix2data_dir}/${norm_inc_dir_suffix}" | sed 's,/\./,/,g'`
9186 case ":$incPath1:" in
9188 :*[\\/]:) incPath1=`echo "$incPath1" | sed 's,[\\/]*$,,'` ;;
9193 *\\*) incPath1=`echo "$incPath1" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
9194 s,^[\\/],\\\\\\\\,'` ;;
9196 *) incPath1=`echo "$incPath1" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
9198 incPath1=`echo "$incPath1" | sed 's,\\\\\\\\,\\\\,g'`
9201 incPath2=`echo "/${bin2data_dir}/${norm_inc_dir_suffix}" | sed 's,/\./,/,g'`
9202 case ":$incPath2:" in
9204 :*[\\/]:) incPath2=`echo "$incPath2" | sed 's,[\\/]*$,,'` ;;
9209 *\\*) incPath2=`echo "$incPath2" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
9210 s,^[\\/],\\\\\\\\,'` ;;
9212 *) incPath2=`echo "$incPath2" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
9214 incPath2=`echo "$incPath2" | sed 's,\\\\\\\\,\\\\,g'`
9217 incPath3=`echo "${expanded_datadir}/${norm_inc_dir_suffix}" | sed 's,/\./,/,g'`
9218 case ":$incPath3:" in
9220 :*[\\/]:) incPath3=`echo "$incPath3" | sed 's,[\\/]*$,,'` ;;
9225 *\\*) incPath3=`echo "$incPath3" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
9226 s,^[\\/],\\\\\\\\,'` ;;
9228 *) incPath3=`echo "$incPath3" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
9230 incPath3=`echo "$incPath3" | sed 's,\\\\\\\\,\\\\,g'`
9233 libPath1=`echo "/${prefix2data_dir}/${norm_lib_dir_suffix}" | sed 's,/\./,/,g'`
9234 case ":$libPath1:" in
9236 :*[\\/]:) libPath1=`echo "$libPath1" | sed 's,[\\/]*$,,'` ;;
9241 *\\*) libPath1=`echo "$libPath1" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
9242 s,^[\\/],\\\\\\\\,'` ;;
9244 *) libPath1=`echo "$libPath1" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
9246 libPath1=`echo "$libPath1" | sed 's,\\\\\\\\,\\\\,g'`
9249 libPath2=`echo "/${bin2data_dir}/${norm_lib_dir_suffix}" | sed 's,/\./,/,g'`
9250 case ":$libPath2:" in
9252 :*[\\/]:) libPath2=`echo "$libPath2" | sed 's,[\\/]*$,,'` ;;
9257 *\\*) libPath2=`echo "$libPath2" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
9258 s,^[\\/],\\\\\\\\,'` ;;
9260 *) libPath2=`echo "$libPath2" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
9262 libPath2=`echo "$libPath2" | sed 's,\\\\\\\\,\\\\,g'`
9265 libPath3=`echo "${expanded_datadir}/${norm_lib_dir_suffix}" | sed 's,/\./,/,g'`
9266 case ":$libPath3:" in
9268 :*[\\/]:) libPath3=`echo "$libPath3" | sed 's,[\\/]*$,,'` ;;
9273 *\\*) libPath3=`echo "$libPath3" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g
9274 s,^[\\/],\\\\\\\\,'` ;;
9276 *) libPath3=`echo "$libPath3" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
9278 libPath3=`echo "$libPath3" | sed 's,\\\\\\\\,\\\\,g'`
9281 { $as_echo "$as_me:$LINENO: result:
9282 sdcc ${VERSION} is now configured for
9284 Build: ${build_alias}
9286 Source directory: ${srcdir}
9291 avr ${enable_avr_port}
9292 ds390 ${enable_ds390_port}
9293 ds400 ${enable_ds400_port}
9294 gbz80 ${enable_gbz80_port}
9295 hc08 ${enable_hc08_port}
9296 mcs51 ${enable_mcs51_port}
9297 pic ${enable_pic_port}
9298 pic16 ${enable_pic16_port}
9299 xa51 ${enable_xa51_port}
9300 z80 ${enable_z80_port}
9302 Disable packihx: ${OPT_DISABLE_PACKIHX}
9303 Disable ucsim: ${OPT_DISABLE_UCSIM}
9304 Disable device lib: ${OPT_DISABLE_DEVICE_LIB}
9305 Disable sdcpp: ${OPT_DISABLE_SDCPP}
9306 Disable sdcdb: ${OPT_DISABLE_SDCDB}
9307 Enable documentation: ${OPT_ENABLE_DOC}
9308 Enable libgc: ${OPT_ENABLE_LIBGC}
9311 binary files: ${exec_prefix}
9312 include files: ${datadir}/${include_dir_suffix}
9313 library files: ${datadir}/${lib_dir_suffix}
9314 documentation: ${docdir}
9318 datarootdir: ${datarootdir}
9320 Search paths (incomplete, see manual for all search paths):
9321 binary files: \$SDCC_HOME${binPath}
9322 include files: ${incPath1}
9323 path(argv[0])${incPath2}
9325 library files: \$SDCC_HOME${libPath1}${dirch}<model>
9326 path(argv[0])${libPath2}${dirch}<model>
9327 ${libPath3}${dirch}<model>
9330 sdcc ${VERSION} is now configured for
9332 Build: ${build_alias}
9334 Source directory: ${srcdir}
9339 avr ${enable_avr_port}
9340 ds390 ${enable_ds390_port}
9341 ds400 ${enable_ds400_port}
9342 gbz80 ${enable_gbz80_port}
9343 hc08 ${enable_hc08_port}
9344 mcs51 ${enable_mcs51_port}
9345 pic ${enable_pic_port}
9346 pic16 ${enable_pic16_port}
9347 xa51 ${enable_xa51_port}
9348 z80 ${enable_z80_port}
9350 Disable packihx: ${OPT_DISABLE_PACKIHX}
9351 Disable ucsim: ${OPT_DISABLE_UCSIM}
9352 Disable device lib: ${OPT_DISABLE_DEVICE_LIB}
9353 Disable sdcpp: ${OPT_DISABLE_SDCPP}
9354 Disable sdcdb: ${OPT_DISABLE_SDCDB}
9355 Enable documentation: ${OPT_ENABLE_DOC}
9356 Enable libgc: ${OPT_ENABLE_LIBGC}
9359 binary files: ${exec_prefix}
9360 include files: ${datadir}/${include_dir_suffix}
9361 library files: ${datadir}/${lib_dir_suffix}
9362 documentation: ${docdir}
9366 datarootdir: ${datarootdir}
9368 Search paths (incomplete, see manual for all search paths):
9369 binary files: \$SDCC_HOME${binPath}
9370 include files: ${incPath1}
9371 path(argv[0])${incPath2}
9373 library files: \$SDCC_HOME${libPath1}${dirch}<model>
9374 path(argv[0])${libPath2}${dirch}<model>
9375 ${libPath3}${dirch}<model>
9377 # End of configure/configure.in