2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS GPASM GPLINK GPLIB RM CP MV LS SED EGREP MKDIR RMDIR SET_MAKE LIBOBJS LTLIBOBJS'
277 # Initialize some variables set by options.
279 ac_init_version=false
280 # The variables have the same names as the options, with
281 # dashes changed to underlines.
289 program_transform_name=s,x,x,
297 # Installation directory options.
298 # These are left unexpanded so users can "make install exec_prefix=/foo"
299 # and all the variables that are supposed to be based on exec_prefix
300 # by default will actually change.
301 # Use braces instead of parens because sh, perl, etc. also accept them.
302 bindir='${exec_prefix}/bin'
303 sbindir='${exec_prefix}/sbin'
304 libexecdir='${exec_prefix}/libexec'
305 datadir='${prefix}/share'
306 sysconfdir='${prefix}/etc'
307 sharedstatedir='${prefix}/com'
308 localstatedir='${prefix}/var'
309 libdir='${exec_prefix}/lib'
310 includedir='${prefix}/include'
311 oldincludedir='/usr/include'
312 infodir='${prefix}/info'
313 mandir='${prefix}/man'
318 # If the previous option needs an argument, assign it.
319 if test -n "$ac_prev"; then
320 eval "$ac_prev=\$ac_option"
325 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327 # Accept the important Cygnus configure options, so we can diagnose typos.
331 -bindir | --bindir | --bindi | --bind | --bin | --bi)
333 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336 -build | --build | --buil | --bui | --bu)
337 ac_prev=build_alias ;;
338 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
339 build_alias=$ac_optarg ;;
341 -cache-file | --cache-file | --cache-fil | --cache-fi \
342 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
343 ac_prev=cache_file ;;
344 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
345 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
346 cache_file=$ac_optarg ;;
349 cache_file=config.cache ;;
351 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
353 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355 datadir=$ac_optarg ;;
357 -disable-* | --disable-*)
358 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
359 # Reject names that are not valid shell variable names.
360 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
361 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
362 { (exit 1); exit 1; }; }
363 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
364 eval "enable_$ac_feature=no" ;;
366 -enable-* | --enable-*)
367 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
368 # Reject names that are not valid shell variable names.
369 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
370 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
371 { (exit 1); exit 1; }; }
372 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377 eval "enable_$ac_feature='$ac_optarg'" ;;
379 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
380 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
381 | --exec | --exe | --ex)
382 ac_prev=exec_prefix ;;
383 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
384 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
385 | --exec=* | --exe=* | --ex=*)
386 exec_prefix=$ac_optarg ;;
388 -gas | --gas | --ga | --g)
389 # Obsolete; use --with-gas.
392 -help | --help | --hel | --he | -h)
394 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
395 ac_init_help=recursive ;;
396 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
397 ac_init_help=short ;;
399 -host | --host | --hos | --ho)
400 ac_prev=host_alias ;;
401 -host=* | --host=* | --hos=* | --ho=*)
402 host_alias=$ac_optarg ;;
404 -includedir | --includedir | --includedi | --included | --include \
405 | --includ | --inclu | --incl | --inc)
406 ac_prev=includedir ;;
407 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
408 | --includ=* | --inclu=* | --incl=* | --inc=*)
409 includedir=$ac_optarg ;;
411 -infodir | --infodir | --infodi | --infod | --info | --inf)
413 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
414 infodir=$ac_optarg ;;
416 -libdir | --libdir | --libdi | --libd)
418 -libdir=* | --libdir=* | --libdi=* | --libd=*)
421 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
422 | --libexe | --libex | --libe)
423 ac_prev=libexecdir ;;
424 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
425 | --libexe=* | --libex=* | --libe=*)
426 libexecdir=$ac_optarg ;;
428 -localstatedir | --localstatedir | --localstatedi | --localstated \
429 | --localstate | --localstat | --localsta | --localst \
430 | --locals | --local | --loca | --loc | --lo)
431 ac_prev=localstatedir ;;
432 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
433 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
434 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
435 localstatedir=$ac_optarg ;;
437 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
443 # Obsolete; use --without-fp.
446 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
447 | --no-cr | --no-c | -n)
450 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
451 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
454 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
455 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
456 | --oldin | --oldi | --old | --ol | --o)
457 ac_prev=oldincludedir ;;
458 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
459 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
460 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
461 oldincludedir=$ac_optarg ;;
463 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468 -program-prefix | --program-prefix | --program-prefi | --program-pref \
469 | --program-pre | --program-pr | --program-p)
470 ac_prev=program_prefix ;;
471 -program-prefix=* | --program-prefix=* | --program-prefi=* \
472 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
473 program_prefix=$ac_optarg ;;
475 -program-suffix | --program-suffix | --program-suffi | --program-suff \
476 | --program-suf | --program-su | --program-s)
477 ac_prev=program_suffix ;;
478 -program-suffix=* | --program-suffix=* | --program-suffi=* \
479 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
480 program_suffix=$ac_optarg ;;
482 -program-transform-name | --program-transform-name \
483 | --program-transform-nam | --program-transform-na \
484 | --program-transform-n | --program-transform- \
485 | --program-transform | --program-transfor \
486 | --program-transfo | --program-transf \
487 | --program-trans | --program-tran \
488 | --progr-tra | --program-tr | --program-t)
489 ac_prev=program_transform_name ;;
490 -program-transform-name=* | --program-transform-name=* \
491 | --program-transform-nam=* | --program-transform-na=* \
492 | --program-transform-n=* | --program-transform-=* \
493 | --program-transform=* | --program-transfor=* \
494 | --program-transfo=* | --program-transf=* \
495 | --program-trans=* | --program-tran=* \
496 | --progr-tra=* | --program-tr=* | --program-t=*)
497 program_transform_name=$ac_optarg ;;
499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
500 | -silent | --silent | --silen | --sile | --sil)
503 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
505 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
507 sbindir=$ac_optarg ;;
509 -sharedstatedir | --sharedstatedir | --sharedstatedi \
510 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
511 | --sharedst | --shareds | --shared | --share | --shar \
513 ac_prev=sharedstatedir ;;
514 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
515 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
516 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
518 sharedstatedir=$ac_optarg ;;
520 -site | --site | --sit)
522 -site=* | --site=* | --sit=*)
525 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
531 | --syscon | --sysco | --sysc | --sys | --sy)
532 ac_prev=sysconfdir ;;
533 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
534 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
535 sysconfdir=$ac_optarg ;;
537 -target | --target | --targe | --targ | --tar | --ta | --t)
538 ac_prev=target_alias ;;
539 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
540 target_alias=$ac_optarg ;;
542 -v | -verbose | --verbose | --verbos | --verbo | --verb)
545 -version | --version | --versio | --versi | --vers | -V)
549 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
550 # Reject names that are not valid shell variable names.
551 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
552 { echo "$as_me: error: invalid package name: $ac_package" >&2
553 { (exit 1); exit 1; }; }
554 ac_package=`echo $ac_package| sed 's/-/_/g'`
556 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559 eval "with_$ac_package='$ac_optarg'" ;;
561 -without-* | --without-*)
562 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
563 # Reject names that are not valid shell variable names.
564 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
565 { echo "$as_me: error: invalid package name: $ac_package" >&2
566 { (exit 1); exit 1; }; }
567 ac_package=`echo $ac_package | sed 's/-/_/g'`
568 eval "with_$ac_package=no" ;;
571 # Obsolete; use --with-x.
574 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
575 | --x-incl | --x-inc | --x-in | --x-i)
576 ac_prev=x_includes ;;
577 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
578 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
579 x_includes=$ac_optarg ;;
581 -x-libraries | --x-libraries | --x-librarie | --x-librari \
582 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
583 ac_prev=x_libraries ;;
584 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
585 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
586 x_libraries=$ac_optarg ;;
588 -*) { echo "$as_me: error: unrecognized option: $ac_option
589 Try \`$0 --help' for more information." >&2
590 { (exit 1); exit 1; }; }
594 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
595 # Reject names that are not valid shell variable names.
596 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
597 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
598 { (exit 1); exit 1; }; }
599 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
600 eval "$ac_envvar='$ac_optarg'"
604 # FIXME: should be removed in autoconf 3.0.
605 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
606 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
607 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
608 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
614 if test -n "$ac_prev"; then
615 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
616 { echo "$as_me: error: missing argument to $ac_option" >&2
617 { (exit 1); exit 1; }; }
620 # Be sure to have absolute paths.
621 for ac_var in exec_prefix prefix
623 eval ac_val=$`echo $ac_var`
625 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
626 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
627 { (exit 1); exit 1; }; };;
631 # Be sure to have absolute paths.
632 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
633 localstatedir libdir includedir oldincludedir infodir mandir
635 eval ac_val=$`echo $ac_var`
637 [\\/$]* | ?:[\\/]* ) ;;
638 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
639 { (exit 1); exit 1; }; };;
643 # There might be people who depend on the old broken behavior: `$host'
644 # used to hold the argument of --host etc.
645 # FIXME: To remove some day.
650 # FIXME: To remove some day.
651 if test "x$host_alias" != x; then
652 if test "x$build_alias" = x; then
653 cross_compiling=maybe
654 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
655 If a cross compiler is detected then cross compile mode will be used." >&2
656 elif test "x$build_alias" != "x$host_alias"; then
662 test -n "$host_alias" && ac_tool_prefix=$host_alias-
664 test "$silent" = yes && exec 6>/dev/null
667 # Find the source files, if location was not specified.
668 if test -z "$srcdir"; then
669 ac_srcdir_defaulted=yes
670 # Try the directory containing this script, then its parent.
671 ac_confdir=`(dirname "$0") 2>/dev/null ||
672 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
673 X"$0" : 'X\(//\)[^/]' \| \
674 X"$0" : 'X\(//\)$' \| \
675 X"$0" : 'X\(/\)' \| \
676 . : '\(.\)' 2>/dev/null ||
678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
680 /^X\(\/\/\)$/{ s//\1/; q; }
681 /^X\(\/\).*/{ s//\1/; q; }
684 if test ! -r $srcdir/$ac_unique_file; then
688 ac_srcdir_defaulted=no
690 if test ! -r $srcdir/$ac_unique_file; then
691 if test "$ac_srcdir_defaulted" = yes; then
692 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
693 { (exit 1); exit 1; }; }
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
696 { (exit 1); exit 1; }; }
699 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
700 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
701 { (exit 1); exit 1; }; }
702 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
703 ac_env_build_alias_set=${build_alias+set}
704 ac_env_build_alias_value=$build_alias
705 ac_cv_env_build_alias_set=${build_alias+set}
706 ac_cv_env_build_alias_value=$build_alias
707 ac_env_host_alias_set=${host_alias+set}
708 ac_env_host_alias_value=$host_alias
709 ac_cv_env_host_alias_set=${host_alias+set}
710 ac_cv_env_host_alias_value=$host_alias
711 ac_env_target_alias_set=${target_alias+set}
712 ac_env_target_alias_value=$target_alias
713 ac_cv_env_target_alias_set=${target_alias+set}
714 ac_cv_env_target_alias_value=$target_alias
717 # Report the --help message.
719 if test "$ac_init_help" = "long"; then
720 # Omit some internal or obsolete options to make the list less imposing.
721 # This message is too long to be a string in the A/UX 3.1 sh.
723 \`configure' configures this package to adapt to many kinds of systems.
725 Usage: $0 [OPTION]... [VAR=VALUE]...
727 To assign environment variables (e.g., CC, CFLAGS...), specify them as
728 VAR=VALUE. See below for descriptions of some of the useful variables.
730 Defaults for the options are specified in brackets.
733 -h, --help display this help and exit
734 --help=short display options specific to this package
735 --help=recursive display the short help of all the included packages
736 -V, --version display version information and exit
737 -q, --quiet, --silent do not print \`checking...' messages
738 --cache-file=FILE cache test results in FILE [disabled]
739 -C, --config-cache alias for \`--cache-file=config.cache'
740 -n, --no-create do not create output files
741 --srcdir=DIR find the sources in DIR [configure dir or \`..']
746 Installation directories:
747 --prefix=PREFIX install architecture-independent files in PREFIX
749 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
752 By default, \`make install' will install all the files in
753 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
754 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
755 for instance \`--prefix=\$HOME'.
757 For better control, use the options below.
759 Fine tuning of the installation directories:
760 --bindir=DIR user executables [EPREFIX/bin]
761 --sbindir=DIR system admin executables [EPREFIX/sbin]
762 --libexecdir=DIR program executables [EPREFIX/libexec]
763 --datadir=DIR read-only architecture-independent data [PREFIX/share]
764 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
765 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
766 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
767 --libdir=DIR object code libraries [EPREFIX/lib]
768 --includedir=DIR C header files [PREFIX/include]
769 --oldincludedir=DIR C header files for non-gcc [/usr/include]
770 --infodir=DIR info documentation [PREFIX/info]
771 --mandir=DIR man documentation [PREFIX/man]
778 if test -n "$ac_init_help"; then
785 if test "$ac_init_help" = "recursive"; then
786 # If there are subdirs, report their specific --help.
788 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
789 test -d $ac_dir || continue
792 if test "$ac_dir" != .; then
793 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
794 # A "../" for each directory in $ac_dir_suffix.
795 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
797 ac_dir_suffix= ac_top_builddir=
801 .) # No --srcdir option. We are building in place.
803 if test -z "$ac_top_builddir"; then
806 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
808 [\\/]* | ?:[\\/]* ) # Absolute path.
809 ac_srcdir=$srcdir$ac_dir_suffix;
810 ac_top_srcdir=$srcdir ;;
812 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
813 ac_top_srcdir=$ac_top_builddir$srcdir ;;
816 # Do not use `cd foo && pwd` to compute absolute paths, because
817 # the directories may not exist.
819 .) ac_abs_builddir="$ac_dir";;
822 .) ac_abs_builddir=`pwd`;;
823 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
824 *) ac_abs_builddir=`pwd`/"$ac_dir";;
827 case $ac_abs_builddir in
828 .) ac_abs_top_builddir=${ac_top_builddir}.;;
830 case ${ac_top_builddir}. in
831 .) ac_abs_top_builddir=$ac_abs_builddir;;
832 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
833 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
836 case $ac_abs_builddir in
837 .) ac_abs_srcdir=$ac_srcdir;;
840 .) ac_abs_srcdir=$ac_abs_builddir;;
841 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
842 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
845 case $ac_abs_builddir in
846 .) ac_abs_top_srcdir=$ac_top_srcdir;;
848 case $ac_top_srcdir in
849 .) ac_abs_top_srcdir=$ac_abs_builddir;;
850 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
851 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
856 # Check for guested configure; otherwise get Cygnus style configure.
857 if test -f $ac_srcdir/configure.gnu; then
859 $SHELL $ac_srcdir/configure.gnu --help=recursive
860 elif test -f $ac_srcdir/configure; then
862 $SHELL $ac_srcdir/configure --help=recursive
863 elif test -f $ac_srcdir/configure.ac ||
864 test -f $ac_srcdir/configure.in; then
868 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
874 test -n "$ac_init_help" && exit 0
875 if $ac_init_version; then
878 Copyright (C) 2003 Free Software Foundation, Inc.
879 This configure script is free software; the Free Software Foundation
880 gives unlimited permission to copy, distribute and modify it.
886 This file contains any messages produced by compilers while
887 running configure, to aid debugging if configure makes a mistake.
889 It was created by $as_me, which was
890 generated by GNU Autoconf 2.59. Invocation command line was
901 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
902 uname -m = `(uname -m) 2>/dev/null || echo unknown`
903 uname -r = `(uname -r) 2>/dev/null || echo unknown`
904 uname -s = `(uname -s) 2>/dev/null || echo unknown`
905 uname -v = `(uname -v) 2>/dev/null || echo unknown`
907 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
908 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
910 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
911 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
912 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
913 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
914 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
915 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
916 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
924 test -z "$as_dir" && as_dir=.
940 # Keep a trace of the command line.
941 # Strip out --no-create and --no-recursion so they do not pile up.
942 # Strip out --silent because we don't want to record it for future runs.
943 # Also quote any args containing shell meta-characters.
944 # Make two passes to allow for proper duplicate-argument suppression.
949 ac_must_keep_next=false
955 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
956 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
957 | -silent | --silent | --silen | --sile | --sil)
959 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
960 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
963 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
965 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
966 if test $ac_must_keep_next = true; then
967 ac_must_keep_next=false # Got value, back to normal.
970 *=* | --config-cache | -C | -disable-* | --disable-* \
971 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
972 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
973 | -with-* | --with-* | -without-* | --without-* | --x)
974 case "$ac_configure_args0 " in
975 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
978 -* ) ac_must_keep_next=true ;;
981 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
982 # Get rid of the leading space.
988 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
989 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
991 # When interrupted or exit'd, cleanup temporary files, and complete
992 # config.log. We remove comments because anyway the quotes in there
993 # would cause problems or look ugly.
994 # WARNING: Be sure not to use single quotes in there, as some shells,
995 # such as our DU 5.0 friend, will then `close' the trap.
997 # Save into config.log some information that might help in debugging.
1002 ## ---------------- ##
1003 ## Cache variables. ##
1004 ## ---------------- ##
1007 # The following way of writing the cache mishandles newlines in values,
1010 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1013 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1014 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1018 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1025 ## ----------------- ##
1026 ## Output variables. ##
1027 ## ----------------- ##
1030 for ac_var in $ac_subst_vars
1032 eval ac_val=$`echo $ac_var`
1033 echo "$ac_var='"'"'$ac_val'"'"'"
1037 if test -n "$ac_subst_files"; then
1044 for ac_var in $ac_subst_files
1046 eval ac_val=$`echo $ac_var`
1047 echo "$ac_var='"'"'$ac_val'"'"'"
1052 if test -s confdefs.h; then
1059 sed "/^$/d" confdefs.h | sort
1062 test "$ac_signal" != 0 &&
1063 echo "$as_me: caught signal $ac_signal"
1064 echo "$as_me: exit $exit_status"
1066 rm -f core *.core &&
1067 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1070 for ac_signal in 1 2 13 15; do
1071 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1075 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1076 rm -rf conftest* confdefs.h
1077 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1080 # Predefined preprocessor variables.
1082 cat >>confdefs.h <<_ACEOF
1083 #define PACKAGE_NAME "$PACKAGE_NAME"
1087 cat >>confdefs.h <<_ACEOF
1088 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1092 cat >>confdefs.h <<_ACEOF
1093 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1097 cat >>confdefs.h <<_ACEOF
1098 #define PACKAGE_STRING "$PACKAGE_STRING"
1102 cat >>confdefs.h <<_ACEOF
1103 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1107 # Let the site file select an alternate cache file if it wants to.
1108 # Prefer explicitly selected file to automatically selected ones.
1109 if test -z "$CONFIG_SITE"; then
1110 if test "x$prefix" != xNONE; then
1111 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1113 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1116 for ac_site_file in $CONFIG_SITE; do
1117 if test -r "$ac_site_file"; then
1118 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1119 echo "$as_me: loading site script $ac_site_file" >&6;}
1120 sed 's/^/| /' "$ac_site_file" >&5
1125 if test -r "$cache_file"; then
1126 # Some versions of bash will fail to source /dev/null (special
1127 # files actually), so we avoid doing that.
1128 if test -f "$cache_file"; then
1129 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1130 echo "$as_me: loading cache $cache_file" >&6;}
1132 [\\/]* | ?:[\\/]* ) . $cache_file;;
1133 *) . ./$cache_file;;
1137 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1138 echo "$as_me: creating cache $cache_file" >&6;}
1142 # Check that the precious variables saved in the cache have kept the same
1144 ac_cache_corrupted=false
1145 for ac_var in `(set) 2>&1 |
1146 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1147 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1148 eval ac_new_set=\$ac_env_${ac_var}_set
1149 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1150 eval ac_new_val="\$ac_env_${ac_var}_value"
1151 case $ac_old_set,$ac_new_set in
1153 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1154 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1155 ac_cache_corrupted=: ;;
1157 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1158 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1159 ac_cache_corrupted=: ;;
1162 if test "x$ac_old_val" != "x$ac_new_val"; then
1163 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1164 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1165 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1166 echo "$as_me: former value: $ac_old_val" >&2;}
1167 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1168 echo "$as_me: current value: $ac_new_val" >&2;}
1169 ac_cache_corrupted=:
1172 # Pass precious variables to config.status.
1173 if test "$ac_new_set" = set; then
1175 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1176 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1177 *) ac_arg=$ac_var=$ac_new_val ;;
1179 case " $ac_configure_args " in
1180 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1181 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1185 if $ac_cache_corrupted; then
1186 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1187 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1188 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1189 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1190 { (exit 1); exit 1; }; }
1194 ac_cpp='$CPP $CPPFLAGS'
1195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1219 #AC_DEFUN(AC_CONFIG_FILES)
1221 # Checks for programs.
1222 # Extract the first word of "gpasm", so it can be a program name with args.
1223 set dummy gpasm; ac_word=$2
1224 echo "$as_me:$LINENO: checking for $ac_word" >&5
1225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1226 if test "${ac_cv_prog_GPASM+set}" = set; then
1227 echo $ECHO_N "(cached) $ECHO_C" >&6
1229 if test -n "$GPASM"; then
1230 ac_cv_prog_GPASM="$GPASM" # Let the user override the test.
1232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1236 test -z "$as_dir" && as_dir=.
1237 for ac_exec_ext in '' $ac_executable_extensions; do
1238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1239 ac_cv_prog_GPASM="gpasm"
1240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1246 test -z "$ac_cv_prog_GPASM" && ac_cv_prog_GPASM=":"
1249 GPASM=$ac_cv_prog_GPASM
1250 if test -n "$GPASM"; then
1251 echo "$as_me:$LINENO: result: $GPASM" >&5
1252 echo "${ECHO_T}$GPASM" >&6
1254 echo "$as_me:$LINENO: result: no" >&5
1255 echo "${ECHO_T}no" >&6
1258 # Extract the first word of "gplink", so it can be a program name with args.
1259 set dummy gplink; ac_word=$2
1260 echo "$as_me:$LINENO: checking for $ac_word" >&5
1261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1262 if test "${ac_cv_prog_GPLINK+set}" = set; then
1263 echo $ECHO_N "(cached) $ECHO_C" >&6
1265 if test -n "$GPLINK"; then
1266 ac_cv_prog_GPLINK="$GPLINK" # Let the user override the test.
1268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1272 test -z "$as_dir" && as_dir=.
1273 for ac_exec_ext in '' $ac_executable_extensions; do
1274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1275 ac_cv_prog_GPLINK="gplink"
1276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1282 test -z "$ac_cv_prog_GPLINK" && ac_cv_prog_GPLINK=":"
1285 GPLINK=$ac_cv_prog_GPLINK
1286 if test -n "$GPLINK"; then
1287 echo "$as_me:$LINENO: result: $GPLINK" >&5
1288 echo "${ECHO_T}$GPLINK" >&6
1290 echo "$as_me:$LINENO: result: no" >&5
1291 echo "${ECHO_T}no" >&6
1294 # Extract the first word of "gplib", so it can be a program name with args.
1295 set dummy gplib; ac_word=$2
1296 echo "$as_me:$LINENO: checking for $ac_word" >&5
1297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1298 if test "${ac_cv_prog_GPLIB+set}" = set; then
1299 echo $ECHO_N "(cached) $ECHO_C" >&6
1301 if test -n "$GPLIB"; then
1302 ac_cv_prog_GPLIB="$GPLIB" # Let the user override the test.
1304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1308 test -z "$as_dir" && as_dir=.
1309 for ac_exec_ext in '' $ac_executable_extensions; do
1310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1311 ac_cv_prog_GPLIB="gplib"
1312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1318 test -z "$ac_cv_prog_GPLIB" && ac_cv_prog_GPLIB=":"
1321 GPLIB=$ac_cv_prog_GPLIB
1322 if test -n "$GPLIB"; then
1323 echo "$as_me:$LINENO: result: $GPLIB" >&5
1324 echo "${ECHO_T}$GPLIB" >&6
1326 echo "$as_me:$LINENO: result: no" >&5
1327 echo "${ECHO_T}no" >&6
1331 # Extract the first word of "rm", so it can be a program name with args.
1332 set dummy rm; ac_word=$2
1333 echo "$as_me:$LINENO: checking for $ac_word" >&5
1334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1335 if test "${ac_cv_prog_RM+set}" = set; then
1336 echo $ECHO_N "(cached) $ECHO_C" >&6
1338 if test -n "$RM"; then
1339 ac_cv_prog_RM="$RM" # Let the user override the test.
1341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1345 test -z "$as_dir" && as_dir=.
1346 for ac_exec_ext in '' $ac_executable_extensions; do
1347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1348 ac_cv_prog_RM="rm -f"
1349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1355 test -z "$ac_cv_prog_RM" && ac_cv_prog_RM=":"
1359 if test -n "$RM"; then
1360 echo "$as_me:$LINENO: result: $RM" >&5
1361 echo "${ECHO_T}$RM" >&6
1363 echo "$as_me:$LINENO: result: no" >&5
1364 echo "${ECHO_T}no" >&6
1367 # Extract the first word of "cp", so it can be a program name with args.
1368 set dummy cp; ac_word=$2
1369 echo "$as_me:$LINENO: checking for $ac_word" >&5
1370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1371 if test "${ac_cv_prog_CP+set}" = set; then
1372 echo $ECHO_N "(cached) $ECHO_C" >&6
1374 if test -n "$CP"; then
1375 ac_cv_prog_CP="$CP" # Let the user override the test.
1377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1381 test -z "$as_dir" && as_dir=.
1382 for ac_exec_ext in '' $ac_executable_extensions; do
1383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1391 test -z "$ac_cv_prog_CP" && ac_cv_prog_CP=":"
1395 if test -n "$CP"; then
1396 echo "$as_me:$LINENO: result: $CP" >&5
1397 echo "${ECHO_T}$CP" >&6
1399 echo "$as_me:$LINENO: result: no" >&5
1400 echo "${ECHO_T}no" >&6
1403 # Extract the first word of "mv", so it can be a program name with args.
1404 set dummy mv; ac_word=$2
1405 echo "$as_me:$LINENO: checking for $ac_word" >&5
1406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1407 if test "${ac_cv_prog_MV+set}" = set; then
1408 echo $ECHO_N "(cached) $ECHO_C" >&6
1410 if test -n "$MV"; then
1411 ac_cv_prog_MV="$MV" # Let the user override the test.
1413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1417 test -z "$as_dir" && as_dir=.
1418 for ac_exec_ext in '' $ac_executable_extensions; do
1419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1427 test -z "$ac_cv_prog_MV" && ac_cv_prog_MV=":"
1431 if test -n "$MV"; then
1432 echo "$as_me:$LINENO: result: $MV" >&5
1433 echo "${ECHO_T}$MV" >&6
1435 echo "$as_me:$LINENO: result: no" >&5
1436 echo "${ECHO_T}no" >&6
1439 # Extract the first word of "ls", so it can be a program name with args.
1440 set dummy ls; ac_word=$2
1441 echo "$as_me:$LINENO: checking for $ac_word" >&5
1442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1443 if test "${ac_cv_prog_LS+set}" = set; then
1444 echo $ECHO_N "(cached) $ECHO_C" >&6
1446 if test -n "$LS"; then
1447 ac_cv_prog_LS="$LS" # Let the user override the test.
1449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1453 test -z "$as_dir" && as_dir=.
1454 for ac_exec_ext in '' $ac_executable_extensions; do
1455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1463 test -z "$ac_cv_prog_LS" && ac_cv_prog_LS=":"
1467 if test -n "$LS"; then
1468 echo "$as_me:$LINENO: result: $LS" >&5
1469 echo "${ECHO_T}$LS" >&6
1471 echo "$as_me:$LINENO: result: no" >&5
1472 echo "${ECHO_T}no" >&6
1475 # Extract the first word of "sed", so it can be a program name with args.
1476 set dummy sed; ac_word=$2
1477 echo "$as_me:$LINENO: checking for $ac_word" >&5
1478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1479 if test "${ac_cv_prog_SED+set}" = set; then
1480 echo $ECHO_N "(cached) $ECHO_C" >&6
1482 if test -n "$SED"; then
1483 ac_cv_prog_SED="$SED" # Let the user override the test.
1485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1489 test -z "$as_dir" && as_dir=.
1490 for ac_exec_ext in '' $ac_executable_extensions; do
1491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1492 ac_cv_prog_SED="sed"
1493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1499 test -z "$ac_cv_prog_SED" && ac_cv_prog_SED=":"
1503 if test -n "$SED"; then
1504 echo "$as_me:$LINENO: result: $SED" >&5
1505 echo "${ECHO_T}$SED" >&6
1507 echo "$as_me:$LINENO: result: no" >&5
1508 echo "${ECHO_T}no" >&6
1511 echo "$as_me:$LINENO: checking for egrep" >&5
1512 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
1513 if test "${ac_cv_prog_egrep+set}" = set; then
1514 echo $ECHO_N "(cached) $ECHO_C" >&6
1516 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
1517 then ac_cv_prog_egrep='grep -E'
1518 else ac_cv_prog_egrep='egrep'
1521 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
1522 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
1523 EGREP=$ac_cv_prog_egrep
1526 # Extract the first word of "mkdir", so it can be a program name with args.
1527 set dummy mkdir; ac_word=$2
1528 echo "$as_me:$LINENO: checking for $ac_word" >&5
1529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1530 if test "${ac_cv_prog_MKDIR+set}" = set; then
1531 echo $ECHO_N "(cached) $ECHO_C" >&6
1533 if test -n "$MKDIR"; then
1534 ac_cv_prog_MKDIR="$MKDIR" # Let the user override the test.
1536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1540 test -z "$as_dir" && as_dir=.
1541 for ac_exec_ext in '' $ac_executable_extensions; do
1542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1543 ac_cv_prog_MKDIR="mkdir -p"
1544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1550 test -z "$ac_cv_prog_MKDIR" && ac_cv_prog_MKDIR=":"
1553 MKDIR=$ac_cv_prog_MKDIR
1554 if test -n "$MKDIR"; then
1555 echo "$as_me:$LINENO: result: $MKDIR" >&5
1556 echo "${ECHO_T}$MKDIR" >&6
1558 echo "$as_me:$LINENO: result: no" >&5
1559 echo "${ECHO_T}no" >&6
1562 # Extract the first word of "rmdir", so it can be a program name with args.
1563 set dummy rmdir; ac_word=$2
1564 echo "$as_me:$LINENO: checking for $ac_word" >&5
1565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1566 if test "${ac_cv_prog_RMDIR+set}" = set; then
1567 echo $ECHO_N "(cached) $ECHO_C" >&6
1569 if test -n "$RMDIR"; then
1570 ac_cv_prog_RMDIR="$RMDIR" # Let the user override the test.
1572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1576 test -z "$as_dir" && as_dir=.
1577 for ac_exec_ext in '' $ac_executable_extensions; do
1578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1579 ac_cv_prog_RMDIR="rmdir"
1580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1586 test -z "$ac_cv_prog_RMDIR" && ac_cv_prog_RMDIR=":"
1589 RMDIR=$ac_cv_prog_RMDIR
1590 if test -n "$RMDIR"; then
1591 echo "$as_me:$LINENO: result: $RMDIR" >&5
1592 echo "${ECHO_T}$RMDIR" >&6
1594 echo "$as_me:$LINENO: result: no" >&5
1595 echo "${ECHO_T}no" >&6
1599 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1600 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1601 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1602 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1603 echo $ECHO_N "(cached) $ECHO_C" >&6
1605 cat >conftest.make <<\_ACEOF
1607 @echo 'ac_maketemp="$(MAKE)"'
1609 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1610 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1611 if test -n "$ac_maketemp"; then
1612 eval ac_cv_prog_make_${ac_make}_set=yes
1614 eval ac_cv_prog_make_${ac_make}_set=no
1618 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1619 echo "$as_me:$LINENO: result: yes" >&5
1620 echo "${ECHO_T}yes" >&6
1623 echo "$as_me:$LINENO: result: no" >&5
1624 echo "${ECHO_T}no" >&6
1625 SET_MAKE="MAKE=${MAKE-make}"
1629 # Checks for libraries.
1631 # Checks for header files.
1633 # Checks for typedefs, structures, and compiler characteristics.
1635 # Checks for library functions.
1637 $CP "$srcdir"/pics.all pics.build
1639 ac_config_files="$ac_config_files Makefile Makefile.common debug/Makefile debug/gstack/Makefile libc/Makefile libc/ctype/Makefile libc/delay/Makefile libc/stdio/Makefile libc/stdlib/Makefile libc/string/Makefile libc/utils/Makefile libdev/Makefile libio/Makefile libio/adc/Makefile libio/i2c/Makefile libio/usart/Makefile libm/Makefile libsdcc/Makefile libsdcc/char/Makefile libsdcc/fixed16x16/Makefile libsdcc/float/Makefile libsdcc/gptr/Makefile libsdcc/int/Makefile libsdcc/long/Makefile libsdcc/lregs/Makefile startup/Makefile"
1641 cat >confcache <<\_ACEOF
1642 # This file is a shell script that caches the results of configure
1643 # tests run on this system so they can be shared between configure
1644 # scripts and configure runs, see configure's option --config-cache.
1645 # It is not useful on other systems. If it contains results you don't
1646 # want to keep, you may remove or edit it.
1648 # config.status only pays attention to the cache file if you give it
1649 # the --recheck option to rerun configure.
1651 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1652 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1657 # The following way of writing the cache mishandles newlines in values,
1658 # but we know of no workaround that is simple, portable, and efficient.
1659 # So, don't put newlines in cache variables' values.
1660 # Ultrix sh set writes to stderr and can't be redirected directly,
1661 # and sets the high bit in the cache file unless we assign to the vars.
1664 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1666 # `set' does not quote correctly, so add quotes (double-quote
1667 # substitution turns \\\\ into \\, and sed turns \\ into \).
1670 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1673 # `set' quotes correctly as required by POSIX, so do not add quotes.
1675 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1682 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1684 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1686 if diff $cache_file confcache >/dev/null 2>&1; then :; else
1687 if test -w $cache_file; then
1688 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1689 cat confcache >$cache_file
1691 echo "not updating unwritable cache $cache_file"
1696 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1697 # Let make expand exec_prefix.
1698 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1700 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1701 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1702 # trailing colons and then remove the whole line if VPATH becomes empty
1703 # (actually we leave an empty line to preserve line numbers).
1704 if test "x$srcdir" = x.; then
1705 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1706 s/:*\$(srcdir):*/:/;
1707 s/:*\${srcdir}:*/:/;
1709 s/^\([^=]*=[ ]*\):*/\1/;
1715 # Transform confdefs.h into DEFS.
1716 # Protect against shell expansion while executing Makefile rules.
1717 # Protect against Makefile macro expansion.
1719 # If the first sed substitution is executed (which looks for macros that
1720 # take arguments), then we branch to the quote section. Otherwise,
1721 # look for a macro that doesn't take arguments.
1722 cat >confdef2opt.sed <<\_ACEOF
1725 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1727 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1731 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1737 # We use echo to avoid assuming a particular line-breaking character.
1738 # The extra dot is to prevent the shell from consuming trailing
1739 # line-breaks from the sub-command output. A line-break within
1740 # single-quotes doesn't work because, if this script is created in a
1741 # platform that uses two characters for line-breaks (e.g., DOS), tr
1743 ac_LF_and_DOT=`echo; echo .`
1744 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1745 rm -f confdef2opt.sed
1750 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1751 # 1. Remove the extension, and $U if already installed.
1752 ac_i=`echo "$ac_i" |
1753 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1755 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1756 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1760 LTLIBOBJS=$ac_ltlibobjs
1764 : ${CONFIG_STATUS=./config.status}
1765 ac_clean_files_save=$ac_clean_files
1766 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1767 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1768 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1769 cat >$CONFIG_STATUS <<_ACEOF
1771 # Generated by $as_me.
1772 # Run this file to recreate the current configuration.
1773 # Compiler output produced by configure, useful for debugging
1774 # configure, is in config.log if it exists.
1779 SHELL=\${CONFIG_SHELL-$SHELL}
1782 cat >>$CONFIG_STATUS <<\_ACEOF
1783 ## --------------------- ##
1784 ## M4sh Initialization. ##
1785 ## --------------------- ##
1787 # Be Bourne compatible
1788 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1791 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1792 # is contrary to our usage. Disable this feature.
1793 alias -g '${1+"$@"}'='"$@"'
1794 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1797 DUALCASE=1; export DUALCASE # for MKS sh
1799 # Support unset when possible.
1800 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1807 # Work around bugs in pre-3.0 UWIN ksh.
1808 $as_unset ENV MAIL MAILPATH
1815 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1816 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1817 LC_TELEPHONE LC_TIME
1819 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1820 eval $as_var=C; export $as_var
1826 # Required to use basename.
1827 if expr a : '\(a\)' >/dev/null 2>&1; then
1833 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1834 as_basename=basename
1840 # Name of the executable.
1841 as_me=`$as_basename "$0" ||
1842 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1843 X"$0" : 'X\(//\)$' \| \
1844 X"$0" : 'X\(/\)$' \| \
1845 . : '\(.\)' 2>/dev/null ||
1847 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1848 /^X\/\(\/\/\)$/{ s//\1/; q; }
1849 /^X\/\(\/\).*/{ s//\1/; q; }
1853 # PATH needs CR, and LINENO needs CR and PATH.
1854 # Avoid depending upon Character Ranges.
1855 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1856 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1857 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1858 as_cr_digits='0123456789'
1859 as_cr_alnum=$as_cr_Letters$as_cr_digits
1861 # The user is always right.
1862 if test "${PATH_SEPARATOR+set}" != set; then
1863 echo "#! /bin/sh" >conf$$.sh
1864 echo "exit 0" >>conf$$.sh
1866 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1877 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1878 test "x$as_lineno_1" != "x$as_lineno_2" &&
1879 test "x$as_lineno_3" = "x$as_lineno_2" || {
1880 # Find who we are. Look in the path if we contain no path at all
1883 *[\\/]* ) as_myself=$0 ;;
1884 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1888 test -z "$as_dir" && as_dir=.
1889 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1894 # We did not find ourselves, most probably we were run as `sh COMMAND'
1895 # in which case we are not to be found in the path.
1896 if test "x$as_myself" = x; then
1899 if test ! -f "$as_myself"; then
1900 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1901 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1902 { (exit 1); exit 1; }; }
1904 case $CONFIG_SHELL in
1906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1907 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1910 test -z "$as_dir" && as_dir=.
1911 for as_base in sh bash ksh sh5; do
1914 if ("$as_dir/$as_base" -c '
1917 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1918 test "x$as_lineno_1" != "x$as_lineno_2" &&
1919 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1920 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1921 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1922 CONFIG_SHELL=$as_dir/$as_base
1924 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1932 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1933 # uniformly replaced by the line number. The first 'sed' inserts a
1934 # line-number line before each line; the second 'sed' does the real
1935 # work. The second script uses 'N' to pair each line-number line
1936 # with the numbered line, and appends trailing '-' during
1937 # substitution so that $LINENO is not a special case at line end.
1938 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1939 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1940 sed '=' <$as_myself |
1945 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1948 s,^['$as_cr_digits']*\n,,
1950 chmod +x $as_me.lineno ||
1951 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1952 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1953 { (exit 1); exit 1; }; }
1955 # Don't try to exec as it changes $[0], causing all sort of problems
1956 # (the dirname of $[0] is not the place where we might find the
1957 # original and so on. Autoconf is especially sensible to this).
1959 # Exit status is that of the last command.
1964 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1965 *c*,-n*) ECHO_N= ECHO_C='
1967 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1968 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1971 if expr a : '\(a\)' >/dev/null 2>&1; then
1977 rm -f conf$$ conf$$.exe conf$$.file
1979 if ln -s conf$$.file conf$$ 2>/dev/null; then
1980 # We could just check for DJGPP; but this test a) works b) is more generic
1981 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1982 if test -f conf$$.exe; then
1983 # Don't use ln at all; we don't have any links
1988 elif ln conf$$.file conf$$ 2>/dev/null; then
1993 rm -f conf$$ conf$$.exe conf$$.file
1995 if mkdir -p . 2>/dev/null; then
1998 test -d ./-p && rmdir ./-p
2002 as_executable_p="test -f"
2004 # Sed expression to map a string onto a valid CPP name.
2005 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2007 # Sed expression to map a string onto a valid variable name.
2008 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2012 # We need space, tab and new line, in precisely that order.
2022 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2023 # report actual input values of CONFIG_FILES etc. instead of their
2024 # values after options handling. Logging --version etc. is OK.
2028 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2029 ## Running $as_me. ##
2034 This file was extended by $as_me, which was
2035 generated by GNU Autoconf 2.59. Invocation command line was
2037 CONFIG_FILES = $CONFIG_FILES
2038 CONFIG_HEADERS = $CONFIG_HEADERS
2039 CONFIG_LINKS = $CONFIG_LINKS
2040 CONFIG_COMMANDS = $CONFIG_COMMANDS
2044 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2048 # Files that config.status was made for.
2049 if test -n "$ac_config_files"; then
2050 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2053 if test -n "$ac_config_headers"; then
2054 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2057 if test -n "$ac_config_links"; then
2058 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2061 if test -n "$ac_config_commands"; then
2062 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2065 cat >>$CONFIG_STATUS <<\_ACEOF
2068 \`$as_me' instantiates files from templates according to the
2069 current configuration.
2071 Usage: $0 [OPTIONS] [FILE]...
2073 -h, --help print this help, then exit
2074 -V, --version print version number, then exit
2075 -q, --quiet do not print progress messages
2076 -d, --debug don't remove temporary files
2077 --recheck update $as_me by reconfiguring in the same conditions
2078 --file=FILE[:TEMPLATE]
2079 instantiate the configuration file FILE
2081 Configuration files:
2084 Report bugs to <bug-autoconf@gnu.org>."
2087 cat >>$CONFIG_STATUS <<_ACEOF
2090 configured by $0, generated by GNU Autoconf 2.59,
2091 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2093 Copyright (C) 2003 Free Software Foundation, Inc.
2094 This config.status script is free software; the Free Software Foundation
2095 gives unlimited permission to copy, distribute and modify it."
2099 cat >>$CONFIG_STATUS <<\_ACEOF
2100 # If no file are specified by the user, then we need to provide default
2101 # value. By we need to know if files were specified by the user.
2107 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2108 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2116 *) # This is not an option, so the user has probably given explicit
2119 ac_need_defaults=false;;
2123 # Handling of the options.
2125 cat >>$CONFIG_STATUS <<\_ACEOF
2126 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2128 --version | --vers* | -V )
2129 echo "$ac_cs_version"; exit 0 ;;
2131 # Conflict between --help and --header
2132 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2133 Try \`$0 --help' for more information." >&5
2134 echo "$as_me: error: ambiguous option: $1
2135 Try \`$0 --help' for more information." >&2;}
2136 { (exit 1); exit 1; }; };;
2137 --help | --hel | -h )
2138 echo "$ac_cs_usage"; exit 0 ;;
2139 --debug | --d* | -d )
2141 --file | --fil | --fi | --f )
2143 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2144 ac_need_defaults=false;;
2145 --header | --heade | --head | --hea )
2147 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2148 ac_need_defaults=false;;
2149 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2150 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2154 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2155 Try \`$0 --help' for more information." >&5
2156 echo "$as_me: error: unrecognized option: $1
2157 Try \`$0 --help' for more information." >&2;}
2158 { (exit 1); exit 1; }; } ;;
2160 *) ac_config_targets="$ac_config_targets $1" ;;
2166 ac_configure_extra_args=
2168 if $ac_cs_silent; then
2170 ac_configure_extra_args="$ac_configure_extra_args --silent"
2174 cat >>$CONFIG_STATUS <<_ACEOF
2175 if \$ac_cs_recheck; then
2176 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2177 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2186 cat >>$CONFIG_STATUS <<\_ACEOF
2187 for ac_config_target in $ac_config_targets
2189 case "$ac_config_target" in
2190 # Handling of arguments.
2191 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2192 "Makefile.common" ) CONFIG_FILES="$CONFIG_FILES Makefile.common" ;;
2193 "debug/Makefile" ) CONFIG_FILES="$CONFIG_FILES debug/Makefile" ;;
2194 "debug/gstack/Makefile" ) CONFIG_FILES="$CONFIG_FILES debug/gstack/Makefile" ;;
2195 "libc/Makefile" ) CONFIG_FILES="$CONFIG_FILES libc/Makefile" ;;
2196 "libc/ctype/Makefile" ) CONFIG_FILES="$CONFIG_FILES libc/ctype/Makefile" ;;
2197 "libc/delay/Makefile" ) CONFIG_FILES="$CONFIG_FILES libc/delay/Makefile" ;;
2198 "libc/stdio/Makefile" ) CONFIG_FILES="$CONFIG_FILES libc/stdio/Makefile" ;;
2199 "libc/stdlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES libc/stdlib/Makefile" ;;
2200 "libc/string/Makefile" ) CONFIG_FILES="$CONFIG_FILES libc/string/Makefile" ;;
2201 "libc/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES libc/utils/Makefile" ;;
2202 "libdev/Makefile" ) CONFIG_FILES="$CONFIG_FILES libdev/Makefile" ;;
2203 "libio/Makefile" ) CONFIG_FILES="$CONFIG_FILES libio/Makefile" ;;
2204 "libio/adc/Makefile" ) CONFIG_FILES="$CONFIG_FILES libio/adc/Makefile" ;;
2205 "libio/i2c/Makefile" ) CONFIG_FILES="$CONFIG_FILES libio/i2c/Makefile" ;;
2206 "libio/usart/Makefile" ) CONFIG_FILES="$CONFIG_FILES libio/usart/Makefile" ;;
2207 "libm/Makefile" ) CONFIG_FILES="$CONFIG_FILES libm/Makefile" ;;
2208 "libsdcc/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsdcc/Makefile" ;;
2209 "libsdcc/char/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsdcc/char/Makefile" ;;
2210 "libsdcc/fixed16x16/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsdcc/fixed16x16/Makefile" ;;
2211 "libsdcc/float/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsdcc/float/Makefile" ;;
2212 "libsdcc/gptr/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsdcc/gptr/Makefile" ;;
2213 "libsdcc/int/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsdcc/int/Makefile" ;;
2214 "libsdcc/long/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsdcc/long/Makefile" ;;
2215 "libsdcc/lregs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsdcc/lregs/Makefile" ;;
2216 "startup/Makefile" ) CONFIG_FILES="$CONFIG_FILES startup/Makefile" ;;
2217 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2218 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2219 { (exit 1); exit 1; }; };;
2223 # If the user did not use the arguments to specify the items to instantiate,
2224 # then the envvar interface is used. Set only those that are not.
2225 # We use the long form for the default assignment because of an extremely
2226 # bizarre bug on SunOS 4.1.3.
2227 if $ac_need_defaults; then
2228 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2231 # Have a temporary directory for convenience. Make it in the build tree
2232 # simply because there is no reason to put it here, and in addition,
2233 # creating and moving files from /tmp can sometimes cause problems.
2234 # Create a temporary directory, and hook for its removal unless debugging.
2237 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2238 trap '{ (exit 1); exit 1; }' 1 2 13 15
2241 # Create a (secure) tmp directory for tmp files.
2244 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2245 test -n "$tmp" && test -d "$tmp"
2248 tmp=./confstat$$-$RANDOM
2249 (umask 077 && mkdir $tmp)
2252 echo "$me: cannot create a temporary directory in ." >&2
2253 { (exit 1); exit 1; }
2258 cat >>$CONFIG_STATUS <<_ACEOF
2261 # CONFIG_FILES section.
2264 # No need to generate the scripts if there are no CONFIG_FILES.
2265 # This happens for instance when ./config.status config.h
2266 if test -n "\$CONFIG_FILES"; then
2267 # Protect against being on the right side of a sed subst in config.status.
2268 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2269 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2270 s,@SHELL@,$SHELL,;t t
2271 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2272 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2273 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2274 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2275 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2276 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2277 s,@exec_prefix@,$exec_prefix,;t t
2278 s,@prefix@,$prefix,;t t
2279 s,@program_transform_name@,$program_transform_name,;t t
2280 s,@bindir@,$bindir,;t t
2281 s,@sbindir@,$sbindir,;t t
2282 s,@libexecdir@,$libexecdir,;t t
2283 s,@datadir@,$datadir,;t t
2284 s,@sysconfdir@,$sysconfdir,;t t
2285 s,@sharedstatedir@,$sharedstatedir,;t t
2286 s,@localstatedir@,$localstatedir,;t t
2287 s,@libdir@,$libdir,;t t
2288 s,@includedir@,$includedir,;t t
2289 s,@oldincludedir@,$oldincludedir,;t t
2290 s,@infodir@,$infodir,;t t
2291 s,@mandir@,$mandir,;t t
2292 s,@build_alias@,$build_alias,;t t
2293 s,@host_alias@,$host_alias,;t t
2294 s,@target_alias@,$target_alias,;t t
2296 s,@ECHO_C@,$ECHO_C,;t t
2297 s,@ECHO_N@,$ECHO_N,;t t
2298 s,@ECHO_T@,$ECHO_T,;t t
2300 s,@GPASM@,$GPASM,;t t
2301 s,@GPLINK@,$GPLINK,;t t
2302 s,@GPLIB@,$GPLIB,;t t
2308 s,@EGREP@,$EGREP,;t t
2309 s,@MKDIR@,$MKDIR,;t t
2310 s,@RMDIR@,$RMDIR,;t t
2311 s,@SET_MAKE@,$SET_MAKE,;t t
2312 s,@LIBOBJS@,$LIBOBJS,;t t
2313 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2318 cat >>$CONFIG_STATUS <<\_ACEOF
2319 # Split the substitutions into bite-sized pieces for seds with
2320 # small command number limits, like on Digital OSF/1 and HP-UX.
2322 ac_sed_frag=1 # Number of current file.
2323 ac_beg=1 # First line for current file.
2324 ac_end=$ac_max_sed_lines # Line after last line for current file.
2327 while $ac_more_lines; do
2328 if test $ac_beg -gt 1; then
2329 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2331 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2333 if test ! -s $tmp/subs.frag; then
2336 # The purpose of the label and of the branching condition is to
2337 # speed up the sed processing (if there are no `@' at all, there
2338 # is no need to browse any of the substitutions).
2339 # These are the two extra sed commands mentioned above.
2341 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2342 if test -z "$ac_sed_cmds"; then
2343 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2345 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2347 ac_sed_frag=`expr $ac_sed_frag + 1`
2349 ac_end=`expr $ac_end + $ac_max_sed_lines`
2352 if test -z "$ac_sed_cmds"; then
2355 fi # test -n "$CONFIG_FILES"
2358 cat >>$CONFIG_STATUS <<\_ACEOF
2359 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2360 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2362 - | *:- | *:-:* ) # input from stdin
2364 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2365 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2366 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2367 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2368 * ) ac_file_in=$ac_file.in ;;
2371 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2372 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2373 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2374 X"$ac_file" : 'X\(//\)[^/]' \| \
2375 X"$ac_file" : 'X\(//\)$' \| \
2376 X"$ac_file" : 'X\(/\)' \| \
2377 . : '\(.\)' 2>/dev/null ||
2379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2380 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2381 /^X\(\/\/\)$/{ s//\1/; q; }
2382 /^X\(\/\).*/{ s//\1/; q; }
2384 { if $as_mkdir_p; then
2389 while test ! -d "$as_dir"; do
2390 as_dirs="$as_dir $as_dirs"
2391 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2392 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2393 X"$as_dir" : 'X\(//\)[^/]' \| \
2394 X"$as_dir" : 'X\(//\)$' \| \
2395 X"$as_dir" : 'X\(/\)' \| \
2396 . : '\(.\)' 2>/dev/null ||
2398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2399 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2400 /^X\(\/\/\)$/{ s//\1/; q; }
2401 /^X\(\/\).*/{ s//\1/; q; }
2404 test ! -n "$as_dirs" || mkdir $as_dirs
2405 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2406 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2407 { (exit 1); exit 1; }; }; }
2411 if test "$ac_dir" != .; then
2412 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2413 # A "../" for each directory in $ac_dir_suffix.
2414 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2416 ac_dir_suffix= ac_top_builddir=
2420 .) # No --srcdir option. We are building in place.
2422 if test -z "$ac_top_builddir"; then
2425 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2427 [\\/]* | ?:[\\/]* ) # Absolute path.
2428 ac_srcdir=$srcdir$ac_dir_suffix;
2429 ac_top_srcdir=$srcdir ;;
2431 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2432 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2435 # Do not use `cd foo && pwd` to compute absolute paths, because
2436 # the directories may not exist.
2438 .) ac_abs_builddir="$ac_dir";;
2441 .) ac_abs_builddir=`pwd`;;
2442 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2443 *) ac_abs_builddir=`pwd`/"$ac_dir";;
2446 case $ac_abs_builddir in
2447 .) ac_abs_top_builddir=${ac_top_builddir}.;;
2449 case ${ac_top_builddir}. in
2450 .) ac_abs_top_builddir=$ac_abs_builddir;;
2451 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2452 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2455 case $ac_abs_builddir in
2456 .) ac_abs_srcdir=$ac_srcdir;;
2459 .) ac_abs_srcdir=$ac_abs_builddir;;
2460 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2461 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2464 case $ac_abs_builddir in
2465 .) ac_abs_top_srcdir=$ac_top_srcdir;;
2467 case $ac_top_srcdir in
2468 .) ac_abs_top_srcdir=$ac_abs_builddir;;
2469 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2470 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2476 if test x"$ac_file" != x-; then
2477 { echo "$as_me:$LINENO: creating $ac_file" >&5
2478 echo "$as_me: creating $ac_file" >&6;}
2481 # Let's still pretend it is `configure' which instantiates (i.e., don't
2482 # use $as_me), people would be surprised to read:
2483 # /* config.h. Generated by config.status. */
2484 if test x"$ac_file" = x-; then
2487 configure_input="$ac_file. "
2489 configure_input=$configure_input"Generated from `echo $ac_file_in |
2490 sed 's,.*/,,'` by configure."
2492 # First look for the input files in the build tree, otherwise in the
2494 ac_file_inputs=`IFS=:
2495 for f in $ac_file_in; do
2497 -) echo $tmp/stdin ;;
2499 # Absolute (can't be DOS-style, as IFS=:)
2500 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2501 echo "$as_me: error: cannot find input file: $f" >&2;}
2502 { (exit 1); exit 1; }; }
2505 if test -f "$f"; then
2508 elif test -f "$srcdir/$f"; then
2513 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2514 echo "$as_me: error: cannot find input file: $f" >&2;}
2515 { (exit 1); exit 1; }; }
2518 done` || { (exit 1); exit 1; }
2520 cat >>$CONFIG_STATUS <<_ACEOF
2524 cat >>$CONFIG_STATUS <<\_ACEOF
2526 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2527 s,@configure_input@,$configure_input,;t t
2528 s,@srcdir@,$ac_srcdir,;t t
2529 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2530 s,@top_srcdir@,$ac_top_srcdir,;t t
2531 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2532 s,@builddir@,$ac_builddir,;t t
2533 s,@abs_builddir@,$ac_abs_builddir,;t t
2534 s,@top_builddir@,$ac_top_builddir,;t t
2535 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2536 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2538 if test x"$ac_file" != x-; then
2539 mv $tmp/out $ac_file
2548 cat >>$CONFIG_STATUS <<\_ACEOF
2550 { (exit 0); exit 0; }
2552 chmod +x $CONFIG_STATUS
2553 ac_clean_files=$ac_clean_files_save
2556 # configure is writing to config.log, and then calls config.status.
2557 # config.status does its own redirection, appending to config.log.
2558 # Unfortunately, on DOS this fails, as config.log is still kept open
2559 # by configure, so config.status won't be able to write to it; its
2560 # output is simply discarded. So we exec the FD to /dev/null,
2561 # effectively closing config.log, so it can be properly (re)opened and
2562 # appended to by config.status. When coming back to configure, we
2563 # need to make the FD available again.
2564 if test "$no_create" != yes; then
2566 ac_config_status_args=
2567 test "$silent" = yes &&
2568 ac_config_status_args="$ac_config_status_args --quiet"
2570 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2572 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2573 # would make configure fail if this is the last instruction.
2574 $ac_cs_success || { (exit 1); exit 1; }