* configure.in: added missing mcs51 in status output
[fw/sdcc] / device / lib / pic / 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 ac_config_files="$ac_config_files Makefile Makefile.common libdev/Makefile libsdcc/Makefile libm/Makefile"
2193
2194 cat >confcache <<\_ACEOF
2195 # This file is a shell script that caches the results of configure
2196 # tests run on this system so they can be shared between configure
2197 # scripts and configure runs, see configure's option --config-cache.
2198 # It is not useful on other systems.  If it contains results you don't
2199 # want to keep, you may remove or edit it.
2200 #
2201 # config.status only pays attention to the cache file if you give it
2202 # the --recheck option to rerun configure.
2203 #
2204 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2205 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2206 # following values.
2207
2208 _ACEOF
2209
2210 # The following way of writing the cache mishandles newlines in values,
2211 # but we know of no workaround that is simple, portable, and efficient.
2212 # So, we kill variables containing newlines.
2213 # Ultrix sh set writes to stderr and can't be redirected directly,
2214 # and sets the high bit in the cache file unless we assign to the vars.
2215 (
2216   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2217     eval ac_val=\$$ac_var
2218     case $ac_val in #(
2219     *${as_nl}*)
2220       case $ac_var in #(
2221       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2222 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2223       esac
2224       case $ac_var in #(
2225       _ | IFS | as_nl) ;; #(
2226       *) $as_unset $ac_var ;;
2227       esac ;;
2228     esac
2229   done
2230
2231   (set) 2>&1 |
2232     case $as_nl`(ac_space=' '; set) 2>&1` in #(
2233     *${as_nl}ac_space=\ *)
2234       # `set' does not quote correctly, so add quotes (double-quote
2235       # substitution turns \\\\ into \\, and sed turns \\ into \).
2236       sed -n \
2237         "s/'/'\\\\''/g;
2238           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2239       ;; #(
2240     *)
2241       # `set' quotes correctly as required by POSIX, so do not add quotes.
2242       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2243       ;;
2244     esac |
2245     sort
2246 ) |
2247   sed '
2248      /^ac_cv_env_/b end
2249      t clear
2250      :clear
2251      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2252      t end
2253      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2254      :end' >>confcache
2255 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2256   if test -w "$cache_file"; then
2257     test "x$cache_file" != "x/dev/null" &&
2258       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2259 echo "$as_me: updating cache $cache_file" >&6;}
2260     cat confcache >$cache_file
2261   else
2262     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2263 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2264   fi
2265 fi
2266 rm -f confcache
2267
2268 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2269 # Let make expand exec_prefix.
2270 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2271
2272 # Transform confdefs.h into DEFS.
2273 # Protect against shell expansion while executing Makefile rules.
2274 # Protect against Makefile macro expansion.
2275 #
2276 # If the first sed substitution is executed (which looks for macros that
2277 # take arguments), then branch to the quote section.  Otherwise,
2278 # look for a macro that doesn't take arguments.
2279 ac_script='
2280 t clear
2281 :clear
2282 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2283 t quote
2284 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2285 t quote
2286 b any
2287 :quote
2288 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2289 s/\[/\\&/g
2290 s/\]/\\&/g
2291 s/\$/$$/g
2292 H
2293 :any
2294 ${
2295         g
2296         s/^\n//
2297         s/\n/ /g
2298         p
2299 }
2300 '
2301 DEFS=`sed -n "$ac_script" confdefs.h`
2302
2303
2304 ac_libobjs=
2305 ac_ltlibobjs=
2306 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2307   # 1. Remove the extension, and $U if already installed.
2308   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2309   ac_i=`echo "$ac_i" | sed "$ac_script"`
2310   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2311   #    will be set to the directory where LIBOBJS objects are built.
2312   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2313   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2314 done
2315 LIBOBJS=$ac_libobjs
2316
2317 LTLIBOBJS=$ac_ltlibobjs
2318
2319
2320
2321 : ${CONFIG_STATUS=./config.status}
2322 ac_clean_files_save=$ac_clean_files
2323 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2324 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2325 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2326 cat >$CONFIG_STATUS <<_ACEOF
2327 #! $SHELL
2328 # Generated by $as_me.
2329 # Run this file to recreate the current configuration.
2330 # Compiler output produced by configure, useful for debugging
2331 # configure, is in config.log if it exists.
2332
2333 debug=false
2334 ac_cs_recheck=false
2335 ac_cs_silent=false
2336 SHELL=\${CONFIG_SHELL-$SHELL}
2337 _ACEOF
2338
2339 cat >>$CONFIG_STATUS <<\_ACEOF
2340 ## --------------------- ##
2341 ## M4sh Initialization.  ##
2342 ## --------------------- ##
2343
2344 # Be Bourne compatible
2345 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2346   emulate sh
2347   NULLCMD=:
2348   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2349   # is contrary to our usage.  Disable this feature.
2350   alias -g '${1+"$@"}'='"$@"'
2351   setopt NO_GLOB_SUBST
2352 else
2353   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
2354 fi
2355 BIN_SH=xpg4; export BIN_SH # for Tru64
2356 DUALCASE=1; export DUALCASE # for MKS sh
2357
2358
2359 # PATH needs CR
2360 # Avoid depending upon Character Ranges.
2361 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2362 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2363 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2364 as_cr_digits='0123456789'
2365 as_cr_alnum=$as_cr_Letters$as_cr_digits
2366
2367 # The user is always right.
2368 if test "${PATH_SEPARATOR+set}" != set; then
2369   echo "#! /bin/sh" >conf$$.sh
2370   echo  "exit 0"   >>conf$$.sh
2371   chmod +x conf$$.sh
2372   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2373     PATH_SEPARATOR=';'
2374   else
2375     PATH_SEPARATOR=:
2376   fi
2377   rm -f conf$$.sh
2378 fi
2379
2380 # Support unset when possible.
2381 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2382   as_unset=unset
2383 else
2384   as_unset=false
2385 fi
2386
2387
2388 # IFS
2389 # We need space, tab and new line, in precisely that order.  Quoting is
2390 # there to prevent editors from complaining about space-tab.
2391 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2392 # splitting by setting IFS to empty value.)
2393 as_nl='
2394 '
2395 IFS=" ""        $as_nl"
2396
2397 # Find who we are.  Look in the path if we contain no directory separator.
2398 case $0 in
2399   *[\\/]* ) as_myself=$0 ;;
2400   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2401 for as_dir in $PATH
2402 do
2403   IFS=$as_save_IFS
2404   test -z "$as_dir" && as_dir=.
2405   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2406 done
2407 IFS=$as_save_IFS
2408
2409      ;;
2410 esac
2411 # We did not find ourselves, most probably we were run as `sh COMMAND'
2412 # in which case we are not to be found in the path.
2413 if test "x$as_myself" = x; then
2414   as_myself=$0
2415 fi
2416 if test ! -f "$as_myself"; then
2417   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2418   { (exit 1); exit 1; }
2419 fi
2420
2421 # Work around bugs in pre-3.0 UWIN ksh.
2422 for as_var in ENV MAIL MAILPATH
2423 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2424 done
2425 PS1='$ '
2426 PS2='> '
2427 PS4='+ '
2428
2429 # NLS nuisances.
2430 for as_var in \
2431   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2432   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2433   LC_TELEPHONE LC_TIME
2434 do
2435   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2436     eval $as_var=C; export $as_var
2437   else
2438     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2439   fi
2440 done
2441
2442 # Required to use basename.
2443 if expr a : '\(a\)' >/dev/null 2>&1 &&
2444    test "X`expr 00001 : '.*\(...\)'`" = X001; then
2445   as_expr=expr
2446 else
2447   as_expr=false
2448 fi
2449
2450 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2451   as_basename=basename
2452 else
2453   as_basename=false
2454 fi
2455
2456
2457 # Name of the executable.
2458 as_me=`$as_basename -- "$0" ||
2459 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2460          X"$0" : 'X\(//\)$' \| \
2461          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2462 echo X/"$0" |
2463     sed '/^.*\/\([^/][^/]*\)\/*$/{
2464             s//\1/
2465             q
2466           }
2467           /^X\/\(\/\/\)$/{
2468             s//\1/
2469             q
2470           }
2471           /^X\/\(\/\).*/{
2472             s//\1/
2473             q
2474           }
2475           s/.*/./; q'`
2476
2477 # CDPATH.
2478 $as_unset CDPATH
2479
2480
2481
2482   as_lineno_1=$LINENO
2483   as_lineno_2=$LINENO
2484   test "x$as_lineno_1" != "x$as_lineno_2" &&
2485   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2486
2487   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2488   # uniformly replaced by the line number.  The first 'sed' inserts a
2489   # line-number line after each line using $LINENO; the second 'sed'
2490   # does the real work.  The second script uses 'N' to pair each
2491   # line-number line with the line containing $LINENO, and appends
2492   # trailing '-' during substitution so that $LINENO is not a special
2493   # case at line end.
2494   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2495   # scripts with optimization help from Paolo Bonzini.  Blame Lee
2496   # E. McMahon (1931-1989) for sed's syntax.  :-)
2497   sed -n '
2498     p
2499     /[$]LINENO/=
2500   ' <$as_myself |
2501     sed '
2502       s/[$]LINENO.*/&-/
2503       t lineno
2504       b
2505       :lineno
2506       N
2507       :loop
2508       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2509       t loop
2510       s/-\n.*//
2511     ' >$as_me.lineno &&
2512   chmod +x "$as_me.lineno" ||
2513     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2514    { (exit 1); exit 1; }; }
2515
2516   # Don't try to exec as it changes $[0], causing all sort of problems
2517   # (the dirname of $[0] is not the place where we might find the
2518   # original and so on.  Autoconf is especially sensitive to this).
2519   . "./$as_me.lineno"
2520   # Exit status is that of the last command.
2521   exit
2522 }
2523
2524
2525 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2526   as_dirname=dirname
2527 else
2528   as_dirname=false
2529 fi
2530
2531 ECHO_C= ECHO_N= ECHO_T=
2532 case `echo -n x` in
2533 -n*)
2534   case `echo 'x\c'` in
2535   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2536   *)   ECHO_C='\c';;
2537   esac;;
2538 *)
2539   ECHO_N='-n';;
2540 esac
2541
2542 if expr a : '\(a\)' >/dev/null 2>&1 &&
2543    test "X`expr 00001 : '.*\(...\)'`" = X001; then
2544   as_expr=expr
2545 else
2546   as_expr=false
2547 fi
2548
2549 rm -f conf$$ conf$$.exe conf$$.file
2550 if test -d conf$$.dir; then
2551   rm -f conf$$.dir/conf$$.file
2552 else
2553   rm -f conf$$.dir
2554   mkdir conf$$.dir
2555 fi
2556 echo >conf$$.file
2557 if ln -s conf$$.file conf$$ 2>/dev/null; then
2558   as_ln_s='ln -s'
2559   # ... but there are two gotchas:
2560   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2561   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2562   # In both cases, we have to default to `cp -p'.
2563   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2564     as_ln_s='cp -p'
2565 elif ln conf$$.file conf$$ 2>/dev/null; then
2566   as_ln_s=ln
2567 else
2568   as_ln_s='cp -p'
2569 fi
2570 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2571 rmdir conf$$.dir 2>/dev/null
2572
2573 if mkdir -p . 2>/dev/null; then
2574   as_mkdir_p=:
2575 else
2576   test -d ./-p && rmdir ./-p
2577   as_mkdir_p=false
2578 fi
2579
2580 # Find out whether ``test -x'' works.  Don't use a zero-byte file, as
2581 # systems may use methods other than mode bits to determine executability.
2582 cat >conf$$.file <<_ASEOF
2583 #! /bin/sh
2584 exit 0
2585 _ASEOF
2586 chmod +x conf$$.file
2587 if test -x conf$$.file >/dev/null 2>&1; then
2588   as_executable_p="test -x"
2589 else
2590   as_executable_p=:
2591 fi
2592 rm -f conf$$.file
2593
2594 # Sed expression to map a string onto a valid CPP name.
2595 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2596
2597 # Sed expression to map a string onto a valid variable name.
2598 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2599
2600
2601 exec 6>&1
2602
2603 # Save the log message, to keep $[0] and so on meaningful, and to
2604 # report actual input values of CONFIG_FILES etc. instead of their
2605 # values after options handling.
2606 ac_log="
2607 This file was extended by $as_me, which was
2608 generated by GNU Autoconf 2.60.  Invocation command line was
2609
2610   CONFIG_FILES    = $CONFIG_FILES
2611   CONFIG_HEADERS  = $CONFIG_HEADERS
2612   CONFIG_LINKS    = $CONFIG_LINKS
2613   CONFIG_COMMANDS = $CONFIG_COMMANDS
2614   $ $0 $@
2615
2616 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2617 "
2618
2619 _ACEOF
2620
2621 cat >>$CONFIG_STATUS <<_ACEOF
2622 # Files that config.status was made for.
2623 config_files="$ac_config_files"
2624
2625 _ACEOF
2626
2627 cat >>$CONFIG_STATUS <<\_ACEOF
2628 ac_cs_usage="\
2629 \`$as_me' instantiates files from templates according to the
2630 current configuration.
2631
2632 Usage: $0 [OPTIONS] [FILE]...
2633
2634   -h, --help       print this help, then exit
2635   -V, --version    print version number, then exit
2636   -q, --quiet      do not print progress messages
2637   -d, --debug      don't remove temporary files
2638       --recheck    update $as_me by reconfiguring in the same conditions
2639   --file=FILE[:TEMPLATE]
2640                    instantiate the configuration file FILE
2641
2642 Configuration files:
2643 $config_files
2644
2645 Report bugs to <bug-autoconf@gnu.org>."
2646
2647 _ACEOF
2648 cat >>$CONFIG_STATUS <<_ACEOF
2649 ac_cs_version="\\
2650 config.status
2651 configured by $0, generated by GNU Autoconf 2.60,
2652   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2653
2654 Copyright (C) 2006 Free Software Foundation, Inc.
2655 This config.status script is free software; the Free Software Foundation
2656 gives unlimited permission to copy, distribute and modify it."
2657
2658 ac_pwd='$ac_pwd'
2659 srcdir='$srcdir'
2660 _ACEOF
2661
2662 cat >>$CONFIG_STATUS <<\_ACEOF
2663 # If no file are specified by the user, then we need to provide default
2664 # value.  By we need to know if files were specified by the user.
2665 ac_need_defaults=:
2666 while test $# != 0
2667 do
2668   case $1 in
2669   --*=*)
2670     ac_option=`expr "X$1" : 'X\([^=]*\)='`
2671     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2672     ac_shift=:
2673     ;;
2674   *)
2675     ac_option=$1
2676     ac_optarg=$2
2677     ac_shift=shift
2678     ;;
2679   esac
2680
2681   case $ac_option in
2682   # Handling of the options.
2683   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2684     ac_cs_recheck=: ;;
2685   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2686     echo "$ac_cs_version"; exit ;;
2687   --debug | --debu | --deb | --de | --d | -d )
2688     debug=: ;;
2689   --file | --fil | --fi | --f )
2690     $ac_shift
2691     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2692     ac_need_defaults=false;;
2693   --he | --h |  --help | --hel | -h )
2694     echo "$ac_cs_usage"; exit ;;
2695   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2696   | -silent | --silent | --silen | --sile | --sil | --si | --s)
2697     ac_cs_silent=: ;;
2698
2699   # This is an error.
2700   -*) { echo "$as_me: error: unrecognized option: $1
2701 Try \`$0 --help' for more information." >&2
2702    { (exit 1); exit 1; }; } ;;
2703
2704   *) ac_config_targets="$ac_config_targets $1"
2705      ac_need_defaults=false ;;
2706
2707   esac
2708   shift
2709 done
2710
2711 ac_configure_extra_args=
2712
2713 if $ac_cs_silent; then
2714   exec 6>/dev/null
2715   ac_configure_extra_args="$ac_configure_extra_args --silent"
2716 fi
2717
2718 _ACEOF
2719 cat >>$CONFIG_STATUS <<_ACEOF
2720 if \$ac_cs_recheck; then
2721   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2722   CONFIG_SHELL=$SHELL
2723   export CONFIG_SHELL
2724   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2725 fi
2726
2727 _ACEOF
2728 cat >>$CONFIG_STATUS <<\_ACEOF
2729 exec 5>>config.log
2730 {
2731   echo
2732   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2733 ## Running $as_me. ##
2734 _ASBOX
2735   echo "$ac_log"
2736 } >&5
2737
2738 _ACEOF
2739 cat >>$CONFIG_STATUS <<_ACEOF
2740 _ACEOF
2741
2742 cat >>$CONFIG_STATUS <<\_ACEOF
2743
2744 # Handling of arguments.
2745 for ac_config_target in $ac_config_targets
2746 do
2747   case $ac_config_target in
2748     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2749     "Makefile.common") CONFIG_FILES="$CONFIG_FILES Makefile.common" ;;
2750     "libdev/Makefile") CONFIG_FILES="$CONFIG_FILES libdev/Makefile" ;;
2751     "libsdcc/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/Makefile" ;;
2752     "libm/Makefile") CONFIG_FILES="$CONFIG_FILES libm/Makefile" ;;
2753
2754   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2755 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2756    { (exit 1); exit 1; }; };;
2757   esac
2758 done
2759
2760
2761 # If the user did not use the arguments to specify the items to instantiate,
2762 # then the envvar interface is used.  Set only those that are not.
2763 # We use the long form for the default assignment because of an extremely
2764 # bizarre bug on SunOS 4.1.3.
2765 if $ac_need_defaults; then
2766   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2767 fi
2768
2769 # Have a temporary directory for convenience.  Make it in the build tree
2770 # simply because there is no reason against having it here, and in addition,
2771 # creating and moving files from /tmp can sometimes cause problems.
2772 # Hook for its removal unless debugging.
2773 # Note that there is a small window in which the directory will not be cleaned:
2774 # after its creation but before its name has been assigned to `$tmp'.
2775 $debug ||
2776 {
2777   tmp=
2778   trap 'exit_status=$?
2779   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2780 ' 0
2781   trap '{ (exit 1); exit 1; }' 1 2 13 15
2782 }
2783 # Create a (secure) tmp directory for tmp files.
2784
2785 {
2786   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2787   test -n "$tmp" && test -d "$tmp"
2788 }  ||
2789 {
2790   tmp=./conf$$-$RANDOM
2791   (umask 077 && mkdir "$tmp")
2792 } ||
2793 {
2794    echo "$me: cannot create a temporary directory in ." >&2
2795    { (exit 1); exit 1; }
2796 }
2797
2798 #
2799 # Set up the sed scripts for CONFIG_FILES section.
2800 #
2801
2802 # No need to generate the scripts if there are no CONFIG_FILES.
2803 # This happens for instance when ./config.status config.h
2804 if test -n "$CONFIG_FILES"; then
2805
2806 _ACEOF
2807
2808
2809
2810 ac_delim='%!_!# '
2811 for ac_last_try in false false false false false :; do
2812   cat >conf$$subs.sed <<_ACEOF
2813 SHELL!$SHELL$ac_delim
2814 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2815 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2816 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2817 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2818 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2819 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2820 exec_prefix!$exec_prefix$ac_delim
2821 prefix!$prefix$ac_delim
2822 program_transform_name!$program_transform_name$ac_delim
2823 bindir!$bindir$ac_delim
2824 sbindir!$sbindir$ac_delim
2825 libexecdir!$libexecdir$ac_delim
2826 datarootdir!$datarootdir$ac_delim
2827 datadir!$datadir$ac_delim
2828 sysconfdir!$sysconfdir$ac_delim
2829 sharedstatedir!$sharedstatedir$ac_delim
2830 localstatedir!$localstatedir$ac_delim
2831 includedir!$includedir$ac_delim
2832 oldincludedir!$oldincludedir$ac_delim
2833 docdir!$docdir$ac_delim
2834 infodir!$infodir$ac_delim
2835 htmldir!$htmldir$ac_delim
2836 dvidir!$dvidir$ac_delim
2837 pdfdir!$pdfdir$ac_delim
2838 psdir!$psdir$ac_delim
2839 libdir!$libdir$ac_delim
2840 localedir!$localedir$ac_delim
2841 mandir!$mandir$ac_delim
2842 DEFS!$DEFS$ac_delim
2843 ECHO_C!$ECHO_C$ac_delim
2844 ECHO_N!$ECHO_N$ac_delim
2845 ECHO_T!$ECHO_T$ac_delim
2846 LIBS!$LIBS$ac_delim
2847 build_alias!$build_alias$ac_delim
2848 host_alias!$host_alias$ac_delim
2849 target_alias!$target_alias$ac_delim
2850 GPASM!$GPASM$ac_delim
2851 GPLINK!$GPLINK$ac_delim
2852 GPLIB!$GPLIB$ac_delim
2853 RM!$RM$ac_delim
2854 CP!$CP$ac_delim
2855 MV!$MV$ac_delim
2856 LS!$LS$ac_delim
2857 SED!$SED$ac_delim
2858 GREP!$GREP$ac_delim
2859 EGREP!$EGREP$ac_delim
2860 MKDIR!$MKDIR$ac_delim
2861 RMDIR!$RMDIR$ac_delim
2862 SET_MAKE!$SET_MAKE$ac_delim
2863 LIBOBJS!$LIBOBJS$ac_delim
2864 LTLIBOBJS!$LTLIBOBJS$ac_delim
2865 _ACEOF
2866
2867   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then
2868     break
2869   elif $ac_last_try; then
2870     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2871 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2872    { (exit 1); exit 1; }; }
2873   else
2874     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2875   fi
2876 done
2877
2878 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2879 if test -n "$ac_eof"; then
2880   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2881   ac_eof=`expr $ac_eof + 1`
2882 fi
2883
2884 cat >>$CONFIG_STATUS <<_ACEOF
2885 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2886 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2887 _ACEOF
2888 sed '
2889 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2890 s/^/s,@/; s/!/@,|#_!!_#|/
2891 :n
2892 t n
2893 s/'"$ac_delim"'$/,g/; t
2894 s/$/\\/; p
2895 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2896 ' >>$CONFIG_STATUS <conf$$subs.sed
2897 rm -f conf$$subs.sed
2898 cat >>$CONFIG_STATUS <<_ACEOF
2899 :end
2900 s/|#_!!_#|//g
2901 CEOF$ac_eof
2902 _ACEOF
2903
2904
2905 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2906 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2907 # trailing colons and then remove the whole line if VPATH becomes empty
2908 # (actually we leave an empty line to preserve line numbers).
2909 if test "x$srcdir" = x.; then
2910   ac_vpsub='/^[  ]*VPATH[        ]*=/{
2911 s/:*\$(srcdir):*/:/
2912 s/:*\${srcdir}:*/:/
2913 s/:*@srcdir@:*/:/
2914 s/^\([^=]*=[     ]*\):*/\1/
2915 s/:*$//
2916 s/^[^=]*=[       ]*$//
2917 }'
2918 fi
2919
2920 cat >>$CONFIG_STATUS <<\_ACEOF
2921 fi # test -n "$CONFIG_FILES"
2922
2923
2924 for ac_tag in  :F $CONFIG_FILES
2925 do
2926   case $ac_tag in
2927   :[FHLC]) ac_mode=$ac_tag; continue;;
2928   esac
2929   case $ac_mode$ac_tag in
2930   :[FHL]*:*);;
2931   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2932 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2933    { (exit 1); exit 1; }; };;
2934   :[FH]-) ac_tag=-:-;;
2935   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2936   esac
2937   ac_save_IFS=$IFS
2938   IFS=:
2939   set x $ac_tag
2940   IFS=$ac_save_IFS
2941   shift
2942   ac_file=$1
2943   shift
2944
2945   case $ac_mode in
2946   :L) ac_source=$1;;
2947   :[FH])
2948     ac_file_inputs=
2949     for ac_f
2950     do
2951       case $ac_f in
2952       -) ac_f="$tmp/stdin";;
2953       *) # Look for the file first in the build tree, then in the source tree
2954          # (if the path is not absolute).  The absolute path cannot be DOS-style,
2955          # because $ac_f cannot contain `:'.
2956          test -f "$ac_f" ||
2957            case $ac_f in
2958            [\\/$]*) false;;
2959            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2960            esac ||
2961            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2962 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2963    { (exit 1); exit 1; }; };;
2964       esac
2965       ac_file_inputs="$ac_file_inputs $ac_f"
2966     done
2967
2968     # Let's still pretend it is `configure' which instantiates (i.e., don't
2969     # use $as_me), people would be surprised to read:
2970     #    /* config.h.  Generated by config.status.  */
2971     configure_input="Generated from "`IFS=:
2972           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2973     if test x"$ac_file" != x-; then
2974       configure_input="$ac_file.  $configure_input"
2975       { echo "$as_me:$LINENO: creating $ac_file" >&5
2976 echo "$as_me: creating $ac_file" >&6;}
2977     fi
2978
2979     case $ac_tag in
2980     *:-:* | *:-) cat >"$tmp/stdin";;
2981     esac
2982     ;;
2983   esac
2984
2985   ac_dir=`$as_dirname -- "$ac_file" ||
2986 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2987          X"$ac_file" : 'X\(//\)[^/]' \| \
2988          X"$ac_file" : 'X\(//\)$' \| \
2989          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2990 echo X"$ac_file" |
2991     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2992             s//\1/
2993             q
2994           }
2995           /^X\(\/\/\)[^/].*/{
2996             s//\1/
2997             q
2998           }
2999           /^X\(\/\/\)$/{
3000             s//\1/
3001             q
3002           }
3003           /^X\(\/\).*/{
3004             s//\1/
3005             q
3006           }
3007           s/.*/./; q'`
3008   { as_dir="$ac_dir"
3009   case $as_dir in #(
3010   -*) as_dir=./$as_dir;;
3011   esac
3012   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3013     as_dirs=
3014     while :; do
3015       case $as_dir in #(
3016       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3017       *) as_qdir=$as_dir;;
3018       esac
3019       as_dirs="'$as_qdir' $as_dirs"
3020       as_dir=`$as_dirname -- "$as_dir" ||
3021 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3022          X"$as_dir" : 'X\(//\)[^/]' \| \
3023          X"$as_dir" : 'X\(//\)$' \| \
3024          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3025 echo X"$as_dir" |
3026     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3027             s//\1/
3028             q
3029           }
3030           /^X\(\/\/\)[^/].*/{
3031             s//\1/
3032             q
3033           }
3034           /^X\(\/\/\)$/{
3035             s//\1/
3036             q
3037           }
3038           /^X\(\/\).*/{
3039             s//\1/
3040             q
3041           }
3042           s/.*/./; q'`
3043       test -d "$as_dir" && break
3044     done
3045     test -z "$as_dirs" || eval "mkdir $as_dirs"
3046   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3047 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3048    { (exit 1); exit 1; }; }; }
3049   ac_builddir=.
3050
3051 case "$ac_dir" in
3052 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3053 *)
3054   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3055   # A ".." for each directory in $ac_dir_suffix.
3056   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3057   case $ac_top_builddir_sub in
3058   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3059   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3060   esac ;;
3061 esac
3062 ac_abs_top_builddir=$ac_pwd
3063 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3064 # for backward compatibility:
3065 ac_top_builddir=$ac_top_build_prefix
3066
3067 case $srcdir in
3068   .)  # We are building in place.
3069     ac_srcdir=.
3070     ac_top_srcdir=$ac_top_builddir_sub
3071     ac_abs_top_srcdir=$ac_pwd ;;
3072   [\\/]* | ?:[\\/]* )  # Absolute name.
3073     ac_srcdir=$srcdir$ac_dir_suffix;
3074     ac_top_srcdir=$srcdir
3075     ac_abs_top_srcdir=$srcdir ;;
3076   *) # Relative name.
3077     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3078     ac_top_srcdir=$ac_top_build_prefix$srcdir
3079     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3080 esac
3081 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3082
3083
3084   case $ac_mode in
3085   :F)
3086   #
3087   # CONFIG_FILE
3088   #
3089
3090 _ACEOF
3091
3092 cat >>$CONFIG_STATUS <<\_ACEOF
3093 # If the template does not know about datarootdir, expand it.
3094 # FIXME: This hack should be removed a few years after 2.60.
3095 ac_datarootdir_hack=; ac_datarootdir_seen=
3096
3097 case `sed -n '/datarootdir/ {
3098   p
3099   q
3100 }
3101 /@datadir@/p
3102 /@docdir@/p
3103 /@infodir@/p
3104 /@localedir@/p
3105 /@mandir@/p
3106 ' $ac_file_inputs` in
3107 *datarootdir*) ac_datarootdir_seen=yes;;
3108 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3109   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3110 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3111 _ACEOF
3112 cat >>$CONFIG_STATUS <<_ACEOF
3113   ac_datarootdir_hack='
3114   s&@datadir@&$datadir&g
3115   s&@docdir@&$docdir&g
3116   s&@infodir@&$infodir&g
3117   s&@localedir@&$localedir&g
3118   s&@mandir@&$mandir&g
3119     s&\\\${datarootdir}&$datarootdir&g' ;;
3120 esac
3121 _ACEOF
3122
3123 # Neutralize VPATH when `$srcdir' = `.'.
3124 # Shell code in configure.ac might set extrasub.
3125 # FIXME: do we really want to maintain this feature?
3126 cat >>$CONFIG_STATUS <<_ACEOF
3127   sed "$ac_vpsub
3128 $extrasub
3129 _ACEOF
3130 cat >>$CONFIG_STATUS <<\_ACEOF
3131 :t
3132 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3133 s&@configure_input@&$configure_input&;t t
3134 s&@top_builddir@&$ac_top_builddir_sub&;t t
3135 s&@srcdir@&$ac_srcdir&;t t
3136 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3137 s&@top_srcdir@&$ac_top_srcdir&;t t
3138 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3139 s&@builddir@&$ac_builddir&;t t
3140 s&@abs_builddir@&$ac_abs_builddir&;t t
3141 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3142 $ac_datarootdir_hack
3143 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3144
3145 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3146   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3147   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3148   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3149 which seems to be undefined.  Please make sure it is defined." >&5
3150 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3151 which seems to be undefined.  Please make sure it is defined." >&2;}
3152
3153   rm -f "$tmp/stdin"
3154   case $ac_file in
3155   -) cat "$tmp/out"; rm -f "$tmp/out";;
3156   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3157   esac
3158  ;;
3159
3160
3161
3162   esac
3163
3164 done # for ac_tag
3165
3166
3167 { (exit 0); exit 0; }
3168 _ACEOF
3169 chmod +x $CONFIG_STATUS
3170 ac_clean_files=$ac_clean_files_save
3171
3172
3173 # configure is writing to config.log, and then calls config.status.
3174 # config.status does its own redirection, appending to config.log.
3175 # Unfortunately, on DOS this fails, as config.log is still kept open
3176 # by configure, so config.status won't be able to write to it; its
3177 # output is simply discarded.  So we exec the FD to /dev/null,
3178 # effectively closing config.log, so it can be properly (re)opened and
3179 # appended to by config.status.  When coming back to configure, we
3180 # need to make the FD available again.
3181 if test "$no_create" != yes; then
3182   ac_cs_success=:
3183   ac_config_status_args=
3184   test "$silent" = yes &&
3185     ac_config_status_args="$ac_config_status_args --quiet"
3186   exec 5>/dev/null
3187   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3188   exec 5>>config.log
3189   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3190   # would make configure fail if this is the last instruction.
3191   $ac_cs_success || { (exit 1); exit 1; }
3192 fi
3193