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