OSDN Git Service

2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
[pf3gnuchains/pf3gnuchains3x.git] / newlib / libc / machine / sh / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for newlib 1.18.0.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization.  ##
11 ## --------------------- ##
12
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16   emulate sh
17   NULLCMD=:
18   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19   # is contrary to our usage.  Disable this feature.
20   alias -g '${1+"$@"}'='"$@"'
21   setopt NO_GLOB_SUBST
22 else
23   case `(set -o) 2>/dev/null` in
24   *posix*) set -o posix ;;
25 esac
26
27 fi
28
29
30
31
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40 as_nl='
41 '
42 export as_nl
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83   as_unset=unset
84 else
85   as_unset=false
86 fi
87
88
89 # IFS
90 # We need space, tab and new line, in precisely that order.  Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
94 IFS=" ""        $as_nl"
95
96 # Find who we are.  Look in the path if we contain no directory separator.
97 case $0 in
98   *[\\/]* ) as_myself=$0 ;;
99   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 for as_dir in $PATH
101 do
102   IFS=$as_save_IFS
103   test -z "$as_dir" && as_dir=.
104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 done
106 IFS=$as_save_IFS
107
108      ;;
109 esac
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
113   as_myself=$0
114 fi
115 if test ! -f "$as_myself"; then
116   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117   { (exit 1); exit 1; }
118 fi
119
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136    test "X`expr 00001 : '.*\(...\)'`" = X001; then
137   as_expr=expr
138 else
139   as_expr=false
140 fi
141
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143   as_basename=basename
144 else
145   as_basename=false
146 fi
147
148
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152          X"$0" : 'X\(//\)$' \| \
153          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154 $as_echo X/"$0" |
155     sed '/^.*\/\([^/][^/]*\)\/*$/{
156             s//\1/
157             q
158           }
159           /^X\/\(\/\/\)$/{
160             s//\1/
161             q
162           }
163           /^X\/\(\/\).*/{
164             s//\1/
165             q
166           }
167           s/.*/./; q'`
168
169 # CDPATH.
170 $as_unset CDPATH
171
172
173 if test "x$CONFIG_SHELL" = x; then
174   if (eval ":") 2>/dev/null; then
175   as_have_required=yes
176 else
177   as_have_required=no
178 fi
179
180   if test $as_have_required = yes &&     (eval ":
181 (as_func_return () {
182   (exit \$1)
183 }
184 as_func_success () {
185   as_func_return 0
186 }
187 as_func_failure () {
188   as_func_return 1
189 }
190 as_func_ret_success () {
191   return 0
192 }
193 as_func_ret_failure () {
194   return 1
195 }
196
197 exitcode=0
198 if as_func_success; then
199   :
200 else
201   exitcode=1
202   echo as_func_success failed.
203 fi
204
205 if as_func_failure; then
206   exitcode=1
207   echo as_func_failure succeeded.
208 fi
209
210 if as_func_ret_success; then
211   :
212 else
213   exitcode=1
214   echo as_func_ret_success failed.
215 fi
216
217 if as_func_ret_failure; then
218   exitcode=1
219   echo as_func_ret_failure succeeded.
220 fi
221
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223   :
224 else
225   exitcode=1
226   echo positional parameters were not saved.
227 fi
228
229 test \$exitcode = 0) || { (exit 1); exit 1; }
230
231 (
232   as_lineno_1=\$LINENO
233   as_lineno_2=\$LINENO
234   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
237   :
238 else
239   as_candidate_shells=
240     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242 do
243   IFS=$as_save_IFS
244   test -z "$as_dir" && as_dir=.
245   case $as_dir in
246          /*)
247            for as_base in sh bash ksh sh5; do
248              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
249            done;;
250        esac
251 done
252 IFS=$as_save_IFS
253
254
255       for as_shell in $as_candidate_shells $SHELL; do
256          # Try only shells that exist, to save several forks.
257          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258                 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260   emulate sh
261   NULLCMD=:
262   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263   # is contrary to our usage.  Disable this feature.
264   alias -g '${1+"$@"}'='"$@"'
265   setopt NO_GLOB_SUBST
266 else
267   case `(set -o) 2>/dev/null` in
268   *posix*) set -o posix ;;
269 esac
270
271 fi
272
273
274 :
275 _ASEOF
276 }; then
277   CONFIG_SHELL=$as_shell
278                as_have_required=yes
279                if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281   emulate sh
282   NULLCMD=:
283   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284   # is contrary to our usage.  Disable this feature.
285   alias -g '${1+"$@"}'='"$@"'
286   setopt NO_GLOB_SUBST
287 else
288   case `(set -o) 2>/dev/null` in
289   *posix*) set -o posix ;;
290 esac
291
292 fi
293
294
295 :
296 (as_func_return () {
297   (exit $1)
298 }
299 as_func_success () {
300   as_func_return 0
301 }
302 as_func_failure () {
303   as_func_return 1
304 }
305 as_func_ret_success () {
306   return 0
307 }
308 as_func_ret_failure () {
309   return 1
310 }
311
312 exitcode=0
313 if as_func_success; then
314   :
315 else
316   exitcode=1
317   echo as_func_success failed.
318 fi
319
320 if as_func_failure; then
321   exitcode=1
322   echo as_func_failure succeeded.
323 fi
324
325 if as_func_ret_success; then
326   :
327 else
328   exitcode=1
329   echo as_func_ret_success failed.
330 fi
331
332 if as_func_ret_failure; then
333   exitcode=1
334   echo as_func_ret_failure succeeded.
335 fi
336
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
338   :
339 else
340   exitcode=1
341   echo positional parameters were not saved.
342 fi
343
344 test $exitcode = 0) || { (exit 1); exit 1; }
345
346 (
347   as_lineno_1=$LINENO
348   as_lineno_2=$LINENO
349   test "x$as_lineno_1" != "x$as_lineno_2" &&
350   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
352 _ASEOF
353 }; then
354   break
355 fi
356
357 fi
358
359       done
360
361       if test "x$CONFIG_SHELL" != x; then
362   for as_var in BASH_ENV ENV
363         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364         done
365         export CONFIG_SHELL
366         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367 fi
368
369
370     if test $as_have_required = no; then
371   echo This script requires a shell more modern than all the
372       echo shells that I found on your system.  Please install a
373       echo modern shell, or manually run the script under such a
374       echo shell if you do have one.
375       { (exit 1); exit 1; }
376 fi
377
378
379 fi
380
381 fi
382
383
384
385 (eval "as_func_return () {
386   (exit \$1)
387 }
388 as_func_success () {
389   as_func_return 0
390 }
391 as_func_failure () {
392   as_func_return 1
393 }
394 as_func_ret_success () {
395   return 0
396 }
397 as_func_ret_failure () {
398   return 1
399 }
400
401 exitcode=0
402 if as_func_success; then
403   :
404 else
405   exitcode=1
406   echo as_func_success failed.
407 fi
408
409 if as_func_failure; then
410   exitcode=1
411   echo as_func_failure succeeded.
412 fi
413
414 if as_func_ret_success; then
415   :
416 else
417   exitcode=1
418   echo as_func_ret_success failed.
419 fi
420
421 if as_func_ret_failure; then
422   exitcode=1
423   echo as_func_ret_failure succeeded.
424 fi
425
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427   :
428 else
429   exitcode=1
430   echo positional parameters were not saved.
431 fi
432
433 test \$exitcode = 0") || {
434   echo No shell found that supports shell functions.
435   echo Please tell bug-autoconf@gnu.org about your system,
436   echo including any error possibly output before this message.
437   echo This can help us improve future autoconf versions.
438   echo Configuration will now proceed without shell functions.
439 }
440
441
442
443   as_lineno_1=$LINENO
444   as_lineno_2=$LINENO
445   test "x$as_lineno_1" != "x$as_lineno_2" &&
446   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447
448   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449   # uniformly replaced by the line number.  The first 'sed' inserts a
450   # line-number line after each line using $LINENO; the second 'sed'
451   # does the real work.  The second script uses 'N' to pair each
452   # line-number line with the line containing $LINENO, and appends
453   # trailing '-' during substitution so that $LINENO is not a special
454   # case at line end.
455   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456   # scripts with optimization help from Paolo Bonzini.  Blame Lee
457   # E. McMahon (1931-1989) for sed's syntax.  :-)
458   sed -n '
459     p
460     /[$]LINENO/=
461   ' <$as_myself |
462     sed '
463       s/[$]LINENO.*/&-/
464       t lineno
465       b
466       :lineno
467       N
468       :loop
469       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
470       t loop
471       s/-\n.*//
472     ' >$as_me.lineno &&
473   chmod +x "$as_me.lineno" ||
474     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475    { (exit 1); exit 1; }; }
476
477   # Don't try to exec as it changes $[0], causing all sort of problems
478   # (the dirname of $[0] is not the place where we might find the
479   # original and so on.  Autoconf is especially sensitive to this).
480   . "./$as_me.lineno"
481   # Exit status is that of the last command.
482   exit
483 }
484
485
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487   as_dirname=dirname
488 else
489   as_dirname=false
490 fi
491
492 ECHO_C= ECHO_N= ECHO_T=
493 case `echo -n x` in
494 -n*)
495   case `echo 'x\c'` in
496   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
497   *)   ECHO_C='\c';;
498   esac;;
499 *)
500   ECHO_N='-n';;
501 esac
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503    test "X`expr 00001 : '.*\(...\)'`" = X001; then
504   as_expr=expr
505 else
506   as_expr=false
507 fi
508
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511   rm -f conf$$.dir/conf$$.file
512 else
513   rm -f conf$$.dir
514   mkdir conf$$.dir 2>/dev/null
515 fi
516 if (echo >conf$$.file) 2>/dev/null; then
517   if ln -s conf$$.file conf$$ 2>/dev/null; then
518     as_ln_s='ln -s'
519     # ... but there are two gotchas:
520     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522     # In both cases, we have to default to `cp -p'.
523     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
524       as_ln_s='cp -p'
525   elif ln conf$$.file conf$$ 2>/dev/null; then
526     as_ln_s=ln
527   else
528     as_ln_s='cp -p'
529   fi
530 else
531   as_ln_s='cp -p'
532 fi
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
535
536 if mkdir -p . 2>/dev/null; then
537   as_mkdir_p=:
538 else
539   test -d ./-p && rmdir ./-p
540   as_mkdir_p=false
541 fi
542
543 if test -x / >/dev/null 2>&1; then
544   as_test_x='test -x'
545 else
546   if ls -dL / >/dev/null 2>&1; then
547     as_ls_L_option=L
548   else
549     as_ls_L_option=
550   fi
551   as_test_x='
552     eval sh -c '\''
553       if test -d "$1"; then
554         test -d "$1/.";
555       else
556         case $1 in
557         -*)set "./$1";;
558         esac;
559         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560         ???[sx]*):;;*)false;;esac;fi
561     '\'' sh
562   '
563 fi
564 as_executable_p=$as_test_x
565
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
568
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571
572
573
574 exec 7<&0 </dev/null 6>&1
575
576 # Name of the host.
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580
581 #
582 # Initializations.
583 #
584 ac_default_prefix=/usr/local
585 ac_clean_files=
586 ac_config_libobj_dir=.
587 LIBOBJS=
588 cross_compiling=no
589 subdirs=
590 MFLAGS=
591 MAKEFLAGS=
592 SHELL=${CONFIG_SHELL-/bin/sh}
593
594 # Identity of this package.
595 PACKAGE_NAME='newlib'
596 PACKAGE_TARNAME='newlib'
597 PACKAGE_VERSION='1.18.0'
598 PACKAGE_STRING='newlib 1.18.0'
599 PACKAGE_BUGREPORT=''
600
601 ac_unique_file="asm.h"
602 ac_no_link=no
603 ac_subst_vars='am__EXEEXT_FALSE
604 am__EXEEXT_TRUE
605 LTLIBOBJS
606 LIBOBJS
607 SH64_FALSE
608 SH64_TRUE
609 EGREP
610 GREP
611 CPP
612 EXEEXT
613 ac_ct_CC
614 CPPFLAGS
615 CFLAGS
616 sys_dir
617 machine_dir
618 libm_machine_dir
619 lpfx
620 aext
621 oext
622 OBJEXT
623 USE_LIBTOOL_FALSE
624 USE_LIBTOOL_TRUE
625 ELIX_LEVEL_4_FALSE
626 ELIX_LEVEL_4_TRUE
627 ELIX_LEVEL_3_FALSE
628 ELIX_LEVEL_3_TRUE
629 ELIX_LEVEL_2_FALSE
630 ELIX_LEVEL_2_TRUE
631 ELIX_LEVEL_1_FALSE
632 ELIX_LEVEL_1_TRUE
633 ELIX_LEVEL_0_FALSE
634 ELIX_LEVEL_0_TRUE
635 LDFLAGS
636 NEWLIB_CFLAGS
637 CCASFLAGS
638 CCAS
639 MAINT
640 MAINTAINER_MODE_FALSE
641 MAINTAINER_MODE_TRUE
642 READELF
643 RANLIB
644 AR
645 AS
646 am__fastdepCC_FALSE
647 am__fastdepCC_TRUE
648 CCDEPMODE
649 AMDEPBACKSLASH
650 AMDEP_FALSE
651 AMDEP_TRUE
652 am__quote
653 am__include
654 DEPDIR
655 CC
656 am__untar
657 am__tar
658 AMTAR
659 am__leading_dot
660 SET_MAKE
661 AWK
662 mkdir_p
663 MKDIR_P
664 INSTALL_STRIP_PROGRAM
665 STRIP
666 install_sh
667 MAKEINFO
668 AUTOHEADER
669 AUTOMAKE
670 AUTOCONF
671 ACLOCAL
672 VERSION
673 PACKAGE
674 CYGPATH_W
675 am__isrc
676 INSTALL_DATA
677 INSTALL_SCRIPT
678 INSTALL_PROGRAM
679 host_os
680 host_vendor
681 host_cpu
682 host
683 build_os
684 build_vendor
685 build_cpu
686 build
687 newlib_basedir
688 MAY_SUPPLY_SYSCALLS_FALSE
689 MAY_SUPPLY_SYSCALLS_TRUE
690 target_alias
691 host_alias
692 build_alias
693 LIBS
694 ECHO_T
695 ECHO_N
696 ECHO_C
697 DEFS
698 mandir
699 localedir
700 libdir
701 psdir
702 pdfdir
703 dvidir
704 htmldir
705 infodir
706 docdir
707 oldincludedir
708 includedir
709 localstatedir
710 sharedstatedir
711 sysconfdir
712 datadir
713 datarootdir
714 libexecdir
715 sbindir
716 bindir
717 program_transform_name
718 prefix
719 exec_prefix
720 PACKAGE_BUGREPORT
721 PACKAGE_STRING
722 PACKAGE_VERSION
723 PACKAGE_TARNAME
724 PACKAGE_NAME
725 PATH_SEPARATOR
726 SHELL'
727 ac_subst_files=''
728 ac_user_opts='
729 enable_option_checking
730 enable_multilib
731 enable_target_optspace
732 enable_malloc_debugging
733 enable_newlib_multithread
734 enable_newlib_iconv
735 enable_newlib_elix_level
736 enable_newlib_io_float
737 enable_newlib_supplied_syscalls
738 enable_dependency_tracking
739 enable_maintainer_mode
740 '
741       ac_precious_vars='build_alias
742 host_alias
743 target_alias
744 CCAS
745 CCASFLAGS
746 CC
747 CFLAGS
748 LDFLAGS
749 LIBS
750 CPPFLAGS
751 CPP'
752
753
754 # Initialize some variables set by options.
755 ac_init_help=
756 ac_init_version=false
757 ac_unrecognized_opts=
758 ac_unrecognized_sep=
759 # The variables have the same names as the options, with
760 # dashes changed to underlines.
761 cache_file=/dev/null
762 exec_prefix=NONE
763 no_create=
764 no_recursion=
765 prefix=NONE
766 program_prefix=NONE
767 program_suffix=NONE
768 program_transform_name=s,x,x,
769 silent=
770 site=
771 srcdir=
772 verbose=
773 x_includes=NONE
774 x_libraries=NONE
775
776 # Installation directory options.
777 # These are left unexpanded so users can "make install exec_prefix=/foo"
778 # and all the variables that are supposed to be based on exec_prefix
779 # by default will actually change.
780 # Use braces instead of parens because sh, perl, etc. also accept them.
781 # (The list follows the same order as the GNU Coding Standards.)
782 bindir='${exec_prefix}/bin'
783 sbindir='${exec_prefix}/sbin'
784 libexecdir='${exec_prefix}/libexec'
785 datarootdir='${prefix}/share'
786 datadir='${datarootdir}'
787 sysconfdir='${prefix}/etc'
788 sharedstatedir='${prefix}/com'
789 localstatedir='${prefix}/var'
790 includedir='${prefix}/include'
791 oldincludedir='/usr/include'
792 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
793 infodir='${datarootdir}/info'
794 htmldir='${docdir}'
795 dvidir='${docdir}'
796 pdfdir='${docdir}'
797 psdir='${docdir}'
798 libdir='${exec_prefix}/lib'
799 localedir='${datarootdir}/locale'
800 mandir='${datarootdir}/man'
801
802 ac_prev=
803 ac_dashdash=
804 for ac_option
805 do
806   # If the previous option needs an argument, assign it.
807   if test -n "$ac_prev"; then
808     eval $ac_prev=\$ac_option
809     ac_prev=
810     continue
811   fi
812
813   case $ac_option in
814   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
815   *)    ac_optarg=yes ;;
816   esac
817
818   # Accept the important Cygnus configure options, so we can diagnose typos.
819
820   case $ac_dashdash$ac_option in
821   --)
822     ac_dashdash=yes ;;
823
824   -bindir | --bindir | --bindi | --bind | --bin | --bi)
825     ac_prev=bindir ;;
826   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
827     bindir=$ac_optarg ;;
828
829   -build | --build | --buil | --bui | --bu)
830     ac_prev=build_alias ;;
831   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
832     build_alias=$ac_optarg ;;
833
834   -cache-file | --cache-file | --cache-fil | --cache-fi \
835   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
836     ac_prev=cache_file ;;
837   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
838   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
839     cache_file=$ac_optarg ;;
840
841   --config-cache | -C)
842     cache_file=config.cache ;;
843
844   -datadir | --datadir | --datadi | --datad)
845     ac_prev=datadir ;;
846   -datadir=* | --datadir=* | --datadi=* | --datad=*)
847     datadir=$ac_optarg ;;
848
849   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
850   | --dataroo | --dataro | --datar)
851     ac_prev=datarootdir ;;
852   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
853   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
854     datarootdir=$ac_optarg ;;
855
856   -disable-* | --disable-*)
857     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
858     # Reject names that are not valid shell variable names.
859     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
860       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
861    { (exit 1); exit 1; }; }
862     ac_useropt_orig=$ac_useropt
863     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
864     case $ac_user_opts in
865       *"
866 "enable_$ac_useropt"
867 "*) ;;
868       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
869          ac_unrecognized_sep=', ';;
870     esac
871     eval enable_$ac_useropt=no ;;
872
873   -docdir | --docdir | --docdi | --doc | --do)
874     ac_prev=docdir ;;
875   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
876     docdir=$ac_optarg ;;
877
878   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
879     ac_prev=dvidir ;;
880   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
881     dvidir=$ac_optarg ;;
882
883   -enable-* | --enable-*)
884     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
885     # Reject names that are not valid shell variable names.
886     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
887       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
888    { (exit 1); exit 1; }; }
889     ac_useropt_orig=$ac_useropt
890     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
891     case $ac_user_opts in
892       *"
893 "enable_$ac_useropt"
894 "*) ;;
895       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
896          ac_unrecognized_sep=', ';;
897     esac
898     eval enable_$ac_useropt=\$ac_optarg ;;
899
900   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
901   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
902   | --exec | --exe | --ex)
903     ac_prev=exec_prefix ;;
904   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
905   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
906   | --exec=* | --exe=* | --ex=*)
907     exec_prefix=$ac_optarg ;;
908
909   -gas | --gas | --ga | --g)
910     # Obsolete; use --with-gas.
911     with_gas=yes ;;
912
913   -help | --help | --hel | --he | -h)
914     ac_init_help=long ;;
915   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
916     ac_init_help=recursive ;;
917   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
918     ac_init_help=short ;;
919
920   -host | --host | --hos | --ho)
921     ac_prev=host_alias ;;
922   -host=* | --host=* | --hos=* | --ho=*)
923     host_alias=$ac_optarg ;;
924
925   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
926     ac_prev=htmldir ;;
927   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
928   | --ht=*)
929     htmldir=$ac_optarg ;;
930
931   -includedir | --includedir | --includedi | --included | --include \
932   | --includ | --inclu | --incl | --inc)
933     ac_prev=includedir ;;
934   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
935   | --includ=* | --inclu=* | --incl=* | --inc=*)
936     includedir=$ac_optarg ;;
937
938   -infodir | --infodir | --infodi | --infod | --info | --inf)
939     ac_prev=infodir ;;
940   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
941     infodir=$ac_optarg ;;
942
943   -libdir | --libdir | --libdi | --libd)
944     ac_prev=libdir ;;
945   -libdir=* | --libdir=* | --libdi=* | --libd=*)
946     libdir=$ac_optarg ;;
947
948   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
949   | --libexe | --libex | --libe)
950     ac_prev=libexecdir ;;
951   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
952   | --libexe=* | --libex=* | --libe=*)
953     libexecdir=$ac_optarg ;;
954
955   -localedir | --localedir | --localedi | --localed | --locale)
956     ac_prev=localedir ;;
957   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
958     localedir=$ac_optarg ;;
959
960   -localstatedir | --localstatedir | --localstatedi | --localstated \
961   | --localstate | --localstat | --localsta | --localst | --locals)
962     ac_prev=localstatedir ;;
963   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
964   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
965     localstatedir=$ac_optarg ;;
966
967   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
968     ac_prev=mandir ;;
969   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
970     mandir=$ac_optarg ;;
971
972   -nfp | --nfp | --nf)
973     # Obsolete; use --without-fp.
974     with_fp=no ;;
975
976   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
977   | --no-cr | --no-c | -n)
978     no_create=yes ;;
979
980   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
981   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
982     no_recursion=yes ;;
983
984   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
985   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
986   | --oldin | --oldi | --old | --ol | --o)
987     ac_prev=oldincludedir ;;
988   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
989   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
990   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
991     oldincludedir=$ac_optarg ;;
992
993   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
994     ac_prev=prefix ;;
995   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
996     prefix=$ac_optarg ;;
997
998   -program-prefix | --program-prefix | --program-prefi | --program-pref \
999   | --program-pre | --program-pr | --program-p)
1000     ac_prev=program_prefix ;;
1001   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1002   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1003     program_prefix=$ac_optarg ;;
1004
1005   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1006   | --program-suf | --program-su | --program-s)
1007     ac_prev=program_suffix ;;
1008   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1009   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1010     program_suffix=$ac_optarg ;;
1011
1012   -program-transform-name | --program-transform-name \
1013   | --program-transform-nam | --program-transform-na \
1014   | --program-transform-n | --program-transform- \
1015   | --program-transform | --program-transfor \
1016   | --program-transfo | --program-transf \
1017   | --program-trans | --program-tran \
1018   | --progr-tra | --program-tr | --program-t)
1019     ac_prev=program_transform_name ;;
1020   -program-transform-name=* | --program-transform-name=* \
1021   | --program-transform-nam=* | --program-transform-na=* \
1022   | --program-transform-n=* | --program-transform-=* \
1023   | --program-transform=* | --program-transfor=* \
1024   | --program-transfo=* | --program-transf=* \
1025   | --program-trans=* | --program-tran=* \
1026   | --progr-tra=* | --program-tr=* | --program-t=*)
1027     program_transform_name=$ac_optarg ;;
1028
1029   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1030     ac_prev=pdfdir ;;
1031   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1032     pdfdir=$ac_optarg ;;
1033
1034   -psdir | --psdir | --psdi | --psd | --ps)
1035     ac_prev=psdir ;;
1036   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1037     psdir=$ac_optarg ;;
1038
1039   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1040   | -silent | --silent | --silen | --sile | --sil)
1041     silent=yes ;;
1042
1043   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1044     ac_prev=sbindir ;;
1045   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1046   | --sbi=* | --sb=*)
1047     sbindir=$ac_optarg ;;
1048
1049   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1050   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1051   | --sharedst | --shareds | --shared | --share | --shar \
1052   | --sha | --sh)
1053     ac_prev=sharedstatedir ;;
1054   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1055   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1056   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1057   | --sha=* | --sh=*)
1058     sharedstatedir=$ac_optarg ;;
1059
1060   -site | --site | --sit)
1061     ac_prev=site ;;
1062   -site=* | --site=* | --sit=*)
1063     site=$ac_optarg ;;
1064
1065   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1066     ac_prev=srcdir ;;
1067   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1068     srcdir=$ac_optarg ;;
1069
1070   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1071   | --syscon | --sysco | --sysc | --sys | --sy)
1072     ac_prev=sysconfdir ;;
1073   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1074   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1075     sysconfdir=$ac_optarg ;;
1076
1077   -target | --target | --targe | --targ | --tar | --ta | --t)
1078     ac_prev=target_alias ;;
1079   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1080     target_alias=$ac_optarg ;;
1081
1082   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1083     verbose=yes ;;
1084
1085   -version | --version | --versio | --versi | --vers | -V)
1086     ac_init_version=: ;;
1087
1088   -with-* | --with-*)
1089     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1090     # Reject names that are not valid shell variable names.
1091     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1092       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1093    { (exit 1); exit 1; }; }
1094     ac_useropt_orig=$ac_useropt
1095     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096     case $ac_user_opts in
1097       *"
1098 "with_$ac_useropt"
1099 "*) ;;
1100       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1101          ac_unrecognized_sep=', ';;
1102     esac
1103     eval with_$ac_useropt=\$ac_optarg ;;
1104
1105   -without-* | --without-*)
1106     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107     # Reject names that are not valid shell variable names.
1108     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1109       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1110    { (exit 1); exit 1; }; }
1111     ac_useropt_orig=$ac_useropt
1112     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1113     case $ac_user_opts in
1114       *"
1115 "with_$ac_useropt"
1116 "*) ;;
1117       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1118          ac_unrecognized_sep=', ';;
1119     esac
1120     eval with_$ac_useropt=no ;;
1121
1122   --x)
1123     # Obsolete; use --with-x.
1124     with_x=yes ;;
1125
1126   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1127   | --x-incl | --x-inc | --x-in | --x-i)
1128     ac_prev=x_includes ;;
1129   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1130   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1131     x_includes=$ac_optarg ;;
1132
1133   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1134   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1135     ac_prev=x_libraries ;;
1136   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1137   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1138     x_libraries=$ac_optarg ;;
1139
1140   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1141 Try \`$0 --help' for more information." >&2
1142    { (exit 1); exit 1; }; }
1143     ;;
1144
1145   *=*)
1146     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1147     # Reject names that are not valid shell variable names.
1148     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1149       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1150    { (exit 1); exit 1; }; }
1151     eval $ac_envvar=\$ac_optarg
1152     export $ac_envvar ;;
1153
1154   *)
1155     # FIXME: should be removed in autoconf 3.0.
1156     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1157     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1158       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1159     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1160     ;;
1161
1162   esac
1163 done
1164
1165 if test -n "$ac_prev"; then
1166   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1167   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1168    { (exit 1); exit 1; }; }
1169 fi
1170
1171 if test -n "$ac_unrecognized_opts"; then
1172   case $enable_option_checking in
1173     no) ;;
1174     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1175    { (exit 1); exit 1; }; } ;;
1176     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1177   esac
1178 fi
1179
1180 # Check all directory arguments for consistency.
1181 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1182                 datadir sysconfdir sharedstatedir localstatedir includedir \
1183                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1184                 libdir localedir mandir
1185 do
1186   eval ac_val=\$$ac_var
1187   # Remove trailing slashes.
1188   case $ac_val in
1189     */ )
1190       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1191       eval $ac_var=\$ac_val;;
1192   esac
1193   # Be sure to have absolute directory names.
1194   case $ac_val in
1195     [\\/$]* | ?:[\\/]* )  continue;;
1196     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1197   esac
1198   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1199    { (exit 1); exit 1; }; }
1200 done
1201
1202 # There might be people who depend on the old broken behavior: `$host'
1203 # used to hold the argument of --host etc.
1204 # FIXME: To remove some day.
1205 build=$build_alias
1206 host=$host_alias
1207 target=$target_alias
1208
1209 # FIXME: To remove some day.
1210 if test "x$host_alias" != x; then
1211   if test "x$build_alias" = x; then
1212     cross_compiling=maybe
1213     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1214     If a cross compiler is detected then cross compile mode will be used." >&2
1215   elif test "x$build_alias" != "x$host_alias"; then
1216     cross_compiling=yes
1217   fi
1218 fi
1219
1220 ac_tool_prefix=
1221 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1222
1223 test "$silent" = yes && exec 6>/dev/null
1224
1225
1226 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1227 ac_ls_di=`ls -di .` &&
1228 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1229   { $as_echo "$as_me: error: working directory cannot be determined" >&2
1230    { (exit 1); exit 1; }; }
1231 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1232   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1233    { (exit 1); exit 1; }; }
1234
1235
1236 # Find the source files, if location was not specified.
1237 if test -z "$srcdir"; then
1238   ac_srcdir_defaulted=yes
1239   # Try the directory containing this script, then the parent directory.
1240   ac_confdir=`$as_dirname -- "$as_myself" ||
1241 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1242          X"$as_myself" : 'X\(//\)[^/]' \| \
1243          X"$as_myself" : 'X\(//\)$' \| \
1244          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1245 $as_echo X"$as_myself" |
1246     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1247             s//\1/
1248             q
1249           }
1250           /^X\(\/\/\)[^/].*/{
1251             s//\1/
1252             q
1253           }
1254           /^X\(\/\/\)$/{
1255             s//\1/
1256             q
1257           }
1258           /^X\(\/\).*/{
1259             s//\1/
1260             q
1261           }
1262           s/.*/./; q'`
1263   srcdir=$ac_confdir
1264   if test ! -r "$srcdir/$ac_unique_file"; then
1265     srcdir=..
1266   fi
1267 else
1268   ac_srcdir_defaulted=no
1269 fi
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1271   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1272   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1273    { (exit 1); exit 1; }; }
1274 fi
1275 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1276 ac_abs_confdir=`(
1277         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1278    { (exit 1); exit 1; }; }
1279         pwd)`
1280 # When building in place, set srcdir=.
1281 if test "$ac_abs_confdir" = "$ac_pwd"; then
1282   srcdir=.
1283 fi
1284 # Remove unnecessary trailing slashes from srcdir.
1285 # Double slashes in file names in object file debugging info
1286 # mess up M-x gdb in Emacs.
1287 case $srcdir in
1288 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1289 esac
1290 for ac_var in $ac_precious_vars; do
1291   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1292   eval ac_env_${ac_var}_value=\$${ac_var}
1293   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1294   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1295 done
1296
1297 #
1298 # Report the --help message.
1299 #
1300 if test "$ac_init_help" = "long"; then
1301   # Omit some internal or obsolete options to make the list less imposing.
1302   # This message is too long to be a string in the A/UX 3.1 sh.
1303   cat <<_ACEOF
1304 \`configure' configures newlib 1.18.0 to adapt to many kinds of systems.
1305
1306 Usage: $0 [OPTION]... [VAR=VALUE]...
1307
1308 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1309 VAR=VALUE.  See below for descriptions of some of the useful variables.
1310
1311 Defaults for the options are specified in brackets.
1312
1313 Configuration:
1314   -h, --help              display this help and exit
1315       --help=short        display options specific to this package
1316       --help=recursive    display the short help of all the included packages
1317   -V, --version           display version information and exit
1318   -q, --quiet, --silent   do not print \`checking...' messages
1319       --cache-file=FILE   cache test results in FILE [disabled]
1320   -C, --config-cache      alias for \`--cache-file=config.cache'
1321   -n, --no-create         do not create output files
1322       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1323
1324 Installation directories:
1325   --prefix=PREFIX         install architecture-independent files in PREFIX
1326                           [$ac_default_prefix]
1327   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1328                           [PREFIX]
1329
1330 By default, \`make install' will install all the files in
1331 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1332 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1333 for instance \`--prefix=\$HOME'.
1334
1335 For better control, use the options below.
1336
1337 Fine tuning of the installation directories:
1338   --bindir=DIR            user executables [EPREFIX/bin]
1339   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1340   --libexecdir=DIR        program executables [EPREFIX/libexec]
1341   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1342   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1343   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1344   --libdir=DIR            object code libraries [EPREFIX/lib]
1345   --includedir=DIR        C header files [PREFIX/include]
1346   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1347   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1348   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1349   --infodir=DIR           info documentation [DATAROOTDIR/info]
1350   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1351   --mandir=DIR            man documentation [DATAROOTDIR/man]
1352   --docdir=DIR            documentation root [DATAROOTDIR/doc/newlib]
1353   --htmldir=DIR           html documentation [DOCDIR]
1354   --dvidir=DIR            dvi documentation [DOCDIR]
1355   --pdfdir=DIR            pdf documentation [DOCDIR]
1356   --psdir=DIR             ps documentation [DOCDIR]
1357 _ACEOF
1358
1359   cat <<\_ACEOF
1360
1361 Program names:
1362   --program-prefix=PREFIX            prepend PREFIX to installed program names
1363   --program-suffix=SUFFIX            append SUFFIX to installed program names
1364   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1365
1366 System types:
1367   --build=BUILD     configure for building on BUILD [guessed]
1368   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1369 _ACEOF
1370 fi
1371
1372 if test -n "$ac_init_help"; then
1373   case $ac_init_help in
1374      short | recursive ) echo "Configuration of newlib 1.18.0:";;
1375    esac
1376   cat <<\_ACEOF
1377
1378 Optional Features:
1379   --disable-option-checking  ignore unrecognized --enable/--with options
1380   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1381   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1382   --enable-multilib         build many library versions (default)
1383   --enable-target-optspace  optimize for space
1384   --enable-malloc-debugging indicate malloc debugging requested
1385   --enable-newlib-multithread        enable support for multiple threads
1386   --enable-newlib-iconv     enable iconv library support
1387   --enable-newlib-elix-level         supply desired elix library level (1-4)
1388   --disable-newlib-io-float disable printf/scanf family float support
1389   --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
1390   --disable-dependency-tracking  speeds up one-time build
1391   --enable-dependency-tracking   do not reject slow dependency extractors
1392   --enable-maintainer-mode  enable make rules and dependencies not useful
1393                           (and sometimes confusing) to the casual installer
1394
1395 Some influential environment variables:
1396   CCAS        assembler compiler command (defaults to CC)
1397   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1398   CC          C compiler command
1399   CFLAGS      C compiler flags
1400   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1401               nonstandard directory <lib dir>
1402   LIBS        libraries to pass to the linker, e.g. -l<library>
1403   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1404               you have headers in a nonstandard directory <include dir>
1405   CPP         C preprocessor
1406
1407 Use these variables to override the choices made by `configure' or to help
1408 it to find libraries and programs with nonstandard names/locations.
1409
1410 _ACEOF
1411 ac_status=$?
1412 fi
1413
1414 if test "$ac_init_help" = "recursive"; then
1415   # If there are subdirs, report their specific --help.
1416   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1417     test -d "$ac_dir" ||
1418       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1419       continue
1420     ac_builddir=.
1421
1422 case "$ac_dir" in
1423 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1424 *)
1425   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1426   # A ".." for each directory in $ac_dir_suffix.
1427   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1428   case $ac_top_builddir_sub in
1429   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1430   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1431   esac ;;
1432 esac
1433 ac_abs_top_builddir=$ac_pwd
1434 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1435 # for backward compatibility:
1436 ac_top_builddir=$ac_top_build_prefix
1437
1438 case $srcdir in
1439   .)  # We are building in place.
1440     ac_srcdir=.
1441     ac_top_srcdir=$ac_top_builddir_sub
1442     ac_abs_top_srcdir=$ac_pwd ;;
1443   [\\/]* | ?:[\\/]* )  # Absolute name.
1444     ac_srcdir=$srcdir$ac_dir_suffix;
1445     ac_top_srcdir=$srcdir
1446     ac_abs_top_srcdir=$srcdir ;;
1447   *) # Relative name.
1448     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1449     ac_top_srcdir=$ac_top_build_prefix$srcdir
1450     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1451 esac
1452 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1453
1454     cd "$ac_dir" || { ac_status=$?; continue; }
1455     # Check for guested configure.
1456     if test -f "$ac_srcdir/configure.gnu"; then
1457       echo &&
1458       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1459     elif test -f "$ac_srcdir/configure"; then
1460       echo &&
1461       $SHELL "$ac_srcdir/configure" --help=recursive
1462     else
1463       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1464     fi || ac_status=$?
1465     cd "$ac_pwd" || { ac_status=$?; break; }
1466   done
1467 fi
1468
1469 test -n "$ac_init_help" && exit $ac_status
1470 if $ac_init_version; then
1471   cat <<\_ACEOF
1472 newlib configure 1.18.0
1473 generated by GNU Autoconf 2.63
1474
1475 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1476 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1477 This configure script is free software; the Free Software Foundation
1478 gives unlimited permission to copy, distribute and modify it.
1479 _ACEOF
1480   exit
1481 fi
1482 cat >config.log <<_ACEOF
1483 This file contains any messages produced by compilers while
1484 running configure, to aid debugging if configure makes a mistake.
1485
1486 It was created by newlib $as_me 1.18.0, which was
1487 generated by GNU Autoconf 2.63.  Invocation command line was
1488
1489   $ $0 $@
1490
1491 _ACEOF
1492 exec 5>>config.log
1493 {
1494 cat <<_ASUNAME
1495 ## --------- ##
1496 ## Platform. ##
1497 ## --------- ##
1498
1499 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1500 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1501 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1502 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1503 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1504
1505 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1506 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1507
1508 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1509 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1510 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1511 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1512 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1513 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1514 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1515
1516 _ASUNAME
1517
1518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1519 for as_dir in $PATH
1520 do
1521   IFS=$as_save_IFS
1522   test -z "$as_dir" && as_dir=.
1523   $as_echo "PATH: $as_dir"
1524 done
1525 IFS=$as_save_IFS
1526
1527 } >&5
1528
1529 cat >&5 <<_ACEOF
1530
1531
1532 ## ----------- ##
1533 ## Core tests. ##
1534 ## ----------- ##
1535
1536 _ACEOF
1537
1538
1539 # Keep a trace of the command line.
1540 # Strip out --no-create and --no-recursion so they do not pile up.
1541 # Strip out --silent because we don't want to record it for future runs.
1542 # Also quote any args containing shell meta-characters.
1543 # Make two passes to allow for proper duplicate-argument suppression.
1544 ac_configure_args=
1545 ac_configure_args0=
1546 ac_configure_args1=
1547 ac_must_keep_next=false
1548 for ac_pass in 1 2
1549 do
1550   for ac_arg
1551   do
1552     case $ac_arg in
1553     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1554     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1555     | -silent | --silent | --silen | --sile | --sil)
1556       continue ;;
1557     *\'*)
1558       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1559     esac
1560     case $ac_pass in
1561     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1562     2)
1563       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1564       if test $ac_must_keep_next = true; then
1565         ac_must_keep_next=false # Got value, back to normal.
1566       else
1567         case $ac_arg in
1568           *=* | --config-cache | -C | -disable-* | --disable-* \
1569           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1570           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1571           | -with-* | --with-* | -without-* | --without-* | --x)
1572             case "$ac_configure_args0 " in
1573               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1574             esac
1575             ;;
1576           -* ) ac_must_keep_next=true ;;
1577         esac
1578       fi
1579       ac_configure_args="$ac_configure_args '$ac_arg'"
1580       ;;
1581     esac
1582   done
1583 done
1584 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1585 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1586
1587 # When interrupted or exit'd, cleanup temporary files, and complete
1588 # config.log.  We remove comments because anyway the quotes in there
1589 # would cause problems or look ugly.
1590 # WARNING: Use '\'' to represent an apostrophe within the trap.
1591 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1592 trap 'exit_status=$?
1593   # Save into config.log some information that might help in debugging.
1594   {
1595     echo
1596
1597     cat <<\_ASBOX
1598 ## ---------------- ##
1599 ## Cache variables. ##
1600 ## ---------------- ##
1601 _ASBOX
1602     echo
1603     # The following way of writing the cache mishandles newlines in values,
1604 (
1605   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1606     eval ac_val=\$$ac_var
1607     case $ac_val in #(
1608     *${as_nl}*)
1609       case $ac_var in #(
1610       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1611 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1612       esac
1613       case $ac_var in #(
1614       _ | IFS | as_nl) ;; #(
1615       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1616       *) $as_unset $ac_var ;;
1617       esac ;;
1618     esac
1619   done
1620   (set) 2>&1 |
1621     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1622     *${as_nl}ac_space=\ *)
1623       sed -n \
1624         "s/'\''/'\''\\\\'\'''\''/g;
1625           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1626       ;; #(
1627     *)
1628       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1629       ;;
1630     esac |
1631     sort
1632 )
1633     echo
1634
1635     cat <<\_ASBOX
1636 ## ----------------- ##
1637 ## Output variables. ##
1638 ## ----------------- ##
1639 _ASBOX
1640     echo
1641     for ac_var in $ac_subst_vars
1642     do
1643       eval ac_val=\$$ac_var
1644       case $ac_val in
1645       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1646       esac
1647       $as_echo "$ac_var='\''$ac_val'\''"
1648     done | sort
1649     echo
1650
1651     if test -n "$ac_subst_files"; then
1652       cat <<\_ASBOX
1653 ## ------------------- ##
1654 ## File substitutions. ##
1655 ## ------------------- ##
1656 _ASBOX
1657       echo
1658       for ac_var in $ac_subst_files
1659       do
1660         eval ac_val=\$$ac_var
1661         case $ac_val in
1662         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1663         esac
1664         $as_echo "$ac_var='\''$ac_val'\''"
1665       done | sort
1666       echo
1667     fi
1668
1669     if test -s confdefs.h; then
1670       cat <<\_ASBOX
1671 ## ----------- ##
1672 ## confdefs.h. ##
1673 ## ----------- ##
1674 _ASBOX
1675       echo
1676       cat confdefs.h
1677       echo
1678     fi
1679     test "$ac_signal" != 0 &&
1680       $as_echo "$as_me: caught signal $ac_signal"
1681     $as_echo "$as_me: exit $exit_status"
1682   } >&5
1683   rm -f core *.core core.conftest.* &&
1684     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1685     exit $exit_status
1686 ' 0
1687 for ac_signal in 1 2 13 15; do
1688   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1689 done
1690 ac_signal=0
1691
1692 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1693 rm -f -r conftest* confdefs.h
1694
1695 # Predefined preprocessor variables.
1696
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_NAME "$PACKAGE_NAME"
1699 _ACEOF
1700
1701
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1704 _ACEOF
1705
1706
1707 cat >>confdefs.h <<_ACEOF
1708 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1709 _ACEOF
1710
1711
1712 cat >>confdefs.h <<_ACEOF
1713 #define PACKAGE_STRING "$PACKAGE_STRING"
1714 _ACEOF
1715
1716
1717 cat >>confdefs.h <<_ACEOF
1718 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1719 _ACEOF
1720
1721
1722 # Let the site file select an alternate cache file if it wants to.
1723 # Prefer an explicitly selected file to automatically selected ones.
1724 ac_site_file1=NONE
1725 ac_site_file2=NONE
1726 if test -n "$CONFIG_SITE"; then
1727   ac_site_file1=$CONFIG_SITE
1728 elif test "x$prefix" != xNONE; then
1729   ac_site_file1=$prefix/share/config.site
1730   ac_site_file2=$prefix/etc/config.site
1731 else
1732   ac_site_file1=$ac_default_prefix/share/config.site
1733   ac_site_file2=$ac_default_prefix/etc/config.site
1734 fi
1735 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1736 do
1737   test "x$ac_site_file" = xNONE && continue
1738   if test -r "$ac_site_file"; then
1739     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1740 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1741     sed 's/^/| /' "$ac_site_file" >&5
1742     . "$ac_site_file"
1743   fi
1744 done
1745
1746 if test -r "$cache_file"; then
1747   # Some versions of bash will fail to source /dev/null (special
1748   # files actually), so we avoid doing that.
1749   if test -f "$cache_file"; then
1750     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1751 $as_echo "$as_me: loading cache $cache_file" >&6;}
1752     case $cache_file in
1753       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1754       *)                      . "./$cache_file";;
1755     esac
1756   fi
1757 else
1758   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1759 $as_echo "$as_me: creating cache $cache_file" >&6;}
1760   >$cache_file
1761 fi
1762
1763 # Check that the precious variables saved in the cache have kept the same
1764 # value.
1765 ac_cache_corrupted=false
1766 for ac_var in $ac_precious_vars; do
1767   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1768   eval ac_new_set=\$ac_env_${ac_var}_set
1769   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1770   eval ac_new_val=\$ac_env_${ac_var}_value
1771   case $ac_old_set,$ac_new_set in
1772     set,)
1773       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1774 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1775       ac_cache_corrupted=: ;;
1776     ,set)
1777       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1778 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1779       ac_cache_corrupted=: ;;
1780     ,);;
1781     *)
1782       if test "x$ac_old_val" != "x$ac_new_val"; then
1783         # differences in whitespace do not lead to failure.
1784         ac_old_val_w=`echo x $ac_old_val`
1785         ac_new_val_w=`echo x $ac_new_val`
1786         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1787           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1788 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1789           ac_cache_corrupted=:
1790         else
1791           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1792 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1793           eval $ac_var=\$ac_old_val
1794         fi
1795         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1796 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1797         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1798 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1799       fi;;
1800   esac
1801   # Pass precious variables to config.status.
1802   if test "$ac_new_set" = set; then
1803     case $ac_new_val in
1804     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1805     *) ac_arg=$ac_var=$ac_new_val ;;
1806     esac
1807     case " $ac_configure_args " in
1808       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1809       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1810     esac
1811   fi
1812 done
1813 if $ac_cache_corrupted; then
1814   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1816   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1817 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1818   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1819 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1820    { (exit 1); exit 1; }; }
1821 fi
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847 ac_ext=c
1848 ac_cpp='$CPP $CPPFLAGS'
1849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1852
1853
1854
1855
1856 ac_aux_dir=
1857 for ac_dir in ../../../.. "$srcdir"/../../../..; do
1858   if test -f "$ac_dir/install-sh"; then
1859     ac_aux_dir=$ac_dir
1860     ac_install_sh="$ac_aux_dir/install-sh -c"
1861     break
1862   elif test -f "$ac_dir/install.sh"; then
1863     ac_aux_dir=$ac_dir
1864     ac_install_sh="$ac_aux_dir/install.sh -c"
1865     break
1866   elif test -f "$ac_dir/shtool"; then
1867     ac_aux_dir=$ac_dir
1868     ac_install_sh="$ac_aux_dir/shtool install -c"
1869     break
1870   fi
1871 done
1872 if test -z "$ac_aux_dir"; then
1873   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../.. \"$srcdir\"/../../../.." >&5
1874 $as_echo "$as_me: error: cannot find install-sh or install.sh in ../../../.. \"$srcdir\"/../../../.." >&2;}
1875    { (exit 1); exit 1; }; }
1876 fi
1877
1878 # These three variables are undocumented and unsupported,
1879 # and are intended to be withdrawn in a future Autoconf release.
1880 # They can cause serious problems if a builder's source tree is in a directory
1881 # whose full name contains unusual characters.
1882 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1883 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1884 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1885
1886
1887
1888
1889 # Make sure we can run config.sub.
1890 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1891   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1892 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1893    { (exit 1); exit 1; }; }
1894
1895 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1896 $as_echo_n "checking build system type... " >&6; }
1897 if test "${ac_cv_build+set}" = set; then
1898   $as_echo_n "(cached) " >&6
1899 else
1900   ac_build_alias=$build_alias
1901 test "x$ac_build_alias" = x &&
1902   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1903 test "x$ac_build_alias" = x &&
1904   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1905 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1906    { (exit 1); exit 1; }; }
1907 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1908   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1909 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1910    { (exit 1); exit 1; }; }
1911
1912 fi
1913 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1914 $as_echo "$ac_cv_build" >&6; }
1915 case $ac_cv_build in
1916 *-*-*) ;;
1917 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1918 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1919    { (exit 1); exit 1; }; };;
1920 esac
1921 build=$ac_cv_build
1922 ac_save_IFS=$IFS; IFS='-'
1923 set x $ac_cv_build
1924 shift
1925 build_cpu=$1
1926 build_vendor=$2
1927 shift; shift
1928 # Remember, the first character of IFS is used to create $*,
1929 # except with old shells:
1930 build_os=$*
1931 IFS=$ac_save_IFS
1932 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1933
1934
1935 am__api_version='1.11'
1936
1937 # Find a good install program.  We prefer a C program (faster),
1938 # so one script is as good as another.  But avoid the broken or
1939 # incompatible versions:
1940 # SysV /etc/install, /usr/sbin/install
1941 # SunOS /usr/etc/install
1942 # IRIX /sbin/install
1943 # AIX /bin/install
1944 # AmigaOS /C/install, which installs bootblocks on floppy discs
1945 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1946 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1947 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1948 # OS/2's system install, which has a completely different semantic
1949 # ./install, which can be erroneously created by make from ./install.sh.
1950 # Reject install programs that cannot install multiple files.
1951 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1952 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1953 if test -z "$INSTALL"; then
1954 if test "${ac_cv_path_install+set}" = set; then
1955   $as_echo_n "(cached) " >&6
1956 else
1957   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1958 for as_dir in $PATH
1959 do
1960   IFS=$as_save_IFS
1961   test -z "$as_dir" && as_dir=.
1962   # Account for people who put trailing slashes in PATH elements.
1963 case $as_dir/ in
1964   ./ | .// | /cC/* | \
1965   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1966   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1967   /usr/ucb/* ) ;;
1968   *)
1969     # OSF1 and SCO ODT 3.0 have their own names for install.
1970     # Don't use installbsd from OSF since it installs stuff as root
1971     # by default.
1972     for ac_prog in ginstall scoinst install; do
1973       for ac_exec_ext in '' $ac_executable_extensions; do
1974         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1975           if test $ac_prog = install &&
1976             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1977             # AIX install.  It has an incompatible calling convention.
1978             :
1979           elif test $ac_prog = install &&
1980             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1981             # program-specific install script used by HP pwplus--don't use.
1982             :
1983           else
1984             rm -rf conftest.one conftest.two conftest.dir
1985             echo one > conftest.one
1986             echo two > conftest.two
1987             mkdir conftest.dir
1988             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1989               test -s conftest.one && test -s conftest.two &&
1990               test -s conftest.dir/conftest.one &&
1991               test -s conftest.dir/conftest.two
1992             then
1993               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1994               break 3
1995             fi
1996           fi
1997         fi
1998       done
1999     done
2000     ;;
2001 esac
2002
2003 done
2004 IFS=$as_save_IFS
2005
2006 rm -rf conftest.one conftest.two conftest.dir
2007
2008 fi
2009   if test "${ac_cv_path_install+set}" = set; then
2010     INSTALL=$ac_cv_path_install
2011   else
2012     # As a last resort, use the slow shell script.  Don't cache a
2013     # value for INSTALL within a source directory, because that will
2014     # break other packages using the cache if that directory is
2015     # removed, or if the value is a relative name.
2016     INSTALL=$ac_install_sh
2017   fi
2018 fi
2019 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2020 $as_echo "$INSTALL" >&6; }
2021
2022 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2023 # It thinks the first close brace ends the variable substitution.
2024 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2025
2026 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2027
2028 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2029
2030 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2031 $as_echo_n "checking whether build environment is sane... " >&6; }
2032 # Just in case
2033 sleep 1
2034 echo timestamp > conftest.file
2035 # Reject unsafe characters in $srcdir or the absolute working directory
2036 # name.  Accept space and tab only in the latter.
2037 am_lf='
2038 '
2039 case `pwd` in
2040   *[\\\"\#\$\&\'\`$am_lf]*)
2041     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2042 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2043    { (exit 1); exit 1; }; };;
2044 esac
2045 case $srcdir in
2046   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2047     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2048 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2049    { (exit 1); exit 1; }; };;
2050 esac
2051
2052 # Do `set' in a subshell so we don't clobber the current shell's
2053 # arguments.  Must try -L first in case configure is actually a
2054 # symlink; some systems play weird games with the mod time of symlinks
2055 # (eg FreeBSD returns the mod time of the symlink's containing
2056 # directory).
2057 if (
2058    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2059    if test "$*" = "X"; then
2060       # -L didn't work.
2061       set X `ls -t "$srcdir/configure" conftest.file`
2062    fi
2063    rm -f conftest.file
2064    if test "$*" != "X $srcdir/configure conftest.file" \
2065       && test "$*" != "X conftest.file $srcdir/configure"; then
2066
2067       # If neither matched, then we have a broken ls.  This can happen
2068       # if, for instance, CONFIG_SHELL is bash and it inherits a
2069       # broken ls alias from the environment.  This has actually
2070       # happened.  Such a system could not be considered "sane".
2071       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2072 alias in your environment" >&5
2073 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2074 alias in your environment" >&2;}
2075    { (exit 1); exit 1; }; }
2076    fi
2077
2078    test "$2" = conftest.file
2079    )
2080 then
2081    # Ok.
2082    :
2083 else
2084    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2085 Check your system clock" >&5
2086 $as_echo "$as_me: error: newly created file is older than distributed files!
2087 Check your system clock" >&2;}
2088    { (exit 1); exit 1; }; }
2089 fi
2090 { $as_echo "$as_me:$LINENO: result: yes" >&5
2091 $as_echo "yes" >&6; }
2092 test "$program_prefix" != NONE &&
2093   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2094 # Use a double $ so make ignores it.
2095 test "$program_suffix" != NONE &&
2096   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2097 # Double any \ or $.
2098 # By default was `s,x,x', remove it if useless.
2099 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2100 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2101
2102 # expand $ac_aux_dir to an absolute path
2103 am_aux_dir=`cd $ac_aux_dir && pwd`
2104
2105 if test x"${MISSING+set}" != xset; then
2106   case $am_aux_dir in
2107   *\ * | *\     *)
2108     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2109   *)
2110     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2111   esac
2112 fi
2113 # Use eval to expand $SHELL
2114 if eval "$MISSING --run true"; then
2115   am_missing_run="$MISSING --run "
2116 else
2117   am_missing_run=
2118   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2119 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2120 fi
2121
2122 if test x"${install_sh}" != xset; then
2123   case $am_aux_dir in
2124   *\ * | *\     *)
2125     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2126   *)
2127     install_sh="\${SHELL} $am_aux_dir/install-sh"
2128   esac
2129 fi
2130
2131 # Installed binaries are usually stripped using `strip' when the user
2132 # run `make install-strip'.  However `strip' might not be the right
2133 # tool to use in cross-compilation environments, therefore Automake
2134 # will honor the `STRIP' environment variable to overrule this program.
2135 if test "$cross_compiling" != no; then
2136   if test -n "$ac_tool_prefix"; then
2137   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2138 set dummy ${ac_tool_prefix}strip; ac_word=$2
2139 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2140 $as_echo_n "checking for $ac_word... " >&6; }
2141 if test "${ac_cv_prog_STRIP+set}" = set; then
2142   $as_echo_n "(cached) " >&6
2143 else
2144   if test -n "$STRIP"; then
2145   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2146 else
2147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2148 for as_dir in $PATH
2149 do
2150   IFS=$as_save_IFS
2151   test -z "$as_dir" && as_dir=.
2152   for ac_exec_ext in '' $ac_executable_extensions; do
2153   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2154     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2155     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2156     break 2
2157   fi
2158 done
2159 done
2160 IFS=$as_save_IFS
2161
2162 fi
2163 fi
2164 STRIP=$ac_cv_prog_STRIP
2165 if test -n "$STRIP"; then
2166   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2167 $as_echo "$STRIP" >&6; }
2168 else
2169   { $as_echo "$as_me:$LINENO: result: no" >&5
2170 $as_echo "no" >&6; }
2171 fi
2172
2173
2174 fi
2175 if test -z "$ac_cv_prog_STRIP"; then
2176   ac_ct_STRIP=$STRIP
2177   # Extract the first word of "strip", so it can be a program name with args.
2178 set dummy strip; ac_word=$2
2179 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2180 $as_echo_n "checking for $ac_word... " >&6; }
2181 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2182   $as_echo_n "(cached) " >&6
2183 else
2184   if test -n "$ac_ct_STRIP"; then
2185   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2186 else
2187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2188 for as_dir in $PATH
2189 do
2190   IFS=$as_save_IFS
2191   test -z "$as_dir" && as_dir=.
2192   for ac_exec_ext in '' $ac_executable_extensions; do
2193   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2194     ac_cv_prog_ac_ct_STRIP="strip"
2195     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2196     break 2
2197   fi
2198 done
2199 done
2200 IFS=$as_save_IFS
2201
2202 fi
2203 fi
2204 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2205 if test -n "$ac_ct_STRIP"; then
2206   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2207 $as_echo "$ac_ct_STRIP" >&6; }
2208 else
2209   { $as_echo "$as_me:$LINENO: result: no" >&5
2210 $as_echo "no" >&6; }
2211 fi
2212
2213   if test "x$ac_ct_STRIP" = x; then
2214     STRIP=":"
2215   else
2216     case $cross_compiling:$ac_tool_warned in
2217 yes:)
2218 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2220 ac_tool_warned=yes ;;
2221 esac
2222     STRIP=$ac_ct_STRIP
2223   fi
2224 else
2225   STRIP="$ac_cv_prog_STRIP"
2226 fi
2227
2228 fi
2229 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2230
2231 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2232 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2233 if test -z "$MKDIR_P"; then
2234   if test "${ac_cv_path_mkdir+set}" = set; then
2235   $as_echo_n "(cached) " >&6
2236 else
2237   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2239 do
2240   IFS=$as_save_IFS
2241   test -z "$as_dir" && as_dir=.
2242   for ac_prog in mkdir gmkdir; do
2243          for ac_exec_ext in '' $ac_executable_extensions; do
2244            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2245            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2246              'mkdir (GNU coreutils) '* | \
2247              'mkdir (coreutils) '* | \
2248              'mkdir (fileutils) '4.1*)
2249                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2250                break 3;;
2251            esac
2252          done
2253        done
2254 done
2255 IFS=$as_save_IFS
2256
2257 fi
2258
2259   if test "${ac_cv_path_mkdir+set}" = set; then
2260     MKDIR_P="$ac_cv_path_mkdir -p"
2261   else
2262     # As a last resort, use the slow shell script.  Don't cache a
2263     # value for MKDIR_P within a source directory, because that will
2264     # break other packages using the cache if that directory is
2265     # removed, or if the value is a relative name.
2266     test -d ./--version && rmdir ./--version
2267     MKDIR_P="$ac_install_sh -d"
2268   fi
2269 fi
2270 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2271 $as_echo "$MKDIR_P" >&6; }
2272
2273 mkdir_p="$MKDIR_P"
2274 case $mkdir_p in
2275   [\\/$]* | ?:[\\/]*) ;;
2276   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2277 esac
2278
2279 for ac_prog in gawk mawk nawk awk
2280 do
2281   # Extract the first word of "$ac_prog", so it can be a program name with args.
2282 set dummy $ac_prog; ac_word=$2
2283 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2284 $as_echo_n "checking for $ac_word... " >&6; }
2285 if test "${ac_cv_prog_AWK+set}" = set; then
2286   $as_echo_n "(cached) " >&6
2287 else
2288   if test -n "$AWK"; then
2289   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2290 else
2291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2292 for as_dir in $PATH
2293 do
2294   IFS=$as_save_IFS
2295   test -z "$as_dir" && as_dir=.
2296   for ac_exec_ext in '' $ac_executable_extensions; do
2297   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2298     ac_cv_prog_AWK="$ac_prog"
2299     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2300     break 2
2301   fi
2302 done
2303 done
2304 IFS=$as_save_IFS
2305
2306 fi
2307 fi
2308 AWK=$ac_cv_prog_AWK
2309 if test -n "$AWK"; then
2310   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2311 $as_echo "$AWK" >&6; }
2312 else
2313   { $as_echo "$as_me:$LINENO: result: no" >&5
2314 $as_echo "no" >&6; }
2315 fi
2316
2317
2318   test -n "$AWK" && break
2319 done
2320
2321 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2322 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2323 set x ${MAKE-make}
2324 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2325 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2326   $as_echo_n "(cached) " >&6
2327 else
2328   cat >conftest.make <<\_ACEOF
2329 SHELL = /bin/sh
2330 all:
2331         @echo '@@@%%%=$(MAKE)=@@@%%%'
2332 _ACEOF
2333 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2334 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2335   *@@@%%%=?*=@@@%%%*)
2336     eval ac_cv_prog_make_${ac_make}_set=yes;;
2337   *)
2338     eval ac_cv_prog_make_${ac_make}_set=no;;
2339 esac
2340 rm -f conftest.make
2341 fi
2342 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2343   { $as_echo "$as_me:$LINENO: result: yes" >&5
2344 $as_echo "yes" >&6; }
2345   SET_MAKE=
2346 else
2347   { $as_echo "$as_me:$LINENO: result: no" >&5
2348 $as_echo "no" >&6; }
2349   SET_MAKE="MAKE=${MAKE-make}"
2350 fi
2351
2352 rm -rf .tst 2>/dev/null
2353 mkdir .tst 2>/dev/null
2354 if test -d .tst; then
2355   am__leading_dot=.
2356 else
2357   am__leading_dot=_
2358 fi
2359 rmdir .tst 2>/dev/null
2360
2361 DEPDIR="${am__leading_dot}deps"
2362
2363 ac_config_commands="$ac_config_commands depfiles"
2364
2365
2366 am_make=${MAKE-make}
2367 cat > confinc << 'END'
2368 am__doit:
2369         @echo this is the am__doit target
2370 .PHONY: am__doit
2371 END
2372 # If we don't find an include directive, just comment out the code.
2373 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2374 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2375 am__include="#"
2376 am__quote=
2377 _am_result=none
2378 # First try GNU make style include.
2379 echo "include confinc" > confmf
2380 # Ignore all kinds of additional output from `make'.
2381 case `$am_make -s -f confmf 2> /dev/null` in #(
2382 *the\ am__doit\ target*)
2383   am__include=include
2384   am__quote=
2385   _am_result=GNU
2386   ;;
2387 esac
2388 # Now try BSD make style include.
2389 if test "$am__include" = "#"; then
2390    echo '.include "confinc"' > confmf
2391    case `$am_make -s -f confmf 2> /dev/null` in #(
2392    *the\ am__doit\ target*)
2393      am__include=.include
2394      am__quote="\""
2395      _am_result=BSD
2396      ;;
2397    esac
2398 fi
2399
2400
2401 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2402 $as_echo "$_am_result" >&6; }
2403 rm -f confinc confmf
2404
2405 # Check whether --enable-dependency-tracking was given.
2406 if test "${enable_dependency_tracking+set}" = set; then
2407   enableval=$enable_dependency_tracking;
2408 fi
2409
2410 if test "x$enable_dependency_tracking" != xno; then
2411   am_depcomp="$ac_aux_dir/depcomp"
2412   AMDEPBACKSLASH='\'
2413 fi
2414  if test "x$enable_dependency_tracking" != xno; then
2415   AMDEP_TRUE=
2416   AMDEP_FALSE='#'
2417 else
2418   AMDEP_TRUE='#'
2419   AMDEP_FALSE=
2420 fi
2421
2422
2423
2424 # Check whether --enable-multilib was given.
2425 if test "${enable_multilib+set}" = set; then
2426   enableval=$enable_multilib; case "${enableval}" in
2427   yes) multilib=yes ;;
2428   no)  multilib=no ;;
2429   *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
2430 $as_echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
2431    { (exit 1); exit 1; }; } ;;
2432  esac
2433 else
2434   multilib=yes
2435 fi
2436
2437 # Check whether --enable-target-optspace was given.
2438 if test "${enable_target_optspace+set}" = set; then
2439   enableval=$enable_target_optspace; case "${enableval}" in
2440   yes) target_optspace=yes ;;
2441   no)  target_optspace=no ;;
2442   *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
2443 $as_echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
2444    { (exit 1); exit 1; }; } ;;
2445  esac
2446 else
2447   target_optspace=
2448 fi
2449
2450 # Check whether --enable-malloc-debugging was given.
2451 if test "${enable_malloc_debugging+set}" = set; then
2452   enableval=$enable_malloc_debugging; case "${enableval}" in
2453   yes) malloc_debugging=yes ;;
2454   no)  malloc_debugging=no ;;
2455   *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
2456 $as_echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
2457    { (exit 1); exit 1; }; } ;;
2458  esac
2459 else
2460   malloc_debugging=
2461 fi
2462
2463 # Check whether --enable-newlib-multithread was given.
2464 if test "${enable_newlib_multithread+set}" = set; then
2465   enableval=$enable_newlib_multithread; case "${enableval}" in
2466   yes) newlib_multithread=yes ;;
2467   no)  newlib_multithread=no ;;
2468   *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
2469 $as_echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
2470    { (exit 1); exit 1; }; } ;;
2471  esac
2472 else
2473   newlib_multithread=yes
2474 fi
2475
2476 # Check whether --enable-newlib-iconv was given.
2477 if test "${enable_newlib_iconv+set}" = set; then
2478   enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
2479    case "${enableval}" in
2480      yes) newlib_iconv=yes ;;
2481      no)  newlib_iconv=no ;;
2482      *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
2483 $as_echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
2484    { (exit 1); exit 1; }; } ;;
2485    esac
2486  fi
2487 else
2488   newlib_iconv=${newlib_iconv}
2489 fi
2490
2491 # Check whether --enable-newlib-elix-level was given.
2492 if test "${enable_newlib_elix_level+set}" = set; then
2493   enableval=$enable_newlib_elix_level; case "${enableval}" in
2494   0)   newlib_elix_level=0 ;;
2495   1)   newlib_elix_level=1 ;;
2496   2)   newlib_elix_level=2 ;;
2497   3)   newlib_elix_level=3 ;;
2498   4)   newlib_elix_level=4 ;;
2499   *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
2500 $as_echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
2501    { (exit 1); exit 1; }; } ;;
2502  esac
2503 else
2504   newlib_elix_level=0
2505 fi
2506
2507 # Check whether --enable-newlib-io-float was given.
2508 if test "${enable_newlib_io_float+set}" = set; then
2509   enableval=$enable_newlib_io_float; case "${enableval}" in
2510   yes) newlib_io_float=yes ;;
2511   no)  newlib_io_float=no ;;
2512   *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
2513 $as_echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
2514    { (exit 1); exit 1; }; } ;;
2515  esac
2516 else
2517   newlib_io_float=yes
2518 fi
2519
2520 # Check whether --enable-newlib-supplied-syscalls was given.
2521 if test "${enable_newlib_supplied_syscalls+set}" = set; then
2522   enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
2523   yes) newlib_may_supply_syscalls=yes ;;
2524   no)  newlib_may_supply_syscalls=no ;;
2525   *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
2526 $as_echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
2527    { (exit 1); exit 1; }; } ;;
2528  esac
2529 else
2530   newlib_may_supply_syscalls=yes
2531 fi
2532
2533  if test x${newlib_may_supply_syscalls} = xyes; then
2534   MAY_SUPPLY_SYSCALLS_TRUE=
2535   MAY_SUPPLY_SYSCALLS_FALSE='#'
2536 else
2537   MAY_SUPPLY_SYSCALLS_TRUE='#'
2538   MAY_SUPPLY_SYSCALLS_FALSE=
2539 fi
2540
2541
2542
2543 test -z "${with_target_subdir}" && with_target_subdir=.
2544
2545 if test "${srcdir}" = "."; then
2546   if test "${with_target_subdir}" != "."; then
2547     newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
2548   else
2549     newlib_basedir="${srcdir}/${with_multisrctop}../../.."
2550   fi
2551 else
2552   newlib_basedir="${srcdir}/../../.."
2553 fi
2554
2555
2556 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2557 $as_echo_n "checking host system type... " >&6; }
2558 if test "${ac_cv_host+set}" = set; then
2559   $as_echo_n "(cached) " >&6
2560 else
2561   if test "x$host_alias" = x; then
2562   ac_cv_host=$ac_cv_build
2563 else
2564   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2565     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2566 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2567    { (exit 1); exit 1; }; }
2568 fi
2569
2570 fi
2571 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2572 $as_echo "$ac_cv_host" >&6; }
2573 case $ac_cv_host in
2574 *-*-*) ;;
2575 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2576 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2577    { (exit 1); exit 1; }; };;
2578 esac
2579 host=$ac_cv_host
2580 ac_save_IFS=$IFS; IFS='-'
2581 set x $ac_cv_host
2582 shift
2583 host_cpu=$1
2584 host_vendor=$2
2585 shift; shift
2586 # Remember, the first character of IFS is used to create $*,
2587 # except with old shells:
2588 host_os=$*
2589 IFS=$ac_save_IFS
2590 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2591
2592
2593
2594 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2595   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2596   # is not polluted with repeated "-I."
2597   am__isrc=' -I$(srcdir)'
2598   # test to see if srcdir already configured
2599   if test -f $srcdir/config.status; then
2600     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2601 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2602    { (exit 1); exit 1; }; }
2603   fi
2604 fi
2605
2606 # test whether we have cygpath
2607 if test -z "$CYGPATH_W"; then
2608   if (cygpath --version) >/dev/null 2>/dev/null; then
2609     CYGPATH_W='cygpath -w'
2610   else
2611     CYGPATH_W=echo
2612   fi
2613 fi
2614
2615
2616 # Define the identity of the package.
2617  PACKAGE='newlib'
2618  VERSION='1.18.0'
2619
2620
2621 # Some tools Automake needs.
2622
2623 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2624
2625
2626 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2627
2628
2629 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2630
2631
2632 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2633
2634
2635 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2636
2637 # We need awk for the "check" target.  The system "awk" is bad on
2638 # some platforms.
2639 # Always define AMTAR for backward compatibility.
2640
2641 AMTAR=${AMTAR-"${am_missing_run}tar"}
2642
2643 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2644
2645
2646
2647
2648
2649
2650 # FIXME: We temporarily define our own version of AC_PROG_CC.  This is
2651 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
2652 # are probably using a cross compiler, which will not be able to fully
2653 # link an executable.  This should really be fixed in autoconf
2654 # itself.
2655
2656
2657
2658
2659
2660
2661
2662 # Extract the first word of "gcc", so it can be a program name with args.
2663 set dummy gcc; ac_word=$2
2664 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2665 $as_echo_n "checking for $ac_word... " >&6; }
2666 if test "${ac_cv_prog_CC+set}" = set; then
2667   $as_echo_n "(cached) " >&6
2668 else
2669   if test -n "$CC"; then
2670   ac_cv_prog_CC="$CC" # Let the user override the test.
2671 else
2672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2673 for as_dir in $PATH
2674 do
2675   IFS=$as_save_IFS
2676   test -z "$as_dir" && as_dir=.
2677   for ac_exec_ext in '' $ac_executable_extensions; do
2678   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2679     ac_cv_prog_CC="gcc"
2680     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2681     break 2
2682   fi
2683 done
2684 done
2685 IFS=$as_save_IFS
2686
2687 fi
2688 fi
2689 CC=$ac_cv_prog_CC
2690 if test -n "$CC"; then
2691   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2692 $as_echo "$CC" >&6; }
2693 else
2694   { $as_echo "$as_me:$LINENO: result: no" >&5
2695 $as_echo "no" >&6; }
2696 fi
2697
2698
2699
2700 depcc="$CC"   am_compiler_list=
2701
2702 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2703 $as_echo_n "checking dependency style of $depcc... " >&6; }
2704 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2705   $as_echo_n "(cached) " >&6
2706 else
2707   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2708   # We make a subdir and do the tests there.  Otherwise we can end up
2709   # making bogus files that we don't know about and never remove.  For
2710   # instance it was reported that on HP-UX the gcc test will end up
2711   # making a dummy file named `D' -- because `-MD' means `put the output
2712   # in D'.
2713   mkdir conftest.dir
2714   # Copy depcomp to subdir because otherwise we won't find it if we're
2715   # using a relative directory.
2716   cp "$am_depcomp" conftest.dir
2717   cd conftest.dir
2718   # We will build objects and dependencies in a subdirectory because
2719   # it helps to detect inapplicable dependency modes.  For instance
2720   # both Tru64's cc and ICC support -MD to output dependencies as a
2721   # side effect of compilation, but ICC will put the dependencies in
2722   # the current directory while Tru64 will put them in the object
2723   # directory.
2724   mkdir sub
2725
2726   am_cv_CC_dependencies_compiler_type=none
2727   if test "$am_compiler_list" = ""; then
2728      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2729   fi
2730   am__universal=false
2731   case " $depcc " in #(
2732      *\ -arch\ *\ -arch\ *) am__universal=true ;;
2733      esac
2734
2735   for depmode in $am_compiler_list; do
2736     # Setup a source with many dependencies, because some compilers
2737     # like to wrap large dependency lists on column 80 (with \), and
2738     # we should not choose a depcomp mode which is confused by this.
2739     #
2740     # We need to recreate these files for each test, as the compiler may
2741     # overwrite some of them when testing with obscure command lines.
2742     # This happens at least with the AIX C compiler.
2743     : > sub/conftest.c
2744     for i in 1 2 3 4 5 6; do
2745       echo '#include "conftst'$i'.h"' >> sub/conftest.c
2746       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2747       # Solaris 8's {/usr,}/bin/sh.
2748       touch sub/conftst$i.h
2749     done
2750     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2751
2752     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2753     # mode.  It turns out that the SunPro C++ compiler does not properly
2754     # handle `-M -o', and we need to detect this.  Also, some Intel
2755     # versions had trouble with output in subdirs
2756     am__obj=sub/conftest.${OBJEXT-o}
2757     am__minus_obj="-o $am__obj"
2758     case $depmode in
2759     gcc)
2760       # This depmode causes a compiler race in universal mode.
2761       test "$am__universal" = false || continue
2762       ;;
2763     nosideeffect)
2764       # after this tag, mechanisms are not by side-effect, so they'll
2765       # only be used when explicitly requested
2766       if test "x$enable_dependency_tracking" = xyes; then
2767         continue
2768       else
2769         break
2770       fi
2771       ;;
2772     msvisualcpp | msvcmsys)
2773       # This compiler won't grok `-c -o', but also, the minuso test has
2774       # not run yet.  These depmodes are late enough in the game, and
2775       # so weak that their functioning should not be impacted.
2776       am__obj=conftest.${OBJEXT-o}
2777       am__minus_obj=
2778       ;;
2779     none) break ;;
2780     esac
2781     if depmode=$depmode \
2782        source=sub/conftest.c object=$am__obj \
2783        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2784        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
2785          >/dev/null 2>conftest.err &&
2786        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
2787        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2788        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
2789        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2790       # icc doesn't choke on unknown options, it will just issue warnings
2791       # or remarks (even with -Werror).  So we grep stderr for any message
2792       # that says an option was ignored or not supported.
2793       # When given -MP, icc 7.0 and 7.1 complain thusly:
2794       #   icc: Command line warning: ignoring option '-M'; no argument required
2795       # The diagnosis changed in icc 8.0:
2796       #   icc: Command line remark: option '-MP' not supported
2797       if (grep 'ignoring option' conftest.err ||
2798           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2799         am_cv_CC_dependencies_compiler_type=$depmode
2800         break
2801       fi
2802     fi
2803   done
2804
2805   cd ..
2806   rm -rf conftest.dir
2807 else
2808   am_cv_CC_dependencies_compiler_type=none
2809 fi
2810
2811 fi
2812 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2813 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2814 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2815
2816  if
2817   test "x$enable_dependency_tracking" != xno \
2818   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2819   am__fastdepCC_TRUE=
2820   am__fastdepCC_FALSE='#'
2821 else
2822   am__fastdepCC_TRUE='#'
2823   am__fastdepCC_FALSE=
2824 fi
2825
2826
2827 if test -z "$CC"; then
2828   # Extract the first word of "cc", so it can be a program name with args.
2829 set dummy cc; ac_word=$2
2830 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2831 $as_echo_n "checking for $ac_word... " >&6; }
2832 if test "${ac_cv_prog_CC+set}" = set; then
2833   $as_echo_n "(cached) " >&6
2834 else
2835   if test -n "$CC"; then
2836   ac_cv_prog_CC="$CC" # Let the user override the test.
2837 else
2838   ac_prog_rejected=no
2839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2840 for as_dir in $PATH
2841 do
2842   IFS=$as_save_IFS
2843   test -z "$as_dir" && as_dir=.
2844   for ac_exec_ext in '' $ac_executable_extensions; do
2845   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2846     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2847        ac_prog_rejected=yes
2848        continue
2849      fi
2850     ac_cv_prog_CC="cc"
2851     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2852     break 2
2853   fi
2854 done
2855 done
2856 IFS=$as_save_IFS
2857
2858 if test $ac_prog_rejected = yes; then
2859   # We found a bogon in the path, so make sure we never use it.
2860   set dummy $ac_cv_prog_CC
2861   shift
2862   if test $# != 0; then
2863     # We chose a different compiler from the bogus one.
2864     # However, it has the same basename, so the bogon will be chosen
2865     # first if we set CC to just the basename; use the full file name.
2866     shift
2867     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2868   fi
2869 fi
2870 fi
2871 fi
2872 CC=$ac_cv_prog_CC
2873 if test -n "$CC"; then
2874   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2875 $as_echo "$CC" >&6; }
2876 else
2877   { $as_echo "$as_me:$LINENO: result: no" >&5
2878 $as_echo "no" >&6; }
2879 fi
2880
2881
2882   test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2883 $as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2884    { (exit 1); exit 1; }; }
2885 fi
2886
2887 { $as_echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2888 $as_echo_n "checking whether we are using GNU C... " >&6; }
2889 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2890   $as_echo_n "(cached) " >&6
2891 else
2892   cat > conftest.c <<EOF
2893 #ifdef __GNUC__
2894   yes;
2895 #endif
2896 EOF
2897 if { ac_try='${CC-cc} -E conftest.c'
2898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2899   (eval $ac_try) 2>&5
2900   ac_status=$?
2901   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902   (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2903   ac_cv_c_compiler_gnu=yes
2904 else
2905   ac_cv_c_compiler_gnu=no
2906 fi
2907 fi
2908 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2909 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2910
2911 if test $ac_cv_c_compiler_gnu = yes; then
2912   GCC=yes
2913   ac_test_CFLAGS="${CFLAGS+set}"
2914   ac_save_CFLAGS="$CFLAGS"
2915   ac_test_CFLAGS=${CFLAGS+set}
2916 ac_save_CFLAGS=$CFLAGS
2917 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2918 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2919 if test "${ac_cv_prog_cc_g+set}" = set; then
2920   $as_echo_n "(cached) " >&6
2921 else
2922   ac_save_c_werror_flag=$ac_c_werror_flag
2923    ac_c_werror_flag=yes
2924    ac_cv_prog_cc_g=no
2925    CFLAGS="-g"
2926    cat >conftest.$ac_ext <<_ACEOF
2927 /* confdefs.h.  */
2928 _ACEOF
2929 cat confdefs.h >>conftest.$ac_ext
2930 cat >>conftest.$ac_ext <<_ACEOF
2931 /* end confdefs.h.  */
2932
2933 int
2934 main ()
2935 {
2936
2937   ;
2938   return 0;
2939 }
2940 _ACEOF
2941 rm -f conftest.$ac_objext
2942 if { (ac_try="$ac_compile"
2943 case "(($ac_try" in
2944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945   *) ac_try_echo=$ac_try;;
2946 esac
2947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2948 $as_echo "$ac_try_echo") >&5
2949   (eval "$ac_compile") 2>conftest.er1
2950   ac_status=$?
2951   grep -v '^ *+' conftest.er1 >conftest.err
2952   rm -f conftest.er1
2953   cat conftest.err >&5
2954   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955   (exit $ac_status); } && {
2956          test -z "$ac_c_werror_flag" ||
2957          test ! -s conftest.err
2958        } && test -s conftest.$ac_objext; then
2959   ac_cv_prog_cc_g=yes
2960 else
2961   $as_echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2963
2964         CFLAGS=""
2965       cat >conftest.$ac_ext <<_ACEOF
2966 /* confdefs.h.  */
2967 _ACEOF
2968 cat confdefs.h >>conftest.$ac_ext
2969 cat >>conftest.$ac_ext <<_ACEOF
2970 /* end confdefs.h.  */
2971
2972 int
2973 main ()
2974 {
2975
2976   ;
2977   return 0;
2978 }
2979 _ACEOF
2980 rm -f conftest.$ac_objext
2981 if { (ac_try="$ac_compile"
2982 case "(($ac_try" in
2983   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2984   *) ac_try_echo=$ac_try;;
2985 esac
2986 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2987 $as_echo "$ac_try_echo") >&5
2988   (eval "$ac_compile") 2>conftest.er1
2989   ac_status=$?
2990   grep -v '^ *+' conftest.er1 >conftest.err
2991   rm -f conftest.er1
2992   cat conftest.err >&5
2993   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994   (exit $ac_status); } && {
2995          test -z "$ac_c_werror_flag" ||
2996          test ! -s conftest.err
2997        } && test -s conftest.$ac_objext; then
2998   :
2999 else
3000   $as_echo "$as_me: failed program was:" >&5
3001 sed 's/^/| /' conftest.$ac_ext >&5
3002
3003         ac_c_werror_flag=$ac_save_c_werror_flag
3004          CFLAGS="-g"
3005          cat >conftest.$ac_ext <<_ACEOF
3006 /* confdefs.h.  */
3007 _ACEOF
3008 cat confdefs.h >>conftest.$ac_ext
3009 cat >>conftest.$ac_ext <<_ACEOF
3010 /* end confdefs.h.  */
3011
3012 int
3013 main ()
3014 {
3015
3016   ;
3017   return 0;
3018 }
3019 _ACEOF
3020 rm -f conftest.$ac_objext
3021 if { (ac_try="$ac_compile"
3022 case "(($ac_try" in
3023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3024   *) ac_try_echo=$ac_try;;
3025 esac
3026 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3027 $as_echo "$ac_try_echo") >&5
3028   (eval "$ac_compile") 2>conftest.er1
3029   ac_status=$?
3030   grep -v '^ *+' conftest.er1 >conftest.err
3031   rm -f conftest.er1
3032   cat conftest.err >&5
3033   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034   (exit $ac_status); } && {
3035          test -z "$ac_c_werror_flag" ||
3036          test ! -s conftest.err
3037        } && test -s conftest.$ac_objext; then
3038   ac_cv_prog_cc_g=yes
3039 else
3040   $as_echo "$as_me: failed program was:" >&5
3041 sed 's/^/| /' conftest.$ac_ext >&5
3042
3043
3044 fi
3045
3046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3047 fi
3048
3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3050 fi
3051
3052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053    ac_c_werror_flag=$ac_save_c_werror_flag
3054 fi
3055 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3056 $as_echo "$ac_cv_prog_cc_g" >&6; }
3057 if test "$ac_test_CFLAGS" = set; then
3058   CFLAGS=$ac_save_CFLAGS
3059 elif test $ac_cv_prog_cc_g = yes; then
3060   if test "$GCC" = yes; then
3061     CFLAGS="-g -O2"
3062   else
3063     CFLAGS="-g"
3064   fi
3065 else
3066   if test "$GCC" = yes; then
3067     CFLAGS="-O2"
3068   else
3069     CFLAGS=
3070   fi
3071 fi
3072   if test "$ac_test_CFLAGS" = set; then
3073     CFLAGS="$ac_save_CFLAGS"
3074   elif test $ac_cv_prog_cc_g = yes; then
3075     CFLAGS="-g -O2"
3076   else
3077     CFLAGS="-O2"
3078   fi
3079 else
3080   GCC=
3081   test "${CFLAGS+set}" = set || CFLAGS="-g"
3082 fi
3083
3084
3085 if test -n "$ac_tool_prefix"; then
3086   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3087 set dummy ${ac_tool_prefix}as; ac_word=$2
3088 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3089 $as_echo_n "checking for $ac_word... " >&6; }
3090 if test "${ac_cv_prog_AS+set}" = set; then
3091   $as_echo_n "(cached) " >&6
3092 else
3093   if test -n "$AS"; then
3094   ac_cv_prog_AS="$AS" # Let the user override the test.
3095 else
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 for as_dir in $PATH
3098 do
3099   IFS=$as_save_IFS
3100   test -z "$as_dir" && as_dir=.
3101   for ac_exec_ext in '' $ac_executable_extensions; do
3102   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3103     ac_cv_prog_AS="${ac_tool_prefix}as"
3104     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3105     break 2
3106   fi
3107 done
3108 done
3109 IFS=$as_save_IFS
3110
3111 fi
3112 fi
3113 AS=$ac_cv_prog_AS
3114 if test -n "$AS"; then
3115   { $as_echo "$as_me:$LINENO: result: $AS" >&5
3116 $as_echo "$AS" >&6; }
3117 else
3118   { $as_echo "$as_me:$LINENO: result: no" >&5
3119 $as_echo "no" >&6; }
3120 fi
3121
3122
3123 fi
3124 if test -z "$ac_cv_prog_AS"; then
3125   ac_ct_AS=$AS
3126   # Extract the first word of "as", so it can be a program name with args.
3127 set dummy as; ac_word=$2
3128 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3129 $as_echo_n "checking for $ac_word... " >&6; }
3130 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3131   $as_echo_n "(cached) " >&6
3132 else
3133   if test -n "$ac_ct_AS"; then
3134   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3135 else
3136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3137 for as_dir in $PATH
3138 do
3139   IFS=$as_save_IFS
3140   test -z "$as_dir" && as_dir=.
3141   for ac_exec_ext in '' $ac_executable_extensions; do
3142   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3143     ac_cv_prog_ac_ct_AS="as"
3144     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3145     break 2
3146   fi
3147 done
3148 done
3149 IFS=$as_save_IFS
3150
3151 fi
3152 fi
3153 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3154 if test -n "$ac_ct_AS"; then
3155   { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3156 $as_echo "$ac_ct_AS" >&6; }
3157 else
3158   { $as_echo "$as_me:$LINENO: result: no" >&5
3159 $as_echo "no" >&6; }
3160 fi
3161
3162   if test "x$ac_ct_AS" = x; then
3163     AS=""
3164   else
3165     case $cross_compiling:$ac_tool_warned in
3166 yes:)
3167 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3168 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3169 ac_tool_warned=yes ;;
3170 esac
3171     AS=$ac_ct_AS
3172   fi
3173 else
3174   AS="$ac_cv_prog_AS"
3175 fi
3176
3177 if test -n "$ac_tool_prefix"; then
3178   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3179 set dummy ${ac_tool_prefix}ar; ac_word=$2
3180 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3181 $as_echo_n "checking for $ac_word... " >&6; }
3182 if test "${ac_cv_prog_AR+set}" = set; then
3183   $as_echo_n "(cached) " >&6
3184 else
3185   if test -n "$AR"; then
3186   ac_cv_prog_AR="$AR" # Let the user override the test.
3187 else
3188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3189 for as_dir in $PATH
3190 do
3191   IFS=$as_save_IFS
3192   test -z "$as_dir" && as_dir=.
3193   for ac_exec_ext in '' $ac_executable_extensions; do
3194   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3195     ac_cv_prog_AR="${ac_tool_prefix}ar"
3196     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3197     break 2
3198   fi
3199 done
3200 done
3201 IFS=$as_save_IFS
3202
3203 fi
3204 fi
3205 AR=$ac_cv_prog_AR
3206 if test -n "$AR"; then
3207   { $as_echo "$as_me:$LINENO: result: $AR" >&5
3208 $as_echo "$AR" >&6; }
3209 else
3210   { $as_echo "$as_me:$LINENO: result: no" >&5
3211 $as_echo "no" >&6; }
3212 fi
3213
3214
3215 fi
3216 if test -z "$ac_cv_prog_AR"; then
3217   ac_ct_AR=$AR
3218   # Extract the first word of "ar", so it can be a program name with args.
3219 set dummy ar; ac_word=$2
3220 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3221 $as_echo_n "checking for $ac_word... " >&6; }
3222 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3223   $as_echo_n "(cached) " >&6
3224 else
3225   if test -n "$ac_ct_AR"; then
3226   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3227 else
3228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3229 for as_dir in $PATH
3230 do
3231   IFS=$as_save_IFS
3232   test -z "$as_dir" && as_dir=.
3233   for ac_exec_ext in '' $ac_executable_extensions; do
3234   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3235     ac_cv_prog_ac_ct_AR="ar"
3236     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3237     break 2
3238   fi
3239 done
3240 done
3241 IFS=$as_save_IFS
3242
3243 fi
3244 fi
3245 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3246 if test -n "$ac_ct_AR"; then
3247   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3248 $as_echo "$ac_ct_AR" >&6; }
3249 else
3250   { $as_echo "$as_me:$LINENO: result: no" >&5
3251 $as_echo "no" >&6; }
3252 fi
3253
3254   if test "x$ac_ct_AR" = x; then
3255     AR=""
3256   else
3257     case $cross_compiling:$ac_tool_warned in
3258 yes:)
3259 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3261 ac_tool_warned=yes ;;
3262 esac
3263     AR=$ac_ct_AR
3264   fi
3265 else
3266   AR="$ac_cv_prog_AR"
3267 fi
3268
3269 if test -n "$ac_tool_prefix"; then
3270   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3271 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3272 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3273 $as_echo_n "checking for $ac_word... " >&6; }
3274 if test "${ac_cv_prog_RANLIB+set}" = set; then
3275   $as_echo_n "(cached) " >&6
3276 else
3277   if test -n "$RANLIB"; then
3278   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3279 else
3280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3281 for as_dir in $PATH
3282 do
3283   IFS=$as_save_IFS
3284   test -z "$as_dir" && as_dir=.
3285   for ac_exec_ext in '' $ac_executable_extensions; do
3286   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3287     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3288     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3289     break 2
3290   fi
3291 done
3292 done
3293 IFS=$as_save_IFS
3294
3295 fi
3296 fi
3297 RANLIB=$ac_cv_prog_RANLIB
3298 if test -n "$RANLIB"; then
3299   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3300 $as_echo "$RANLIB" >&6; }
3301 else
3302   { $as_echo "$as_me:$LINENO: result: no" >&5
3303 $as_echo "no" >&6; }
3304 fi
3305
3306
3307 fi
3308 if test -z "$ac_cv_prog_RANLIB"; then
3309   ac_ct_RANLIB=$RANLIB
3310   # Extract the first word of "ranlib", so it can be a program name with args.
3311 set dummy ranlib; ac_word=$2
3312 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3313 $as_echo_n "checking for $ac_word... " >&6; }
3314 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3315   $as_echo_n "(cached) " >&6
3316 else
3317   if test -n "$ac_ct_RANLIB"; then
3318   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3319 else
3320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3321 for as_dir in $PATH
3322 do
3323   IFS=$as_save_IFS
3324   test -z "$as_dir" && as_dir=.
3325   for ac_exec_ext in '' $ac_executable_extensions; do
3326   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3327     ac_cv_prog_ac_ct_RANLIB="ranlib"
3328     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3329     break 2
3330   fi
3331 done
3332 done
3333 IFS=$as_save_IFS
3334
3335 fi
3336 fi
3337 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3338 if test -n "$ac_ct_RANLIB"; then
3339   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3340 $as_echo "$ac_ct_RANLIB" >&6; }
3341 else
3342   { $as_echo "$as_me:$LINENO: result: no" >&5
3343 $as_echo "no" >&6; }
3344 fi
3345
3346   if test "x$ac_ct_RANLIB" = x; then
3347     RANLIB=":"
3348   else
3349     case $cross_compiling:$ac_tool_warned in
3350 yes:)
3351 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3353 ac_tool_warned=yes ;;
3354 esac
3355     RANLIB=$ac_ct_RANLIB
3356   fi
3357 else
3358   RANLIB="$ac_cv_prog_RANLIB"
3359 fi
3360
3361 if test -n "$ac_tool_prefix"; then
3362   # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
3363 set dummy ${ac_tool_prefix}readelf; ac_word=$2
3364 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3365 $as_echo_n "checking for $ac_word... " >&6; }
3366 if test "${ac_cv_prog_READELF+set}" = set; then
3367   $as_echo_n "(cached) " >&6
3368 else
3369   if test -n "$READELF"; then
3370   ac_cv_prog_READELF="$READELF" # Let the user override the test.
3371 else
3372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3373 for as_dir in $PATH
3374 do
3375   IFS=$as_save_IFS
3376   test -z "$as_dir" && as_dir=.
3377   for ac_exec_ext in '' $ac_executable_extensions; do
3378   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3379     ac_cv_prog_READELF="${ac_tool_prefix}readelf"
3380     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3381     break 2
3382   fi
3383 done
3384 done
3385 IFS=$as_save_IFS
3386
3387 fi
3388 fi
3389 READELF=$ac_cv_prog_READELF
3390 if test -n "$READELF"; then
3391   { $as_echo "$as_me:$LINENO: result: $READELF" >&5
3392 $as_echo "$READELF" >&6; }
3393 else
3394   { $as_echo "$as_me:$LINENO: result: no" >&5
3395 $as_echo "no" >&6; }
3396 fi
3397
3398
3399 fi
3400 if test -z "$ac_cv_prog_READELF"; then
3401   ac_ct_READELF=$READELF
3402   # Extract the first word of "readelf", so it can be a program name with args.
3403 set dummy readelf; ac_word=$2
3404 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3405 $as_echo_n "checking for $ac_word... " >&6; }
3406 if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
3407   $as_echo_n "(cached) " >&6
3408 else
3409   if test -n "$ac_ct_READELF"; then
3410   ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
3411 else
3412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3413 for as_dir in $PATH
3414 do
3415   IFS=$as_save_IFS
3416   test -z "$as_dir" && as_dir=.
3417   for ac_exec_ext in '' $ac_executable_extensions; do
3418   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3419     ac_cv_prog_ac_ct_READELF="readelf"
3420     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3421     break 2
3422   fi
3423 done
3424 done
3425 IFS=$as_save_IFS
3426
3427 fi
3428 fi
3429 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
3430 if test -n "$ac_ct_READELF"; then
3431   { $as_echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
3432 $as_echo "$ac_ct_READELF" >&6; }
3433 else
3434   { $as_echo "$as_me:$LINENO: result: no" >&5
3435 $as_echo "no" >&6; }
3436 fi
3437
3438   if test "x$ac_ct_READELF" = x; then
3439     READELF=":"
3440   else
3441     case $cross_compiling:$ac_tool_warned in
3442 yes:)
3443 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3445 ac_tool_warned=yes ;;
3446 esac
3447     READELF=$ac_ct_READELF
3448   fi
3449 else
3450   READELF="$ac_cv_prog_READELF"
3451 fi
3452
3453
3454 # Find a good install program.  We prefer a C program (faster),
3455 # so one script is as good as another.  But avoid the broken or
3456 # incompatible versions:
3457 # SysV /etc/install, /usr/sbin/install
3458 # SunOS /usr/etc/install
3459 # IRIX /sbin/install
3460 # AIX /bin/install
3461 # AmigaOS /C/install, which installs bootblocks on floppy discs
3462 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3463 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3464 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3465 # OS/2's system install, which has a completely different semantic
3466 # ./install, which can be erroneously created by make from ./install.sh.
3467 # Reject install programs that cannot install multiple files.
3468 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3469 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3470 if test -z "$INSTALL"; then
3471 if test "${ac_cv_path_install+set}" = set; then
3472   $as_echo_n "(cached) " >&6
3473 else
3474   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475 for as_dir in $PATH
3476 do
3477   IFS=$as_save_IFS
3478   test -z "$as_dir" && as_dir=.
3479   # Account for people who put trailing slashes in PATH elements.
3480 case $as_dir/ in
3481   ./ | .// | /cC/* | \
3482   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3483   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3484   /usr/ucb/* ) ;;
3485   *)
3486     # OSF1 and SCO ODT 3.0 have their own names for install.
3487     # Don't use installbsd from OSF since it installs stuff as root
3488     # by default.
3489     for ac_prog in ginstall scoinst install; do
3490       for ac_exec_ext in '' $ac_executable_extensions; do
3491         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3492           if test $ac_prog = install &&
3493             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3494             # AIX install.  It has an incompatible calling convention.
3495             :
3496           elif test $ac_prog = install &&
3497             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3498             # program-specific install script used by HP pwplus--don't use.
3499             :
3500           else
3501             rm -rf conftest.one conftest.two conftest.dir
3502             echo one > conftest.one
3503             echo two > conftest.two
3504             mkdir conftest.dir
3505             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3506               test -s conftest.one && test -s conftest.two &&
3507               test -s conftest.dir/conftest.one &&
3508               test -s conftest.dir/conftest.two
3509             then
3510               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3511               break 3
3512             fi
3513           fi
3514         fi
3515       done
3516     done
3517     ;;
3518 esac
3519
3520 done
3521 IFS=$as_save_IFS
3522
3523 rm -rf conftest.one conftest.two conftest.dir
3524
3525 fi
3526   if test "${ac_cv_path_install+set}" = set; then
3527     INSTALL=$ac_cv_path_install
3528   else
3529     # As a last resort, use the slow shell script.  Don't cache a
3530     # value for INSTALL within a source directory, because that will
3531     # break other packages using the cache if that directory is
3532     # removed, or if the value is a relative name.
3533     INSTALL=$ac_install_sh
3534   fi
3535 fi
3536 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3537 $as_echo "$INSTALL" >&6; }
3538
3539 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3540 # It thinks the first close brace ends the variable substitution.
3541 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3542
3543 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3544
3545 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3546
3547
3548 # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13.  */
3549 ac_given_INSTALL=$INSTALL
3550
3551
3552 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3553 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3554     # Check whether --enable-maintainer-mode was given.
3555 if test "${enable_maintainer_mode+set}" = set; then
3556   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3557 else
3558   USE_MAINTAINER_MODE=no
3559 fi
3560
3561   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3562 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3563    if test $USE_MAINTAINER_MODE = yes; then
3564   MAINTAINER_MODE_TRUE=
3565   MAINTAINER_MODE_FALSE='#'
3566 else
3567   MAINTAINER_MODE_TRUE='#'
3568   MAINTAINER_MODE_FALSE=
3569 fi
3570
3571   MAINT=$MAINTAINER_MODE_TRUE
3572
3573
3574 # By default we simply use the C compiler to build assembly code.
3575
3576 test "${CCAS+set}" = set || CCAS=$CC
3577 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3578
3579
3580
3581
3582 # We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
3583 # at least currently, we never actually build a program, so we never
3584 # need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
3585 # fails, because we are probably configuring with a cross compiler
3586 # which can't create executables.  So we include AC_EXEEXT to keep
3587 # automake happy, but we don't execute it, since we don't care about
3588 # the result.
3589 if false; then
3590
3591   dummy_var=1
3592 fi
3593
3594 . ${newlib_basedir}/configure.host
3595
3596 newlib_cflags="${newlib_cflags} -fno-builtin"
3597
3598 NEWLIB_CFLAGS=${newlib_cflags}
3599
3600
3601 LDFLAGS=${ldflags}
3602
3603
3604  if test x${newlib_elix_level} = x0; then
3605   ELIX_LEVEL_0_TRUE=
3606   ELIX_LEVEL_0_FALSE='#'
3607 else
3608   ELIX_LEVEL_0_TRUE='#'
3609   ELIX_LEVEL_0_FALSE=
3610 fi
3611
3612  if test x${newlib_elix_level} = x1; then
3613   ELIX_LEVEL_1_TRUE=
3614   ELIX_LEVEL_1_FALSE='#'
3615 else
3616   ELIX_LEVEL_1_TRUE='#'
3617   ELIX_LEVEL_1_FALSE=
3618 fi
3619
3620  if test x${newlib_elix_level} = x2; then
3621   ELIX_LEVEL_2_TRUE=
3622   ELIX_LEVEL_2_FALSE='#'
3623 else
3624   ELIX_LEVEL_2_TRUE='#'
3625   ELIX_LEVEL_2_FALSE=
3626 fi
3627
3628  if test x${newlib_elix_level} = x3; then
3629   ELIX_LEVEL_3_TRUE=
3630   ELIX_LEVEL_3_FALSE='#'
3631 else
3632   ELIX_LEVEL_3_TRUE='#'
3633   ELIX_LEVEL_3_FALSE=
3634 fi
3635
3636  if test x${newlib_elix_level} = x4; then
3637   ELIX_LEVEL_4_TRUE=
3638   ELIX_LEVEL_4_FALSE='#'
3639 else
3640   ELIX_LEVEL_4_TRUE='#'
3641   ELIX_LEVEL_4_FALSE=
3642 fi
3643
3644
3645  if test x${use_libtool} = xyes; then
3646   USE_LIBTOOL_TRUE=
3647   USE_LIBTOOL_FALSE='#'
3648 else
3649   USE_LIBTOOL_TRUE='#'
3650   USE_LIBTOOL_FALSE=
3651 fi
3652
3653
3654 # Hard-code OBJEXT.  Normally it is set by AC_OBJEXT, but we
3655 # use oext, which is set in configure.host based on the target platform.
3656 OBJEXT=${oext}
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670 ac_ext=c
3671 ac_cpp='$CPP $CPPFLAGS'
3672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3675 if test -n "$ac_tool_prefix"; then
3676   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3677 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3678 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3679 $as_echo_n "checking for $ac_word... " >&6; }
3680 if test "${ac_cv_prog_CC+set}" = set; then
3681   $as_echo_n "(cached) " >&6
3682 else
3683   if test -n "$CC"; then
3684   ac_cv_prog_CC="$CC" # Let the user override the test.
3685 else
3686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3687 for as_dir in $PATH
3688 do
3689   IFS=$as_save_IFS
3690   test -z "$as_dir" && as_dir=.
3691   for ac_exec_ext in '' $ac_executable_extensions; do
3692   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3693     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3694     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3695     break 2
3696   fi
3697 done
3698 done
3699 IFS=$as_save_IFS
3700
3701 fi
3702 fi
3703 CC=$ac_cv_prog_CC
3704 if test -n "$CC"; then
3705   { $as_echo "$as_me:$LINENO: result: $CC" >&5
3706 $as_echo "$CC" >&6; }
3707 else
3708   { $as_echo "$as_me:$LINENO: result: no" >&5
3709 $as_echo "no" >&6; }
3710 fi
3711
3712
3713 fi
3714 if test -z "$ac_cv_prog_CC"; then
3715   ac_ct_CC=$CC
3716   # Extract the first word of "gcc", so it can be a program name with args.
3717 set dummy gcc; ac_word=$2
3718 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3719 $as_echo_n "checking for $ac_word... " >&6; }
3720 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3721   $as_echo_n "(cached) " >&6
3722 else
3723   if test -n "$ac_ct_CC"; then
3724   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3725 else
3726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3727 for as_dir in $PATH
3728 do
3729   IFS=$as_save_IFS
3730   test -z "$as_dir" && as_dir=.
3731   for ac_exec_ext in '' $ac_executable_extensions; do
3732   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3733     ac_cv_prog_ac_ct_CC="gcc"
3734     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3735     break 2
3736   fi
3737 done
3738 done
3739 IFS=$as_save_IFS
3740
3741 fi
3742 fi
3743 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3744 if test -n "$ac_ct_CC"; then
3745   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3746 $as_echo "$ac_ct_CC" >&6; }
3747 else
3748   { $as_echo "$as_me:$LINENO: result: no" >&5
3749 $as_echo "no" >&6; }
3750 fi
3751
3752   if test "x$ac_ct_CC" = x; then
3753     CC=""
3754   else
3755     case $cross_compiling:$ac_tool_warned in
3756 yes:)
3757 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3759 ac_tool_warned=yes ;;
3760 esac
3761     CC=$ac_ct_CC
3762   fi
3763 else
3764   CC="$ac_cv_prog_CC"
3765 fi
3766
3767 if test -z "$CC"; then
3768           if test -n "$ac_tool_prefix"; then
3769     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3770 set dummy ${ac_tool_prefix}cc; ac_word=$2
3771 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3772 $as_echo_n "checking for $ac_word... " >&6; }
3773 if test "${ac_cv_prog_CC+set}" = set; then
3774   $as_echo_n "(cached) " >&6
3775 else
3776   if test -n "$CC"; then
3777   ac_cv_prog_CC="$CC" # Let the user override the test.
3778 else
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 for as_dir in $PATH
3781 do
3782   IFS=$as_save_IFS
3783   test -z "$as_dir" && as_dir=.
3784   for ac_exec_ext in '' $ac_executable_extensions; do
3785   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3786     ac_cv_prog_CC="${ac_tool_prefix}cc"
3787     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3788     break 2
3789   fi
3790 done
3791 done
3792 IFS=$as_save_IFS
3793
3794 fi
3795 fi
3796 CC=$ac_cv_prog_CC
3797 if test -n "$CC"; then
3798   { $as_echo "$as_me:$LINENO: result: $CC" >&5
3799 $as_echo "$CC" >&6; }
3800 else
3801   { $as_echo "$as_me:$LINENO: result: no" >&5
3802 $as_echo "no" >&6; }
3803 fi
3804
3805
3806   fi
3807 fi
3808 if test -z "$CC"; then
3809   # Extract the first word of "cc", so it can be a program name with args.
3810 set dummy cc; ac_word=$2
3811 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3812 $as_echo_n "checking for $ac_word... " >&6; }
3813 if test "${ac_cv_prog_CC+set}" = set; then
3814   $as_echo_n "(cached) " >&6
3815 else
3816   if test -n "$CC"; then
3817   ac_cv_prog_CC="$CC" # Let the user override the test.
3818 else
3819   ac_prog_rejected=no
3820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3821 for as_dir in $PATH
3822 do
3823   IFS=$as_save_IFS
3824   test -z "$as_dir" && as_dir=.
3825   for ac_exec_ext in '' $ac_executable_extensions; do
3826   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3827     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3828        ac_prog_rejected=yes
3829        continue
3830      fi
3831     ac_cv_prog_CC="cc"
3832     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3833     break 2
3834   fi
3835 done
3836 done
3837 IFS=$as_save_IFS
3838
3839 if test $ac_prog_rejected = yes; then
3840   # We found a bogon in the path, so make sure we never use it.
3841   set dummy $ac_cv_prog_CC
3842   shift
3843   if test $# != 0; then
3844     # We chose a different compiler from the bogus one.
3845     # However, it has the same basename, so the bogon will be chosen
3846     # first if we set CC to just the basename; use the full file name.
3847     shift
3848     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3849   fi
3850 fi
3851 fi
3852 fi
3853 CC=$ac_cv_prog_CC
3854 if test -n "$CC"; then
3855   { $as_echo "$as_me:$LINENO: result: $CC" >&5
3856 $as_echo "$CC" >&6; }
3857 else
3858   { $as_echo "$as_me:$LINENO: result: no" >&5
3859 $as_echo "no" >&6; }
3860 fi
3861
3862
3863 fi
3864 if test -z "$CC"; then
3865   if test -n "$ac_tool_prefix"; then
3866   for ac_prog in cl.exe
3867   do
3868     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3869 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3870 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3871 $as_echo_n "checking for $ac_word... " >&6; }
3872 if test "${ac_cv_prog_CC+set}" = set; then
3873   $as_echo_n "(cached) " >&6
3874 else
3875   if test -n "$CC"; then
3876   ac_cv_prog_CC="$CC" # Let the user override the test.
3877 else
3878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3879 for as_dir in $PATH
3880 do
3881   IFS=$as_save_IFS
3882   test -z "$as_dir" && as_dir=.
3883   for ac_exec_ext in '' $ac_executable_extensions; do
3884   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3885     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3886     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3887     break 2
3888   fi
3889 done
3890 done
3891 IFS=$as_save_IFS
3892
3893 fi
3894 fi
3895 CC=$ac_cv_prog_CC
3896 if test -n "$CC"; then
3897   { $as_echo "$as_me:$LINENO: result: $CC" >&5
3898 $as_echo "$CC" >&6; }
3899 else
3900   { $as_echo "$as_me:$LINENO: result: no" >&5
3901 $as_echo "no" >&6; }
3902 fi
3903
3904
3905     test -n "$CC" && break
3906   done
3907 fi
3908 if test -z "$CC"; then
3909   ac_ct_CC=$CC
3910   for ac_prog in cl.exe
3911 do
3912   # Extract the first word of "$ac_prog", so it can be a program name with args.
3913 set dummy $ac_prog; ac_word=$2
3914 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3915 $as_echo_n "checking for $ac_word... " >&6; }
3916 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3917   $as_echo_n "(cached) " >&6
3918 else
3919   if test -n "$ac_ct_CC"; then
3920   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3921 else
3922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3923 for as_dir in $PATH
3924 do
3925   IFS=$as_save_IFS
3926   test -z "$as_dir" && as_dir=.
3927   for ac_exec_ext in '' $ac_executable_extensions; do
3928   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3929     ac_cv_prog_ac_ct_CC="$ac_prog"
3930     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3931     break 2
3932   fi
3933 done
3934 done
3935 IFS=$as_save_IFS
3936
3937 fi
3938 fi
3939 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3940 if test -n "$ac_ct_CC"; then
3941   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3942 $as_echo "$ac_ct_CC" >&6; }
3943 else
3944   { $as_echo "$as_me:$LINENO: result: no" >&5
3945 $as_echo "no" >&6; }
3946 fi
3947
3948
3949   test -n "$ac_ct_CC" && break
3950 done
3951
3952   if test "x$ac_ct_CC" = x; then
3953     CC=""
3954   else
3955     case $cross_compiling:$ac_tool_warned in
3956 yes:)
3957 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3959 ac_tool_warned=yes ;;
3960 esac
3961     CC=$ac_ct_CC
3962   fi
3963 fi
3964
3965 fi
3966
3967
3968 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3970 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3971 See \`config.log' for more details." >&5
3972 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3973 See \`config.log' for more details." >&2;}
3974    { (exit 1); exit 1; }; }; }
3975
3976 # Provide some information about the compiler.
3977 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3978 set X $ac_compile
3979 ac_compiler=$2
3980 { (ac_try="$ac_compiler --version >&5"
3981 case "(($ac_try" in
3982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3983   *) ac_try_echo=$ac_try;;
3984 esac
3985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3986 $as_echo "$ac_try_echo") >&5
3987   (eval "$ac_compiler --version >&5") 2>&5
3988   ac_status=$?
3989   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990   (exit $ac_status); }
3991 { (ac_try="$ac_compiler -v >&5"
3992 case "(($ac_try" in
3993   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3994   *) ac_try_echo=$ac_try;;
3995 esac
3996 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3997 $as_echo "$ac_try_echo") >&5
3998   (eval "$ac_compiler -v >&5") 2>&5
3999   ac_status=$?
4000   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4001   (exit $ac_status); }
4002 { (ac_try="$ac_compiler -V >&5"
4003 case "(($ac_try" in
4004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4005   *) ac_try_echo=$ac_try;;
4006 esac
4007 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4008 $as_echo "$ac_try_echo") >&5
4009   (eval "$ac_compiler -V >&5") 2>&5
4010   ac_status=$?
4011   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012   (exit $ac_status); }
4013
4014 cat >conftest.$ac_ext <<_ACEOF
4015 /* confdefs.h.  */
4016 _ACEOF
4017 cat confdefs.h >>conftest.$ac_ext
4018 cat >>conftest.$ac_ext <<_ACEOF
4019 /* end confdefs.h.  */
4020
4021 int
4022 main ()
4023 {
4024
4025   ;
4026   return 0;
4027 }
4028 _ACEOF
4029 if { (ac_try="$ac_link"
4030 case "(($ac_try" in
4031   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4032   *) ac_try_echo=$ac_try;;
4033 esac
4034 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4035 $as_echo "$ac_try_echo") >&5
4036   (eval "$ac_link") 2>&5
4037   ac_status=$?
4038   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039   (exit $ac_status); }; then
4040   ac_no_link=no
4041   cat >conftest.$ac_ext <<_ACEOF
4042 /* confdefs.h.  */
4043 _ACEOF
4044 cat confdefs.h >>conftest.$ac_ext
4045 cat >>conftest.$ac_ext <<_ACEOF
4046 /* end confdefs.h.  */
4047
4048 int
4049 main ()
4050 {
4051
4052   ;
4053   return 0;
4054 }
4055 _ACEOF
4056 ac_clean_files_save=$ac_clean_files
4057 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4058 # Try to create an executable without -o first, disregard a.out.
4059 # It will help us diagnose broken compilers, and finding out an intuition
4060 # of exeext.
4061 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4062 $as_echo_n "checking for C compiler default output file name... " >&6; }
4063 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4064
4065 # The possible output files:
4066 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4067
4068 ac_rmfiles=
4069 for ac_file in $ac_files
4070 do
4071   case $ac_file in
4072     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4073     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4074   esac
4075 done
4076 rm -f $ac_rmfiles
4077
4078 if { (ac_try="$ac_link_default"
4079 case "(($ac_try" in
4080   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081   *) ac_try_echo=$ac_try;;
4082 esac
4083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4084 $as_echo "$ac_try_echo") >&5
4085   (eval "$ac_link_default") 2>&5
4086   ac_status=$?
4087   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088   (exit $ac_status); }; then
4089   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4090 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4091 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4092 # so that the user can short-circuit this test for compilers unknown to
4093 # Autoconf.
4094 for ac_file in $ac_files ''
4095 do
4096   test -f "$ac_file" || continue
4097   case $ac_file in
4098     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4099         ;;
4100     [ab].out )
4101         # We found the default executable, but exeext='' is most
4102         # certainly right.
4103         break;;
4104     *.* )
4105         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4106         then :; else
4107            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4108         fi
4109         # We set ac_cv_exeext here because the later test for it is not
4110         # safe: cross compilers may not add the suffix if given an `-o'
4111         # argument, so we may need to know it at that point already.
4112         # Even if this section looks crufty: it has the advantage of
4113         # actually working.
4114         break;;
4115     * )
4116         break;;
4117   esac
4118 done
4119 test "$ac_cv_exeext" = no && ac_cv_exeext=
4120
4121 else
4122   ac_file=''
4123 fi
4124
4125 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
4126 $as_echo "$ac_file" >&6; }
4127 if test -z "$ac_file"; then
4128   $as_echo "$as_me: failed program was:" >&5
4129 sed 's/^/| /' conftest.$ac_ext >&5
4130
4131 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4133 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
4134 See \`config.log' for more details." >&5
4135 $as_echo "$as_me: error: C compiler cannot create executables
4136 See \`config.log' for more details." >&2;}
4137    { (exit 77); exit 77; }; }; }
4138 fi
4139
4140 ac_exeext=$ac_cv_exeext
4141
4142 # Check that the compiler produces executables we can run.  If not, either
4143 # the compiler is broken, or we cross compile.
4144 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4145 $as_echo_n "checking whether the C compiler works... " >&6; }
4146 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4147 # If not cross compiling, check that we can run a simple program.
4148 if test "$cross_compiling" != yes; then
4149   if { ac_try='./$ac_file'
4150   { (case "(($ac_try" in
4151   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4152   *) ac_try_echo=$ac_try;;
4153 esac
4154 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4155 $as_echo "$ac_try_echo") >&5
4156   (eval "$ac_try") 2>&5
4157   ac_status=$?
4158   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159   (exit $ac_status); }; }; then
4160     cross_compiling=no
4161   else
4162     if test "$cross_compiling" = maybe; then
4163         cross_compiling=yes
4164     else
4165         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4167 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
4168 If you meant to cross compile, use \`--host'.
4169 See \`config.log' for more details." >&5
4170 $as_echo "$as_me: error: cannot run C compiled programs.
4171 If you meant to cross compile, use \`--host'.
4172 See \`config.log' for more details." >&2;}
4173    { (exit 1); exit 1; }; }; }
4174     fi
4175   fi
4176 fi
4177 { $as_echo "$as_me:$LINENO: result: yes" >&5
4178 $as_echo "yes" >&6; }
4179
4180 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4181 ac_clean_files=$ac_clean_files_save
4182 # Check that the compiler produces executables we can run.  If not, either
4183 # the compiler is broken, or we cross compile.
4184 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4185 $as_echo_n "checking whether we are cross compiling... " >&6; }
4186 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
4187 $as_echo "$cross_compiling" >&6; }
4188
4189 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
4190 $as_echo_n "checking for suffix of executables... " >&6; }
4191 if { (ac_try="$ac_link"
4192 case "(($ac_try" in
4193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4194   *) ac_try_echo=$ac_try;;
4195 esac
4196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4197 $as_echo "$ac_try_echo") >&5
4198   (eval "$ac_link") 2>&5
4199   ac_status=$?
4200   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201   (exit $ac_status); }; then
4202   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4203 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4204 # work properly (i.e., refer to `conftest.exe'), while it won't with
4205 # `rm'.
4206 for ac_file in conftest.exe conftest conftest.*; do
4207   test -f "$ac_file" || continue
4208   case $ac_file in
4209     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4210     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4211           break;;
4212     * ) break;;
4213   esac
4214 done
4215 else
4216   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4217 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4218 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4219 See \`config.log' for more details." >&5
4220 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4221 See \`config.log' for more details." >&2;}
4222    { (exit 1); exit 1; }; }; }
4223 fi
4224
4225 rm -f conftest$ac_cv_exeext
4226 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4227 $as_echo "$ac_cv_exeext" >&6; }
4228
4229 rm -f conftest.$ac_ext
4230 EXEEXT=$ac_cv_exeext
4231 ac_exeext=$EXEEXT
4232
4233 else
4234   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.o conftest.obj conftest.dSYM
4235   ac_no_link=yes
4236   # Setting cross_compile will disable run tests; it will
4237   # also disable AC_CHECK_FILE but that's generally
4238   # correct if we can't link.
4239   cross_compiling=yes
4240   EXEEXT=
4241   # Check that the compiler produces executables we can run.  If not, either
4242 # the compiler is broken, or we cross compile.
4243 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4244 $as_echo_n "checking whether we are cross compiling... " >&6; }
4245 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
4246 $as_echo "$cross_compiling" >&6; }
4247
4248 fi
4249 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
4250 $as_echo_n "checking for suffix of object files... " >&6; }
4251 if test "${ac_cv_objext+set}" = set; then
4252   $as_echo_n "(cached) " >&6
4253 else
4254   cat >conftest.$ac_ext <<_ACEOF
4255 /* confdefs.h.  */
4256 _ACEOF
4257 cat confdefs.h >>conftest.$ac_ext
4258 cat >>conftest.$ac_ext <<_ACEOF
4259 /* end confdefs.h.  */
4260
4261 int
4262 main ()
4263 {
4264
4265   ;
4266   return 0;
4267 }
4268 _ACEOF
4269 rm -f conftest.o conftest.obj
4270 if { (ac_try="$ac_compile"
4271 case "(($ac_try" in
4272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4273   *) ac_try_echo=$ac_try;;
4274 esac
4275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4276 $as_echo "$ac_try_echo") >&5
4277   (eval "$ac_compile") 2>&5
4278   ac_status=$?
4279   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4280   (exit $ac_status); }; then
4281   for ac_file in conftest.o conftest.obj conftest.*; do
4282   test -f "$ac_file" || continue;
4283   case $ac_file in
4284     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4285     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4286        break;;
4287   esac
4288 done
4289 else
4290   $as_echo "$as_me: failed program was:" >&5
4291 sed 's/^/| /' conftest.$ac_ext >&5
4292
4293 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4295 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
4296 See \`config.log' for more details." >&5
4297 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
4298 See \`config.log' for more details." >&2;}
4299    { (exit 1); exit 1; }; }; }
4300 fi
4301
4302 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4303 fi
4304 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4305 $as_echo "$ac_cv_objext" >&6; }
4306 OBJEXT=$ac_cv_objext
4307 ac_objext=$OBJEXT
4308 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4309 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4310 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4311   $as_echo_n "(cached) " >&6
4312 else
4313   cat >conftest.$ac_ext <<_ACEOF
4314 /* confdefs.h.  */
4315 _ACEOF
4316 cat confdefs.h >>conftest.$ac_ext
4317 cat >>conftest.$ac_ext <<_ACEOF
4318 /* end confdefs.h.  */
4319
4320 int
4321 main ()
4322 {
4323 #ifndef __GNUC__
4324        choke me
4325 #endif
4326
4327   ;
4328   return 0;
4329 }
4330 _ACEOF
4331 rm -f conftest.$ac_objext
4332 if { (ac_try="$ac_compile"
4333 case "(($ac_try" in
4334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4335   *) ac_try_echo=$ac_try;;
4336 esac
4337 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4338 $as_echo "$ac_try_echo") >&5
4339   (eval "$ac_compile") 2>conftest.er1
4340   ac_status=$?
4341   grep -v '^ *+' conftest.er1 >conftest.err
4342   rm -f conftest.er1
4343   cat conftest.err >&5
4344   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345   (exit $ac_status); } && {
4346          test -z "$ac_c_werror_flag" ||
4347          test ! -s conftest.err
4348        } && test -s conftest.$ac_objext; then
4349   ac_compiler_gnu=yes
4350 else
4351   $as_echo "$as_me: failed program was:" >&5
4352 sed 's/^/| /' conftest.$ac_ext >&5
4353
4354         ac_compiler_gnu=no
4355 fi
4356
4357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4358 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4359
4360 fi
4361 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4362 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4363 if test $ac_compiler_gnu = yes; then
4364   GCC=yes
4365 else
4366   GCC=
4367 fi
4368 ac_test_CFLAGS=${CFLAGS+set}
4369 ac_save_CFLAGS=$CFLAGS
4370 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4371 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4372 if test "${ac_cv_prog_cc_g+set}" = set; then
4373   $as_echo_n "(cached) " >&6
4374 else
4375   ac_save_c_werror_flag=$ac_c_werror_flag
4376    ac_c_werror_flag=yes
4377    ac_cv_prog_cc_g=no
4378    CFLAGS="-g"
4379    cat >conftest.$ac_ext <<_ACEOF
4380 /* confdefs.h.  */
4381 _ACEOF
4382 cat confdefs.h >>conftest.$ac_ext
4383 cat >>conftest.$ac_ext <<_ACEOF
4384 /* end confdefs.h.  */
4385
4386 int
4387 main ()
4388 {
4389
4390   ;
4391   return 0;
4392 }
4393 _ACEOF
4394 rm -f conftest.$ac_objext
4395 if { (ac_try="$ac_compile"
4396 case "(($ac_try" in
4397   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4398   *) ac_try_echo=$ac_try;;
4399 esac
4400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4401 $as_echo "$ac_try_echo") >&5
4402   (eval "$ac_compile") 2>conftest.er1
4403   ac_status=$?
4404   grep -v '^ *+' conftest.er1 >conftest.err
4405   rm -f conftest.er1
4406   cat conftest.err >&5
4407   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4408   (exit $ac_status); } && {
4409          test -z "$ac_c_werror_flag" ||
4410          test ! -s conftest.err
4411        } && test -s conftest.$ac_objext; then
4412   ac_cv_prog_cc_g=yes
4413 else
4414   $as_echo "$as_me: failed program was:" >&5
4415 sed 's/^/| /' conftest.$ac_ext >&5
4416
4417         CFLAGS=""
4418       cat >conftest.$ac_ext <<_ACEOF
4419 /* confdefs.h.  */
4420 _ACEOF
4421 cat confdefs.h >>conftest.$ac_ext
4422 cat >>conftest.$ac_ext <<_ACEOF
4423 /* end confdefs.h.  */
4424
4425 int
4426 main ()
4427 {
4428
4429   ;
4430   return 0;
4431 }
4432 _ACEOF
4433 rm -f conftest.$ac_objext
4434 if { (ac_try="$ac_compile"
4435 case "(($ac_try" in
4436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4437   *) ac_try_echo=$ac_try;;
4438 esac
4439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4440 $as_echo "$ac_try_echo") >&5
4441   (eval "$ac_compile") 2>conftest.er1
4442   ac_status=$?
4443   grep -v '^ *+' conftest.er1 >conftest.err
4444   rm -f conftest.er1
4445   cat conftest.err >&5
4446   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447   (exit $ac_status); } && {
4448          test -z "$ac_c_werror_flag" ||
4449          test ! -s conftest.err
4450        } && test -s conftest.$ac_objext; then
4451   :
4452 else
4453   $as_echo "$as_me: failed program was:" >&5
4454 sed 's/^/| /' conftest.$ac_ext >&5
4455
4456         ac_c_werror_flag=$ac_save_c_werror_flag
4457          CFLAGS="-g"
4458          cat >conftest.$ac_ext <<_ACEOF
4459 /* confdefs.h.  */
4460 _ACEOF
4461 cat confdefs.h >>conftest.$ac_ext
4462 cat >>conftest.$ac_ext <<_ACEOF
4463 /* end confdefs.h.  */
4464
4465 int
4466 main ()
4467 {
4468
4469   ;
4470   return 0;
4471 }
4472 _ACEOF
4473 rm -f conftest.$ac_objext
4474 if { (ac_try="$ac_compile"
4475 case "(($ac_try" in
4476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4477   *) ac_try_echo=$ac_try;;
4478 esac
4479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4480 $as_echo "$ac_try_echo") >&5
4481   (eval "$ac_compile") 2>conftest.er1
4482   ac_status=$?
4483   grep -v '^ *+' conftest.er1 >conftest.err
4484   rm -f conftest.er1
4485   cat conftest.err >&5
4486   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487   (exit $ac_status); } && {
4488          test -z "$ac_c_werror_flag" ||
4489          test ! -s conftest.err
4490        } && test -s conftest.$ac_objext; then
4491   ac_cv_prog_cc_g=yes
4492 else
4493   $as_echo "$as_me: failed program was:" >&5
4494 sed 's/^/| /' conftest.$ac_ext >&5
4495
4496
4497 fi
4498
4499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4500 fi
4501
4502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4503 fi
4504
4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506    ac_c_werror_flag=$ac_save_c_werror_flag
4507 fi
4508 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4509 $as_echo "$ac_cv_prog_cc_g" >&6; }
4510 if test "$ac_test_CFLAGS" = set; then
4511   CFLAGS=$ac_save_CFLAGS
4512 elif test $ac_cv_prog_cc_g = yes; then
4513   if test "$GCC" = yes; then
4514     CFLAGS="-g -O2"
4515   else
4516     CFLAGS="-g"
4517   fi
4518 else
4519   if test "$GCC" = yes; then
4520     CFLAGS="-O2"
4521   else
4522     CFLAGS=
4523   fi
4524 fi
4525 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4526 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4527 if test "${ac_cv_prog_cc_c89+set}" = set; then
4528   $as_echo_n "(cached) " >&6
4529 else
4530   ac_cv_prog_cc_c89=no
4531 ac_save_CC=$CC
4532 cat >conftest.$ac_ext <<_ACEOF
4533 /* confdefs.h.  */
4534 _ACEOF
4535 cat confdefs.h >>conftest.$ac_ext
4536 cat >>conftest.$ac_ext <<_ACEOF
4537 /* end confdefs.h.  */
4538 #include <stdarg.h>
4539 #include <stdio.h>
4540 #include <sys/types.h>
4541 #include <sys/stat.h>
4542 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4543 struct buf { int x; };
4544 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4545 static char *e (p, i)
4546      char **p;
4547      int i;
4548 {
4549   return p[i];
4550 }
4551 static char *f (char * (*g) (char **, int), char **p, ...)
4552 {
4553   char *s;
4554   va_list v;
4555   va_start (v,p);
4556   s = g (p, va_arg (v,int));
4557   va_end (v);
4558   return s;
4559 }
4560
4561 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4562    function prototypes and stuff, but not '\xHH' hex character constants.
4563    These don't provoke an error unfortunately, instead are silently treated
4564    as 'x'.  The following induces an error, until -std is added to get
4565    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4566    array size at least.  It's necessary to write '\x00'==0 to get something
4567    that's true only with -std.  */
4568 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4569
4570 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4571    inside strings and character constants.  */
4572 #define FOO(x) 'x'
4573 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4574
4575 int test (int i, double x);
4576 struct s1 {int (*f) (int a);};
4577 struct s2 {int (*f) (double a);};
4578 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4579 int argc;
4580 char **argv;
4581 int
4582 main ()
4583 {
4584 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4585   ;
4586   return 0;
4587 }
4588 _ACEOF
4589 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4590         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4591 do
4592   CC="$ac_save_CC $ac_arg"
4593   rm -f conftest.$ac_objext
4594 if { (ac_try="$ac_compile"
4595 case "(($ac_try" in
4596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4597   *) ac_try_echo=$ac_try;;
4598 esac
4599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4600 $as_echo "$ac_try_echo") >&5
4601   (eval "$ac_compile") 2>conftest.er1
4602   ac_status=$?
4603   grep -v '^ *+' conftest.er1 >conftest.err
4604   rm -f conftest.er1
4605   cat conftest.err >&5
4606   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607   (exit $ac_status); } && {
4608          test -z "$ac_c_werror_flag" ||
4609          test ! -s conftest.err
4610        } && test -s conftest.$ac_objext; then
4611   ac_cv_prog_cc_c89=$ac_arg
4612 else
4613   $as_echo "$as_me: failed program was:" >&5
4614 sed 's/^/| /' conftest.$ac_ext >&5
4615
4616
4617 fi
4618
4619 rm -f core conftest.err conftest.$ac_objext
4620   test "x$ac_cv_prog_cc_c89" != "xno" && break
4621 done
4622 rm -f conftest.$ac_ext
4623 CC=$ac_save_CC
4624
4625 fi
4626 # AC_CACHE_VAL
4627 case "x$ac_cv_prog_cc_c89" in
4628   x)
4629     { $as_echo "$as_me:$LINENO: result: none needed" >&5
4630 $as_echo "none needed" >&6; } ;;
4631   xno)
4632     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4633 $as_echo "unsupported" >&6; } ;;
4634   *)
4635     CC="$CC $ac_cv_prog_cc_c89"
4636     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4637 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4638 esac
4639
4640
4641 ac_ext=c
4642 ac_cpp='$CPP $CPPFLAGS'
4643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4646
4647 depcc="$CC"   am_compiler_list=
4648
4649 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4650 $as_echo_n "checking dependency style of $depcc... " >&6; }
4651 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4652   $as_echo_n "(cached) " >&6
4653 else
4654   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4655   # We make a subdir and do the tests there.  Otherwise we can end up
4656   # making bogus files that we don't know about and never remove.  For
4657   # instance it was reported that on HP-UX the gcc test will end up
4658   # making a dummy file named `D' -- because `-MD' means `put the output
4659   # in D'.
4660   mkdir conftest.dir
4661   # Copy depcomp to subdir because otherwise we won't find it if we're
4662   # using a relative directory.
4663   cp "$am_depcomp" conftest.dir
4664   cd conftest.dir
4665   # We will build objects and dependencies in a subdirectory because
4666   # it helps to detect inapplicable dependency modes.  For instance
4667   # both Tru64's cc and ICC support -MD to output dependencies as a
4668   # side effect of compilation, but ICC will put the dependencies in
4669   # the current directory while Tru64 will put them in the object
4670   # directory.
4671   mkdir sub
4672
4673   am_cv_CC_dependencies_compiler_type=none
4674   if test "$am_compiler_list" = ""; then
4675      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4676   fi
4677   am__universal=false
4678   case " $depcc " in #(
4679      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4680      esac
4681
4682   for depmode in $am_compiler_list; do
4683     # Setup a source with many dependencies, because some compilers
4684     # like to wrap large dependency lists on column 80 (with \), and
4685     # we should not choose a depcomp mode which is confused by this.
4686     #
4687     # We need to recreate these files for each test, as the compiler may
4688     # overwrite some of them when testing with obscure command lines.
4689     # This happens at least with the AIX C compiler.
4690     : > sub/conftest.c
4691     for i in 1 2 3 4 5 6; do
4692       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4693       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4694       # Solaris 8's {/usr,}/bin/sh.
4695       touch sub/conftst$i.h
4696     done
4697     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4698
4699     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4700     # mode.  It turns out that the SunPro C++ compiler does not properly
4701     # handle `-M -o', and we need to detect this.  Also, some Intel
4702     # versions had trouble with output in subdirs
4703     am__obj=sub/conftest.${OBJEXT-o}
4704     am__minus_obj="-o $am__obj"
4705     case $depmode in
4706     gcc)
4707       # This depmode causes a compiler race in universal mode.
4708       test "$am__universal" = false || continue
4709       ;;
4710     nosideeffect)
4711       # after this tag, mechanisms are not by side-effect, so they'll
4712       # only be used when explicitly requested
4713       if test "x$enable_dependency_tracking" = xyes; then
4714         continue
4715       else
4716         break
4717       fi
4718       ;;
4719     msvisualcpp | msvcmsys)
4720       # This compiler won't grok `-c -o', but also, the minuso test has
4721       # not run yet.  These depmodes are late enough in the game, and
4722       # so weak that their functioning should not be impacted.
4723       am__obj=conftest.${OBJEXT-o}
4724       am__minus_obj=
4725       ;;
4726     none) break ;;
4727     esac
4728     if depmode=$depmode \
4729        source=sub/conftest.c object=$am__obj \
4730        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4731        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4732          >/dev/null 2>conftest.err &&
4733        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4734        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4735        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4736        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4737       # icc doesn't choke on unknown options, it will just issue warnings
4738       # or remarks (even with -Werror).  So we grep stderr for any message
4739       # that says an option was ignored or not supported.
4740       # When given -MP, icc 7.0 and 7.1 complain thusly:
4741       #   icc: Command line warning: ignoring option '-M'; no argument required
4742       # The diagnosis changed in icc 8.0:
4743       #   icc: Command line remark: option '-MP' not supported
4744       if (grep 'ignoring option' conftest.err ||
4745           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4746         am_cv_CC_dependencies_compiler_type=$depmode
4747         break
4748       fi
4749     fi
4750   done
4751
4752   cd ..
4753   rm -rf conftest.dir
4754 else
4755   am_cv_CC_dependencies_compiler_type=none
4756 fi
4757
4758 fi
4759 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4760 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4761 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4762
4763  if
4764   test "x$enable_dependency_tracking" != xno \
4765   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4766   am__fastdepCC_TRUE=
4767   am__fastdepCC_FALSE='#'
4768 else
4769   am__fastdepCC_TRUE='#'
4770   am__fastdepCC_FALSE=
4771 fi
4772
4773
4774
4775 ac_ext=c
4776 ac_cpp='$CPP $CPPFLAGS'
4777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4780 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4781 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4782 # On Suns, sometimes $CPP names a directory.
4783 if test -n "$CPP" && test -d "$CPP"; then
4784   CPP=
4785 fi
4786 if test -z "$CPP"; then
4787   if test "${ac_cv_prog_CPP+set}" = set; then
4788   $as_echo_n "(cached) " >&6
4789 else
4790       # Double quotes because CPP needs to be expanded
4791     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4792     do
4793       ac_preproc_ok=false
4794 for ac_c_preproc_warn_flag in '' yes
4795 do
4796   # Use a header file that comes with gcc, so configuring glibc
4797   # with a fresh cross-compiler works.
4798   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4799   # <limits.h> exists even on freestanding compilers.
4800   # On the NeXT, cc -E runs the code through the compiler's parser,
4801   # not just through cpp. "Syntax error" is here to catch this case.
4802   cat >conftest.$ac_ext <<_ACEOF
4803 /* confdefs.h.  */
4804 _ACEOF
4805 cat confdefs.h >>conftest.$ac_ext
4806 cat >>conftest.$ac_ext <<_ACEOF
4807 /* end confdefs.h.  */
4808 #ifdef __STDC__
4809 # include <limits.h>
4810 #else
4811 # include <assert.h>
4812 #endif
4813                      Syntax error
4814 _ACEOF
4815 if { (ac_try="$ac_cpp conftest.$ac_ext"
4816 case "(($ac_try" in
4817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4818   *) ac_try_echo=$ac_try;;
4819 esac
4820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4821 $as_echo "$ac_try_echo") >&5
4822   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4823   ac_status=$?
4824   grep -v '^ *+' conftest.er1 >conftest.err
4825   rm -f conftest.er1
4826   cat conftest.err >&5
4827   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828   (exit $ac_status); } >/dev/null && {
4829          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4830          test ! -s conftest.err
4831        }; then
4832   :
4833 else
4834   $as_echo "$as_me: failed program was:" >&5
4835 sed 's/^/| /' conftest.$ac_ext >&5
4836
4837   # Broken: fails on valid input.
4838 continue
4839 fi
4840
4841 rm -f conftest.err conftest.$ac_ext
4842
4843   # OK, works on sane cases.  Now check whether nonexistent headers
4844   # can be detected and how.
4845   cat >conftest.$ac_ext <<_ACEOF
4846 /* confdefs.h.  */
4847 _ACEOF
4848 cat confdefs.h >>conftest.$ac_ext
4849 cat >>conftest.$ac_ext <<_ACEOF
4850 /* end confdefs.h.  */
4851 #include <ac_nonexistent.h>
4852 _ACEOF
4853 if { (ac_try="$ac_cpp conftest.$ac_ext"
4854 case "(($ac_try" in
4855   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4856   *) ac_try_echo=$ac_try;;
4857 esac
4858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4859 $as_echo "$ac_try_echo") >&5
4860   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4861   ac_status=$?
4862   grep -v '^ *+' conftest.er1 >conftest.err
4863   rm -f conftest.er1
4864   cat conftest.err >&5
4865   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4866   (exit $ac_status); } >/dev/null && {
4867          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4868          test ! -s conftest.err
4869        }; then
4870   # Broken: success on invalid input.
4871 continue
4872 else
4873   $as_echo "$as_me: failed program was:" >&5
4874 sed 's/^/| /' conftest.$ac_ext >&5
4875
4876   # Passes both tests.
4877 ac_preproc_ok=:
4878 break
4879 fi
4880
4881 rm -f conftest.err conftest.$ac_ext
4882
4883 done
4884 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4885 rm -f conftest.err conftest.$ac_ext
4886 if $ac_preproc_ok; then
4887   break
4888 fi
4889
4890     done
4891     ac_cv_prog_CPP=$CPP
4892
4893 fi
4894   CPP=$ac_cv_prog_CPP
4895 else
4896   ac_cv_prog_CPP=$CPP
4897 fi
4898 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4899 $as_echo "$CPP" >&6; }
4900 ac_preproc_ok=false
4901 for ac_c_preproc_warn_flag in '' yes
4902 do
4903   # Use a header file that comes with gcc, so configuring glibc
4904   # with a fresh cross-compiler works.
4905   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4906   # <limits.h> exists even on freestanding compilers.
4907   # On the NeXT, cc -E runs the code through the compiler's parser,
4908   # not just through cpp. "Syntax error" is here to catch this case.
4909   cat >conftest.$ac_ext <<_ACEOF
4910 /* confdefs.h.  */
4911 _ACEOF
4912 cat confdefs.h >>conftest.$ac_ext
4913 cat >>conftest.$ac_ext <<_ACEOF
4914 /* end confdefs.h.  */
4915 #ifdef __STDC__
4916 # include <limits.h>
4917 #else
4918 # include <assert.h>
4919 #endif
4920                      Syntax error
4921 _ACEOF
4922 if { (ac_try="$ac_cpp conftest.$ac_ext"
4923 case "(($ac_try" in
4924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4925   *) ac_try_echo=$ac_try;;
4926 esac
4927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4928 $as_echo "$ac_try_echo") >&5
4929   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4930   ac_status=$?
4931   grep -v '^ *+' conftest.er1 >conftest.err
4932   rm -f conftest.er1
4933   cat conftest.err >&5
4934   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935   (exit $ac_status); } >/dev/null && {
4936          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4937          test ! -s conftest.err
4938        }; then
4939   :
4940 else
4941   $as_echo "$as_me: failed program was:" >&5
4942 sed 's/^/| /' conftest.$ac_ext >&5
4943
4944   # Broken: fails on valid input.
4945 continue
4946 fi
4947
4948 rm -f conftest.err conftest.$ac_ext
4949
4950   # OK, works on sane cases.  Now check whether nonexistent headers
4951   # can be detected and how.
4952   cat >conftest.$ac_ext <<_ACEOF
4953 /* confdefs.h.  */
4954 _ACEOF
4955 cat confdefs.h >>conftest.$ac_ext
4956 cat >>conftest.$ac_ext <<_ACEOF
4957 /* end confdefs.h.  */
4958 #include <ac_nonexistent.h>
4959 _ACEOF
4960 if { (ac_try="$ac_cpp conftest.$ac_ext"
4961 case "(($ac_try" in
4962   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4963   *) ac_try_echo=$ac_try;;
4964 esac
4965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4966 $as_echo "$ac_try_echo") >&5
4967   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4968   ac_status=$?
4969   grep -v '^ *+' conftest.er1 >conftest.err
4970   rm -f conftest.er1
4971   cat conftest.err >&5
4972   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973   (exit $ac_status); } >/dev/null && {
4974          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4975          test ! -s conftest.err
4976        }; then
4977   # Broken: success on invalid input.
4978 continue
4979 else
4980   $as_echo "$as_me: failed program was:" >&5
4981 sed 's/^/| /' conftest.$ac_ext >&5
4982
4983   # Passes both tests.
4984 ac_preproc_ok=:
4985 break
4986 fi
4987
4988 rm -f conftest.err conftest.$ac_ext
4989
4990 done
4991 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4992 rm -f conftest.err conftest.$ac_ext
4993 if $ac_preproc_ok; then
4994   :
4995 else
4996   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4997 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4998 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4999 See \`config.log' for more details." >&5
5000 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5001 See \`config.log' for more details." >&2;}
5002    { (exit 1); exit 1; }; }; }
5003 fi
5004
5005 ac_ext=c
5006 ac_cpp='$CPP $CPPFLAGS'
5007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5010
5011
5012 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5013 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5014 if test "${ac_cv_path_GREP+set}" = set; then
5015   $as_echo_n "(cached) " >&6
5016 else
5017   if test -z "$GREP"; then
5018   ac_path_GREP_found=false
5019   # Loop through the user's path and test for each of PROGNAME-LIST
5020   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5022 do
5023   IFS=$as_save_IFS
5024   test -z "$as_dir" && as_dir=.
5025   for ac_prog in grep ggrep; do
5026     for ac_exec_ext in '' $ac_executable_extensions; do
5027       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5028       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5029 # Check for GNU ac_path_GREP and select it if it is found.
5030   # Check for GNU $ac_path_GREP
5031 case `"$ac_path_GREP" --version 2>&1` in
5032 *GNU*)
5033   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5034 *)
5035   ac_count=0
5036   $as_echo_n 0123456789 >"conftest.in"
5037   while :
5038   do
5039     cat "conftest.in" "conftest.in" >"conftest.tmp"
5040     mv "conftest.tmp" "conftest.in"
5041     cp "conftest.in" "conftest.nl"
5042     $as_echo 'GREP' >> "conftest.nl"
5043     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5044     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5045     ac_count=`expr $ac_count + 1`
5046     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5047       # Best one so far, save it but keep looking for a better one
5048       ac_cv_path_GREP="$ac_path_GREP"
5049       ac_path_GREP_max=$ac_count
5050     fi
5051     # 10*(2^10) chars as input seems more than enough
5052     test $ac_count -gt 10 && break
5053   done
5054   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5055 esac
5056
5057       $ac_path_GREP_found && break 3
5058     done
5059   done
5060 done
5061 IFS=$as_save_IFS
5062   if test -z "$ac_cv_path_GREP"; then
5063     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5064 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5065    { (exit 1); exit 1; }; }
5066   fi
5067 else
5068   ac_cv_path_GREP=$GREP
5069 fi
5070
5071 fi
5072 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5073 $as_echo "$ac_cv_path_GREP" >&6; }
5074  GREP="$ac_cv_path_GREP"
5075
5076
5077 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5078 $as_echo_n "checking for egrep... " >&6; }
5079 if test "${ac_cv_path_EGREP+set}" = set; then
5080   $as_echo_n "(cached) " >&6
5081 else
5082   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5083    then ac_cv_path_EGREP="$GREP -E"
5084    else
5085      if test -z "$EGREP"; then
5086   ac_path_EGREP_found=false
5087   # Loop through the user's path and test for each of PROGNAME-LIST
5088   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5090 do
5091   IFS=$as_save_IFS
5092   test -z "$as_dir" && as_dir=.
5093   for ac_prog in egrep; do
5094     for ac_exec_ext in '' $ac_executable_extensions; do
5095       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5096       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5097 # Check for GNU ac_path_EGREP and select it if it is found.
5098   # Check for GNU $ac_path_EGREP
5099 case `"$ac_path_EGREP" --version 2>&1` in
5100 *GNU*)
5101   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5102 *)
5103   ac_count=0
5104   $as_echo_n 0123456789 >"conftest.in"
5105   while :
5106   do
5107     cat "conftest.in" "conftest.in" >"conftest.tmp"
5108     mv "conftest.tmp" "conftest.in"
5109     cp "conftest.in" "conftest.nl"
5110     $as_echo 'EGREP' >> "conftest.nl"
5111     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5112     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5113     ac_count=`expr $ac_count + 1`
5114     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5115       # Best one so far, save it but keep looking for a better one
5116       ac_cv_path_EGREP="$ac_path_EGREP"
5117       ac_path_EGREP_max=$ac_count
5118     fi
5119     # 10*(2^10) chars as input seems more than enough
5120     test $ac_count -gt 10 && break
5121   done
5122   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5123 esac
5124
5125       $ac_path_EGREP_found && break 3
5126     done
5127   done
5128 done
5129 IFS=$as_save_IFS
5130   if test -z "$ac_cv_path_EGREP"; then
5131     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5132 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5133    { (exit 1); exit 1; }; }
5134   fi
5135 else
5136   ac_cv_path_EGREP=$EGREP
5137 fi
5138
5139    fi
5140 fi
5141 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5142 $as_echo "$ac_cv_path_EGREP" >&6; }
5143  EGREP="$ac_cv_path_EGREP"
5144
5145
5146 cat >conftest.$ac_ext <<_ACEOF
5147 /* confdefs.h.  */
5148 _ACEOF
5149 cat confdefs.h >>conftest.$ac_ext
5150 cat >>conftest.$ac_ext <<_ACEOF
5151 /* end confdefs.h.  */
5152
5153 #if __SH5__
5154   sh5
5155 #endif
5156
5157 _ACEOF
5158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5159   $EGREP "sh5" >/dev/null 2>&1; then
5160   have_sh64=yes
5161 else
5162   have_sh64=no
5163 fi
5164 rm -f conftest*
5165
5166  if test $have_sh64 = yes; then
5167   SH64_TRUE=
5168   SH64_FALSE='#'
5169 else
5170   SH64_TRUE='#'
5171   SH64_FALSE=
5172 fi
5173
5174
5175 ac_config_files="$ac_config_files Makefile"
5176
5177 cat >confcache <<\_ACEOF
5178 # This file is a shell script that caches the results of configure
5179 # tests run on this system so they can be shared between configure
5180 # scripts and configure runs, see configure's option --config-cache.
5181 # It is not useful on other systems.  If it contains results you don't
5182 # want to keep, you may remove or edit it.
5183 #
5184 # config.status only pays attention to the cache file if you give it
5185 # the --recheck option to rerun configure.
5186 #
5187 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5188 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5189 # following values.
5190
5191 _ACEOF
5192
5193 # The following way of writing the cache mishandles newlines in values,
5194 # but we know of no workaround that is simple, portable, and efficient.
5195 # So, we kill variables containing newlines.
5196 # Ultrix sh set writes to stderr and can't be redirected directly,
5197 # and sets the high bit in the cache file unless we assign to the vars.
5198 (
5199   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5200     eval ac_val=\$$ac_var
5201     case $ac_val in #(
5202     *${as_nl}*)
5203       case $ac_var in #(
5204       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5205 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5206       esac
5207       case $ac_var in #(
5208       _ | IFS | as_nl) ;; #(
5209       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5210       *) $as_unset $ac_var ;;
5211       esac ;;
5212     esac
5213   done
5214
5215   (set) 2>&1 |
5216     case $as_nl`(ac_space=' '; set) 2>&1` in #(
5217     *${as_nl}ac_space=\ *)
5218       # `set' does not quote correctly, so add quotes (double-quote
5219       # substitution turns \\\\ into \\, and sed turns \\ into \).
5220       sed -n \
5221         "s/'/'\\\\''/g;
5222           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5223       ;; #(
5224     *)
5225       # `set' quotes correctly as required by POSIX, so do not add quotes.
5226       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5227       ;;
5228     esac |
5229     sort
5230 ) |
5231   sed '
5232      /^ac_cv_env_/b end
5233      t clear
5234      :clear
5235      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5236      t end
5237      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5238      :end' >>confcache
5239 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5240   if test -w "$cache_file"; then
5241     test "x$cache_file" != "x/dev/null" &&
5242       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5243 $as_echo "$as_me: updating cache $cache_file" >&6;}
5244     cat confcache >$cache_file
5245   else
5246     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5247 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5248   fi
5249 fi
5250 rm -f confcache
5251
5252 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5253 # Let make expand exec_prefix.
5254 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5255
5256 # Transform confdefs.h into DEFS.
5257 # Protect against shell expansion while executing Makefile rules.
5258 # Protect against Makefile macro expansion.
5259 #
5260 # If the first sed substitution is executed (which looks for macros that
5261 # take arguments), then branch to the quote section.  Otherwise,
5262 # look for a macro that doesn't take arguments.
5263 ac_script='
5264 :mline
5265 /\\$/{
5266  N
5267  s,\\\n,,
5268  b mline
5269 }
5270 t clear
5271 :clear
5272 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
5273 t quote
5274 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
5275 t quote
5276 b any
5277 :quote
5278 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5279 s/\[/\\&/g
5280 s/\]/\\&/g
5281 s/\$/$$/g
5282 H
5283 :any
5284 ${
5285         g
5286         s/^\n//
5287         s/\n/ /g
5288         p
5289 }
5290 '
5291 DEFS=`sed -n "$ac_script" confdefs.h`
5292
5293
5294 ac_libobjs=
5295 ac_ltlibobjs=
5296 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5297   # 1. Remove the extension, and $U if already installed.
5298   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5299   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5300   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5301   #    will be set to the directory where LIBOBJS objects are built.
5302   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5303   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5304 done
5305 LIBOBJS=$ac_libobjs
5306
5307 LTLIBOBJS=$ac_ltlibobjs
5308
5309
5310 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
5311   { { $as_echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
5312 Usually this means the macro was only invoked conditionally." >&5
5313 $as_echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
5314 Usually this means the macro was only invoked conditionally." >&2;}
5315    { (exit 1); exit 1; }; }
5316 fi
5317  if test -n "$EXEEXT"; then
5318   am__EXEEXT_TRUE=
5319   am__EXEEXT_FALSE='#'
5320 else
5321   am__EXEEXT_TRUE='#'
5322   am__EXEEXT_FALSE=
5323 fi
5324
5325 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5326   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5327 Usually this means the macro was only invoked conditionally." >&5
5328 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5329 Usually this means the macro was only invoked conditionally." >&2;}
5330    { (exit 1); exit 1; }; }
5331 fi
5332 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5333   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5334 Usually this means the macro was only invoked conditionally." >&5
5335 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5336 Usually this means the macro was only invoked conditionally." >&2;}
5337    { (exit 1); exit 1; }; }
5338 fi
5339 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5340   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5341 Usually this means the macro was only invoked conditionally." >&5
5342 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5343 Usually this means the macro was only invoked conditionally." >&2;}
5344    { (exit 1); exit 1; }; }
5345 fi
5346 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
5347   { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
5348 Usually this means the macro was only invoked conditionally." >&5
5349 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
5350 Usually this means the macro was only invoked conditionally." >&2;}
5351    { (exit 1); exit 1; }; }
5352 fi
5353 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
5354   { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
5355 Usually this means the macro was only invoked conditionally." >&5
5356 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
5357 Usually this means the macro was only invoked conditionally." >&2;}
5358    { (exit 1); exit 1; }; }
5359 fi
5360 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
5361   { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
5362 Usually this means the macro was only invoked conditionally." >&5
5363 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
5364 Usually this means the macro was only invoked conditionally." >&2;}
5365    { (exit 1); exit 1; }; }
5366 fi
5367 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
5368   { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
5369 Usually this means the macro was only invoked conditionally." >&5
5370 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
5371 Usually this means the macro was only invoked conditionally." >&2;}
5372    { (exit 1); exit 1; }; }
5373 fi
5374 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
5375   { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
5376 Usually this means the macro was only invoked conditionally." >&5
5377 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
5378 Usually this means the macro was only invoked conditionally." >&2;}
5379    { (exit 1); exit 1; }; }
5380 fi
5381 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
5382   { { $as_echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
5383 Usually this means the macro was only invoked conditionally." >&5
5384 $as_echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
5385 Usually this means the macro was only invoked conditionally." >&2;}
5386    { (exit 1); exit 1; }; }
5387 fi
5388 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5389   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5390 Usually this means the macro was only invoked conditionally." >&5
5391 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5392 Usually this means the macro was only invoked conditionally." >&2;}
5393    { (exit 1); exit 1; }; }
5394 fi
5395 if test -z "${SH64_TRUE}" && test -z "${SH64_FALSE}"; then
5396   { { $as_echo "$as_me:$LINENO: error: conditional \"SH64\" was never defined.
5397 Usually this means the macro was only invoked conditionally." >&5
5398 $as_echo "$as_me: error: conditional \"SH64\" was never defined.
5399 Usually this means the macro was only invoked conditionally." >&2;}
5400    { (exit 1); exit 1; }; }
5401 fi
5402
5403 : ${CONFIG_STATUS=./config.status}
5404 ac_write_fail=0
5405 ac_clean_files_save=$ac_clean_files
5406 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5407 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5408 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5409 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5410 #! $SHELL
5411 # Generated by $as_me.
5412 # Run this file to recreate the current configuration.
5413 # Compiler output produced by configure, useful for debugging
5414 # configure, is in config.log if it exists.
5415
5416 debug=false
5417 ac_cs_recheck=false
5418 ac_cs_silent=false
5419 SHELL=\${CONFIG_SHELL-$SHELL}
5420 _ACEOF
5421
5422 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5423 ## --------------------- ##
5424 ## M4sh Initialization.  ##
5425 ## --------------------- ##
5426
5427 # Be more Bourne compatible
5428 DUALCASE=1; export DUALCASE # for MKS sh
5429 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5430   emulate sh
5431   NULLCMD=:
5432   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5433   # is contrary to our usage.  Disable this feature.
5434   alias -g '${1+"$@"}'='"$@"'
5435   setopt NO_GLOB_SUBST
5436 else
5437   case `(set -o) 2>/dev/null` in
5438   *posix*) set -o posix ;;
5439 esac
5440
5441 fi
5442
5443
5444
5445
5446 # PATH needs CR
5447 # Avoid depending upon Character Ranges.
5448 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5449 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5450 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5451 as_cr_digits='0123456789'
5452 as_cr_alnum=$as_cr_Letters$as_cr_digits
5453
5454 as_nl='
5455 '
5456 export as_nl
5457 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5458 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5459 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5460 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5461 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5462   as_echo='printf %s\n'
5463   as_echo_n='printf %s'
5464 else
5465   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5466     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5467     as_echo_n='/usr/ucb/echo -n'
5468   else
5469     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5470     as_echo_n_body='eval
5471       arg=$1;
5472       case $arg in
5473       *"$as_nl"*)
5474         expr "X$arg" : "X\\(.*\\)$as_nl";
5475         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5476       esac;
5477       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5478     '
5479     export as_echo_n_body
5480     as_echo_n='sh -c $as_echo_n_body as_echo'
5481   fi
5482   export as_echo_body
5483   as_echo='sh -c $as_echo_body as_echo'
5484 fi
5485
5486 # The user is always right.
5487 if test "${PATH_SEPARATOR+set}" != set; then
5488   PATH_SEPARATOR=:
5489   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5490     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5491       PATH_SEPARATOR=';'
5492   }
5493 fi
5494
5495 # Support unset when possible.
5496 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5497   as_unset=unset
5498 else
5499   as_unset=false
5500 fi
5501
5502
5503 # IFS
5504 # We need space, tab and new line, in precisely that order.  Quoting is
5505 # there to prevent editors from complaining about space-tab.
5506 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5507 # splitting by setting IFS to empty value.)
5508 IFS=" ""        $as_nl"
5509
5510 # Find who we are.  Look in the path if we contain no directory separator.
5511 case $0 in
5512   *[\\/]* ) as_myself=$0 ;;
5513   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5514 for as_dir in $PATH
5515 do
5516   IFS=$as_save_IFS
5517   test -z "$as_dir" && as_dir=.
5518   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5519 done
5520 IFS=$as_save_IFS
5521
5522      ;;
5523 esac
5524 # We did not find ourselves, most probably we were run as `sh COMMAND'
5525 # in which case we are not to be found in the path.
5526 if test "x$as_myself" = x; then
5527   as_myself=$0
5528 fi
5529 if test ! -f "$as_myself"; then
5530   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5531   { (exit 1); exit 1; }
5532 fi
5533
5534 # Work around bugs in pre-3.0 UWIN ksh.
5535 for as_var in ENV MAIL MAILPATH
5536 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5537 done
5538 PS1='$ '
5539 PS2='> '
5540 PS4='+ '
5541
5542 # NLS nuisances.
5543 LC_ALL=C
5544 export LC_ALL
5545 LANGUAGE=C
5546 export LANGUAGE
5547
5548 # Required to use basename.
5549 if expr a : '\(a\)' >/dev/null 2>&1 &&
5550    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5551   as_expr=expr
5552 else
5553   as_expr=false
5554 fi
5555
5556 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5557   as_basename=basename
5558 else
5559   as_basename=false
5560 fi
5561
5562
5563 # Name of the executable.
5564 as_me=`$as_basename -- "$0" ||
5565 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5566          X"$0" : 'X\(//\)$' \| \
5567          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5568 $as_echo X/"$0" |
5569     sed '/^.*\/\([^/][^/]*\)\/*$/{
5570             s//\1/
5571             q
5572           }
5573           /^X\/\(\/\/\)$/{
5574             s//\1/
5575             q
5576           }
5577           /^X\/\(\/\).*/{
5578             s//\1/
5579             q
5580           }
5581           s/.*/./; q'`
5582
5583 # CDPATH.
5584 $as_unset CDPATH
5585
5586
5587
5588   as_lineno_1=$LINENO
5589   as_lineno_2=$LINENO
5590   test "x$as_lineno_1" != "x$as_lineno_2" &&
5591   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5592
5593   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5594   # uniformly replaced by the line number.  The first 'sed' inserts a
5595   # line-number line after each line using $LINENO; the second 'sed'
5596   # does the real work.  The second script uses 'N' to pair each
5597   # line-number line with the line containing $LINENO, and appends
5598   # trailing '-' during substitution so that $LINENO is not a special
5599   # case at line end.
5600   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5601   # scripts with optimization help from Paolo Bonzini.  Blame Lee
5602   # E. McMahon (1931-1989) for sed's syntax.  :-)
5603   sed -n '
5604     p
5605     /[$]LINENO/=
5606   ' <$as_myself |
5607     sed '
5608       s/[$]LINENO.*/&-/
5609       t lineno
5610       b
5611       :lineno
5612       N
5613       :loop
5614       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5615       t loop
5616       s/-\n.*//
5617     ' >$as_me.lineno &&
5618   chmod +x "$as_me.lineno" ||
5619     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5620    { (exit 1); exit 1; }; }
5621
5622   # Don't try to exec as it changes $[0], causing all sort of problems
5623   # (the dirname of $[0] is not the place where we might find the
5624   # original and so on.  Autoconf is especially sensitive to this).
5625   . "./$as_me.lineno"
5626   # Exit status is that of the last command.
5627   exit
5628 }
5629
5630
5631 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5632   as_dirname=dirname
5633 else
5634   as_dirname=false
5635 fi
5636
5637 ECHO_C= ECHO_N= ECHO_T=
5638 case `echo -n x` in
5639 -n*)
5640   case `echo 'x\c'` in
5641   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5642   *)   ECHO_C='\c';;
5643   esac;;
5644 *)
5645   ECHO_N='-n';;
5646 esac
5647 if expr a : '\(a\)' >/dev/null 2>&1 &&
5648    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5649   as_expr=expr
5650 else
5651   as_expr=false
5652 fi
5653
5654 rm -f conf$$ conf$$.exe conf$$.file
5655 if test -d conf$$.dir; then
5656   rm -f conf$$.dir/conf$$.file
5657 else
5658   rm -f conf$$.dir
5659   mkdir conf$$.dir 2>/dev/null
5660 fi
5661 if (echo >conf$$.file) 2>/dev/null; then
5662   if ln -s conf$$.file conf$$ 2>/dev/null; then
5663     as_ln_s='ln -s'
5664     # ... but there are two gotchas:
5665     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5666     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5667     # In both cases, we have to default to `cp -p'.
5668     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5669       as_ln_s='cp -p'
5670   elif ln conf$$.file conf$$ 2>/dev/null; then
5671     as_ln_s=ln
5672   else
5673     as_ln_s='cp -p'
5674   fi
5675 else
5676   as_ln_s='cp -p'
5677 fi
5678 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5679 rmdir conf$$.dir 2>/dev/null
5680
5681 if mkdir -p . 2>/dev/null; then
5682   as_mkdir_p=:
5683 else
5684   test -d ./-p && rmdir ./-p
5685   as_mkdir_p=false
5686 fi
5687
5688 if test -x / >/dev/null 2>&1; then
5689   as_test_x='test -x'
5690 else
5691   if ls -dL / >/dev/null 2>&1; then
5692     as_ls_L_option=L
5693   else
5694     as_ls_L_option=
5695   fi
5696   as_test_x='
5697     eval sh -c '\''
5698       if test -d "$1"; then
5699         test -d "$1/.";
5700       else
5701         case $1 in
5702         -*)set "./$1";;
5703         esac;
5704         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5705         ???[sx]*):;;*)false;;esac;fi
5706     '\'' sh
5707   '
5708 fi
5709 as_executable_p=$as_test_x
5710
5711 # Sed expression to map a string onto a valid CPP name.
5712 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5713
5714 # Sed expression to map a string onto a valid variable name.
5715 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5716
5717
5718 exec 6>&1
5719
5720 # Save the log message, to keep $[0] and so on meaningful, and to
5721 # report actual input values of CONFIG_FILES etc. instead of their
5722 # values after options handling.
5723 ac_log="
5724 This file was extended by newlib $as_me 1.18.0, which was
5725 generated by GNU Autoconf 2.63.  Invocation command line was
5726
5727   CONFIG_FILES    = $CONFIG_FILES
5728   CONFIG_HEADERS  = $CONFIG_HEADERS
5729   CONFIG_LINKS    = $CONFIG_LINKS
5730   CONFIG_COMMANDS = $CONFIG_COMMANDS
5731   $ $0 $@
5732
5733 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5734 "
5735
5736 _ACEOF
5737
5738 case $ac_config_files in *"
5739 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5740 esac
5741
5742
5743
5744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5745 # Files that config.status was made for.
5746 config_files="$ac_config_files"
5747 config_commands="$ac_config_commands"
5748
5749 _ACEOF
5750
5751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5752 ac_cs_usage="\
5753 \`$as_me' instantiates files from templates according to the
5754 current configuration.
5755
5756 Usage: $0 [OPTION]... [FILE]...
5757
5758   -h, --help       print this help, then exit
5759   -V, --version    print version number and configuration settings, then exit
5760   -q, --quiet, --silent
5761                    do not print progress messages
5762   -d, --debug      don't remove temporary files
5763       --recheck    update $as_me by reconfiguring in the same conditions
5764       --file=FILE[:TEMPLATE]
5765                    instantiate the configuration file FILE
5766
5767 Configuration files:
5768 $config_files
5769
5770 Configuration commands:
5771 $config_commands
5772
5773 Report bugs to <bug-autoconf@gnu.org>."
5774
5775 _ACEOF
5776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5777 ac_cs_version="\\
5778 newlib config.status 1.18.0
5779 configured by $0, generated by GNU Autoconf 2.63,
5780   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5781
5782 Copyright (C) 2008 Free Software Foundation, Inc.
5783 This config.status script is free software; the Free Software Foundation
5784 gives unlimited permission to copy, distribute and modify it."
5785
5786 ac_pwd='$ac_pwd'
5787 srcdir='$srcdir'
5788 INSTALL='$INSTALL'
5789 MKDIR_P='$MKDIR_P'
5790 AWK='$AWK'
5791 test -n "\$AWK" || AWK=awk
5792 _ACEOF
5793
5794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5795 # The default lists apply if the user does not specify any file.
5796 ac_need_defaults=:
5797 while test $# != 0
5798 do
5799   case $1 in
5800   --*=*)
5801     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5802     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5803     ac_shift=:
5804     ;;
5805   *)
5806     ac_option=$1
5807     ac_optarg=$2
5808     ac_shift=shift
5809     ;;
5810   esac
5811
5812   case $ac_option in
5813   # Handling of the options.
5814   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5815     ac_cs_recheck=: ;;
5816   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5817     $as_echo "$ac_cs_version"; exit ;;
5818   --debug | --debu | --deb | --de | --d | -d )
5819     debug=: ;;
5820   --file | --fil | --fi | --f )
5821     $ac_shift
5822     case $ac_optarg in
5823     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5824     esac
5825     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5826     ac_need_defaults=false;;
5827   --he | --h |  --help | --hel | -h )
5828     $as_echo "$ac_cs_usage"; exit ;;
5829   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5830   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5831     ac_cs_silent=: ;;
5832
5833   # This is an error.
5834   -*) { $as_echo "$as_me: error: unrecognized option: $1
5835 Try \`$0 --help' for more information." >&2
5836    { (exit 1); exit 1; }; } ;;
5837
5838   *) ac_config_targets="$ac_config_targets $1"
5839      ac_need_defaults=false ;;
5840
5841   esac
5842   shift
5843 done
5844
5845 ac_configure_extra_args=
5846
5847 if $ac_cs_silent; then
5848   exec 6>/dev/null
5849   ac_configure_extra_args="$ac_configure_extra_args --silent"
5850 fi
5851
5852 _ACEOF
5853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5854 if \$ac_cs_recheck; then
5855   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5856   shift
5857   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5858   CONFIG_SHELL='$SHELL'
5859   export CONFIG_SHELL
5860   exec "\$@"
5861 fi
5862
5863 _ACEOF
5864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5865 exec 5>>config.log
5866 {
5867   echo
5868   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5869 ## Running $as_me. ##
5870 _ASBOX
5871   $as_echo "$ac_log"
5872 } >&5
5873
5874 _ACEOF
5875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5876 #
5877 # INIT-COMMANDS
5878 #
5879 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5880
5881 _ACEOF
5882
5883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5884
5885 # Handling of arguments.
5886 for ac_config_target in $ac_config_targets
5887 do
5888   case $ac_config_target in
5889     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5890     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5891
5892   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5893 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5894    { (exit 1); exit 1; }; };;
5895   esac
5896 done
5897
5898
5899 # If the user did not use the arguments to specify the items to instantiate,
5900 # then the envvar interface is used.  Set only those that are not.
5901 # We use the long form for the default assignment because of an extremely
5902 # bizarre bug on SunOS 4.1.3.
5903 if $ac_need_defaults; then
5904   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5905   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5906 fi
5907
5908 # Have a temporary directory for convenience.  Make it in the build tree
5909 # simply because there is no reason against having it here, and in addition,
5910 # creating and moving files from /tmp can sometimes cause problems.
5911 # Hook for its removal unless debugging.
5912 # Note that there is a small window in which the directory will not be cleaned:
5913 # after its creation but before its name has been assigned to `$tmp'.
5914 $debug ||
5915 {
5916   tmp=
5917   trap 'exit_status=$?
5918   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5919 ' 0
5920   trap '{ (exit 1); exit 1; }' 1 2 13 15
5921 }
5922 # Create a (secure) tmp directory for tmp files.
5923
5924 {
5925   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5926   test -n "$tmp" && test -d "$tmp"
5927 }  ||
5928 {
5929   tmp=./conf$$-$RANDOM
5930   (umask 077 && mkdir "$tmp")
5931 } ||
5932 {
5933    $as_echo "$as_me: cannot create a temporary directory in ." >&2
5934    { (exit 1); exit 1; }
5935 }
5936
5937 # Set up the scripts for CONFIG_FILES section.
5938 # No need to generate them if there are no CONFIG_FILES.
5939 # This happens for instance with `./config.status config.h'.
5940 if test -n "$CONFIG_FILES"; then
5941
5942
5943 ac_cr='\r'
5944 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5945 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5946   ac_cs_awk_cr='\\r'
5947 else
5948   ac_cs_awk_cr=$ac_cr
5949 fi
5950
5951 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5952 _ACEOF
5953
5954
5955 {
5956   echo "cat >conf$$subs.awk <<_ACEOF" &&
5957   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5958   echo "_ACEOF"
5959 } >conf$$subs.sh ||
5960   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5961 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5962    { (exit 1); exit 1; }; }
5963 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5964 ac_delim='%!_!# '
5965 for ac_last_try in false false false false false :; do
5966   . ./conf$$subs.sh ||
5967     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5968 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5969    { (exit 1); exit 1; }; }
5970
5971   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5972   if test $ac_delim_n = $ac_delim_num; then
5973     break
5974   elif $ac_last_try; then
5975     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5976 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5977    { (exit 1); exit 1; }; }
5978   else
5979     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5980   fi
5981 done
5982 rm -f conf$$subs.sh
5983
5984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5985 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5986 _ACEOF
5987 sed -n '
5988 h
5989 s/^/S["/; s/!.*/"]=/
5990 p
5991 g
5992 s/^[^!]*!//
5993 :repl
5994 t repl
5995 s/'"$ac_delim"'$//
5996 t delim
5997 :nl
5998 h
5999 s/\(.\{148\}\).*/\1/
6000 t more1
6001 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6002 p
6003 n
6004 b repl
6005 :more1
6006 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6007 p
6008 g
6009 s/.\{148\}//
6010 t nl
6011 :delim
6012 h
6013 s/\(.\{148\}\).*/\1/
6014 t more2
6015 s/["\\]/\\&/g; s/^/"/; s/$/"/
6016 p
6017 b
6018 :more2
6019 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6020 p
6021 g
6022 s/.\{148\}//
6023 t delim
6024 ' <conf$$subs.awk | sed '
6025 /^[^""]/{
6026   N
6027   s/\n//
6028 }
6029 ' >>$CONFIG_STATUS || ac_write_fail=1
6030 rm -f conf$$subs.awk
6031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6032 _ACAWK
6033 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6034   for (key in S) S_is_set[key] = 1
6035   FS = "\a"
6036
6037 }
6038 {
6039   line = $ 0
6040   nfields = split(line, field, "@")
6041   substed = 0
6042   len = length(field[1])
6043   for (i = 2; i < nfields; i++) {
6044     key = field[i]
6045     keylen = length(key)
6046     if (S_is_set[key]) {
6047       value = S[key]
6048       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6049       len += length(value) + length(field[++i])
6050       substed = 1
6051     } else
6052       len += 1 + keylen
6053   }
6054
6055   print line
6056 }
6057
6058 _ACAWK
6059 _ACEOF
6060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6061 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6062   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6063 else
6064   cat
6065 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6066   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6067 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
6068    { (exit 1); exit 1; }; }
6069 _ACEOF
6070
6071 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6072 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6073 # trailing colons and then remove the whole line if VPATH becomes empty
6074 # (actually we leave an empty line to preserve line numbers).
6075 if test "x$srcdir" = x.; then
6076   ac_vpsub='/^[  ]*VPATH[        ]*=/{
6077 s/:*\$(srcdir):*/:/
6078 s/:*\${srcdir}:*/:/
6079 s/:*@srcdir@:*/:/
6080 s/^\([^=]*=[     ]*\):*/\1/
6081 s/:*$//
6082 s/^[^=]*=[       ]*$//
6083 }'
6084 fi
6085
6086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6087 fi # test -n "$CONFIG_FILES"
6088
6089
6090 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
6091 shift
6092 for ac_tag
6093 do
6094   case $ac_tag in
6095   :[FHLC]) ac_mode=$ac_tag; continue;;
6096   esac
6097   case $ac_mode$ac_tag in
6098   :[FHL]*:*);;
6099   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6100 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6101    { (exit 1); exit 1; }; };;
6102   :[FH]-) ac_tag=-:-;;
6103   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6104   esac
6105   ac_save_IFS=$IFS
6106   IFS=:
6107   set x $ac_tag
6108   IFS=$ac_save_IFS
6109   shift
6110   ac_file=$1
6111   shift
6112
6113   case $ac_mode in
6114   :L) ac_source=$1;;
6115   :[FH])
6116     ac_file_inputs=
6117     for ac_f
6118     do
6119       case $ac_f in
6120       -) ac_f="$tmp/stdin";;
6121       *) # Look for the file first in the build tree, then in the source tree
6122          # (if the path is not absolute).  The absolute path cannot be DOS-style,
6123          # because $ac_f cannot contain `:'.
6124          test -f "$ac_f" ||
6125            case $ac_f in
6126            [\\/$]*) false;;
6127            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6128            esac ||
6129            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6130 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6131    { (exit 1); exit 1; }; };;
6132       esac
6133       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6134       ac_file_inputs="$ac_file_inputs '$ac_f'"
6135     done
6136
6137     # Let's still pretend it is `configure' which instantiates (i.e., don't
6138     # use $as_me), people would be surprised to read:
6139     #    /* config.h.  Generated by config.status.  */
6140     configure_input='Generated from '`
6141           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6142         `' by configure.'
6143     if test x"$ac_file" != x-; then
6144       configure_input="$ac_file.  $configure_input"
6145       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6146 $as_echo "$as_me: creating $ac_file" >&6;}
6147     fi
6148     # Neutralize special characters interpreted by sed in replacement strings.
6149     case $configure_input in #(
6150     *\&* | *\|* | *\\* )
6151        ac_sed_conf_input=`$as_echo "$configure_input" |
6152        sed 's/[\\\\&|]/\\\\&/g'`;; #(
6153     *) ac_sed_conf_input=$configure_input;;
6154     esac
6155
6156     case $ac_tag in
6157     *:-:* | *:-) cat >"$tmp/stdin" \
6158       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6159 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6160    { (exit 1); exit 1; }; } ;;
6161     esac
6162     ;;
6163   esac
6164
6165   ac_dir=`$as_dirname -- "$ac_file" ||
6166 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6167          X"$ac_file" : 'X\(//\)[^/]' \| \
6168          X"$ac_file" : 'X\(//\)$' \| \
6169          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6170 $as_echo X"$ac_file" |
6171     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6172             s//\1/
6173             q
6174           }
6175           /^X\(\/\/\)[^/].*/{
6176             s//\1/
6177             q
6178           }
6179           /^X\(\/\/\)$/{
6180             s//\1/
6181             q
6182           }
6183           /^X\(\/\).*/{
6184             s//\1/
6185             q
6186           }
6187           s/.*/./; q'`
6188   { as_dir="$ac_dir"
6189   case $as_dir in #(
6190   -*) as_dir=./$as_dir;;
6191   esac
6192   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6193     as_dirs=
6194     while :; do
6195       case $as_dir in #(
6196       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6197       *) as_qdir=$as_dir;;
6198       esac
6199       as_dirs="'$as_qdir' $as_dirs"
6200       as_dir=`$as_dirname -- "$as_dir" ||
6201 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6202          X"$as_dir" : 'X\(//\)[^/]' \| \
6203          X"$as_dir" : 'X\(//\)$' \| \
6204          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6205 $as_echo X"$as_dir" |
6206     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6207             s//\1/
6208             q
6209           }
6210           /^X\(\/\/\)[^/].*/{
6211             s//\1/
6212             q
6213           }
6214           /^X\(\/\/\)$/{
6215             s//\1/
6216             q
6217           }
6218           /^X\(\/\).*/{
6219             s//\1/
6220             q
6221           }
6222           s/.*/./; q'`
6223       test -d "$as_dir" && break
6224     done
6225     test -z "$as_dirs" || eval "mkdir $as_dirs"
6226   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6227 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6228    { (exit 1); exit 1; }; }; }
6229   ac_builddir=.
6230
6231 case "$ac_dir" in
6232 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6233 *)
6234   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6235   # A ".." for each directory in $ac_dir_suffix.
6236   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6237   case $ac_top_builddir_sub in
6238   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6239   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6240   esac ;;
6241 esac
6242 ac_abs_top_builddir=$ac_pwd
6243 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6244 # for backward compatibility:
6245 ac_top_builddir=$ac_top_build_prefix
6246
6247 case $srcdir in
6248   .)  # We are building in place.
6249     ac_srcdir=.
6250     ac_top_srcdir=$ac_top_builddir_sub
6251     ac_abs_top_srcdir=$ac_pwd ;;
6252   [\\/]* | ?:[\\/]* )  # Absolute name.
6253     ac_srcdir=$srcdir$ac_dir_suffix;
6254     ac_top_srcdir=$srcdir
6255     ac_abs_top_srcdir=$srcdir ;;
6256   *) # Relative name.
6257     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6258     ac_top_srcdir=$ac_top_build_prefix$srcdir
6259     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6260 esac
6261 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6262
6263
6264   case $ac_mode in
6265   :F)
6266   #
6267   # CONFIG_FILE
6268   #
6269
6270   case $INSTALL in
6271   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6272   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6273   esac
6274   ac_MKDIR_P=$MKDIR_P
6275   case $MKDIR_P in
6276   [\\/$]* | ?:[\\/]* ) ;;
6277   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6278   esac
6279 _ACEOF
6280
6281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6282 # If the template does not know about datarootdir, expand it.
6283 # FIXME: This hack should be removed a few years after 2.60.
6284 ac_datarootdir_hack=; ac_datarootdir_seen=
6285
6286 ac_sed_dataroot='
6287 /datarootdir/ {
6288   p
6289   q
6290 }
6291 /@datadir@/p
6292 /@docdir@/p
6293 /@infodir@/p
6294 /@localedir@/p
6295 /@mandir@/p
6296 '
6297 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6298 *datarootdir*) ac_datarootdir_seen=yes;;
6299 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6300   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6301 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6302 _ACEOF
6303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6304   ac_datarootdir_hack='
6305   s&@datadir@&$datadir&g
6306   s&@docdir@&$docdir&g
6307   s&@infodir@&$infodir&g
6308   s&@localedir@&$localedir&g
6309   s&@mandir@&$mandir&g
6310     s&\\\${datarootdir}&$datarootdir&g' ;;
6311 esac
6312 _ACEOF
6313
6314 # Neutralize VPATH when `$srcdir' = `.'.
6315 # Shell code in configure.ac might set extrasub.
6316 # FIXME: do we really want to maintain this feature?
6317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6318 ac_sed_extra="$ac_vpsub
6319 $extrasub
6320 _ACEOF
6321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6322 :t
6323 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6324 s|@configure_input@|$ac_sed_conf_input|;t t
6325 s&@top_builddir@&$ac_top_builddir_sub&;t t
6326 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6327 s&@srcdir@&$ac_srcdir&;t t
6328 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6329 s&@top_srcdir@&$ac_top_srcdir&;t t
6330 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6331 s&@builddir@&$ac_builddir&;t t
6332 s&@abs_builddir@&$ac_abs_builddir&;t t
6333 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6334 s&@INSTALL@&$ac_INSTALL&;t t
6335 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6336 $ac_datarootdir_hack
6337 "
6338 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6339   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6340 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6341    { (exit 1); exit 1; }; }
6342
6343 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6344   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6345   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6346   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6347 which seems to be undefined.  Please make sure it is defined." >&5
6348 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6349 which seems to be undefined.  Please make sure it is defined." >&2;}
6350
6351   rm -f "$tmp/stdin"
6352   case $ac_file in
6353   -) cat "$tmp/out" && rm -f "$tmp/out";;
6354   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6355   esac \
6356   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6357 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6358    { (exit 1); exit 1; }; }
6359  ;;
6360
6361
6362   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6363 $as_echo "$as_me: executing $ac_file commands" >&6;}
6364  ;;
6365   esac
6366
6367
6368   case $ac_file$ac_mode in
6369     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6370   # Autoconf 2.62 quotes --file arguments for eval, but not when files
6371   # are listed without --file.  Let's play safe and only enable the eval
6372   # if we detect the quoting.
6373   case $CONFIG_FILES in
6374   *\'*) eval set x "$CONFIG_FILES" ;;
6375   *)   set x $CONFIG_FILES ;;
6376   esac
6377   shift
6378   for mf
6379   do
6380     # Strip MF so we end up with the name of the file.
6381     mf=`echo "$mf" | sed -e 's/:.*$//'`
6382     # Check whether this is an Automake generated Makefile or not.
6383     # We used to match only the files named `Makefile.in', but
6384     # some people rename them; so instead we look at the file content.
6385     # Grep'ing the first line is not enough: some people post-process
6386     # each Makefile.in and add a new line on top of each file to say so.
6387     # Grep'ing the whole file is not good either: AIX grep has a line
6388     # limit of 2048, but all sed's we know have understand at least 4000.
6389     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6390       dirpart=`$as_dirname -- "$mf" ||
6391 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6392          X"$mf" : 'X\(//\)[^/]' \| \
6393          X"$mf" : 'X\(//\)$' \| \
6394          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6395 $as_echo X"$mf" |
6396     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6397             s//\1/
6398             q
6399           }
6400           /^X\(\/\/\)[^/].*/{
6401             s//\1/
6402             q
6403           }
6404           /^X\(\/\/\)$/{
6405             s//\1/
6406             q
6407           }
6408           /^X\(\/\).*/{
6409             s//\1/
6410             q
6411           }
6412           s/.*/./; q'`
6413     else
6414       continue
6415     fi
6416     # Extract the definition of DEPDIR, am__include, and am__quote
6417     # from the Makefile without running `make'.
6418     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6419     test -z "$DEPDIR" && continue
6420     am__include=`sed -n 's/^am__include = //p' < "$mf"`
6421     test -z "am__include" && continue
6422     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6423     # When using ansi2knr, U may be empty or an underscore; expand it
6424     U=`sed -n 's/^U = //p' < "$mf"`
6425     # Find all dependency output files, they are included files with
6426     # $(DEPDIR) in their names.  We invoke sed twice because it is the
6427     # simplest approach to changing $(DEPDIR) to its actual value in the
6428     # expansion.
6429     for file in `sed -n "
6430       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6431          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6432       # Make sure the directory exists.
6433       test -f "$dirpart/$file" && continue
6434       fdir=`$as_dirname -- "$file" ||
6435 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6436          X"$file" : 'X\(//\)[^/]' \| \
6437          X"$file" : 'X\(//\)$' \| \
6438          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6439 $as_echo X"$file" |
6440     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6441             s//\1/
6442             q
6443           }
6444           /^X\(\/\/\)[^/].*/{
6445             s//\1/
6446             q
6447           }
6448           /^X\(\/\/\)$/{
6449             s//\1/
6450             q
6451           }
6452           /^X\(\/\).*/{
6453             s//\1/
6454             q
6455           }
6456           s/.*/./; q'`
6457       { as_dir=$dirpart/$fdir
6458   case $as_dir in #(
6459   -*) as_dir=./$as_dir;;
6460   esac
6461   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6462     as_dirs=
6463     while :; do
6464       case $as_dir in #(
6465       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6466       *) as_qdir=$as_dir;;
6467       esac
6468       as_dirs="'$as_qdir' $as_dirs"
6469       as_dir=`$as_dirname -- "$as_dir" ||
6470 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6471          X"$as_dir" : 'X\(//\)[^/]' \| \
6472          X"$as_dir" : 'X\(//\)$' \| \
6473          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6474 $as_echo X"$as_dir" |
6475     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6476             s//\1/
6477             q
6478           }
6479           /^X\(\/\/\)[^/].*/{
6480             s//\1/
6481             q
6482           }
6483           /^X\(\/\/\)$/{
6484             s//\1/
6485             q
6486           }
6487           /^X\(\/\).*/{
6488             s//\1/
6489             q
6490           }
6491           s/.*/./; q'`
6492       test -d "$as_dir" && break
6493     done
6494     test -z "$as_dirs" || eval "mkdir $as_dirs"
6495   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6496 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6497    { (exit 1); exit 1; }; }; }
6498       # echo "creating $dirpart/$file"
6499       echo '# dummy' > "$dirpart/$file"
6500     done
6501   done
6502 }
6503  ;;
6504
6505   esac
6506 done # for ac_tag
6507
6508
6509 { (exit 0); exit 0; }
6510 _ACEOF
6511 chmod +x $CONFIG_STATUS
6512 ac_clean_files=$ac_clean_files_save
6513
6514 test $ac_write_fail = 0 ||
6515   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6516 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6517    { (exit 1); exit 1; }; }
6518
6519
6520 # configure is writing to config.log, and then calls config.status.
6521 # config.status does its own redirection, appending to config.log.
6522 # Unfortunately, on DOS this fails, as config.log is still kept open
6523 # by configure, so config.status won't be able to write to it; its
6524 # output is simply discarded.  So we exec the FD to /dev/null,
6525 # effectively closing config.log, so it can be properly (re)opened and
6526 # appended to by config.status.  When coming back to configure, we
6527 # need to make the FD available again.
6528 if test "$no_create" != yes; then
6529   ac_cs_success=:
6530   ac_config_status_args=
6531   test "$silent" = yes &&
6532     ac_config_status_args="$ac_config_status_args --quiet"
6533   exec 5>/dev/null
6534   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6535   exec 5>>config.log
6536   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6537   # would make configure fail if this is the last instruction.
6538   $ac_cs_success || { (exit 1); exit 1; }
6539 fi
6540 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6541   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6542 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6543 fi
6544