]> git.gag.com Git - fw/sdcc/blob - device/lib/pic16/configure
* device/include/pic16/pic18f66j60.h,
[fw/sdcc] / device / lib / pic16 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization.  ##
11 ## --------------------- ##
12
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
16   emulate sh
17   NULLCMD=:
18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19   # is contrary to our usage.  Disable this feature.
20   alias -g '${1+"$@"}'='"$@"'
21   setopt NO_GLOB_SUBST
22 else
23   case `(set -o) 2>/dev/null` in
24   *posix*) set -o posix ;;
25 esac
26
27 fi
28
29
30
31
32 # PATH needs CR
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
39
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42   echo "#! /bin/sh" >conf$$.sh
43   echo  "exit 0"   >>conf$$.sh
44   chmod +x conf$$.sh
45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46     PATH_SEPARATOR=';'
47   else
48     PATH_SEPARATOR=:
49   fi
50   rm -f conf$$.sh
51 fi
52
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55   as_unset=unset
56 else
57   as_unset=false
58 fi
59
60
61 # IFS
62 # We need space, tab and new line, in precisely that order.  Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
66 as_nl='
67 '
68 IFS=" ""        $as_nl"
69
70 # Find who we are.  Look in the path if we contain no directory separator.
71 case $0 in
72   *[\\/]* ) as_myself=$0 ;;
73   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
75 do
76   IFS=$as_save_IFS
77   test -z "$as_dir" && as_dir=.
78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
81
82      ;;
83 esac
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
87   as_myself=$0
88 fi
89 if test ! -f "$as_myself"; then
90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91   { (exit 1); exit 1; }
92 fi
93
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
101
102 # NLS nuisances.
103 for as_var in \
104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106   LC_TELEPHONE LC_TIME
107 do
108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109     eval $as_var=C; export $as_var
110   else
111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112   fi
113 done
114
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117    test "X`expr 00001 : '.*\(...\)'`" = X001; then
118   as_expr=expr
119 else
120   as_expr=false
121 fi
122
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124   as_basename=basename
125 else
126   as_basename=false
127 fi
128
129
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133          X"$0" : 'X\(//\)$' \| \
134          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 echo X/"$0" |
136     sed '/^.*\/\([^/][^/]*\)\/*$/{
137             s//\1/
138             q
139           }
140           /^X\/\(\/\/\)$/{
141             s//\1/
142             q
143           }
144           /^X\/\(\/\).*/{
145             s//\1/
146             q
147           }
148           s/.*/./; q'`
149
150 # CDPATH.
151 $as_unset CDPATH
152
153
154 if test "x$CONFIG_SHELL" = x; then
155   if (eval ":") 2>/dev/null; then
156   as_have_required=yes
157 else
158   as_have_required=no
159 fi
160
161   if test $as_have_required = yes &&     (eval ":
162 (as_func_return () {
163   (exit \$1)
164 }
165 as_func_success () {
166   as_func_return 0
167 }
168 as_func_failure () {
169   as_func_return 1
170 }
171 as_func_ret_success () {
172   return 0
173 }
174 as_func_ret_failure () {
175   return 1
176 }
177
178 exitcode=0
179 if as_func_success; then
180   :
181 else
182   exitcode=1
183   echo as_func_success failed.
184 fi
185
186 if as_func_failure; then
187   exitcode=1
188   echo as_func_failure succeeded.
189 fi
190
191 if as_func_ret_success; then
192   :
193 else
194   exitcode=1
195   echo as_func_ret_success failed.
196 fi
197
198 if as_func_ret_failure; then
199   exitcode=1
200   echo as_func_ret_failure succeeded.
201 fi
202
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204   :
205 else
206   exitcode=1
207   echo positional parameters were not saved.
208 fi
209
210 test \$exitcode = 0) || { (exit 1); exit 1; }
211
212 (
213   as_lineno_1=\$LINENO
214   as_lineno_2=\$LINENO
215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
218   :
219 else
220   as_candidate_shells=
221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 do
224   IFS=$as_save_IFS
225   test -z "$as_dir" && as_dir=.
226   case $as_dir in
227          /*)
228            for as_base in sh bash ksh sh5; do
229              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230            done;;
231        esac
232 done
233 IFS=$as_save_IFS
234
235
236       for as_shell in $as_candidate_shells $SHELL; do
237          # Try only shells that exist, to save several forks.
238          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239                 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241   emulate sh
242   NULLCMD=:
243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244   # is contrary to our usage.  Disable this feature.
245   alias -g '${1+"$@"}'='"$@"'
246   setopt NO_GLOB_SUBST
247 else
248   case `(set -o) 2>/dev/null` in
249   *posix*) set -o posix ;;
250 esac
251
252 fi
253
254
255 :
256 _ASEOF
257 }; then
258   CONFIG_SHELL=$as_shell
259                as_have_required=yes
260                if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262   emulate sh
263   NULLCMD=:
264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265   # is contrary to our usage.  Disable this feature.
266   alias -g '${1+"$@"}'='"$@"'
267   setopt NO_GLOB_SUBST
268 else
269   case `(set -o) 2>/dev/null` in
270   *posix*) set -o posix ;;
271 esac
272
273 fi
274
275
276 :
277 (as_func_return () {
278   (exit $1)
279 }
280 as_func_success () {
281   as_func_return 0
282 }
283 as_func_failure () {
284   as_func_return 1
285 }
286 as_func_ret_success () {
287   return 0
288 }
289 as_func_ret_failure () {
290   return 1
291 }
292
293 exitcode=0
294 if as_func_success; then
295   :
296 else
297   exitcode=1
298   echo as_func_success failed.
299 fi
300
301 if as_func_failure; then
302   exitcode=1
303   echo as_func_failure succeeded.
304 fi
305
306 if as_func_ret_success; then
307   :
308 else
309   exitcode=1
310   echo as_func_ret_success failed.
311 fi
312
313 if as_func_ret_failure; then
314   exitcode=1
315   echo as_func_ret_failure succeeded.
316 fi
317
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
319   :
320 else
321   exitcode=1
322   echo positional parameters were not saved.
323 fi
324
325 test $exitcode = 0) || { (exit 1); exit 1; }
326
327 (
328   as_lineno_1=$LINENO
329   as_lineno_2=$LINENO
330   test "x$as_lineno_1" != "x$as_lineno_2" &&
331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
333 _ASEOF
334 }; then
335   break
336 fi
337
338 fi
339
340       done
341
342       if test "x$CONFIG_SHELL" != x; then
343   for as_var in BASH_ENV ENV
344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345         done
346         export CONFIG_SHELL
347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348 fi
349
350
351     if test $as_have_required = no; then
352   echo This script requires a shell more modern than all the
353       echo shells that I found on your system.  Please install a
354       echo modern shell, or manually run the script under such a
355       echo shell if you do have one.
356       { (exit 1); exit 1; }
357 fi
358
359
360 fi
361
362 fi
363
364
365
366 (eval "as_func_return () {
367   (exit \$1)
368 }
369 as_func_success () {
370   as_func_return 0
371 }
372 as_func_failure () {
373   as_func_return 1
374 }
375 as_func_ret_success () {
376   return 0
377 }
378 as_func_ret_failure () {
379   return 1
380 }
381
382 exitcode=0
383 if as_func_success; then
384   :
385 else
386   exitcode=1
387   echo as_func_success failed.
388 fi
389
390 if as_func_failure; then
391   exitcode=1
392   echo as_func_failure succeeded.
393 fi
394
395 if as_func_ret_success; then
396   :
397 else
398   exitcode=1
399   echo as_func_ret_success failed.
400 fi
401
402 if as_func_ret_failure; then
403   exitcode=1
404   echo as_func_ret_failure succeeded.
405 fi
406
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408   :
409 else
410   exitcode=1
411   echo positional parameters were not saved.
412 fi
413
414 test \$exitcode = 0") || {
415   echo No shell found that supports shell functions.
416   echo Please tell autoconf@gnu.org about your system,
417   echo including any error possibly output before this
418   echo message
419 }
420
421
422
423   as_lineno_1=$LINENO
424   as_lineno_2=$LINENO
425   test "x$as_lineno_1" != "x$as_lineno_2" &&
426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429   # uniformly replaced by the line number.  The first 'sed' inserts a
430   # line-number line after each line using $LINENO; the second 'sed'
431   # does the real work.  The second script uses 'N' to pair each
432   # line-number line with the line containing $LINENO, and appends
433   # trailing '-' during substitution so that $LINENO is not a special
434   # case at line end.
435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436   # scripts with optimization help from Paolo Bonzini.  Blame Lee
437   # E. McMahon (1931-1989) for sed's syntax.  :-)
438   sed -n '
439     p
440     /[$]LINENO/=
441   ' <$as_myself |
442     sed '
443       s/[$]LINENO.*/&-/
444       t lineno
445       b
446       :lineno
447       N
448       :loop
449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450       t loop
451       s/-\n.*//
452     ' >$as_me.lineno &&
453   chmod +x "$as_me.lineno" ||
454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455    { (exit 1); exit 1; }; }
456
457   # Don't try to exec as it changes $[0], causing all sort of problems
458   # (the dirname of $[0] is not the place where we might find the
459   # original and so on.  Autoconf is especially sensitive to this).
460   . "./$as_me.lineno"
461   # Exit status is that of the last command.
462   exit
463 }
464
465
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467   as_dirname=dirname
468 else
469   as_dirname=false
470 fi
471
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in
474 -n*)
475   case `echo 'x\c'` in
476   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477   *)   ECHO_C='\c';;
478   esac;;
479 *)
480   ECHO_N='-n';;
481 esac
482
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
485   as_expr=expr
486 else
487   as_expr=false
488 fi
489
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492   rm -f conf$$.dir/conf$$.file
493 else
494   rm -f conf$$.dir
495   mkdir conf$$.dir
496 fi
497 echo >conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
499   as_ln_s='ln -s'
500   # ... but there are two gotchas:
501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503   # In both cases, we have to default to `cp -p'.
504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505     as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507   as_ln_s=ln
508 else
509   as_ln_s='cp -p'
510 fi
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
513
514 if mkdir -p . 2>/dev/null; then
515   as_mkdir_p=:
516 else
517   test -d ./-p && rmdir ./-p
518   as_mkdir_p=false
519 fi
520
521 if test -x / >/dev/null 2>&1; then
522   as_test_x='test -x'
523 else
524   if ls -dL / >/dev/null 2>&1; then
525     as_ls_L_option=L
526   else
527     as_ls_L_option=
528   fi
529   as_test_x='
530     eval sh -c '\''
531       if test -d "$1"; then
532         test -d "$1/.";
533       else
534         case $1 in
535         -*)set "./$1";;
536         esac;
537         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538         ???[sx]*):;;*)false;;esac;fi
539     '\'' sh
540   '
541 fi
542 as_executable_p=$as_test_x
543
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
550
551
552 exec 7<&0 </dev/null 6>&1
553
554 # Name of the host.
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559 #
560 # Initializations.
561 #
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570 SHELL=${CONFIG_SHELL-/bin/sh}
571
572 # Identity of this package.
573 PACKAGE_NAME=
574 PACKAGE_TARNAME=
575 PACKAGE_VERSION=
576 PACKAGE_STRING=
577 PACKAGE_BUGREPORT=
578
579 ac_subst_vars='SHELL
580 PATH_SEPARATOR
581 PACKAGE_NAME
582 PACKAGE_TARNAME
583 PACKAGE_VERSION
584 PACKAGE_STRING
585 PACKAGE_BUGREPORT
586 exec_prefix
587 prefix
588 program_transform_name
589 bindir
590 sbindir
591 libexecdir
592 datarootdir
593 datadir
594 sysconfdir
595 sharedstatedir
596 localstatedir
597 includedir
598 oldincludedir
599 docdir
600 infodir
601 htmldir
602 dvidir
603 pdfdir
604 psdir
605 libdir
606 localedir
607 mandir
608 DEFS
609 ECHO_C
610 ECHO_N
611 ECHO_T
612 LIBS
613 build_alias
614 host_alias
615 target_alias
616 GPASM
617 GPLINK
618 GPLIB
619 RM
620 CP
621 MV
622 LS
623 SED
624 GREP
625 EGREP
626 MKDIR
627 RMDIR
628 SET_MAKE
629 LIBOBJS
630 LTLIBOBJS'
631 ac_subst_files=''
632       ac_precious_vars='build_alias
633 host_alias
634 target_alias'
635
636
637 # Initialize some variables set by options.
638 ac_init_help=
639 ac_init_version=false
640 # The variables have the same names as the options, with
641 # dashes changed to underlines.
642 cache_file=/dev/null
643 exec_prefix=NONE
644 no_create=
645 no_recursion=
646 prefix=NONE
647 program_prefix=NONE
648 program_suffix=NONE
649 program_transform_name=s,x,x,
650 silent=
651 site=
652 srcdir=
653 verbose=
654 x_includes=NONE
655 x_libraries=NONE
656
657 # Installation directory options.
658 # These are left unexpanded so users can "make install exec_prefix=/foo"
659 # and all the variables that are supposed to be based on exec_prefix
660 # by default will actually change.
661 # Use braces instead of parens because sh, perl, etc. also accept them.
662 # (The list follows the same order as the GNU Coding Standards.)
663 bindir='${exec_prefix}/bin'
664 sbindir='${exec_prefix}/sbin'
665 libexecdir='${exec_prefix}/libexec'
666 datarootdir='${prefix}/share'
667 datadir='${datarootdir}'
668 sysconfdir='${prefix}/etc'
669 sharedstatedir='${prefix}/com'
670 localstatedir='${prefix}/var'
671 includedir='${prefix}/include'
672 oldincludedir='/usr/include'
673 docdir='${datarootdir}/doc/${PACKAGE}'
674 infodir='${datarootdir}/info'
675 htmldir='${docdir}'
676 dvidir='${docdir}'
677 pdfdir='${docdir}'
678 psdir='${docdir}'
679 libdir='${exec_prefix}/lib'
680 localedir='${datarootdir}/locale'
681 mandir='${datarootdir}/man'
682
683 ac_prev=
684 ac_dashdash=
685 for ac_option
686 do
687   # If the previous option needs an argument, assign it.
688   if test -n "$ac_prev"; then
689     eval $ac_prev=\$ac_option
690     ac_prev=
691     continue
692   fi
693
694   case $ac_option in
695   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
696   *)    ac_optarg=yes ;;
697   esac
698
699   # Accept the important Cygnus configure options, so we can diagnose typos.
700
701   case $ac_dashdash$ac_option in
702   --)
703     ac_dashdash=yes ;;
704
705   -bindir | --bindir | --bindi | --bind | --bin | --bi)
706     ac_prev=bindir ;;
707   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
708     bindir=$ac_optarg ;;
709
710   -build | --build | --buil | --bui | --bu)
711     ac_prev=build_alias ;;
712   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
713     build_alias=$ac_optarg ;;
714
715   -cache-file | --cache-file | --cache-fil | --cache-fi \
716   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
717     ac_prev=cache_file ;;
718   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
719   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
720     cache_file=$ac_optarg ;;
721
722   --config-cache | -C)
723     cache_file=config.cache ;;
724
725   -datadir | --datadir | --datadi | --datad)
726     ac_prev=datadir ;;
727   -datadir=* | --datadir=* | --datadi=* | --datad=*)
728     datadir=$ac_optarg ;;
729
730   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
731   | --dataroo | --dataro | --datar)
732     ac_prev=datarootdir ;;
733   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
734   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
735     datarootdir=$ac_optarg ;;
736
737   -disable-* | --disable-*)
738     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
739     # Reject names that are not valid shell variable names.
740     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
741       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
742    { (exit 1); exit 1; }; }
743     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
744     eval enable_$ac_feature=no ;;
745
746   -docdir | --docdir | --docdi | --doc | --do)
747     ac_prev=docdir ;;
748   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
749     docdir=$ac_optarg ;;
750
751   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
752     ac_prev=dvidir ;;
753   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
754     dvidir=$ac_optarg ;;
755
756   -enable-* | --enable-*)
757     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
758     # Reject names that are not valid shell variable names.
759     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
760       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
761    { (exit 1); exit 1; }; }
762     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
763     eval enable_$ac_feature=\$ac_optarg ;;
764
765   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
766   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
767   | --exec | --exe | --ex)
768     ac_prev=exec_prefix ;;
769   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
770   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
771   | --exec=* | --exe=* | --ex=*)
772     exec_prefix=$ac_optarg ;;
773
774   -gas | --gas | --ga | --g)
775     # Obsolete; use --with-gas.
776     with_gas=yes ;;
777
778   -help | --help | --hel | --he | -h)
779     ac_init_help=long ;;
780   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
781     ac_init_help=recursive ;;
782   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
783     ac_init_help=short ;;
784
785   -host | --host | --hos | --ho)
786     ac_prev=host_alias ;;
787   -host=* | --host=* | --hos=* | --ho=*)
788     host_alias=$ac_optarg ;;
789
790   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
791     ac_prev=htmldir ;;
792   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
793   | --ht=*)
794     htmldir=$ac_optarg ;;
795
796   -includedir | --includedir | --includedi | --included | --include \
797   | --includ | --inclu | --incl | --inc)
798     ac_prev=includedir ;;
799   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
800   | --includ=* | --inclu=* | --incl=* | --inc=*)
801     includedir=$ac_optarg ;;
802
803   -infodir | --infodir | --infodi | --infod | --info | --inf)
804     ac_prev=infodir ;;
805   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
806     infodir=$ac_optarg ;;
807
808   -libdir | --libdir | --libdi | --libd)
809     ac_prev=libdir ;;
810   -libdir=* | --libdir=* | --libdi=* | --libd=*)
811     libdir=$ac_optarg ;;
812
813   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
814   | --libexe | --libex | --libe)
815     ac_prev=libexecdir ;;
816   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
817   | --libexe=* | --libex=* | --libe=*)
818     libexecdir=$ac_optarg ;;
819
820   -localedir | --localedir | --localedi | --localed | --locale)
821     ac_prev=localedir ;;
822   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
823     localedir=$ac_optarg ;;
824
825   -localstatedir | --localstatedir | --localstatedi | --localstated \
826   | --localstate | --localstat | --localsta | --localst | --locals)
827     ac_prev=localstatedir ;;
828   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
829   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
830     localstatedir=$ac_optarg ;;
831
832   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
833     ac_prev=mandir ;;
834   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
835     mandir=$ac_optarg ;;
836
837   -nfp | --nfp | --nf)
838     # Obsolete; use --without-fp.
839     with_fp=no ;;
840
841   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
842   | --no-cr | --no-c | -n)
843     no_create=yes ;;
844
845   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
846   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
847     no_recursion=yes ;;
848
849   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
850   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
851   | --oldin | --oldi | --old | --ol | --o)
852     ac_prev=oldincludedir ;;
853   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
854   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
855   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
856     oldincludedir=$ac_optarg ;;
857
858   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
859     ac_prev=prefix ;;
860   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
861     prefix=$ac_optarg ;;
862
863   -program-prefix | --program-prefix | --program-prefi | --program-pref \
864   | --program-pre | --program-pr | --program-p)
865     ac_prev=program_prefix ;;
866   -program-prefix=* | --program-prefix=* | --program-prefi=* \
867   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
868     program_prefix=$ac_optarg ;;
869
870   -program-suffix | --program-suffix | --program-suffi | --program-suff \
871   | --program-suf | --program-su | --program-s)
872     ac_prev=program_suffix ;;
873   -program-suffix=* | --program-suffix=* | --program-suffi=* \
874   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
875     program_suffix=$ac_optarg ;;
876
877   -program-transform-name | --program-transform-name \
878   | --program-transform-nam | --program-transform-na \
879   | --program-transform-n | --program-transform- \
880   | --program-transform | --program-transfor \
881   | --program-transfo | --program-transf \
882   | --program-trans | --program-tran \
883   | --progr-tra | --program-tr | --program-t)
884     ac_prev=program_transform_name ;;
885   -program-transform-name=* | --program-transform-name=* \
886   | --program-transform-nam=* | --program-transform-na=* \
887   | --program-transform-n=* | --program-transform-=* \
888   | --program-transform=* | --program-transfor=* \
889   | --program-transfo=* | --program-transf=* \
890   | --program-trans=* | --program-tran=* \
891   | --progr-tra=* | --program-tr=* | --program-t=*)
892     program_transform_name=$ac_optarg ;;
893
894   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
895     ac_prev=pdfdir ;;
896   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
897     pdfdir=$ac_optarg ;;
898
899   -psdir | --psdir | --psdi | --psd | --ps)
900     ac_prev=psdir ;;
901   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
902     psdir=$ac_optarg ;;
903
904   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
905   | -silent | --silent | --silen | --sile | --sil)
906     silent=yes ;;
907
908   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
909     ac_prev=sbindir ;;
910   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
911   | --sbi=* | --sb=*)
912     sbindir=$ac_optarg ;;
913
914   -sharedstatedir | --sharedstatedir | --sharedstatedi \
915   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
916   | --sharedst | --shareds | --shared | --share | --shar \
917   | --sha | --sh)
918     ac_prev=sharedstatedir ;;
919   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
920   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
921   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
922   | --sha=* | --sh=*)
923     sharedstatedir=$ac_optarg ;;
924
925   -site | --site | --sit)
926     ac_prev=site ;;
927   -site=* | --site=* | --sit=*)
928     site=$ac_optarg ;;
929
930   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
931     ac_prev=srcdir ;;
932   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
933     srcdir=$ac_optarg ;;
934
935   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
936   | --syscon | --sysco | --sysc | --sys | --sy)
937     ac_prev=sysconfdir ;;
938   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
939   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
940     sysconfdir=$ac_optarg ;;
941
942   -target | --target | --targe | --targ | --tar | --ta | --t)
943     ac_prev=target_alias ;;
944   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
945     target_alias=$ac_optarg ;;
946
947   -v | -verbose | --verbose | --verbos | --verbo | --verb)
948     verbose=yes ;;
949
950   -version | --version | --versio | --versi | --vers | -V)
951     ac_init_version=: ;;
952
953   -with-* | --with-*)
954     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
955     # Reject names that are not valid shell variable names.
956     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
957       { echo "$as_me: error: invalid package name: $ac_package" >&2
958    { (exit 1); exit 1; }; }
959     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
960     eval with_$ac_package=\$ac_optarg ;;
961
962   -without-* | --without-*)
963     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
964     # Reject names that are not valid shell variable names.
965     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
966       { echo "$as_me: error: invalid package name: $ac_package" >&2
967    { (exit 1); exit 1; }; }
968     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
969     eval with_$ac_package=no ;;
970
971   --x)
972     # Obsolete; use --with-x.
973     with_x=yes ;;
974
975   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
976   | --x-incl | --x-inc | --x-in | --x-i)
977     ac_prev=x_includes ;;
978   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
979   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
980     x_includes=$ac_optarg ;;
981
982   -x-libraries | --x-libraries | --x-librarie | --x-librari \
983   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
984     ac_prev=x_libraries ;;
985   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
986   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
987     x_libraries=$ac_optarg ;;
988
989   -*) { echo "$as_me: error: unrecognized option: $ac_option
990 Try \`$0 --help' for more information." >&2
991    { (exit 1); exit 1; }; }
992     ;;
993
994   *=*)
995     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
996     # Reject names that are not valid shell variable names.
997     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
998       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
999    { (exit 1); exit 1; }; }
1000     eval $ac_envvar=\$ac_optarg
1001     export $ac_envvar ;;
1002
1003   *)
1004     # FIXME: should be removed in autoconf 3.0.
1005     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1006     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1007       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1008     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1009     ;;
1010
1011   esac
1012 done
1013
1014 if test -n "$ac_prev"; then
1015   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1016   { echo "$as_me: error: missing argument to $ac_option" >&2
1017    { (exit 1); exit 1; }; }
1018 fi
1019
1020 # Be sure to have absolute directory names.
1021 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1022                 datadir sysconfdir sharedstatedir localstatedir includedir \
1023                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1024                 libdir localedir mandir
1025 do
1026   eval ac_val=\$$ac_var
1027   case $ac_val in
1028     [\\/$]* | ?:[\\/]* )  continue;;
1029     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1030   esac
1031   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1032    { (exit 1); exit 1; }; }
1033 done
1034
1035 # There might be people who depend on the old broken behavior: `$host'
1036 # used to hold the argument of --host etc.
1037 # FIXME: To remove some day.
1038 build=$build_alias
1039 host=$host_alias
1040 target=$target_alias
1041
1042 # FIXME: To remove some day.
1043 if test "x$host_alias" != x; then
1044   if test "x$build_alias" = x; then
1045     cross_compiling=maybe
1046     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1047     If a cross compiler is detected then cross compile mode will be used." >&2
1048   elif test "x$build_alias" != "x$host_alias"; then
1049     cross_compiling=yes
1050   fi
1051 fi
1052
1053 ac_tool_prefix=
1054 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1055
1056 test "$silent" = yes && exec 6>/dev/null
1057
1058
1059 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1060 ac_ls_di=`ls -di .` &&
1061 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1062   { echo "$as_me: error: Working directory cannot be determined" >&2
1063    { (exit 1); exit 1; }; }
1064 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1065   { echo "$as_me: error: pwd does not report name of working directory" >&2
1066    { (exit 1); exit 1; }; }
1067
1068
1069 # Find the source files, if location was not specified.
1070 if test -z "$srcdir"; then
1071   ac_srcdir_defaulted=yes
1072   # Try the directory containing this script, then the parent directory.
1073   ac_confdir=`$as_dirname -- "$0" ||
1074 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1075          X"$0" : 'X\(//\)[^/]' \| \
1076          X"$0" : 'X\(//\)$' \| \
1077          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1078 echo X"$0" |
1079     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1080             s//\1/
1081             q
1082           }
1083           /^X\(\/\/\)[^/].*/{
1084             s//\1/
1085             q
1086           }
1087           /^X\(\/\/\)$/{
1088             s//\1/
1089             q
1090           }
1091           /^X\(\/\).*/{
1092             s//\1/
1093             q
1094           }
1095           s/.*/./; q'`
1096   srcdir=$ac_confdir
1097   if test ! -r "$srcdir/$ac_unique_file"; then
1098     srcdir=..
1099   fi
1100 else
1101   ac_srcdir_defaulted=no
1102 fi
1103 if test ! -r "$srcdir/$ac_unique_file"; then
1104   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1105   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1106    { (exit 1); exit 1; }; }
1107 fi
1108 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1109 ac_abs_confdir=`(
1110         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1111    { (exit 1); exit 1; }; }
1112         pwd)`
1113 # When building in place, set srcdir=.
1114 if test "$ac_abs_confdir" = "$ac_pwd"; then
1115   srcdir=.
1116 fi
1117 # Remove unnecessary trailing slashes from srcdir.
1118 # Double slashes in file names in object file debugging info
1119 # mess up M-x gdb in Emacs.
1120 case $srcdir in
1121 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1122 esac
1123 for ac_var in $ac_precious_vars; do
1124   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1125   eval ac_env_${ac_var}_value=\$${ac_var}
1126   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1127   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1128 done
1129
1130 #
1131 # Report the --help message.
1132 #
1133 if test "$ac_init_help" = "long"; then
1134   # Omit some internal or obsolete options to make the list less imposing.
1135   # This message is too long to be a string in the A/UX 3.1 sh.
1136   cat <<_ACEOF
1137 \`configure' configures this package to adapt to many kinds of systems.
1138
1139 Usage: $0 [OPTION]... [VAR=VALUE]...
1140
1141 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1142 VAR=VALUE.  See below for descriptions of some of the useful variables.
1143
1144 Defaults for the options are specified in brackets.
1145
1146 Configuration:
1147   -h, --help              display this help and exit
1148       --help=short        display options specific to this package
1149       --help=recursive    display the short help of all the included packages
1150   -V, --version           display version information and exit
1151   -q, --quiet, --silent   do not print \`checking...' messages
1152       --cache-file=FILE   cache test results in FILE [disabled]
1153   -C, --config-cache      alias for \`--cache-file=config.cache'
1154   -n, --no-create         do not create output files
1155       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1156
1157 Installation directories:
1158   --prefix=PREFIX         install architecture-independent files in PREFIX
1159                           [$ac_default_prefix]
1160   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1161                           [PREFIX]
1162
1163 By default, \`make install' will install all the files in
1164 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1165 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1166 for instance \`--prefix=\$HOME'.
1167
1168 For better control, use the options below.
1169
1170 Fine tuning of the installation directories:
1171   --bindir=DIR           user executables [EPREFIX/bin]
1172   --sbindir=DIR          system admin executables [EPREFIX/sbin]
1173   --libexecdir=DIR       program executables [EPREFIX/libexec]
1174   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1175   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1176   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1177   --libdir=DIR           object code libraries [EPREFIX/lib]
1178   --includedir=DIR       C header files [PREFIX/include]
1179   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1180   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1181   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1182   --infodir=DIR          info documentation [DATAROOTDIR/info]
1183   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1184   --mandir=DIR           man documentation [DATAROOTDIR/man]
1185   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1186   --htmldir=DIR          html documentation [DOCDIR]
1187   --dvidir=DIR           dvi documentation [DOCDIR]
1188   --pdfdir=DIR           pdf documentation [DOCDIR]
1189   --psdir=DIR            ps documentation [DOCDIR]
1190 _ACEOF
1191
1192   cat <<\_ACEOF
1193 _ACEOF
1194 fi
1195
1196 if test -n "$ac_init_help"; then
1197
1198   cat <<\_ACEOF
1199
1200 _ACEOF
1201 ac_status=$?
1202 fi
1203
1204 if test "$ac_init_help" = "recursive"; then
1205   # If there are subdirs, report their specific --help.
1206   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1207     test -d "$ac_dir" || continue
1208     ac_builddir=.
1209
1210 case "$ac_dir" in
1211 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1212 *)
1213   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1214   # A ".." for each directory in $ac_dir_suffix.
1215   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1216   case $ac_top_builddir_sub in
1217   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1218   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1219   esac ;;
1220 esac
1221 ac_abs_top_builddir=$ac_pwd
1222 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1223 # for backward compatibility:
1224 ac_top_builddir=$ac_top_build_prefix
1225
1226 case $srcdir in
1227   .)  # We are building in place.
1228     ac_srcdir=.
1229     ac_top_srcdir=$ac_top_builddir_sub
1230     ac_abs_top_srcdir=$ac_pwd ;;
1231   [\\/]* | ?:[\\/]* )  # Absolute name.
1232     ac_srcdir=$srcdir$ac_dir_suffix;
1233     ac_top_srcdir=$srcdir
1234     ac_abs_top_srcdir=$srcdir ;;
1235   *) # Relative name.
1236     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1237     ac_top_srcdir=$ac_top_build_prefix$srcdir
1238     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1239 esac
1240 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1241
1242     cd "$ac_dir" || { ac_status=$?; continue; }
1243     # Check for guested configure.
1244     if test -f "$ac_srcdir/configure.gnu"; then
1245       echo &&
1246       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1247     elif test -f "$ac_srcdir/configure"; then
1248       echo &&
1249       $SHELL "$ac_srcdir/configure" --help=recursive
1250     else
1251       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1252     fi || ac_status=$?
1253     cd "$ac_pwd" || { ac_status=$?; break; }
1254   done
1255 fi
1256
1257 test -n "$ac_init_help" && exit $ac_status
1258 if $ac_init_version; then
1259   cat <<\_ACEOF
1260 configure
1261 generated by GNU Autoconf 2.61
1262
1263 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1264 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1265 This configure script is free software; the Free Software Foundation
1266 gives unlimited permission to copy, distribute and modify it.
1267 _ACEOF
1268   exit
1269 fi
1270 cat >config.log <<_ACEOF
1271 This file contains any messages produced by compilers while
1272 running configure, to aid debugging if configure makes a mistake.
1273
1274 It was created by $as_me, which was
1275 generated by GNU Autoconf 2.61.  Invocation command line was
1276
1277   $ $0 $@
1278
1279 _ACEOF
1280 exec 5>>config.log
1281 {
1282 cat <<_ASUNAME
1283 ## --------- ##
1284 ## Platform. ##
1285 ## --------- ##
1286
1287 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1288 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1289 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1290 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1291 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1292
1293 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1294 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1295
1296 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1297 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1298 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1299 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1300 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1301 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1302 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1303
1304 _ASUNAME
1305
1306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1307 for as_dir in $PATH
1308 do
1309   IFS=$as_save_IFS
1310   test -z "$as_dir" && as_dir=.
1311   echo "PATH: $as_dir"
1312 done
1313 IFS=$as_save_IFS
1314
1315 } >&5
1316
1317 cat >&5 <<_ACEOF
1318
1319
1320 ## ----------- ##
1321 ## Core tests. ##
1322 ## ----------- ##
1323
1324 _ACEOF
1325
1326
1327 # Keep a trace of the command line.
1328 # Strip out --no-create and --no-recursion so they do not pile up.
1329 # Strip out --silent because we don't want to record it for future runs.
1330 # Also quote any args containing shell meta-characters.
1331 # Make two passes to allow for proper duplicate-argument suppression.
1332 ac_configure_args=
1333 ac_configure_args0=
1334 ac_configure_args1=
1335 ac_must_keep_next=false
1336 for ac_pass in 1 2
1337 do
1338   for ac_arg
1339   do
1340     case $ac_arg in
1341     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1342     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1343     | -silent | --silent | --silen | --sile | --sil)
1344       continue ;;
1345     *\'*)
1346       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1347     esac
1348     case $ac_pass in
1349     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1350     2)
1351       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1352       if test $ac_must_keep_next = true; then
1353         ac_must_keep_next=false # Got value, back to normal.
1354       else
1355         case $ac_arg in
1356           *=* | --config-cache | -C | -disable-* | --disable-* \
1357           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1358           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1359           | -with-* | --with-* | -without-* | --without-* | --x)
1360             case "$ac_configure_args0 " in
1361               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1362             esac
1363             ;;
1364           -* ) ac_must_keep_next=true ;;
1365         esac
1366       fi
1367       ac_configure_args="$ac_configure_args '$ac_arg'"
1368       ;;
1369     esac
1370   done
1371 done
1372 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1373 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1374
1375 # When interrupted or exit'd, cleanup temporary files, and complete
1376 # config.log.  We remove comments because anyway the quotes in there
1377 # would cause problems or look ugly.
1378 # WARNING: Use '\'' to represent an apostrophe within the trap.
1379 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1380 trap 'exit_status=$?
1381   # Save into config.log some information that might help in debugging.
1382   {
1383     echo
1384
1385     cat <<\_ASBOX
1386 ## ---------------- ##
1387 ## Cache variables. ##
1388 ## ---------------- ##
1389 _ASBOX
1390     echo
1391     # The following way of writing the cache mishandles newlines in values,
1392 (
1393   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1394     eval ac_val=\$$ac_var
1395     case $ac_val in #(
1396     *${as_nl}*)
1397       case $ac_var in #(
1398       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1399 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1400       esac
1401       case $ac_var in #(
1402       _ | IFS | as_nl) ;; #(
1403       *) $as_unset $ac_var ;;
1404       esac ;;
1405     esac
1406   done
1407   (set) 2>&1 |
1408     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1409     *${as_nl}ac_space=\ *)
1410       sed -n \
1411         "s/'\''/'\''\\\\'\'''\''/g;
1412           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1413       ;; #(
1414     *)
1415       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1416       ;;
1417     esac |
1418     sort
1419 )
1420     echo
1421
1422     cat <<\_ASBOX
1423 ## ----------------- ##
1424 ## Output variables. ##
1425 ## ----------------- ##
1426 _ASBOX
1427     echo
1428     for ac_var in $ac_subst_vars
1429     do
1430       eval ac_val=\$$ac_var
1431       case $ac_val in
1432       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1433       esac
1434       echo "$ac_var='\''$ac_val'\''"
1435     done | sort
1436     echo
1437
1438     if test -n "$ac_subst_files"; then
1439       cat <<\_ASBOX
1440 ## ------------------- ##
1441 ## File substitutions. ##
1442 ## ------------------- ##
1443 _ASBOX
1444       echo
1445       for ac_var in $ac_subst_files
1446       do
1447         eval ac_val=\$$ac_var
1448         case $ac_val in
1449         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1450         esac
1451         echo "$ac_var='\''$ac_val'\''"
1452       done | sort
1453       echo
1454     fi
1455
1456     if test -s confdefs.h; then
1457       cat <<\_ASBOX
1458 ## ----------- ##
1459 ## confdefs.h. ##
1460 ## ----------- ##
1461 _ASBOX
1462       echo
1463       cat confdefs.h
1464       echo
1465     fi
1466     test "$ac_signal" != 0 &&
1467       echo "$as_me: caught signal $ac_signal"
1468     echo "$as_me: exit $exit_status"
1469   } >&5
1470   rm -f core *.core core.conftest.* &&
1471     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1472     exit $exit_status
1473 ' 0
1474 for ac_signal in 1 2 13 15; do
1475   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1476 done
1477 ac_signal=0
1478
1479 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1480 rm -f -r conftest* confdefs.h
1481
1482 # Predefined preprocessor variables.
1483
1484 cat >>confdefs.h <<_ACEOF
1485 #define PACKAGE_NAME "$PACKAGE_NAME"
1486 _ACEOF
1487
1488
1489 cat >>confdefs.h <<_ACEOF
1490 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1491 _ACEOF
1492
1493
1494 cat >>confdefs.h <<_ACEOF
1495 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1496 _ACEOF
1497
1498
1499 cat >>confdefs.h <<_ACEOF
1500 #define PACKAGE_STRING "$PACKAGE_STRING"
1501 _ACEOF
1502
1503
1504 cat >>confdefs.h <<_ACEOF
1505 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1506 _ACEOF
1507
1508
1509 # Let the site file select an alternate cache file if it wants to.
1510 # Prefer explicitly selected file to automatically selected ones.
1511 if test -n "$CONFIG_SITE"; then
1512   set x "$CONFIG_SITE"
1513 elif test "x$prefix" != xNONE; then
1514   set x "$prefix/share/config.site" "$prefix/etc/config.site"
1515 else
1516   set x "$ac_default_prefix/share/config.site" \
1517         "$ac_default_prefix/etc/config.site"
1518 fi
1519 shift
1520 for ac_site_file
1521 do
1522   if test -r "$ac_site_file"; then
1523     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1524 echo "$as_me: loading site script $ac_site_file" >&6;}
1525     sed 's/^/| /' "$ac_site_file" >&5
1526     . "$ac_site_file"
1527   fi
1528 done
1529
1530 if test -r "$cache_file"; then
1531   # Some versions of bash will fail to source /dev/null (special
1532   # files actually), so we avoid doing that.
1533   if test -f "$cache_file"; then
1534     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1535 echo "$as_me: loading cache $cache_file" >&6;}
1536     case $cache_file in
1537       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1538       *)                      . "./$cache_file";;
1539     esac
1540   fi
1541 else
1542   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1543 echo "$as_me: creating cache $cache_file" >&6;}
1544   >$cache_file
1545 fi
1546
1547 # Check that the precious variables saved in the cache have kept the same
1548 # value.
1549 ac_cache_corrupted=false
1550 for ac_var in $ac_precious_vars; do
1551   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1552   eval ac_new_set=\$ac_env_${ac_var}_set
1553   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1554   eval ac_new_val=\$ac_env_${ac_var}_value
1555   case $ac_old_set,$ac_new_set in
1556     set,)
1557       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1558 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1559       ac_cache_corrupted=: ;;
1560     ,set)
1561       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1562 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1563       ac_cache_corrupted=: ;;
1564     ,);;
1565     *)
1566       if test "x$ac_old_val" != "x$ac_new_val"; then
1567         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1568 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1569         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1570 echo "$as_me:   former value:  $ac_old_val" >&2;}
1571         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1572 echo "$as_me:   current value: $ac_new_val" >&2;}
1573         ac_cache_corrupted=:
1574       fi;;
1575   esac
1576   # Pass precious variables to config.status.
1577   if test "$ac_new_set" = set; then
1578     case $ac_new_val in
1579     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1580     *) ac_arg=$ac_var=$ac_new_val ;;
1581     esac
1582     case " $ac_configure_args " in
1583       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1584       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1585     esac
1586   fi
1587 done
1588 if $ac_cache_corrupted; then
1589   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1590 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1591   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1592 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1593    { (exit 1); exit 1; }; }
1594 fi
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612 ac_ext=c
1613 ac_cpp='$CPP $CPPFLAGS'
1614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1617
1618
1619
1620
1621 #AC_DEFUN(AC_CONFIG_FILES)
1622
1623 # Checks for programs.
1624 # Extract the first word of "gpasm", so it can be a program name with args.
1625 set dummy gpasm; ac_word=$2
1626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1628 if test "${ac_cv_prog_GPASM+set}" = set; then
1629   echo $ECHO_N "(cached) $ECHO_C" >&6
1630 else
1631   if test -n "$GPASM"; then
1632   ac_cv_prog_GPASM="$GPASM" # Let the user override the test.
1633 else
1634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1635 for as_dir in $PATH
1636 do
1637   IFS=$as_save_IFS
1638   test -z "$as_dir" && as_dir=.
1639   for ac_exec_ext in '' $ac_executable_extensions; do
1640   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1641     ac_cv_prog_GPASM="gpasm"
1642     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1643     break 2
1644   fi
1645 done
1646 done
1647 IFS=$as_save_IFS
1648
1649   test -z "$ac_cv_prog_GPASM" && ac_cv_prog_GPASM=":"
1650 fi
1651 fi
1652 GPASM=$ac_cv_prog_GPASM
1653 if test -n "$GPASM"; then
1654   { echo "$as_me:$LINENO: result: $GPASM" >&5
1655 echo "${ECHO_T}$GPASM" >&6; }
1656 else
1657   { echo "$as_me:$LINENO: result: no" >&5
1658 echo "${ECHO_T}no" >&6; }
1659 fi
1660
1661
1662 # Extract the first word of "gplink", so it can be a program name with args.
1663 set dummy gplink; ac_word=$2
1664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1666 if test "${ac_cv_prog_GPLINK+set}" = set; then
1667   echo $ECHO_N "(cached) $ECHO_C" >&6
1668 else
1669   if test -n "$GPLINK"; then
1670   ac_cv_prog_GPLINK="$GPLINK" # Let the user override the test.
1671 else
1672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1673 for as_dir in $PATH
1674 do
1675   IFS=$as_save_IFS
1676   test -z "$as_dir" && as_dir=.
1677   for ac_exec_ext in '' $ac_executable_extensions; do
1678   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1679     ac_cv_prog_GPLINK="gplink"
1680     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1681     break 2
1682   fi
1683 done
1684 done
1685 IFS=$as_save_IFS
1686
1687   test -z "$ac_cv_prog_GPLINK" && ac_cv_prog_GPLINK=":"
1688 fi
1689 fi
1690 GPLINK=$ac_cv_prog_GPLINK
1691 if test -n "$GPLINK"; then
1692   { echo "$as_me:$LINENO: result: $GPLINK" >&5
1693 echo "${ECHO_T}$GPLINK" >&6; }
1694 else
1695   { echo "$as_me:$LINENO: result: no" >&5
1696 echo "${ECHO_T}no" >&6; }
1697 fi
1698
1699
1700 # Extract the first word of "gplib", so it can be a program name with args.
1701 set dummy gplib; ac_word=$2
1702 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1704 if test "${ac_cv_prog_GPLIB+set}" = set; then
1705   echo $ECHO_N "(cached) $ECHO_C" >&6
1706 else
1707   if test -n "$GPLIB"; then
1708   ac_cv_prog_GPLIB="$GPLIB" # Let the user override the test.
1709 else
1710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711 for as_dir in $PATH
1712 do
1713   IFS=$as_save_IFS
1714   test -z "$as_dir" && as_dir=.
1715   for ac_exec_ext in '' $ac_executable_extensions; do
1716   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1717     ac_cv_prog_GPLIB="gplib"
1718     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1719     break 2
1720   fi
1721 done
1722 done
1723 IFS=$as_save_IFS
1724
1725   test -z "$ac_cv_prog_GPLIB" && ac_cv_prog_GPLIB=":"
1726 fi
1727 fi
1728 GPLIB=$ac_cv_prog_GPLIB
1729 if test -n "$GPLIB"; then
1730   { echo "$as_me:$LINENO: result: $GPLIB" >&5
1731 echo "${ECHO_T}$GPLIB" >&6; }
1732 else
1733   { echo "$as_me:$LINENO: result: no" >&5
1734 echo "${ECHO_T}no" >&6; }
1735 fi
1736
1737
1738
1739 # Extract the first word of "rm", so it can be a program name with args.
1740 set dummy rm; ac_word=$2
1741 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1743 if test "${ac_cv_prog_RM+set}" = set; then
1744   echo $ECHO_N "(cached) $ECHO_C" >&6
1745 else
1746   if test -n "$RM"; then
1747   ac_cv_prog_RM="$RM" # Let the user override the test.
1748 else
1749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1750 for as_dir in $PATH
1751 do
1752   IFS=$as_save_IFS
1753   test -z "$as_dir" && as_dir=.
1754   for ac_exec_ext in '' $ac_executable_extensions; do
1755   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1756     ac_cv_prog_RM="rm -f"
1757     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1758     break 2
1759   fi
1760 done
1761 done
1762 IFS=$as_save_IFS
1763
1764   test -z "$ac_cv_prog_RM" && ac_cv_prog_RM=":"
1765 fi
1766 fi
1767 RM=$ac_cv_prog_RM
1768 if test -n "$RM"; then
1769   { echo "$as_me:$LINENO: result: $RM" >&5
1770 echo "${ECHO_T}$RM" >&6; }
1771 else
1772   { echo "$as_me:$LINENO: result: no" >&5
1773 echo "${ECHO_T}no" >&6; }
1774 fi
1775
1776
1777 # Extract the first word of "cp", so it can be a program name with args.
1778 set dummy cp; ac_word=$2
1779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1781 if test "${ac_cv_prog_CP+set}" = set; then
1782   echo $ECHO_N "(cached) $ECHO_C" >&6
1783 else
1784   if test -n "$CP"; then
1785   ac_cv_prog_CP="$CP" # Let the user override the test.
1786 else
1787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1788 for as_dir in $PATH
1789 do
1790   IFS=$as_save_IFS
1791   test -z "$as_dir" && as_dir=.
1792   for ac_exec_ext in '' $ac_executable_extensions; do
1793   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1794     ac_cv_prog_CP="cp"
1795     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1796     break 2
1797   fi
1798 done
1799 done
1800 IFS=$as_save_IFS
1801
1802   test -z "$ac_cv_prog_CP" && ac_cv_prog_CP=":"
1803 fi
1804 fi
1805 CP=$ac_cv_prog_CP
1806 if test -n "$CP"; then
1807   { echo "$as_me:$LINENO: result: $CP" >&5
1808 echo "${ECHO_T}$CP" >&6; }
1809 else
1810   { echo "$as_me:$LINENO: result: no" >&5
1811 echo "${ECHO_T}no" >&6; }
1812 fi
1813
1814
1815 # Extract the first word of "mv", so it can be a program name with args.
1816 set dummy mv; ac_word=$2
1817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1819 if test "${ac_cv_prog_MV+set}" = set; then
1820   echo $ECHO_N "(cached) $ECHO_C" >&6
1821 else
1822   if test -n "$MV"; then
1823   ac_cv_prog_MV="$MV" # Let the user override the test.
1824 else
1825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1826 for as_dir in $PATH
1827 do
1828   IFS=$as_save_IFS
1829   test -z "$as_dir" && as_dir=.
1830   for ac_exec_ext in '' $ac_executable_extensions; do
1831   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1832     ac_cv_prog_MV="mv"
1833     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1834     break 2
1835   fi
1836 done
1837 done
1838 IFS=$as_save_IFS
1839
1840   test -z "$ac_cv_prog_MV" && ac_cv_prog_MV=":"
1841 fi
1842 fi
1843 MV=$ac_cv_prog_MV
1844 if test -n "$MV"; then
1845   { echo "$as_me:$LINENO: result: $MV" >&5
1846 echo "${ECHO_T}$MV" >&6; }
1847 else
1848   { echo "$as_me:$LINENO: result: no" >&5
1849 echo "${ECHO_T}no" >&6; }
1850 fi
1851
1852
1853 # Extract the first word of "ls", so it can be a program name with args.
1854 set dummy ls; ac_word=$2
1855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1857 if test "${ac_cv_prog_LS+set}" = set; then
1858   echo $ECHO_N "(cached) $ECHO_C" >&6
1859 else
1860   if test -n "$LS"; then
1861   ac_cv_prog_LS="$LS" # Let the user override the test.
1862 else
1863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1864 for as_dir in $PATH
1865 do
1866   IFS=$as_save_IFS
1867   test -z "$as_dir" && as_dir=.
1868   for ac_exec_ext in '' $ac_executable_extensions; do
1869   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1870     ac_cv_prog_LS="ls"
1871     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1872     break 2
1873   fi
1874 done
1875 done
1876 IFS=$as_save_IFS
1877
1878   test -z "$ac_cv_prog_LS" && ac_cv_prog_LS=":"
1879 fi
1880 fi
1881 LS=$ac_cv_prog_LS
1882 if test -n "$LS"; then
1883   { echo "$as_me:$LINENO: result: $LS" >&5
1884 echo "${ECHO_T}$LS" >&6; }
1885 else
1886   { echo "$as_me:$LINENO: result: no" >&5
1887 echo "${ECHO_T}no" >&6; }
1888 fi
1889
1890
1891 # Extract the first word of "sed", so it can be a program name with args.
1892 set dummy sed; ac_word=$2
1893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1895 if test "${ac_cv_prog_SED+set}" = set; then
1896   echo $ECHO_N "(cached) $ECHO_C" >&6
1897 else
1898   if test -n "$SED"; then
1899   ac_cv_prog_SED="$SED" # Let the user override the test.
1900 else
1901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1902 for as_dir in $PATH
1903 do
1904   IFS=$as_save_IFS
1905   test -z "$as_dir" && as_dir=.
1906   for ac_exec_ext in '' $ac_executable_extensions; do
1907   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1908     ac_cv_prog_SED="sed"
1909     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1910     break 2
1911   fi
1912 done
1913 done
1914 IFS=$as_save_IFS
1915
1916   test -z "$ac_cv_prog_SED" && ac_cv_prog_SED=":"
1917 fi
1918 fi
1919 SED=$ac_cv_prog_SED
1920 if test -n "$SED"; then
1921   { echo "$as_me:$LINENO: result: $SED" >&5
1922 echo "${ECHO_T}$SED" >&6; }
1923 else
1924   { echo "$as_me:$LINENO: result: no" >&5
1925 echo "${ECHO_T}no" >&6; }
1926 fi
1927
1928
1929 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
1930 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
1931 if test "${ac_cv_path_GREP+set}" = set; then
1932   echo $ECHO_N "(cached) $ECHO_C" >&6
1933 else
1934   # Extract the first word of "grep ggrep" to use in msg output
1935 if test -z "$GREP"; then
1936 set dummy grep ggrep; ac_prog_name=$2
1937 if test "${ac_cv_path_GREP+set}" = set; then
1938   echo $ECHO_N "(cached) $ECHO_C" >&6
1939 else
1940   ac_path_GREP_found=false
1941 # Loop through the user's path and test for each of PROGNAME-LIST
1942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1943 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
1944 do
1945   IFS=$as_save_IFS
1946   test -z "$as_dir" && as_dir=.
1947   for ac_prog in grep ggrep; do
1948   for ac_exec_ext in '' $ac_executable_extensions; do
1949     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1950     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
1951     # Check for GNU ac_path_GREP and select it if it is found.
1952   # Check for GNU $ac_path_GREP
1953 case `"$ac_path_GREP" --version 2>&1` in
1954 *GNU*)
1955   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
1956 *)
1957   ac_count=0
1958   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
1959   while :
1960   do
1961     cat "conftest.in" "conftest.in" >"conftest.tmp"
1962     mv "conftest.tmp" "conftest.in"
1963     cp "conftest.in" "conftest.nl"
1964     echo 'GREP' >> "conftest.nl"
1965     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
1966     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1967     ac_count=`expr $ac_count + 1`
1968     if test $ac_count -gt ${ac_path_GREP_max-0}; then
1969       # Best one so far, save it but keep looking for a better one
1970       ac_cv_path_GREP="$ac_path_GREP"
1971       ac_path_GREP_max=$ac_count
1972     fi
1973     # 10*(2^10) chars as input seems more than enough
1974     test $ac_count -gt 10 && break
1975   done
1976   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
1977 esac
1978
1979
1980     $ac_path_GREP_found && break 3
1981   done
1982 done
1983
1984 done
1985 IFS=$as_save_IFS
1986
1987
1988 fi
1989
1990 GREP="$ac_cv_path_GREP"
1991 if test -z "$GREP"; then
1992   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
1993 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
1994    { (exit 1); exit 1; }; }
1995 fi
1996
1997 else
1998   ac_cv_path_GREP=$GREP
1999 fi
2000
2001
2002 fi
2003 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2004 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2005  GREP="$ac_cv_path_GREP"
2006
2007
2008 { echo "$as_me:$LINENO: checking for egrep" >&5
2009 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2010 if test "${ac_cv_path_EGREP+set}" = set; then
2011   echo $ECHO_N "(cached) $ECHO_C" >&6
2012 else
2013   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2014    then ac_cv_path_EGREP="$GREP -E"
2015    else
2016      # Extract the first word of "egrep" to use in msg output
2017 if test -z "$EGREP"; then
2018 set dummy egrep; ac_prog_name=$2
2019 if test "${ac_cv_path_EGREP+set}" = set; then
2020   echo $ECHO_N "(cached) $ECHO_C" >&6
2021 else
2022   ac_path_EGREP_found=false
2023 # Loop through the user's path and test for each of PROGNAME-LIST
2024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2025 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2026 do
2027   IFS=$as_save_IFS
2028   test -z "$as_dir" && as_dir=.
2029   for ac_prog in egrep; do
2030   for ac_exec_ext in '' $ac_executable_extensions; do
2031     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2032     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2033     # Check for GNU ac_path_EGREP and select it if it is found.
2034   # Check for GNU $ac_path_EGREP
2035 case `"$ac_path_EGREP" --version 2>&1` in
2036 *GNU*)
2037   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2038 *)
2039   ac_count=0
2040   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2041   while :
2042   do
2043     cat "conftest.in" "conftest.in" >"conftest.tmp"
2044     mv "conftest.tmp" "conftest.in"
2045     cp "conftest.in" "conftest.nl"
2046     echo 'EGREP' >> "conftest.nl"
2047     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2048     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2049     ac_count=`expr $ac_count + 1`
2050     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2051       # Best one so far, save it but keep looking for a better one
2052       ac_cv_path_EGREP="$ac_path_EGREP"
2053       ac_path_EGREP_max=$ac_count
2054     fi
2055     # 10*(2^10) chars as input seems more than enough
2056     test $ac_count -gt 10 && break
2057   done
2058   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2059 esac
2060
2061
2062     $ac_path_EGREP_found && break 3
2063   done
2064 done
2065
2066 done
2067 IFS=$as_save_IFS
2068
2069
2070 fi
2071
2072 EGREP="$ac_cv_path_EGREP"
2073 if test -z "$EGREP"; then
2074   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2075 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2076    { (exit 1); exit 1; }; }
2077 fi
2078
2079 else
2080   ac_cv_path_EGREP=$EGREP
2081 fi
2082
2083
2084    fi
2085 fi
2086 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2087 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
2088  EGREP="$ac_cv_path_EGREP"
2089
2090
2091 # Extract the first word of "mkdir", so it can be a program name with args.
2092 set dummy mkdir; ac_word=$2
2093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2095 if test "${ac_cv_prog_MKDIR+set}" = set; then
2096   echo $ECHO_N "(cached) $ECHO_C" >&6
2097 else
2098   if test -n "$MKDIR"; then
2099   ac_cv_prog_MKDIR="$MKDIR" # Let the user override the test.
2100 else
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 for as_dir in $PATH
2103 do
2104   IFS=$as_save_IFS
2105   test -z "$as_dir" && as_dir=.
2106   for ac_exec_ext in '' $ac_executable_extensions; do
2107   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2108     ac_cv_prog_MKDIR="mkdir -p"
2109     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2110     break 2
2111   fi
2112 done
2113 done
2114 IFS=$as_save_IFS
2115
2116   test -z "$ac_cv_prog_MKDIR" && ac_cv_prog_MKDIR=":"
2117 fi
2118 fi
2119 MKDIR=$ac_cv_prog_MKDIR
2120 if test -n "$MKDIR"; then
2121   { echo "$as_me:$LINENO: result: $MKDIR" >&5
2122 echo "${ECHO_T}$MKDIR" >&6; }
2123 else
2124   { echo "$as_me:$LINENO: result: no" >&5
2125 echo "${ECHO_T}no" >&6; }
2126 fi
2127
2128
2129 # Extract the first word of "rm", so it can be a program name with args.
2130 set dummy rm; ac_word=$2
2131 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2133 if test "${ac_cv_prog_RMDIR+set}" = set; then
2134   echo $ECHO_N "(cached) $ECHO_C" >&6
2135 else
2136   if test -n "$RMDIR"; then
2137   ac_cv_prog_RMDIR="$RMDIR" # Let the user override the test.
2138 else
2139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2140 for as_dir in $PATH
2141 do
2142   IFS=$as_save_IFS
2143   test -z "$as_dir" && as_dir=.
2144   for ac_exec_ext in '' $ac_executable_extensions; do
2145   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2146     ac_cv_prog_RMDIR="rm -rf"
2147     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2148     break 2
2149   fi
2150 done
2151 done
2152 IFS=$as_save_IFS
2153
2154   test -z "$ac_cv_prog_RMDIR" && ac_cv_prog_RMDIR=":"
2155 fi
2156 fi
2157 RMDIR=$ac_cv_prog_RMDIR
2158 if test -n "$RMDIR"; then
2159   { echo "$as_me:$LINENO: result: $RMDIR" >&5
2160 echo "${ECHO_T}$RMDIR" >&6; }
2161 else
2162   { echo "$as_me:$LINENO: result: no" >&5
2163 echo "${ECHO_T}no" >&6; }
2164 fi
2165
2166
2167
2168 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2169 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2170 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2171 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2172   echo $ECHO_N "(cached) $ECHO_C" >&6
2173 else
2174   cat >conftest.make <<\_ACEOF
2175 SHELL = /bin/sh
2176 all:
2177         @echo '@@@%%%=$(MAKE)=@@@%%%'
2178 _ACEOF
2179 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2180 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2181   *@@@%%%=?*=@@@%%%*)
2182     eval ac_cv_prog_make_${ac_make}_set=yes;;
2183   *)
2184     eval ac_cv_prog_make_${ac_make}_set=no;;
2185 esac
2186 rm -f conftest.make
2187 fi
2188 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2189   { echo "$as_me:$LINENO: result: yes" >&5
2190 echo "${ECHO_T}yes" >&6; }
2191   SET_MAKE=
2192 else
2193   { echo "$as_me:$LINENO: result: no" >&5
2194 echo "${ECHO_T}no" >&6; }
2195   SET_MAKE="MAKE=${MAKE-make}"
2196 fi
2197
2198
2199 # Checks for libraries.
2200
2201 # Checks for header files.
2202
2203 # Checks for typedefs, structures, and compiler characteristics.
2204
2205 # Checks for library functions.
2206
2207 $CP "$srcdir"/pics.all pics.build
2208
2209 ac_config_files="$ac_config_files Makefile Makefile.common debug/Makefile debug/gstack/Makefile libc/Makefile libc/ctype/Makefile libc/delay/Makefile libc/stdio/Makefile libc/stdlib/Makefile libc/string/Makefile libc/utils/Makefile libdev/Makefile libio/Makefile libio/adc/Makefile libio/i2c/Makefile libio/usart/Makefile libm/Makefile libsdcc/Makefile libsdcc/char/Makefile libsdcc/fixed16x16/Makefile libsdcc/float/Makefile libsdcc/gptr/Makefile libsdcc/int/Makefile libsdcc/long/Makefile libsdcc/lregs/Makefile libsdcc/stack/Makefile startup/Makefile"
2210
2211 cat >confcache <<\_ACEOF
2212 # This file is a shell script that caches the results of configure
2213 # tests run on this system so they can be shared between configure
2214 # scripts and configure runs, see configure's option --config-cache.
2215 # It is not useful on other systems.  If it contains results you don't
2216 # want to keep, you may remove or edit it.
2217 #
2218 # config.status only pays attention to the cache file if you give it
2219 # the --recheck option to rerun configure.
2220 #
2221 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2222 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2223 # following values.
2224
2225 _ACEOF
2226
2227 # The following way of writing the cache mishandles newlines in values,
2228 # but we know of no workaround that is simple, portable, and efficient.
2229 # So, we kill variables containing newlines.
2230 # Ultrix sh set writes to stderr and can't be redirected directly,
2231 # and sets the high bit in the cache file unless we assign to the vars.
2232 (
2233   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2234     eval ac_val=\$$ac_var
2235     case $ac_val in #(
2236     *${as_nl}*)
2237       case $ac_var in #(
2238       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2239 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2240       esac
2241       case $ac_var in #(
2242       _ | IFS | as_nl) ;; #(
2243       *) $as_unset $ac_var ;;
2244       esac ;;
2245     esac
2246   done
2247
2248   (set) 2>&1 |
2249     case $as_nl`(ac_space=' '; set) 2>&1` in #(
2250     *${as_nl}ac_space=\ *)
2251       # `set' does not quote correctly, so add quotes (double-quote
2252       # substitution turns \\\\ into \\, and sed turns \\ into \).
2253       sed -n \
2254         "s/'/'\\\\''/g;
2255           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2256       ;; #(
2257     *)
2258       # `set' quotes correctly as required by POSIX, so do not add quotes.
2259       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2260       ;;
2261     esac |
2262     sort
2263 ) |
2264   sed '
2265      /^ac_cv_env_/b end
2266      t clear
2267      :clear
2268      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2269      t end
2270      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2271      :end' >>confcache
2272 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2273   if test -w "$cache_file"; then
2274     test "x$cache_file" != "x/dev/null" &&
2275       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2276 echo "$as_me: updating cache $cache_file" >&6;}
2277     cat confcache >$cache_file
2278   else
2279     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2280 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2281   fi
2282 fi
2283 rm -f confcache
2284
2285 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2286 # Let make expand exec_prefix.
2287 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2288
2289 # Transform confdefs.h into DEFS.
2290 # Protect against shell expansion while executing Makefile rules.
2291 # Protect against Makefile macro expansion.
2292 #
2293 # If the first sed substitution is executed (which looks for macros that
2294 # take arguments), then branch to the quote section.  Otherwise,
2295 # look for a macro that doesn't take arguments.
2296 ac_script='
2297 t clear
2298 :clear
2299 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2300 t quote
2301 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2302 t quote
2303 b any
2304 :quote
2305 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2306 s/\[/\\&/g
2307 s/\]/\\&/g
2308 s/\$/$$/g
2309 H
2310 :any
2311 ${
2312         g
2313         s/^\n//
2314         s/\n/ /g
2315         p
2316 }
2317 '
2318 DEFS=`sed -n "$ac_script" confdefs.h`
2319
2320
2321 ac_libobjs=
2322 ac_ltlibobjs=
2323 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2324   # 1. Remove the extension, and $U if already installed.
2325   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2326   ac_i=`echo "$ac_i" | sed "$ac_script"`
2327   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2328   #    will be set to the directory where LIBOBJS objects are built.
2329   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2330   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2331 done
2332 LIBOBJS=$ac_libobjs
2333
2334 LTLIBOBJS=$ac_ltlibobjs
2335
2336
2337
2338 : ${CONFIG_STATUS=./config.status}
2339 ac_clean_files_save=$ac_clean_files
2340 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2341 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2342 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2343 cat >$CONFIG_STATUS <<_ACEOF
2344 #! $SHELL
2345 # Generated by $as_me.
2346 # Run this file to recreate the current configuration.
2347 # Compiler output produced by configure, useful for debugging
2348 # configure, is in config.log if it exists.
2349
2350 debug=false
2351 ac_cs_recheck=false
2352 ac_cs_silent=false
2353 SHELL=\${CONFIG_SHELL-$SHELL}
2354 _ACEOF
2355
2356 cat >>$CONFIG_STATUS <<\_ACEOF
2357 ## --------------------- ##
2358 ## M4sh Initialization.  ##
2359 ## --------------------- ##
2360
2361 # Be more Bourne compatible
2362 DUALCASE=1; export DUALCASE # for MKS sh
2363 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2364   emulate sh
2365   NULLCMD=:
2366   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2367   # is contrary to our usage.  Disable this feature.
2368   alias -g '${1+"$@"}'='"$@"'
2369   setopt NO_GLOB_SUBST
2370 else
2371   case `(set -o) 2>/dev/null` in
2372   *posix*) set -o posix ;;
2373 esac
2374
2375 fi
2376
2377
2378
2379
2380 # PATH needs CR
2381 # Avoid depending upon Character Ranges.
2382 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2383 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2384 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2385 as_cr_digits='0123456789'
2386 as_cr_alnum=$as_cr_Letters$as_cr_digits
2387
2388 # The user is always right.
2389 if test "${PATH_SEPARATOR+set}" != set; then
2390   echo "#! /bin/sh" >conf$$.sh
2391   echo  "exit 0"   >>conf$$.sh
2392   chmod +x conf$$.sh
2393   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2394     PATH_SEPARATOR=';'
2395   else
2396     PATH_SEPARATOR=:
2397   fi
2398   rm -f conf$$.sh
2399 fi
2400
2401 # Support unset when possible.
2402 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2403   as_unset=unset
2404 else
2405   as_unset=false
2406 fi
2407
2408
2409 # IFS
2410 # We need space, tab and new line, in precisely that order.  Quoting is
2411 # there to prevent editors from complaining about space-tab.
2412 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2413 # splitting by setting IFS to empty value.)
2414 as_nl='
2415 '
2416 IFS=" ""        $as_nl"
2417
2418 # Find who we are.  Look in the path if we contain no directory separator.
2419 case $0 in
2420   *[\\/]* ) as_myself=$0 ;;
2421   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2422 for as_dir in $PATH
2423 do
2424   IFS=$as_save_IFS
2425   test -z "$as_dir" && as_dir=.
2426   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2427 done
2428 IFS=$as_save_IFS
2429
2430      ;;
2431 esac
2432 # We did not find ourselves, most probably we were run as `sh COMMAND'
2433 # in which case we are not to be found in the path.
2434 if test "x$as_myself" = x; then
2435   as_myself=$0
2436 fi
2437 if test ! -f "$as_myself"; then
2438   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2439   { (exit 1); exit 1; }
2440 fi
2441
2442 # Work around bugs in pre-3.0 UWIN ksh.
2443 for as_var in ENV MAIL MAILPATH
2444 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2445 done
2446 PS1='$ '
2447 PS2='> '
2448 PS4='+ '
2449
2450 # NLS nuisances.
2451 for as_var in \
2452   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2453   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2454   LC_TELEPHONE LC_TIME
2455 do
2456   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2457     eval $as_var=C; export $as_var
2458   else
2459     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2460   fi
2461 done
2462
2463 # Required to use basename.
2464 if expr a : '\(a\)' >/dev/null 2>&1 &&
2465    test "X`expr 00001 : '.*\(...\)'`" = X001; then
2466   as_expr=expr
2467 else
2468   as_expr=false
2469 fi
2470
2471 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2472   as_basename=basename
2473 else
2474   as_basename=false
2475 fi
2476
2477
2478 # Name of the executable.
2479 as_me=`$as_basename -- "$0" ||
2480 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2481          X"$0" : 'X\(//\)$' \| \
2482          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2483 echo X/"$0" |
2484     sed '/^.*\/\([^/][^/]*\)\/*$/{
2485             s//\1/
2486             q
2487           }
2488           /^X\/\(\/\/\)$/{
2489             s//\1/
2490             q
2491           }
2492           /^X\/\(\/\).*/{
2493             s//\1/
2494             q
2495           }
2496           s/.*/./; q'`
2497
2498 # CDPATH.
2499 $as_unset CDPATH
2500
2501
2502
2503   as_lineno_1=$LINENO
2504   as_lineno_2=$LINENO
2505   test "x$as_lineno_1" != "x$as_lineno_2" &&
2506   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2507
2508   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2509   # uniformly replaced by the line number.  The first 'sed' inserts a
2510   # line-number line after each line using $LINENO; the second 'sed'
2511   # does the real work.  The second script uses 'N' to pair each
2512   # line-number line with the line containing $LINENO, and appends
2513   # trailing '-' during substitution so that $LINENO is not a special
2514   # case at line end.
2515   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2516   # scripts with optimization help from Paolo Bonzini.  Blame Lee
2517   # E. McMahon (1931-1989) for sed's syntax.  :-)
2518   sed -n '
2519     p
2520     /[$]LINENO/=
2521   ' <$as_myself |
2522     sed '
2523       s/[$]LINENO.*/&-/
2524       t lineno
2525       b
2526       :lineno
2527       N
2528       :loop
2529       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2530       t loop
2531       s/-\n.*//
2532     ' >$as_me.lineno &&
2533   chmod +x "$as_me.lineno" ||
2534     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2535    { (exit 1); exit 1; }; }
2536
2537   # Don't try to exec as it changes $[0], causing all sort of problems
2538   # (the dirname of $[0] is not the place where we might find the
2539   # original and so on.  Autoconf is especially sensitive to this).
2540   . "./$as_me.lineno"
2541   # Exit status is that of the last command.
2542   exit
2543 }
2544
2545
2546 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2547   as_dirname=dirname
2548 else
2549   as_dirname=false
2550 fi
2551
2552 ECHO_C= ECHO_N= ECHO_T=
2553 case `echo -n x` in
2554 -n*)
2555   case `echo 'x\c'` in
2556   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2557   *)   ECHO_C='\c';;
2558   esac;;
2559 *)
2560   ECHO_N='-n';;
2561 esac
2562
2563 if expr a : '\(a\)' >/dev/null 2>&1 &&
2564    test "X`expr 00001 : '.*\(...\)'`" = X001; then
2565   as_expr=expr
2566 else
2567   as_expr=false
2568 fi
2569
2570 rm -f conf$$ conf$$.exe conf$$.file
2571 if test -d conf$$.dir; then
2572   rm -f conf$$.dir/conf$$.file
2573 else
2574   rm -f conf$$.dir
2575   mkdir conf$$.dir
2576 fi
2577 echo >conf$$.file
2578 if ln -s conf$$.file conf$$ 2>/dev/null; then
2579   as_ln_s='ln -s'
2580   # ... but there are two gotchas:
2581   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2582   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2583   # In both cases, we have to default to `cp -p'.
2584   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2585     as_ln_s='cp -p'
2586 elif ln conf$$.file conf$$ 2>/dev/null; then
2587   as_ln_s=ln
2588 else
2589   as_ln_s='cp -p'
2590 fi
2591 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2592 rmdir conf$$.dir 2>/dev/null
2593
2594 if mkdir -p . 2>/dev/null; then
2595   as_mkdir_p=:
2596 else
2597   test -d ./-p && rmdir ./-p
2598   as_mkdir_p=false
2599 fi
2600
2601 if test -x / >/dev/null 2>&1; then
2602   as_test_x='test -x'
2603 else
2604   if ls -dL / >/dev/null 2>&1; then
2605     as_ls_L_option=L
2606   else
2607     as_ls_L_option=
2608   fi
2609   as_test_x='
2610     eval sh -c '\''
2611       if test -d "$1"; then
2612         test -d "$1/.";
2613       else
2614         case $1 in
2615         -*)set "./$1";;
2616         esac;
2617         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2618         ???[sx]*):;;*)false;;esac;fi
2619     '\'' sh
2620   '
2621 fi
2622 as_executable_p=$as_test_x
2623
2624 # Sed expression to map a string onto a valid CPP name.
2625 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2626
2627 # Sed expression to map a string onto a valid variable name.
2628 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2629
2630
2631 exec 6>&1
2632
2633 # Save the log message, to keep $[0] and so on meaningful, and to
2634 # report actual input values of CONFIG_FILES etc. instead of their
2635 # values after options handling.
2636 ac_log="
2637 This file was extended by $as_me, which was
2638 generated by GNU Autoconf 2.61.  Invocation command line was
2639
2640   CONFIG_FILES    = $CONFIG_FILES
2641   CONFIG_HEADERS  = $CONFIG_HEADERS
2642   CONFIG_LINKS    = $CONFIG_LINKS
2643   CONFIG_COMMANDS = $CONFIG_COMMANDS
2644   $ $0 $@
2645
2646 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2647 "
2648
2649 _ACEOF
2650
2651 cat >>$CONFIG_STATUS <<_ACEOF
2652 # Files that config.status was made for.
2653 config_files="$ac_config_files"
2654
2655 _ACEOF
2656
2657 cat >>$CONFIG_STATUS <<\_ACEOF
2658 ac_cs_usage="\
2659 \`$as_me' instantiates files from templates according to the
2660 current configuration.
2661
2662 Usage: $0 [OPTIONS] [FILE]...
2663
2664   -h, --help       print this help, then exit
2665   -V, --version    print version number and configuration settings, then exit
2666   -q, --quiet      do not print progress messages
2667   -d, --debug      don't remove temporary files
2668       --recheck    update $as_me by reconfiguring in the same conditions
2669   --file=FILE[:TEMPLATE]
2670                    instantiate the configuration file FILE
2671
2672 Configuration files:
2673 $config_files
2674
2675 Report bugs to <bug-autoconf@gnu.org>."
2676
2677 _ACEOF
2678 cat >>$CONFIG_STATUS <<_ACEOF
2679 ac_cs_version="\\
2680 config.status
2681 configured by $0, generated by GNU Autoconf 2.61,
2682   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2683
2684 Copyright (C) 2006 Free Software Foundation, Inc.
2685 This config.status script is free software; the Free Software Foundation
2686 gives unlimited permission to copy, distribute and modify it."
2687
2688 ac_pwd='$ac_pwd'
2689 srcdir='$srcdir'
2690 _ACEOF
2691
2692 cat >>$CONFIG_STATUS <<\_ACEOF
2693 # If no file are specified by the user, then we need to provide default
2694 # value.  By we need to know if files were specified by the user.
2695 ac_need_defaults=:
2696 while test $# != 0
2697 do
2698   case $1 in
2699   --*=*)
2700     ac_option=`expr "X$1" : 'X\([^=]*\)='`
2701     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2702     ac_shift=:
2703     ;;
2704   *)
2705     ac_option=$1
2706     ac_optarg=$2
2707     ac_shift=shift
2708     ;;
2709   esac
2710
2711   case $ac_option in
2712   # Handling of the options.
2713   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2714     ac_cs_recheck=: ;;
2715   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2716     echo "$ac_cs_version"; exit ;;
2717   --debug | --debu | --deb | --de | --d | -d )
2718     debug=: ;;
2719   --file | --fil | --fi | --f )
2720     $ac_shift
2721     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2722     ac_need_defaults=false;;
2723   --he | --h |  --help | --hel | -h )
2724     echo "$ac_cs_usage"; exit ;;
2725   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2726   | -silent | --silent | --silen | --sile | --sil | --si | --s)
2727     ac_cs_silent=: ;;
2728
2729   # This is an error.
2730   -*) { echo "$as_me: error: unrecognized option: $1
2731 Try \`$0 --help' for more information." >&2
2732    { (exit 1); exit 1; }; } ;;
2733
2734   *) ac_config_targets="$ac_config_targets $1"
2735      ac_need_defaults=false ;;
2736
2737   esac
2738   shift
2739 done
2740
2741 ac_configure_extra_args=
2742
2743 if $ac_cs_silent; then
2744   exec 6>/dev/null
2745   ac_configure_extra_args="$ac_configure_extra_args --silent"
2746 fi
2747
2748 _ACEOF
2749 cat >>$CONFIG_STATUS <<_ACEOF
2750 if \$ac_cs_recheck; then
2751   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2752   CONFIG_SHELL=$SHELL
2753   export CONFIG_SHELL
2754   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2755 fi
2756
2757 _ACEOF
2758 cat >>$CONFIG_STATUS <<\_ACEOF
2759 exec 5>>config.log
2760 {
2761   echo
2762   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2763 ## Running $as_me. ##
2764 _ASBOX
2765   echo "$ac_log"
2766 } >&5
2767
2768 _ACEOF
2769 cat >>$CONFIG_STATUS <<_ACEOF
2770 _ACEOF
2771
2772 cat >>$CONFIG_STATUS <<\_ACEOF
2773
2774 # Handling of arguments.
2775 for ac_config_target in $ac_config_targets
2776 do
2777   case $ac_config_target in
2778     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2779     "Makefile.common") CONFIG_FILES="$CONFIG_FILES Makefile.common" ;;
2780     "debug/Makefile") CONFIG_FILES="$CONFIG_FILES debug/Makefile" ;;
2781     "debug/gstack/Makefile") CONFIG_FILES="$CONFIG_FILES debug/gstack/Makefile" ;;
2782     "libc/Makefile") CONFIG_FILES="$CONFIG_FILES libc/Makefile" ;;
2783     "libc/ctype/Makefile") CONFIG_FILES="$CONFIG_FILES libc/ctype/Makefile" ;;
2784     "libc/delay/Makefile") CONFIG_FILES="$CONFIG_FILES libc/delay/Makefile" ;;
2785     "libc/stdio/Makefile") CONFIG_FILES="$CONFIG_FILES libc/stdio/Makefile" ;;
2786     "libc/stdlib/Makefile") CONFIG_FILES="$CONFIG_FILES libc/stdlib/Makefile" ;;
2787     "libc/string/Makefile") CONFIG_FILES="$CONFIG_FILES libc/string/Makefile" ;;
2788     "libc/utils/Makefile") CONFIG_FILES="$CONFIG_FILES libc/utils/Makefile" ;;
2789     "libdev/Makefile") CONFIG_FILES="$CONFIG_FILES libdev/Makefile" ;;
2790     "libio/Makefile") CONFIG_FILES="$CONFIG_FILES libio/Makefile" ;;
2791     "libio/adc/Makefile") CONFIG_FILES="$CONFIG_FILES libio/adc/Makefile" ;;
2792     "libio/i2c/Makefile") CONFIG_FILES="$CONFIG_FILES libio/i2c/Makefile" ;;
2793     "libio/usart/Makefile") CONFIG_FILES="$CONFIG_FILES libio/usart/Makefile" ;;
2794     "libm/Makefile") CONFIG_FILES="$CONFIG_FILES libm/Makefile" ;;
2795     "libsdcc/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/Makefile" ;;
2796     "libsdcc/char/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/char/Makefile" ;;
2797     "libsdcc/fixed16x16/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/fixed16x16/Makefile" ;;
2798     "libsdcc/float/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/float/Makefile" ;;
2799     "libsdcc/gptr/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/gptr/Makefile" ;;
2800     "libsdcc/int/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/int/Makefile" ;;
2801     "libsdcc/long/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/long/Makefile" ;;
2802     "libsdcc/lregs/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/lregs/Makefile" ;;
2803     "libsdcc/stack/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/stack/Makefile" ;;
2804     "startup/Makefile") CONFIG_FILES="$CONFIG_FILES startup/Makefile" ;;
2805
2806   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2807 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2808    { (exit 1); exit 1; }; };;
2809   esac
2810 done
2811
2812
2813 # If the user did not use the arguments to specify the items to instantiate,
2814 # then the envvar interface is used.  Set only those that are not.
2815 # We use the long form for the default assignment because of an extremely
2816 # bizarre bug on SunOS 4.1.3.
2817 if $ac_need_defaults; then
2818   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2819 fi
2820
2821 # Have a temporary directory for convenience.  Make it in the build tree
2822 # simply because there is no reason against having it here, and in addition,
2823 # creating and moving files from /tmp can sometimes cause problems.
2824 # Hook for its removal unless debugging.
2825 # Note that there is a small window in which the directory will not be cleaned:
2826 # after its creation but before its name has been assigned to `$tmp'.
2827 $debug ||
2828 {
2829   tmp=
2830   trap 'exit_status=$?
2831   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2832 ' 0
2833   trap '{ (exit 1); exit 1; }' 1 2 13 15
2834 }
2835 # Create a (secure) tmp directory for tmp files.
2836
2837 {
2838   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2839   test -n "$tmp" && test -d "$tmp"
2840 }  ||
2841 {
2842   tmp=./conf$$-$RANDOM
2843   (umask 077 && mkdir "$tmp")
2844 } ||
2845 {
2846    echo "$me: cannot create a temporary directory in ." >&2
2847    { (exit 1); exit 1; }
2848 }
2849
2850 #
2851 # Set up the sed scripts for CONFIG_FILES section.
2852 #
2853
2854 # No need to generate the scripts if there are no CONFIG_FILES.
2855 # This happens for instance when ./config.status config.h
2856 if test -n "$CONFIG_FILES"; then
2857
2858 _ACEOF
2859
2860
2861
2862 ac_delim='%!_!# '
2863 for ac_last_try in false false false false false :; do
2864   cat >conf$$subs.sed <<_ACEOF
2865 SHELL!$SHELL$ac_delim
2866 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2867 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2868 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2869 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2870 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2871 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2872 exec_prefix!$exec_prefix$ac_delim
2873 prefix!$prefix$ac_delim
2874 program_transform_name!$program_transform_name$ac_delim
2875 bindir!$bindir$ac_delim
2876 sbindir!$sbindir$ac_delim
2877 libexecdir!$libexecdir$ac_delim
2878 datarootdir!$datarootdir$ac_delim
2879 datadir!$datadir$ac_delim
2880 sysconfdir!$sysconfdir$ac_delim
2881 sharedstatedir!$sharedstatedir$ac_delim
2882 localstatedir!$localstatedir$ac_delim
2883 includedir!$includedir$ac_delim
2884 oldincludedir!$oldincludedir$ac_delim
2885 docdir!$docdir$ac_delim
2886 infodir!$infodir$ac_delim
2887 htmldir!$htmldir$ac_delim
2888 dvidir!$dvidir$ac_delim
2889 pdfdir!$pdfdir$ac_delim
2890 psdir!$psdir$ac_delim
2891 libdir!$libdir$ac_delim
2892 localedir!$localedir$ac_delim
2893 mandir!$mandir$ac_delim
2894 DEFS!$DEFS$ac_delim
2895 ECHO_C!$ECHO_C$ac_delim
2896 ECHO_N!$ECHO_N$ac_delim
2897 ECHO_T!$ECHO_T$ac_delim
2898 LIBS!$LIBS$ac_delim
2899 build_alias!$build_alias$ac_delim
2900 host_alias!$host_alias$ac_delim
2901 target_alias!$target_alias$ac_delim
2902 GPASM!$GPASM$ac_delim
2903 GPLINK!$GPLINK$ac_delim
2904 GPLIB!$GPLIB$ac_delim
2905 RM!$RM$ac_delim
2906 CP!$CP$ac_delim
2907 MV!$MV$ac_delim
2908 LS!$LS$ac_delim
2909 SED!$SED$ac_delim
2910 GREP!$GREP$ac_delim
2911 EGREP!$EGREP$ac_delim
2912 MKDIR!$MKDIR$ac_delim
2913 RMDIR!$RMDIR$ac_delim
2914 SET_MAKE!$SET_MAKE$ac_delim
2915 LIBOBJS!$LIBOBJS$ac_delim
2916 LTLIBOBJS!$LTLIBOBJS$ac_delim
2917 _ACEOF
2918
2919   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then
2920     break
2921   elif $ac_last_try; then
2922     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2923 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2924    { (exit 1); exit 1; }; }
2925   else
2926     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2927   fi
2928 done
2929
2930 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2931 if test -n "$ac_eof"; then
2932   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2933   ac_eof=`expr $ac_eof + 1`
2934 fi
2935
2936 cat >>$CONFIG_STATUS <<_ACEOF
2937 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2938 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2939 _ACEOF
2940 sed '
2941 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2942 s/^/s,@/; s/!/@,|#_!!_#|/
2943 :n
2944 t n
2945 s/'"$ac_delim"'$/,g/; t
2946 s/$/\\/; p
2947 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2948 ' >>$CONFIG_STATUS <conf$$subs.sed
2949 rm -f conf$$subs.sed
2950 cat >>$CONFIG_STATUS <<_ACEOF
2951 :end
2952 s/|#_!!_#|//g
2953 CEOF$ac_eof
2954 _ACEOF
2955
2956
2957 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2958 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2959 # trailing colons and then remove the whole line if VPATH becomes empty
2960 # (actually we leave an empty line to preserve line numbers).
2961 if test "x$srcdir" = x.; then
2962   ac_vpsub='/^[  ]*VPATH[        ]*=/{
2963 s/:*\$(srcdir):*/:/
2964 s/:*\${srcdir}:*/:/
2965 s/:*@srcdir@:*/:/
2966 s/^\([^=]*=[     ]*\):*/\1/
2967 s/:*$//
2968 s/^[^=]*=[       ]*$//
2969 }'
2970 fi
2971
2972 cat >>$CONFIG_STATUS <<\_ACEOF
2973 fi # test -n "$CONFIG_FILES"
2974
2975
2976 for ac_tag in  :F $CONFIG_FILES
2977 do
2978   case $ac_tag in
2979   :[FHLC]) ac_mode=$ac_tag; continue;;
2980   esac
2981   case $ac_mode$ac_tag in
2982   :[FHL]*:*);;
2983   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2984 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2985    { (exit 1); exit 1; }; };;
2986   :[FH]-) ac_tag=-:-;;
2987   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2988   esac
2989   ac_save_IFS=$IFS
2990   IFS=:
2991   set x $ac_tag
2992   IFS=$ac_save_IFS
2993   shift
2994   ac_file=$1
2995   shift
2996
2997   case $ac_mode in
2998   :L) ac_source=$1;;
2999   :[FH])
3000     ac_file_inputs=
3001     for ac_f
3002     do
3003       case $ac_f in
3004       -) ac_f="$tmp/stdin";;
3005       *) # Look for the file first in the build tree, then in the source tree
3006          # (if the path is not absolute).  The absolute path cannot be DOS-style,
3007          # because $ac_f cannot contain `:'.
3008          test -f "$ac_f" ||
3009            case $ac_f in
3010            [\\/$]*) false;;
3011            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3012            esac ||
3013            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3014 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3015    { (exit 1); exit 1; }; };;
3016       esac
3017       ac_file_inputs="$ac_file_inputs $ac_f"
3018     done
3019
3020     # Let's still pretend it is `configure' which instantiates (i.e., don't
3021     # use $as_me), people would be surprised to read:
3022     #    /* config.h.  Generated by config.status.  */
3023     configure_input="Generated from "`IFS=:
3024           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3025     if test x"$ac_file" != x-; then
3026       configure_input="$ac_file.  $configure_input"
3027       { echo "$as_me:$LINENO: creating $ac_file" >&5
3028 echo "$as_me: creating $ac_file" >&6;}
3029     fi
3030
3031     case $ac_tag in
3032     *:-:* | *:-) cat >"$tmp/stdin";;
3033     esac
3034     ;;
3035   esac
3036
3037   ac_dir=`$as_dirname -- "$ac_file" ||
3038 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3039          X"$ac_file" : 'X\(//\)[^/]' \| \
3040          X"$ac_file" : 'X\(//\)$' \| \
3041          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3042 echo X"$ac_file" |
3043     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3044             s//\1/
3045             q
3046           }
3047           /^X\(\/\/\)[^/].*/{
3048             s//\1/
3049             q
3050           }
3051           /^X\(\/\/\)$/{
3052             s//\1/
3053             q
3054           }
3055           /^X\(\/\).*/{
3056             s//\1/
3057             q
3058           }
3059           s/.*/./; q'`
3060   { as_dir="$ac_dir"
3061   case $as_dir in #(
3062   -*) as_dir=./$as_dir;;
3063   esac
3064   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3065     as_dirs=
3066     while :; do
3067       case $as_dir in #(
3068       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3069       *) as_qdir=$as_dir;;
3070       esac
3071       as_dirs="'$as_qdir' $as_dirs"
3072       as_dir=`$as_dirname -- "$as_dir" ||
3073 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3074          X"$as_dir" : 'X\(//\)[^/]' \| \
3075          X"$as_dir" : 'X\(//\)$' \| \
3076          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3077 echo X"$as_dir" |
3078     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3079             s//\1/
3080             q
3081           }
3082           /^X\(\/\/\)[^/].*/{
3083             s//\1/
3084             q
3085           }
3086           /^X\(\/\/\)$/{
3087             s//\1/
3088             q
3089           }
3090           /^X\(\/\).*/{
3091             s//\1/
3092             q
3093           }
3094           s/.*/./; q'`
3095       test -d "$as_dir" && break
3096     done
3097     test -z "$as_dirs" || eval "mkdir $as_dirs"
3098   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3099 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3100    { (exit 1); exit 1; }; }; }
3101   ac_builddir=.
3102
3103 case "$ac_dir" in
3104 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3105 *)
3106   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3107   # A ".." for each directory in $ac_dir_suffix.
3108   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3109   case $ac_top_builddir_sub in
3110   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3111   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3112   esac ;;
3113 esac
3114 ac_abs_top_builddir=$ac_pwd
3115 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3116 # for backward compatibility:
3117 ac_top_builddir=$ac_top_build_prefix
3118
3119 case $srcdir in
3120   .)  # We are building in place.
3121     ac_srcdir=.
3122     ac_top_srcdir=$ac_top_builddir_sub
3123     ac_abs_top_srcdir=$ac_pwd ;;
3124   [\\/]* | ?:[\\/]* )  # Absolute name.
3125     ac_srcdir=$srcdir$ac_dir_suffix;
3126     ac_top_srcdir=$srcdir
3127     ac_abs_top_srcdir=$srcdir ;;
3128   *) # Relative name.
3129     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3130     ac_top_srcdir=$ac_top_build_prefix$srcdir
3131     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3132 esac
3133 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3134
3135
3136   case $ac_mode in
3137   :F)
3138   #
3139   # CONFIG_FILE
3140   #
3141
3142 _ACEOF
3143
3144 cat >>$CONFIG_STATUS <<\_ACEOF
3145 # If the template does not know about datarootdir, expand it.
3146 # FIXME: This hack should be removed a few years after 2.60.
3147 ac_datarootdir_hack=; ac_datarootdir_seen=
3148
3149 case `sed -n '/datarootdir/ {
3150   p
3151   q
3152 }
3153 /@datadir@/p
3154 /@docdir@/p
3155 /@infodir@/p
3156 /@localedir@/p
3157 /@mandir@/p
3158 ' $ac_file_inputs` in
3159 *datarootdir*) ac_datarootdir_seen=yes;;
3160 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3161   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3162 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3163 _ACEOF
3164 cat >>$CONFIG_STATUS <<_ACEOF
3165   ac_datarootdir_hack='
3166   s&@datadir@&$datadir&g
3167   s&@docdir@&$docdir&g
3168   s&@infodir@&$infodir&g
3169   s&@localedir@&$localedir&g
3170   s&@mandir@&$mandir&g
3171     s&\\\${datarootdir}&$datarootdir&g' ;;
3172 esac
3173 _ACEOF
3174
3175 # Neutralize VPATH when `$srcdir' = `.'.
3176 # Shell code in configure.ac might set extrasub.
3177 # FIXME: do we really want to maintain this feature?
3178 cat >>$CONFIG_STATUS <<_ACEOF
3179   sed "$ac_vpsub
3180 $extrasub
3181 _ACEOF
3182 cat >>$CONFIG_STATUS <<\_ACEOF
3183 :t
3184 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3185 s&@configure_input@&$configure_input&;t t
3186 s&@top_builddir@&$ac_top_builddir_sub&;t t
3187 s&@srcdir@&$ac_srcdir&;t t
3188 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3189 s&@top_srcdir@&$ac_top_srcdir&;t t
3190 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3191 s&@builddir@&$ac_builddir&;t t
3192 s&@abs_builddir@&$ac_abs_builddir&;t t
3193 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3194 $ac_datarootdir_hack
3195 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3196
3197 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3198   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3199   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3200   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3201 which seems to be undefined.  Please make sure it is defined." >&5
3202 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3203 which seems to be undefined.  Please make sure it is defined." >&2;}
3204
3205   rm -f "$tmp/stdin"
3206   case $ac_file in
3207   -) cat "$tmp/out"; rm -f "$tmp/out";;
3208   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3209   esac
3210  ;;
3211
3212
3213
3214   esac
3215
3216 done # for ac_tag
3217
3218
3219 { (exit 0); exit 0; }
3220 _ACEOF
3221 chmod +x $CONFIG_STATUS
3222 ac_clean_files=$ac_clean_files_save
3223
3224
3225 # configure is writing to config.log, and then calls config.status.
3226 # config.status does its own redirection, appending to config.log.
3227 # Unfortunately, on DOS this fails, as config.log is still kept open
3228 # by configure, so config.status won't be able to write to it; its
3229 # output is simply discarded.  So we exec the FD to /dev/null,
3230 # effectively closing config.log, so it can be properly (re)opened and
3231 # appended to by config.status.  When coming back to configure, we
3232 # need to make the FD available again.
3233 if test "$no_create" != yes; then
3234   ac_cs_success=:
3235   ac_config_status_args=
3236   test "$silent" = yes &&
3237     ac_config_status_args="$ac_config_status_args --quiet"
3238   exec 5>/dev/null
3239   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3240   exec 5>>config.log
3241   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3242   # would make configure fail if this is the last instruction.
3243   $ac_cs_success || { (exit 1); exit 1; }
3244 fi
3245