OSDN Git Service

2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
[pf3gnuchains/pf3gnuchains4x.git] / winsup / mingw / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for MinGW Runtime v3.x.
4 #
5 # Report bugs to <http://mingw.org/reporting_bugs>.
6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization.  ##
13 ## --------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in
26   *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42 as_nl='
43 '
44 export as_nl
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85   as_unset=unset
86 else
87   as_unset=false
88 fi
89
90
91 # IFS
92 # We need space, tab and new line, in precisely that order.  Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
96 IFS=" ""        $as_nl"
97
98 # Find who we are.  Look in the path if we contain no directory separator.
99 case $0 in
100   *[\\/]* ) as_myself=$0 ;;
101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 for as_dir in $PATH
103 do
104   IFS=$as_save_IFS
105   test -z "$as_dir" && as_dir=.
106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 done
108 IFS=$as_save_IFS
109
110      ;;
111 esac
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
115   as_myself=$0
116 fi
117 if test ! -f "$as_myself"; then
118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119   { (exit 1); exit 1; }
120 fi
121
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
139   as_expr=expr
140 else
141   as_expr=false
142 fi
143
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145   as_basename=basename
146 else
147   as_basename=false
148 fi
149
150
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154          X"$0" : 'X\(//\)$' \| \
155          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156 $as_echo X/"$0" |
157     sed '/^.*\/\([^/][^/]*\)\/*$/{
158             s//\1/
159             q
160           }
161           /^X\/\(\/\/\)$/{
162             s//\1/
163             q
164           }
165           /^X\/\(\/\).*/{
166             s//\1/
167             q
168           }
169           s/.*/./; q'`
170
171 # CDPATH.
172 $as_unset CDPATH
173
174
175 if test "x$CONFIG_SHELL" = x; then
176   if (eval ":") 2>/dev/null; then
177   as_have_required=yes
178 else
179   as_have_required=no
180 fi
181
182   if test $as_have_required = yes &&     (eval ":
183 (as_func_return () {
184   (exit \$1)
185 }
186 as_func_success () {
187   as_func_return 0
188 }
189 as_func_failure () {
190   as_func_return 1
191 }
192 as_func_ret_success () {
193   return 0
194 }
195 as_func_ret_failure () {
196   return 1
197 }
198
199 exitcode=0
200 if as_func_success; then
201   :
202 else
203   exitcode=1
204   echo as_func_success failed.
205 fi
206
207 if as_func_failure; then
208   exitcode=1
209   echo as_func_failure succeeded.
210 fi
211
212 if as_func_ret_success; then
213   :
214 else
215   exitcode=1
216   echo as_func_ret_success failed.
217 fi
218
219 if as_func_ret_failure; then
220   exitcode=1
221   echo as_func_ret_failure succeeded.
222 fi
223
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225   :
226 else
227   exitcode=1
228   echo positional parameters were not saved.
229 fi
230
231 test \$exitcode = 0) || { (exit 1); exit 1; }
232
233 (
234   as_lineno_1=\$LINENO
235   as_lineno_2=\$LINENO
236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
239   :
240 else
241   as_candidate_shells=
242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 do
245   IFS=$as_save_IFS
246   test -z "$as_dir" && as_dir=.
247   case $as_dir in
248          /*)
249            for as_base in sh bash ksh sh5; do
250              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251            done;;
252        esac
253 done
254 IFS=$as_save_IFS
255
256
257       for as_shell in $as_candidate_shells $SHELL; do
258          # Try only shells that exist, to save several forks.
259          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260                 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262   emulate sh
263   NULLCMD=:
264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265   # is contrary to our usage.  Disable this feature.
266   alias -g '${1+"$@"}'='"$@"'
267   setopt NO_GLOB_SUBST
268 else
269   case `(set -o) 2>/dev/null` in
270   *posix*) set -o posix ;;
271 esac
272
273 fi
274
275
276 :
277 _ASEOF
278 }; then
279   CONFIG_SHELL=$as_shell
280                as_have_required=yes
281                if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283   emulate sh
284   NULLCMD=:
285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286   # is contrary to our usage.  Disable this feature.
287   alias -g '${1+"$@"}'='"$@"'
288   setopt NO_GLOB_SUBST
289 else
290   case `(set -o) 2>/dev/null` in
291   *posix*) set -o posix ;;
292 esac
293
294 fi
295
296
297 :
298 (as_func_return () {
299   (exit $1)
300 }
301 as_func_success () {
302   as_func_return 0
303 }
304 as_func_failure () {
305   as_func_return 1
306 }
307 as_func_ret_success () {
308   return 0
309 }
310 as_func_ret_failure () {
311   return 1
312 }
313
314 exitcode=0
315 if as_func_success; then
316   :
317 else
318   exitcode=1
319   echo as_func_success failed.
320 fi
321
322 if as_func_failure; then
323   exitcode=1
324   echo as_func_failure succeeded.
325 fi
326
327 if as_func_ret_success; then
328   :
329 else
330   exitcode=1
331   echo as_func_ret_success failed.
332 fi
333
334 if as_func_ret_failure; then
335   exitcode=1
336   echo as_func_ret_failure succeeded.
337 fi
338
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
340   :
341 else
342   exitcode=1
343   echo positional parameters were not saved.
344 fi
345
346 test $exitcode = 0) || { (exit 1); exit 1; }
347
348 (
349   as_lineno_1=$LINENO
350   as_lineno_2=$LINENO
351   test "x$as_lineno_1" != "x$as_lineno_2" &&
352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
354 _ASEOF
355 }; then
356   break
357 fi
358
359 fi
360
361       done
362
363       if test "x$CONFIG_SHELL" != x; then
364   for as_var in BASH_ENV ENV
365         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366         done
367         export CONFIG_SHELL
368         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369 fi
370
371
372     if test $as_have_required = no; then
373   echo This script requires a shell more modern than all the
374       echo shells that I found on your system.  Please install a
375       echo modern shell, or manually run the script under such a
376       echo shell if you do have one.
377       { (exit 1); exit 1; }
378 fi
379
380
381 fi
382
383 fi
384
385
386
387 (eval "as_func_return () {
388   (exit \$1)
389 }
390 as_func_success () {
391   as_func_return 0
392 }
393 as_func_failure () {
394   as_func_return 1
395 }
396 as_func_ret_success () {
397   return 0
398 }
399 as_func_ret_failure () {
400   return 1
401 }
402
403 exitcode=0
404 if as_func_success; then
405   :
406 else
407   exitcode=1
408   echo as_func_success failed.
409 fi
410
411 if as_func_failure; then
412   exitcode=1
413   echo as_func_failure succeeded.
414 fi
415
416 if as_func_ret_success; then
417   :
418 else
419   exitcode=1
420   echo as_func_ret_success failed.
421 fi
422
423 if as_func_ret_failure; then
424   exitcode=1
425   echo as_func_ret_failure succeeded.
426 fi
427
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429   :
430 else
431   exitcode=1
432   echo positional parameters were not saved.
433 fi
434
435 test \$exitcode = 0") || {
436   echo No shell found that supports shell functions.
437   echo Please tell bug-autoconf@gnu.org about your system,
438   echo including any error possibly output before this message.
439   echo This can help us improve future autoconf versions.
440   echo Configuration will now proceed without shell functions.
441 }
442
443
444
445   as_lineno_1=$LINENO
446   as_lineno_2=$LINENO
447   test "x$as_lineno_1" != "x$as_lineno_2" &&
448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451   # uniformly replaced by the line number.  The first 'sed' inserts a
452   # line-number line after each line using $LINENO; the second 'sed'
453   # does the real work.  The second script uses 'N' to pair each
454   # line-number line with the line containing $LINENO, and appends
455   # trailing '-' during substitution so that $LINENO is not a special
456   # case at line end.
457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
459   # E. McMahon (1931-1989) for sed's syntax.  :-)
460   sed -n '
461     p
462     /[$]LINENO/=
463   ' <$as_myself |
464     sed '
465       s/[$]LINENO.*/&-/
466       t lineno
467       b
468       :lineno
469       N
470       :loop
471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472       t loop
473       s/-\n.*//
474     ' >$as_me.lineno &&
475   chmod +x "$as_me.lineno" ||
476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477    { (exit 1); exit 1; }; }
478
479   # Don't try to exec as it changes $[0], causing all sort of problems
480   # (the dirname of $[0] is not the place where we might find the
481   # original and so on.  Autoconf is especially sensitive to this).
482   . "./$as_me.lineno"
483   # Exit status is that of the last command.
484   exit
485 }
486
487
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489   as_dirname=dirname
490 else
491   as_dirname=false
492 fi
493
494 ECHO_C= ECHO_N= ECHO_T=
495 case `echo -n x` in
496 -n*)
497   case `echo 'x\c'` in
498   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499   *)   ECHO_C='\c';;
500   esac;;
501 *)
502   ECHO_N='-n';;
503 esac
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
506   as_expr=expr
507 else
508   as_expr=false
509 fi
510
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513   rm -f conf$$.dir/conf$$.file
514 else
515   rm -f conf$$.dir
516   mkdir conf$$.dir 2>/dev/null
517 fi
518 if (echo >conf$$.file) 2>/dev/null; then
519   if ln -s conf$$.file conf$$ 2>/dev/null; then
520     as_ln_s='ln -s'
521     # ... but there are two gotchas:
522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524     # In both cases, we have to default to `cp -p'.
525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526       as_ln_s='cp -p'
527   elif ln conf$$.file conf$$ 2>/dev/null; then
528     as_ln_s=ln
529   else
530     as_ln_s='cp -p'
531   fi
532 else
533   as_ln_s='cp -p'
534 fi
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
537
538 if mkdir -p . 2>/dev/null; then
539   as_mkdir_p=:
540 else
541   test -d ./-p && rmdir ./-p
542   as_mkdir_p=false
543 fi
544
545 if test -x / >/dev/null 2>&1; then
546   as_test_x='test -x'
547 else
548   if ls -dL / >/dev/null 2>&1; then
549     as_ls_L_option=L
550   else
551     as_ls_L_option=
552   fi
553   as_test_x='
554     eval sh -c '\''
555       if test -d "$1"; then
556         test -d "$1/.";
557       else
558         case $1 in
559         -*)set "./$1";;
560         esac;
561         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562         ???[sx]*):;;*)false;;esac;fi
563     '\'' sh
564   '
565 fi
566 as_executable_p=$as_test_x
567
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
574
575
576 exec 7<&0 </dev/null 6>&1
577
578 # Name of the host.
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
583 #
584 # Initializations.
585 #
586 ac_default_prefix=/usr/local
587 ac_clean_files=
588 ac_config_libobj_dir=.
589 LIBOBJS=
590 cross_compiling=no
591 subdirs=
592 MFLAGS=
593 MAKEFLAGS=
594 SHELL=${CONFIG_SHELL-/bin/sh}
595
596 # Identity of this package.
597 PACKAGE_NAME='MinGW Runtime'
598 PACKAGE_TARNAME='mingwrt'
599 PACKAGE_VERSION='v3.x'
600 PACKAGE_STRING='MinGW Runtime v3.x'
601 PACKAGE_BUGREPORT='http://mingw.org/reporting_bugs'
602
603 ac_unique_file="include/_mingw.h"
604 enable_option_checking=no
605 ac_subst_vars='LTLIBOBJS
606 LIBOBJS
607 mingw_manpage_transform
608 INSTALL_DATA
609 INSTALL_SCRIPT
610 INSTALL_PROGRAM
611 W32API_INCLUDE
612 HEADER_SUBDIR
613 LIBGMON_A
614 LIBM_A
615 NO_CYGWIN
616 MKINSTALLDIRS
617 THREAD_DLL
618 subdirs
619 WINDRES
620 DLLWRAP
621 DLLTOOL
622 OBJCOPY
623 NM
624 LD
625 RANLIB
626 AS
627 AR
628 install_dlls_host
629 all_dlls_host
630 with_cross_host
631 OBJEXT
632 EXEEXT
633 ac_ct_CC
634 CPPFLAGS
635 LDFLAGS
636 CFLAGS
637 CC
638 target_os
639 target_vendor
640 target_cpu
641 target
642 host_os
643 host_vendor
644 host_cpu
645 host
646 build_os
647 build_vendor
648 build_cpu
649 build
650 target_alias
651 host_alias
652 build_alias
653 LIBS
654 ECHO_T
655 ECHO_N
656 ECHO_C
657 DEFS
658 mandir
659 localedir
660 libdir
661 psdir
662 pdfdir
663 dvidir
664 htmldir
665 infodir
666 docdir
667 oldincludedir
668 includedir
669 localstatedir
670 sharedstatedir
671 sysconfdir
672 datadir
673 datarootdir
674 libexecdir
675 sbindir
676 bindir
677 program_transform_name
678 prefix
679 exec_prefix
680 PACKAGE_BUGREPORT
681 PACKAGE_STRING
682 PACKAGE_VERSION
683 PACKAGE_TARNAME
684 PACKAGE_NAME
685 PATH_SEPARATOR
686 SHELL'
687 ac_subst_files=''
688 ac_user_opts='
689 enable_option_checking
690 enable_mingw_manpage_transform
691 '
692       ac_precious_vars='build_alias
693 host_alias
694 target_alias
695 CC
696 CFLAGS
697 LDFLAGS
698 LIBS
699 CPPFLAGS'
700 ac_subdirs_all='profile mingwex'
701
702 # Initialize some variables set by options.
703 ac_init_help=
704 ac_init_version=false
705 ac_unrecognized_opts=
706 ac_unrecognized_sep=
707 # The variables have the same names as the options, with
708 # dashes changed to underlines.
709 cache_file=/dev/null
710 exec_prefix=NONE
711 no_create=
712 no_recursion=
713 prefix=NONE
714 program_prefix=NONE
715 program_suffix=NONE
716 program_transform_name=s,x,x,
717 silent=
718 site=
719 srcdir=
720 verbose=
721 x_includes=NONE
722 x_libraries=NONE
723
724 # Installation directory options.
725 # These are left unexpanded so users can "make install exec_prefix=/foo"
726 # and all the variables that are supposed to be based on exec_prefix
727 # by default will actually change.
728 # Use braces instead of parens because sh, perl, etc. also accept them.
729 # (The list follows the same order as the GNU Coding Standards.)
730 bindir='${exec_prefix}/bin'
731 sbindir='${exec_prefix}/sbin'
732 libexecdir='${exec_prefix}/libexec'
733 datarootdir='${prefix}/share'
734 datadir='${datarootdir}'
735 sysconfdir='${prefix}/etc'
736 sharedstatedir='${prefix}/com'
737 localstatedir='${prefix}/var'
738 includedir='${prefix}/include'
739 oldincludedir='/usr/include'
740 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
741 infodir='${datarootdir}/info'
742 htmldir='${docdir}'
743 dvidir='${docdir}'
744 pdfdir='${docdir}'
745 psdir='${docdir}'
746 libdir='${exec_prefix}/lib'
747 localedir='${datarootdir}/locale'
748 mandir='${datarootdir}/man'
749
750 ac_prev=
751 ac_dashdash=
752 for ac_option
753 do
754   # If the previous option needs an argument, assign it.
755   if test -n "$ac_prev"; then
756     eval $ac_prev=\$ac_option
757     ac_prev=
758     continue
759   fi
760
761   case $ac_option in
762   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
763   *)    ac_optarg=yes ;;
764   esac
765
766   # Accept the important Cygnus configure options, so we can diagnose typos.
767
768   case $ac_dashdash$ac_option in
769   --)
770     ac_dashdash=yes ;;
771
772   -bindir | --bindir | --bindi | --bind | --bin | --bi)
773     ac_prev=bindir ;;
774   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
775     bindir=$ac_optarg ;;
776
777   -build | --build | --buil | --bui | --bu)
778     ac_prev=build_alias ;;
779   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
780     build_alias=$ac_optarg ;;
781
782   -cache-file | --cache-file | --cache-fil | --cache-fi \
783   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
784     ac_prev=cache_file ;;
785   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
786   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
787     cache_file=$ac_optarg ;;
788
789   --config-cache | -C)
790     cache_file=config.cache ;;
791
792   -datadir | --datadir | --datadi | --datad)
793     ac_prev=datadir ;;
794   -datadir=* | --datadir=* | --datadi=* | --datad=*)
795     datadir=$ac_optarg ;;
796
797   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
798   | --dataroo | --dataro | --datar)
799     ac_prev=datarootdir ;;
800   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
801   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
802     datarootdir=$ac_optarg ;;
803
804   -disable-* | --disable-*)
805     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
806     # Reject names that are not valid shell variable names.
807     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
808       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
809    { (exit 1); exit 1; }; }
810     ac_useropt_orig=$ac_useropt
811     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
812     case $ac_user_opts in
813       *"
814 "enable_$ac_useropt"
815 "*) ;;
816       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
817          ac_unrecognized_sep=', ';;
818     esac
819     eval enable_$ac_useropt=no ;;
820
821   -docdir | --docdir | --docdi | --doc | --do)
822     ac_prev=docdir ;;
823   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
824     docdir=$ac_optarg ;;
825
826   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
827     ac_prev=dvidir ;;
828   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
829     dvidir=$ac_optarg ;;
830
831   -enable-* | --enable-*)
832     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
833     # Reject names that are not valid shell variable names.
834     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
835       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
836    { (exit 1); exit 1; }; }
837     ac_useropt_orig=$ac_useropt
838     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
839     case $ac_user_opts in
840       *"
841 "enable_$ac_useropt"
842 "*) ;;
843       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
844          ac_unrecognized_sep=', ';;
845     esac
846     eval enable_$ac_useropt=\$ac_optarg ;;
847
848   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
849   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
850   | --exec | --exe | --ex)
851     ac_prev=exec_prefix ;;
852   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
853   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
854   | --exec=* | --exe=* | --ex=*)
855     exec_prefix=$ac_optarg ;;
856
857   -gas | --gas | --ga | --g)
858     # Obsolete; use --with-gas.
859     with_gas=yes ;;
860
861   -help | --help | --hel | --he | -h)
862     ac_init_help=long ;;
863   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
864     ac_init_help=recursive ;;
865   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
866     ac_init_help=short ;;
867
868   -host | --host | --hos | --ho)
869     ac_prev=host_alias ;;
870   -host=* | --host=* | --hos=* | --ho=*)
871     host_alias=$ac_optarg ;;
872
873   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
874     ac_prev=htmldir ;;
875   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
876   | --ht=*)
877     htmldir=$ac_optarg ;;
878
879   -includedir | --includedir | --includedi | --included | --include \
880   | --includ | --inclu | --incl | --inc)
881     ac_prev=includedir ;;
882   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
883   | --includ=* | --inclu=* | --incl=* | --inc=*)
884     includedir=$ac_optarg ;;
885
886   -infodir | --infodir | --infodi | --infod | --info | --inf)
887     ac_prev=infodir ;;
888   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
889     infodir=$ac_optarg ;;
890
891   -libdir | --libdir | --libdi | --libd)
892     ac_prev=libdir ;;
893   -libdir=* | --libdir=* | --libdi=* | --libd=*)
894     libdir=$ac_optarg ;;
895
896   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
897   | --libexe | --libex | --libe)
898     ac_prev=libexecdir ;;
899   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
900   | --libexe=* | --libex=* | --libe=*)
901     libexecdir=$ac_optarg ;;
902
903   -localedir | --localedir | --localedi | --localed | --locale)
904     ac_prev=localedir ;;
905   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
906     localedir=$ac_optarg ;;
907
908   -localstatedir | --localstatedir | --localstatedi | --localstated \
909   | --localstate | --localstat | --localsta | --localst | --locals)
910     ac_prev=localstatedir ;;
911   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
912   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
913     localstatedir=$ac_optarg ;;
914
915   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
916     ac_prev=mandir ;;
917   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
918     mandir=$ac_optarg ;;
919
920   -nfp | --nfp | --nf)
921     # Obsolete; use --without-fp.
922     with_fp=no ;;
923
924   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
925   | --no-cr | --no-c | -n)
926     no_create=yes ;;
927
928   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
929   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
930     no_recursion=yes ;;
931
932   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
933   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
934   | --oldin | --oldi | --old | --ol | --o)
935     ac_prev=oldincludedir ;;
936   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
937   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
938   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
939     oldincludedir=$ac_optarg ;;
940
941   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
942     ac_prev=prefix ;;
943   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
944     prefix=$ac_optarg ;;
945
946   -program-prefix | --program-prefix | --program-prefi | --program-pref \
947   | --program-pre | --program-pr | --program-p)
948     ac_prev=program_prefix ;;
949   -program-prefix=* | --program-prefix=* | --program-prefi=* \
950   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
951     program_prefix=$ac_optarg ;;
952
953   -program-suffix | --program-suffix | --program-suffi | --program-suff \
954   | --program-suf | --program-su | --program-s)
955     ac_prev=program_suffix ;;
956   -program-suffix=* | --program-suffix=* | --program-suffi=* \
957   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
958     program_suffix=$ac_optarg ;;
959
960   -program-transform-name | --program-transform-name \
961   | --program-transform-nam | --program-transform-na \
962   | --program-transform-n | --program-transform- \
963   | --program-transform | --program-transfor \
964   | --program-transfo | --program-transf \
965   | --program-trans | --program-tran \
966   | --progr-tra | --program-tr | --program-t)
967     ac_prev=program_transform_name ;;
968   -program-transform-name=* | --program-transform-name=* \
969   | --program-transform-nam=* | --program-transform-na=* \
970   | --program-transform-n=* | --program-transform-=* \
971   | --program-transform=* | --program-transfor=* \
972   | --program-transfo=* | --program-transf=* \
973   | --program-trans=* | --program-tran=* \
974   | --progr-tra=* | --program-tr=* | --program-t=*)
975     program_transform_name=$ac_optarg ;;
976
977   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
978     ac_prev=pdfdir ;;
979   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
980     pdfdir=$ac_optarg ;;
981
982   -psdir | --psdir | --psdi | --psd | --ps)
983     ac_prev=psdir ;;
984   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
985     psdir=$ac_optarg ;;
986
987   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
988   | -silent | --silent | --silen | --sile | --sil)
989     silent=yes ;;
990
991   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
992     ac_prev=sbindir ;;
993   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
994   | --sbi=* | --sb=*)
995     sbindir=$ac_optarg ;;
996
997   -sharedstatedir | --sharedstatedir | --sharedstatedi \
998   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
999   | --sharedst | --shareds | --shared | --share | --shar \
1000   | --sha | --sh)
1001     ac_prev=sharedstatedir ;;
1002   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1003   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1004   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1005   | --sha=* | --sh=*)
1006     sharedstatedir=$ac_optarg ;;
1007
1008   -site | --site | --sit)
1009     ac_prev=site ;;
1010   -site=* | --site=* | --sit=*)
1011     site=$ac_optarg ;;
1012
1013   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1014     ac_prev=srcdir ;;
1015   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1016     srcdir=$ac_optarg ;;
1017
1018   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1019   | --syscon | --sysco | --sysc | --sys | --sy)
1020     ac_prev=sysconfdir ;;
1021   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1022   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1023     sysconfdir=$ac_optarg ;;
1024
1025   -target | --target | --targe | --targ | --tar | --ta | --t)
1026     ac_prev=target_alias ;;
1027   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1028     target_alias=$ac_optarg ;;
1029
1030   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1031     verbose=yes ;;
1032
1033   -version | --version | --versio | --versi | --vers | -V)
1034     ac_init_version=: ;;
1035
1036   -with-* | --with-*)
1037     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1038     # Reject names that are not valid shell variable names.
1039     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1040       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1041    { (exit 1); exit 1; }; }
1042     ac_useropt_orig=$ac_useropt
1043     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044     case $ac_user_opts in
1045       *"
1046 "with_$ac_useropt"
1047 "*) ;;
1048       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1049          ac_unrecognized_sep=', ';;
1050     esac
1051     eval with_$ac_useropt=\$ac_optarg ;;
1052
1053   -without-* | --without-*)
1054     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1055     # Reject names that are not valid shell variable names.
1056     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1057       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1058    { (exit 1); exit 1; }; }
1059     ac_useropt_orig=$ac_useropt
1060     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061     case $ac_user_opts in
1062       *"
1063 "with_$ac_useropt"
1064 "*) ;;
1065       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1066          ac_unrecognized_sep=', ';;
1067     esac
1068     eval with_$ac_useropt=no ;;
1069
1070   --x)
1071     # Obsolete; use --with-x.
1072     with_x=yes ;;
1073
1074   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1075   | --x-incl | --x-inc | --x-in | --x-i)
1076     ac_prev=x_includes ;;
1077   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1078   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1079     x_includes=$ac_optarg ;;
1080
1081   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1082   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1083     ac_prev=x_libraries ;;
1084   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1085   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1086     x_libraries=$ac_optarg ;;
1087
1088   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1089 Try \`$0 --help' for more information." >&2
1090    { (exit 1); exit 1; }; }
1091     ;;
1092
1093   *=*)
1094     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1095     # Reject names that are not valid shell variable names.
1096     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1097       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1098    { (exit 1); exit 1; }; }
1099     eval $ac_envvar=\$ac_optarg
1100     export $ac_envvar ;;
1101
1102   *)
1103     # FIXME: should be removed in autoconf 3.0.
1104     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1105     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1106       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1107     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1108     ;;
1109
1110   esac
1111 done
1112
1113 if test -n "$ac_prev"; then
1114   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1115   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1116    { (exit 1); exit 1; }; }
1117 fi
1118
1119 if test -n "$ac_unrecognized_opts"; then
1120   case $enable_option_checking in
1121     no) ;;
1122     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1123    { (exit 1); exit 1; }; } ;;
1124     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1125   esac
1126 fi
1127
1128 # Check all directory arguments for consistency.
1129 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1130                 datadir sysconfdir sharedstatedir localstatedir includedir \
1131                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1132                 libdir localedir mandir
1133 do
1134   eval ac_val=\$$ac_var
1135   # Remove trailing slashes.
1136   case $ac_val in
1137     */ )
1138       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1139       eval $ac_var=\$ac_val;;
1140   esac
1141   # Be sure to have absolute directory names.
1142   case $ac_val in
1143     [\\/$]* | ?:[\\/]* )  continue;;
1144     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1145   esac
1146   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1147    { (exit 1); exit 1; }; }
1148 done
1149
1150 # There might be people who depend on the old broken behavior: `$host'
1151 # used to hold the argument of --host etc.
1152 # FIXME: To remove some day.
1153 build=$build_alias
1154 host=$host_alias
1155 target=$target_alias
1156
1157 # FIXME: To remove some day.
1158 if test "x$host_alias" != x; then
1159   if test "x$build_alias" = x; then
1160     cross_compiling=maybe
1161     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1162     If a cross compiler is detected then cross compile mode will be used." >&2
1163   elif test "x$build_alias" != "x$host_alias"; then
1164     cross_compiling=yes
1165   fi
1166 fi
1167
1168 ac_tool_prefix=
1169 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1170
1171 test "$silent" = yes && exec 6>/dev/null
1172
1173
1174 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1175 ac_ls_di=`ls -di .` &&
1176 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1177   { $as_echo "$as_me: error: working directory cannot be determined" >&2
1178    { (exit 1); exit 1; }; }
1179 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1180   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1181    { (exit 1); exit 1; }; }
1182
1183
1184 # Find the source files, if location was not specified.
1185 if test -z "$srcdir"; then
1186   ac_srcdir_defaulted=yes
1187   # Try the directory containing this script, then the parent directory.
1188   ac_confdir=`$as_dirname -- "$as_myself" ||
1189 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1190          X"$as_myself" : 'X\(//\)[^/]' \| \
1191          X"$as_myself" : 'X\(//\)$' \| \
1192          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1193 $as_echo X"$as_myself" |
1194     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1195             s//\1/
1196             q
1197           }
1198           /^X\(\/\/\)[^/].*/{
1199             s//\1/
1200             q
1201           }
1202           /^X\(\/\/\)$/{
1203             s//\1/
1204             q
1205           }
1206           /^X\(\/\).*/{
1207             s//\1/
1208             q
1209           }
1210           s/.*/./; q'`
1211   srcdir=$ac_confdir
1212   if test ! -r "$srcdir/$ac_unique_file"; then
1213     srcdir=..
1214   fi
1215 else
1216   ac_srcdir_defaulted=no
1217 fi
1218 if test ! -r "$srcdir/$ac_unique_file"; then
1219   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1220   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1221    { (exit 1); exit 1; }; }
1222 fi
1223 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1224 ac_abs_confdir=`(
1225         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1226    { (exit 1); exit 1; }; }
1227         pwd)`
1228 # When building in place, set srcdir=.
1229 if test "$ac_abs_confdir" = "$ac_pwd"; then
1230   srcdir=.
1231 fi
1232 # Remove unnecessary trailing slashes from srcdir.
1233 # Double slashes in file names in object file debugging info
1234 # mess up M-x gdb in Emacs.
1235 case $srcdir in
1236 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1237 esac
1238 for ac_var in $ac_precious_vars; do
1239   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1240   eval ac_env_${ac_var}_value=\$${ac_var}
1241   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1242   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1243 done
1244
1245 #
1246 # Report the --help message.
1247 #
1248 if test "$ac_init_help" = "long"; then
1249   # Omit some internal or obsolete options to make the list less imposing.
1250   # This message is too long to be a string in the A/UX 3.1 sh.
1251   cat <<_ACEOF
1252 \`configure' configures MinGW Runtime v3.x to adapt to many kinds of systems.
1253
1254 Usage: $0 [OPTION]... [VAR=VALUE]...
1255
1256 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1257 VAR=VALUE.  See below for descriptions of some of the useful variables.
1258
1259 Defaults for the options are specified in brackets.
1260
1261 Configuration:
1262   -h, --help              display this help and exit
1263       --help=short        display options specific to this package
1264       --help=recursive    display the short help of all the included packages
1265   -V, --version           display version information and exit
1266   -q, --quiet, --silent   do not print \`checking...' messages
1267       --cache-file=FILE   cache test results in FILE [disabled]
1268   -C, --config-cache      alias for \`--cache-file=config.cache'
1269   -n, --no-create         do not create output files
1270       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1271
1272 Installation directories:
1273   --prefix=PREFIX         install architecture-independent files in PREFIX
1274                           [$ac_default_prefix]
1275   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1276                           [PREFIX]
1277
1278 By default, \`make install' will install all the files in
1279 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1280 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1281 for instance \`--prefix=\$HOME'.
1282
1283 For better control, use the options below.
1284
1285 Fine tuning of the installation directories:
1286   --bindir=DIR            user executables [EPREFIX/bin]
1287   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1288   --libexecdir=DIR        program executables [EPREFIX/libexec]
1289   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1290   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1291   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1292   --libdir=DIR            object code libraries [EPREFIX/lib]
1293   --includedir=DIR        C header files [PREFIX/include]
1294   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1295   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1296   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1297   --infodir=DIR           info documentation [DATAROOTDIR/info]
1298   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1299   --mandir=DIR            man documentation [DATAROOTDIR/man]
1300   --docdir=DIR            documentation root [DATAROOTDIR/doc/mingwrt]
1301   --htmldir=DIR           html documentation [DOCDIR]
1302   --dvidir=DIR            dvi documentation [DOCDIR]
1303   --pdfdir=DIR            pdf documentation [DOCDIR]
1304   --psdir=DIR             ps documentation [DOCDIR]
1305 _ACEOF
1306
1307   cat <<\_ACEOF
1308
1309 System types:
1310   --build=BUILD     configure for building on BUILD [guessed]
1311   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1312   --target=TARGET   configure for building compilers for TARGET [HOST]
1313 _ACEOF
1314 fi
1315
1316 if test -n "$ac_init_help"; then
1317   case $ac_init_help in
1318      short | recursive ) echo "Configuration of MinGW Runtime v3.x:";;
1319    esac
1320   cat <<\_ACEOF
1321
1322 Optional Features:
1323   --disable-option-checking  ignore unrecognized --enable/--with options
1324   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1325   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1326   --enable-mingw-manpage-transform[=SED-SCRIPT]
1327                           apply SED-SCRIPT [s/^/mingw-/] to installed manpage
1328                           names
1329   --disable-mingw-manpage-transform
1330                           [DEFAULT] don't transform installed manpage names
1331
1332 Some influential environment variables:
1333   CC          C compiler command
1334   CFLAGS      C compiler flags
1335   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1336               nonstandard directory <lib dir>
1337   LIBS        libraries to pass to the linker, e.g. -l<library>
1338   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1339               you have headers in a nonstandard directory <include dir>
1340
1341 Use these variables to override the choices made by `configure' or to help
1342 it to find libraries and programs with nonstandard names/locations.
1343
1344 Report bugs to <http://mingw.org/reporting_bugs>.
1345 _ACEOF
1346 ac_status=$?
1347 fi
1348
1349 if test "$ac_init_help" = "recursive"; then
1350   # If there are subdirs, report their specific --help.
1351   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1352     test -d "$ac_dir" ||
1353       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1354       continue
1355     ac_builddir=.
1356
1357 case "$ac_dir" in
1358 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1359 *)
1360   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1361   # A ".." for each directory in $ac_dir_suffix.
1362   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1363   case $ac_top_builddir_sub in
1364   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1365   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1366   esac ;;
1367 esac
1368 ac_abs_top_builddir=$ac_pwd
1369 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1370 # for backward compatibility:
1371 ac_top_builddir=$ac_top_build_prefix
1372
1373 case $srcdir in
1374   .)  # We are building in place.
1375     ac_srcdir=.
1376     ac_top_srcdir=$ac_top_builddir_sub
1377     ac_abs_top_srcdir=$ac_pwd ;;
1378   [\\/]* | ?:[\\/]* )  # Absolute name.
1379     ac_srcdir=$srcdir$ac_dir_suffix;
1380     ac_top_srcdir=$srcdir
1381     ac_abs_top_srcdir=$srcdir ;;
1382   *) # Relative name.
1383     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1384     ac_top_srcdir=$ac_top_build_prefix$srcdir
1385     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1386 esac
1387 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1388
1389     cd "$ac_dir" || { ac_status=$?; continue; }
1390     # Check for guested configure.
1391     if test -f "$ac_srcdir/configure.gnu"; then
1392       echo &&
1393       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1394     elif test -f "$ac_srcdir/configure"; then
1395       echo &&
1396       $SHELL "$ac_srcdir/configure" --help=recursive
1397     else
1398       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1399     fi || ac_status=$?
1400     cd "$ac_pwd" || { ac_status=$?; break; }
1401   done
1402 fi
1403
1404 test -n "$ac_init_help" && exit $ac_status
1405 if $ac_init_version; then
1406   cat <<\_ACEOF
1407 MinGW Runtime configure v3.x
1408 generated by GNU Autoconf 2.63
1409
1410 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1411 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1412 This configure script is free software; the Free Software Foundation
1413 gives unlimited permission to copy, distribute and modify it.
1414 _ACEOF
1415   exit
1416 fi
1417 cat >config.log <<_ACEOF
1418 This file contains any messages produced by compilers while
1419 running configure, to aid debugging if configure makes a mistake.
1420
1421 It was created by MinGW Runtime $as_me v3.x, which was
1422 generated by GNU Autoconf 2.63.  Invocation command line was
1423
1424   $ $0 $@
1425
1426 _ACEOF
1427 exec 5>>config.log
1428 {
1429 cat <<_ASUNAME
1430 ## --------- ##
1431 ## Platform. ##
1432 ## --------- ##
1433
1434 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1435 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1436 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1437 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1438 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1439
1440 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1441 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1442
1443 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1444 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1445 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1446 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1447 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1448 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1449 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1450
1451 _ASUNAME
1452
1453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1454 for as_dir in $PATH
1455 do
1456   IFS=$as_save_IFS
1457   test -z "$as_dir" && as_dir=.
1458   $as_echo "PATH: $as_dir"
1459 done
1460 IFS=$as_save_IFS
1461
1462 } >&5
1463
1464 cat >&5 <<_ACEOF
1465
1466
1467 ## ----------- ##
1468 ## Core tests. ##
1469 ## ----------- ##
1470
1471 _ACEOF
1472
1473
1474 # Keep a trace of the command line.
1475 # Strip out --no-create and --no-recursion so they do not pile up.
1476 # Strip out --silent because we don't want to record it for future runs.
1477 # Also quote any args containing shell meta-characters.
1478 # Make two passes to allow for proper duplicate-argument suppression.
1479 ac_configure_args=
1480 ac_configure_args0=
1481 ac_configure_args1=
1482 ac_must_keep_next=false
1483 for ac_pass in 1 2
1484 do
1485   for ac_arg
1486   do
1487     case $ac_arg in
1488     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1489     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1490     | -silent | --silent | --silen | --sile | --sil)
1491       continue ;;
1492     *\'*)
1493       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1494     esac
1495     case $ac_pass in
1496     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1497     2)
1498       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1499       if test $ac_must_keep_next = true; then
1500         ac_must_keep_next=false # Got value, back to normal.
1501       else
1502         case $ac_arg in
1503           *=* | --config-cache | -C | -disable-* | --disable-* \
1504           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1505           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1506           | -with-* | --with-* | -without-* | --without-* | --x)
1507             case "$ac_configure_args0 " in
1508               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1509             esac
1510             ;;
1511           -* ) ac_must_keep_next=true ;;
1512         esac
1513       fi
1514       ac_configure_args="$ac_configure_args '$ac_arg'"
1515       ;;
1516     esac
1517   done
1518 done
1519 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1520 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1521
1522 # When interrupted or exit'd, cleanup temporary files, and complete
1523 # config.log.  We remove comments because anyway the quotes in there
1524 # would cause problems or look ugly.
1525 # WARNING: Use '\'' to represent an apostrophe within the trap.
1526 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1527 trap 'exit_status=$?
1528   # Save into config.log some information that might help in debugging.
1529   {
1530     echo
1531
1532     cat <<\_ASBOX
1533 ## ---------------- ##
1534 ## Cache variables. ##
1535 ## ---------------- ##
1536 _ASBOX
1537     echo
1538     # The following way of writing the cache mishandles newlines in values,
1539 (
1540   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1541     eval ac_val=\$$ac_var
1542     case $ac_val in #(
1543     *${as_nl}*)
1544       case $ac_var in #(
1545       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1546 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1547       esac
1548       case $ac_var in #(
1549       _ | IFS | as_nl) ;; #(
1550       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1551       *) $as_unset $ac_var ;;
1552       esac ;;
1553     esac
1554   done
1555   (set) 2>&1 |
1556     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1557     *${as_nl}ac_space=\ *)
1558       sed -n \
1559         "s/'\''/'\''\\\\'\'''\''/g;
1560           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1561       ;; #(
1562     *)
1563       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1564       ;;
1565     esac |
1566     sort
1567 )
1568     echo
1569
1570     cat <<\_ASBOX
1571 ## ----------------- ##
1572 ## Output variables. ##
1573 ## ----------------- ##
1574 _ASBOX
1575     echo
1576     for ac_var in $ac_subst_vars
1577     do
1578       eval ac_val=\$$ac_var
1579       case $ac_val in
1580       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1581       esac
1582       $as_echo "$ac_var='\''$ac_val'\''"
1583     done | sort
1584     echo
1585
1586     if test -n "$ac_subst_files"; then
1587       cat <<\_ASBOX
1588 ## ------------------- ##
1589 ## File substitutions. ##
1590 ## ------------------- ##
1591 _ASBOX
1592       echo
1593       for ac_var in $ac_subst_files
1594       do
1595         eval ac_val=\$$ac_var
1596         case $ac_val in
1597         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1598         esac
1599         $as_echo "$ac_var='\''$ac_val'\''"
1600       done | sort
1601       echo
1602     fi
1603
1604     if test -s confdefs.h; then
1605       cat <<\_ASBOX
1606 ## ----------- ##
1607 ## confdefs.h. ##
1608 ## ----------- ##
1609 _ASBOX
1610       echo
1611       cat confdefs.h
1612       echo
1613     fi
1614     test "$ac_signal" != 0 &&
1615       $as_echo "$as_me: caught signal $ac_signal"
1616     $as_echo "$as_me: exit $exit_status"
1617   } >&5
1618   rm -f core *.core core.conftest.* &&
1619     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1620     exit $exit_status
1621 ' 0
1622 for ac_signal in 1 2 13 15; do
1623   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1624 done
1625 ac_signal=0
1626
1627 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1628 rm -f -r conftest* confdefs.h
1629
1630 # Predefined preprocessor variables.
1631
1632 cat >>confdefs.h <<_ACEOF
1633 #define PACKAGE_NAME "$PACKAGE_NAME"
1634 _ACEOF
1635
1636
1637 cat >>confdefs.h <<_ACEOF
1638 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1639 _ACEOF
1640
1641
1642 cat >>confdefs.h <<_ACEOF
1643 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1644 _ACEOF
1645
1646
1647 cat >>confdefs.h <<_ACEOF
1648 #define PACKAGE_STRING "$PACKAGE_STRING"
1649 _ACEOF
1650
1651
1652 cat >>confdefs.h <<_ACEOF
1653 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1654 _ACEOF
1655
1656
1657 # Let the site file select an alternate cache file if it wants to.
1658 # Prefer an explicitly selected file to automatically selected ones.
1659 ac_site_file1=NONE
1660 ac_site_file2=NONE
1661 if test -n "$CONFIG_SITE"; then
1662   ac_site_file1=$CONFIG_SITE
1663 elif test "x$prefix" != xNONE; then
1664   ac_site_file1=$prefix/share/config.site
1665   ac_site_file2=$prefix/etc/config.site
1666 else
1667   ac_site_file1=$ac_default_prefix/share/config.site
1668   ac_site_file2=$ac_default_prefix/etc/config.site
1669 fi
1670 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1671 do
1672   test "x$ac_site_file" = xNONE && continue
1673   if test -r "$ac_site_file"; then
1674     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1675 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1676     sed 's/^/| /' "$ac_site_file" >&5
1677     . "$ac_site_file"
1678   fi
1679 done
1680
1681 if test -r "$cache_file"; then
1682   # Some versions of bash will fail to source /dev/null (special
1683   # files actually), so we avoid doing that.
1684   if test -f "$cache_file"; then
1685     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1686 $as_echo "$as_me: loading cache $cache_file" >&6;}
1687     case $cache_file in
1688       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1689       *)                      . "./$cache_file";;
1690     esac
1691   fi
1692 else
1693   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1694 $as_echo "$as_me: creating cache $cache_file" >&6;}
1695   >$cache_file
1696 fi
1697
1698 # Check that the precious variables saved in the cache have kept the same
1699 # value.
1700 ac_cache_corrupted=false
1701 for ac_var in $ac_precious_vars; do
1702   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1703   eval ac_new_set=\$ac_env_${ac_var}_set
1704   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1705   eval ac_new_val=\$ac_env_${ac_var}_value
1706   case $ac_old_set,$ac_new_set in
1707     set,)
1708       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1709 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1710       ac_cache_corrupted=: ;;
1711     ,set)
1712       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1713 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1714       ac_cache_corrupted=: ;;
1715     ,);;
1716     *)
1717       if test "x$ac_old_val" != "x$ac_new_val"; then
1718         # differences in whitespace do not lead to failure.
1719         ac_old_val_w=`echo x $ac_old_val`
1720         ac_new_val_w=`echo x $ac_new_val`
1721         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1722           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1723 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1724           ac_cache_corrupted=:
1725         else
1726           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1727 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1728           eval $ac_var=\$ac_old_val
1729         fi
1730         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1731 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1732         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1733 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1734       fi;;
1735   esac
1736   # Pass precious variables to config.status.
1737   if test "$ac_new_set" = set; then
1738     case $ac_new_val in
1739     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1740     *) ac_arg=$ac_var=$ac_new_val ;;
1741     esac
1742     case " $ac_configure_args " in
1743       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1744       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1745     esac
1746   fi
1747 done
1748 if $ac_cache_corrupted; then
1749   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1751   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1752 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1753   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1754 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1755    { (exit 1); exit 1; }; }
1756 fi
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782 ac_ext=c
1783 ac_cpp='$CPP $CPPFLAGS'
1784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1787
1788
1789
1790  { $as_echo "$as_me:$LINENO: checking package version" >&5
1791 $as_echo_n "checking package version... " >&6; }
1792  PACKAGE_VERSION=`awk '$2 == "'"__MINGW32_VERSION"'" { print $3 }' ${srcdir}/include/_mingw.h`
1793  { $as_echo "$as_me:$LINENO: result: $PACKAGE_VERSION" >&5
1794 $as_echo "$PACKAGE_VERSION" >&6; }
1795
1796 ac_aux_dir=
1797 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1798   if test -f "$ac_dir/install-sh"; then
1799     ac_aux_dir=$ac_dir
1800     ac_install_sh="$ac_aux_dir/install-sh -c"
1801     break
1802   elif test -f "$ac_dir/install.sh"; then
1803     ac_aux_dir=$ac_dir
1804     ac_install_sh="$ac_aux_dir/install.sh -c"
1805     break
1806   elif test -f "$ac_dir/shtool"; then
1807     ac_aux_dir=$ac_dir
1808     ac_install_sh="$ac_aux_dir/shtool install -c"
1809     break
1810   fi
1811 done
1812 if test -z "$ac_aux_dir"; then
1813   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1814 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1815    { (exit 1); exit 1; }; }
1816 fi
1817
1818 # These three variables are undocumented and unsupported,
1819 # and are intended to be withdrawn in a future Autoconf release.
1820 # They can cause serious problems if a builder's source tree is in a directory
1821 # whose full name contains unusual characters.
1822 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1823 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1824 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1825
1826
1827 # Make sure we can run config.sub.
1828 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1829   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1830 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1831    { (exit 1); exit 1; }; }
1832
1833 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1834 $as_echo_n "checking build system type... " >&6; }
1835 if test "${ac_cv_build+set}" = set; then
1836   $as_echo_n "(cached) " >&6
1837 else
1838   ac_build_alias=$build_alias
1839 test "x$ac_build_alias" = x &&
1840   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1841 test "x$ac_build_alias" = x &&
1842   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1843 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1844    { (exit 1); exit 1; }; }
1845 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1846   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1847 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1848    { (exit 1); exit 1; }; }
1849
1850 fi
1851 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1852 $as_echo "$ac_cv_build" >&6; }
1853 case $ac_cv_build in
1854 *-*-*) ;;
1855 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1856 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1857    { (exit 1); exit 1; }; };;
1858 esac
1859 build=$ac_cv_build
1860 ac_save_IFS=$IFS; IFS='-'
1861 set x $ac_cv_build
1862 shift
1863 build_cpu=$1
1864 build_vendor=$2
1865 shift; shift
1866 # Remember, the first character of IFS is used to create $*,
1867 # except with old shells:
1868 build_os=$*
1869 IFS=$ac_save_IFS
1870 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1871
1872
1873 { $as_echo "$as_me:$LINENO: checking host system type" >&5
1874 $as_echo_n "checking host system type... " >&6; }
1875 if test "${ac_cv_host+set}" = set; then
1876   $as_echo_n "(cached) " >&6
1877 else
1878   if test "x$host_alias" = x; then
1879   ac_cv_host=$ac_cv_build
1880 else
1881   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1882     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1883 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1884    { (exit 1); exit 1; }; }
1885 fi
1886
1887 fi
1888 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1889 $as_echo "$ac_cv_host" >&6; }
1890 case $ac_cv_host in
1891 *-*-*) ;;
1892 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1893 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
1894    { (exit 1); exit 1; }; };;
1895 esac
1896 host=$ac_cv_host
1897 ac_save_IFS=$IFS; IFS='-'
1898 set x $ac_cv_host
1899 shift
1900 host_cpu=$1
1901 host_vendor=$2
1902 shift; shift
1903 # Remember, the first character of IFS is used to create $*,
1904 # except with old shells:
1905 host_os=$*
1906 IFS=$ac_save_IFS
1907 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1908
1909
1910 { $as_echo "$as_me:$LINENO: checking target system type" >&5
1911 $as_echo_n "checking target system type... " >&6; }
1912 if test "${ac_cv_target+set}" = set; then
1913   $as_echo_n "(cached) " >&6
1914 else
1915   if test "x$target_alias" = x; then
1916   ac_cv_target=$ac_cv_host
1917 else
1918   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1919     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1920 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1921    { (exit 1); exit 1; }; }
1922 fi
1923
1924 fi
1925 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1926 $as_echo "$ac_cv_target" >&6; }
1927 case $ac_cv_target in
1928 *-*-*) ;;
1929 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1930 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
1931    { (exit 1); exit 1; }; };;
1932 esac
1933 target=$ac_cv_target
1934 ac_save_IFS=$IFS; IFS='-'
1935 set x $ac_cv_target
1936 shift
1937 target_cpu=$1
1938 target_vendor=$2
1939 shift; shift
1940 # Remember, the first character of IFS is used to create $*,
1941 # except with old shells:
1942 target_os=$*
1943 IFS=$ac_save_IFS
1944 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1945
1946
1947 # The aliases save the names the user supplied, while $host etc.
1948 # will get canonicalized.
1949 test -n "$target_alias" &&
1950   test "$program_prefix$program_suffix$program_transform_name" = \
1951     NONENONEs,x,x, &&
1952   program_prefix=${target_alias}-
1953
1954 ac_ext=c
1955 ac_cpp='$CPP $CPPFLAGS'
1956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1959 if test -n "$ac_tool_prefix"; then
1960   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1961 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1962 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1963 $as_echo_n "checking for $ac_word... " >&6; }
1964 if test "${ac_cv_prog_CC+set}" = set; then
1965   $as_echo_n "(cached) " >&6
1966 else
1967   if test -n "$CC"; then
1968   ac_cv_prog_CC="$CC" # Let the user override the test.
1969 else
1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1971 for as_dir in $PATH
1972 do
1973   IFS=$as_save_IFS
1974   test -z "$as_dir" && as_dir=.
1975   for ac_exec_ext in '' $ac_executable_extensions; do
1976   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1977     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1978     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1979     break 2
1980   fi
1981 done
1982 done
1983 IFS=$as_save_IFS
1984
1985 fi
1986 fi
1987 CC=$ac_cv_prog_CC
1988 if test -n "$CC"; then
1989   { $as_echo "$as_me:$LINENO: result: $CC" >&5
1990 $as_echo "$CC" >&6; }
1991 else
1992   { $as_echo "$as_me:$LINENO: result: no" >&5
1993 $as_echo "no" >&6; }
1994 fi
1995
1996
1997 fi
1998 if test -z "$ac_cv_prog_CC"; then
1999   ac_ct_CC=$CC
2000   # Extract the first word of "gcc", so it can be a program name with args.
2001 set dummy gcc; ac_word=$2
2002 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2003 $as_echo_n "checking for $ac_word... " >&6; }
2004 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2005   $as_echo_n "(cached) " >&6
2006 else
2007   if test -n "$ac_ct_CC"; then
2008   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2009 else
2010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2011 for as_dir in $PATH
2012 do
2013   IFS=$as_save_IFS
2014   test -z "$as_dir" && as_dir=.
2015   for ac_exec_ext in '' $ac_executable_extensions; do
2016   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2017     ac_cv_prog_ac_ct_CC="gcc"
2018     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2019     break 2
2020   fi
2021 done
2022 done
2023 IFS=$as_save_IFS
2024
2025 fi
2026 fi
2027 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2028 if test -n "$ac_ct_CC"; then
2029   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2030 $as_echo "$ac_ct_CC" >&6; }
2031 else
2032   { $as_echo "$as_me:$LINENO: result: no" >&5
2033 $as_echo "no" >&6; }
2034 fi
2035
2036   if test "x$ac_ct_CC" = x; then
2037     CC=""
2038   else
2039     case $cross_compiling:$ac_tool_warned in
2040 yes:)
2041 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2043 ac_tool_warned=yes ;;
2044 esac
2045     CC=$ac_ct_CC
2046   fi
2047 else
2048   CC="$ac_cv_prog_CC"
2049 fi
2050
2051 if test -z "$CC"; then
2052           if test -n "$ac_tool_prefix"; then
2053     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2054 set dummy ${ac_tool_prefix}cc; ac_word=$2
2055 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2056 $as_echo_n "checking for $ac_word... " >&6; }
2057 if test "${ac_cv_prog_CC+set}" = set; then
2058   $as_echo_n "(cached) " >&6
2059 else
2060   if test -n "$CC"; then
2061   ac_cv_prog_CC="$CC" # Let the user override the test.
2062 else
2063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2064 for as_dir in $PATH
2065 do
2066   IFS=$as_save_IFS
2067   test -z "$as_dir" && as_dir=.
2068   for ac_exec_ext in '' $ac_executable_extensions; do
2069   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2070     ac_cv_prog_CC="${ac_tool_prefix}cc"
2071     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2072     break 2
2073   fi
2074 done
2075 done
2076 IFS=$as_save_IFS
2077
2078 fi
2079 fi
2080 CC=$ac_cv_prog_CC
2081 if test -n "$CC"; then
2082   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2083 $as_echo "$CC" >&6; }
2084 else
2085   { $as_echo "$as_me:$LINENO: result: no" >&5
2086 $as_echo "no" >&6; }
2087 fi
2088
2089
2090   fi
2091 fi
2092 if test -z "$CC"; then
2093   # Extract the first word of "cc", so it can be a program name with args.
2094 set dummy cc; ac_word=$2
2095 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2096 $as_echo_n "checking for $ac_word... " >&6; }
2097 if test "${ac_cv_prog_CC+set}" = set; then
2098   $as_echo_n "(cached) " >&6
2099 else
2100   if test -n "$CC"; then
2101   ac_cv_prog_CC="$CC" # Let the user override the test.
2102 else
2103   ac_prog_rejected=no
2104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 for as_dir in $PATH
2106 do
2107   IFS=$as_save_IFS
2108   test -z "$as_dir" && as_dir=.
2109   for ac_exec_ext in '' $ac_executable_extensions; do
2110   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2111     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2112        ac_prog_rejected=yes
2113        continue
2114      fi
2115     ac_cv_prog_CC="cc"
2116     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2117     break 2
2118   fi
2119 done
2120 done
2121 IFS=$as_save_IFS
2122
2123 if test $ac_prog_rejected = yes; then
2124   # We found a bogon in the path, so make sure we never use it.
2125   set dummy $ac_cv_prog_CC
2126   shift
2127   if test $# != 0; then
2128     # We chose a different compiler from the bogus one.
2129     # However, it has the same basename, so the bogon will be chosen
2130     # first if we set CC to just the basename; use the full file name.
2131     shift
2132     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2133   fi
2134 fi
2135 fi
2136 fi
2137 CC=$ac_cv_prog_CC
2138 if test -n "$CC"; then
2139   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2140 $as_echo "$CC" >&6; }
2141 else
2142   { $as_echo "$as_me:$LINENO: result: no" >&5
2143 $as_echo "no" >&6; }
2144 fi
2145
2146
2147 fi
2148 if test -z "$CC"; then
2149   if test -n "$ac_tool_prefix"; then
2150   for ac_prog in cl.exe
2151   do
2152     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2153 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2154 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2155 $as_echo_n "checking for $ac_word... " >&6; }
2156 if test "${ac_cv_prog_CC+set}" = set; then
2157   $as_echo_n "(cached) " >&6
2158 else
2159   if test -n "$CC"; then
2160   ac_cv_prog_CC="$CC" # Let the user override the test.
2161 else
2162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2163 for as_dir in $PATH
2164 do
2165   IFS=$as_save_IFS
2166   test -z "$as_dir" && as_dir=.
2167   for ac_exec_ext in '' $ac_executable_extensions; do
2168   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2169     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2170     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2171     break 2
2172   fi
2173 done
2174 done
2175 IFS=$as_save_IFS
2176
2177 fi
2178 fi
2179 CC=$ac_cv_prog_CC
2180 if test -n "$CC"; then
2181   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2182 $as_echo "$CC" >&6; }
2183 else
2184   { $as_echo "$as_me:$LINENO: result: no" >&5
2185 $as_echo "no" >&6; }
2186 fi
2187
2188
2189     test -n "$CC" && break
2190   done
2191 fi
2192 if test -z "$CC"; then
2193   ac_ct_CC=$CC
2194   for ac_prog in cl.exe
2195 do
2196   # Extract the first word of "$ac_prog", so it can be a program name with args.
2197 set dummy $ac_prog; ac_word=$2
2198 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2199 $as_echo_n "checking for $ac_word... " >&6; }
2200 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2201   $as_echo_n "(cached) " >&6
2202 else
2203   if test -n "$ac_ct_CC"; then
2204   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2205 else
2206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 for as_dir in $PATH
2208 do
2209   IFS=$as_save_IFS
2210   test -z "$as_dir" && as_dir=.
2211   for ac_exec_ext in '' $ac_executable_extensions; do
2212   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2213     ac_cv_prog_ac_ct_CC="$ac_prog"
2214     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2215     break 2
2216   fi
2217 done
2218 done
2219 IFS=$as_save_IFS
2220
2221 fi
2222 fi
2223 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2224 if test -n "$ac_ct_CC"; then
2225   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2226 $as_echo "$ac_ct_CC" >&6; }
2227 else
2228   { $as_echo "$as_me:$LINENO: result: no" >&5
2229 $as_echo "no" >&6; }
2230 fi
2231
2232
2233   test -n "$ac_ct_CC" && break
2234 done
2235
2236   if test "x$ac_ct_CC" = x; then
2237     CC=""
2238   else
2239     case $cross_compiling:$ac_tool_warned in
2240 yes:)
2241 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2243 ac_tool_warned=yes ;;
2244 esac
2245     CC=$ac_ct_CC
2246   fi
2247 fi
2248
2249 fi
2250
2251
2252 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2254 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2255 See \`config.log' for more details." >&5
2256 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2257 See \`config.log' for more details." >&2;}
2258    { (exit 1); exit 1; }; }; }
2259
2260 # Provide some information about the compiler.
2261 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2262 set X $ac_compile
2263 ac_compiler=$2
2264 { (ac_try="$ac_compiler --version >&5"
2265 case "(($ac_try" in
2266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2267   *) ac_try_echo=$ac_try;;
2268 esac
2269 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2270 $as_echo "$ac_try_echo") >&5
2271   (eval "$ac_compiler --version >&5") 2>&5
2272   ac_status=$?
2273   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274   (exit $ac_status); }
2275 { (ac_try="$ac_compiler -v >&5"
2276 case "(($ac_try" in
2277   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2278   *) ac_try_echo=$ac_try;;
2279 esac
2280 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2281 $as_echo "$ac_try_echo") >&5
2282   (eval "$ac_compiler -v >&5") 2>&5
2283   ac_status=$?
2284   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285   (exit $ac_status); }
2286 { (ac_try="$ac_compiler -V >&5"
2287 case "(($ac_try" in
2288   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2289   *) ac_try_echo=$ac_try;;
2290 esac
2291 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2292 $as_echo "$ac_try_echo") >&5
2293   (eval "$ac_compiler -V >&5") 2>&5
2294   ac_status=$?
2295   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296   (exit $ac_status); }
2297
2298 cat >conftest.$ac_ext <<_ACEOF
2299 /* confdefs.h.  */
2300 _ACEOF
2301 cat confdefs.h >>conftest.$ac_ext
2302 cat >>conftest.$ac_ext <<_ACEOF
2303 /* end confdefs.h.  */
2304
2305 int
2306 main ()
2307 {
2308
2309   ;
2310   return 0;
2311 }
2312 _ACEOF
2313 # FIXME: Cleanup?
2314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2315   (eval $ac_link) 2>&5
2316   ac_status=$?
2317   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318   (exit $ac_status); }; then
2319   gcc_no_link=no
2320 else
2321   gcc_no_link=yes
2322 fi
2323
2324 if test x$gcc_no_link = xyes; then
2325   # Setting cross_compile will disable run tests; it will
2326   # also disable AC_CHECK_FILE but that's generally
2327   # correct if we can't link.
2328   cross_compiling=yes
2329   EXEEXT=
2330 else
2331   cat >conftest.$ac_ext <<_ACEOF
2332 /* confdefs.h.  */
2333 _ACEOF
2334 cat confdefs.h >>conftest.$ac_ext
2335 cat >>conftest.$ac_ext <<_ACEOF
2336 /* end confdefs.h.  */
2337
2338 int
2339 main ()
2340 {
2341
2342   ;
2343   return 0;
2344 }
2345 _ACEOF
2346 ac_clean_files_save=$ac_clean_files
2347 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2348 # Try to create an executable without -o first, disregard a.out.
2349 # It will help us diagnose broken compilers, and finding out an intuition
2350 # of exeext.
2351 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2352 $as_echo_n "checking for C compiler default output file name... " >&6; }
2353 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2354
2355 # The possible output files:
2356 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2357
2358 ac_rmfiles=
2359 for ac_file in $ac_files
2360 do
2361   case $ac_file in
2362     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2363     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2364   esac
2365 done
2366 rm -f $ac_rmfiles
2367
2368 if { (ac_try="$ac_link_default"
2369 case "(($ac_try" in
2370   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2371   *) ac_try_echo=$ac_try;;
2372 esac
2373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2374 $as_echo "$ac_try_echo") >&5
2375   (eval "$ac_link_default") 2>&5
2376   ac_status=$?
2377   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378   (exit $ac_status); }; then
2379   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2380 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2381 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2382 # so that the user can short-circuit this test for compilers unknown to
2383 # Autoconf.
2384 for ac_file in $ac_files ''
2385 do
2386   test -f "$ac_file" || continue
2387   case $ac_file in
2388     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2389         ;;
2390     [ab].out )
2391         # We found the default executable, but exeext='' is most
2392         # certainly right.
2393         break;;
2394     *.* )
2395         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2396         then :; else
2397            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2398         fi
2399         # We set ac_cv_exeext here because the later test for it is not
2400         # safe: cross compilers may not add the suffix if given an `-o'
2401         # argument, so we may need to know it at that point already.
2402         # Even if this section looks crufty: it has the advantage of
2403         # actually working.
2404         break;;
2405     * )
2406         break;;
2407   esac
2408 done
2409 test "$ac_cv_exeext" = no && ac_cv_exeext=
2410
2411 else
2412   ac_file=''
2413 fi
2414
2415 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2416 $as_echo "$ac_file" >&6; }
2417 if test -z "$ac_file"; then
2418   $as_echo "$as_me: failed program was:" >&5
2419 sed 's/^/| /' conftest.$ac_ext >&5
2420
2421 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2423 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2424 See \`config.log' for more details." >&5
2425 $as_echo "$as_me: error: C compiler cannot create executables
2426 See \`config.log' for more details." >&2;}
2427    { (exit 77); exit 77; }; }; }
2428 fi
2429
2430 ac_exeext=$ac_cv_exeext
2431
2432 # Check that the compiler produces executables we can run.  If not, either
2433 # the compiler is broken, or we cross compile.
2434 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2435 $as_echo_n "checking whether the C compiler works... " >&6; }
2436 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2437 # If not cross compiling, check that we can run a simple program.
2438 if test "$cross_compiling" != yes; then
2439   if { ac_try='./$ac_file'
2440   { (case "(($ac_try" in
2441   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2442   *) ac_try_echo=$ac_try;;
2443 esac
2444 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2445 $as_echo "$ac_try_echo") >&5
2446   (eval "$ac_try") 2>&5
2447   ac_status=$?
2448   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2449   (exit $ac_status); }; }; then
2450     cross_compiling=no
2451   else
2452     if test "$cross_compiling" = maybe; then
2453         cross_compiling=yes
2454     else
2455         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2457 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2458 If you meant to cross compile, use \`--host'.
2459 See \`config.log' for more details." >&5
2460 $as_echo "$as_me: error: cannot run C compiled programs.
2461 If you meant to cross compile, use \`--host'.
2462 See \`config.log' for more details." >&2;}
2463    { (exit 1); exit 1; }; }; }
2464     fi
2465   fi
2466 fi
2467 { $as_echo "$as_me:$LINENO: result: yes" >&5
2468 $as_echo "yes" >&6; }
2469
2470 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2471 ac_clean_files=$ac_clean_files_save
2472 # Check that the compiler produces executables we can run.  If not, either
2473 # the compiler is broken, or we cross compile.
2474 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2475 $as_echo_n "checking whether we are cross compiling... " >&6; }
2476 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2477 $as_echo "$cross_compiling" >&6; }
2478
2479 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2480 $as_echo_n "checking for suffix of executables... " >&6; }
2481 if { (ac_try="$ac_link"
2482 case "(($ac_try" in
2483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2484   *) ac_try_echo=$ac_try;;
2485 esac
2486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2487 $as_echo "$ac_try_echo") >&5
2488   (eval "$ac_link") 2>&5
2489   ac_status=$?
2490   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491   (exit $ac_status); }; then
2492   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2493 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2494 # work properly (i.e., refer to `conftest.exe'), while it won't with
2495 # `rm'.
2496 for ac_file in conftest.exe conftest conftest.*; do
2497   test -f "$ac_file" || continue
2498   case $ac_file in
2499     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2500     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2501           break;;
2502     * ) break;;
2503   esac
2504 done
2505 else
2506   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2508 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2509 See \`config.log' for more details." >&5
2510 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2511 See \`config.log' for more details." >&2;}
2512    { (exit 1); exit 1; }; }; }
2513 fi
2514
2515 rm -f conftest$ac_cv_exeext
2516 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2517 $as_echo "$ac_cv_exeext" >&6; }
2518
2519 rm -f conftest.$ac_ext
2520 EXEEXT=$ac_cv_exeext
2521 ac_exeext=$EXEEXT
2522 fi
2523 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2524 $as_echo_n "checking for suffix of object files... " >&6; }
2525 if test "${ac_cv_objext+set}" = set; then
2526   $as_echo_n "(cached) " >&6
2527 else
2528   cat >conftest.$ac_ext <<_ACEOF
2529 /* confdefs.h.  */
2530 _ACEOF
2531 cat confdefs.h >>conftest.$ac_ext
2532 cat >>conftest.$ac_ext <<_ACEOF
2533 /* end confdefs.h.  */
2534
2535 int
2536 main ()
2537 {
2538
2539   ;
2540   return 0;
2541 }
2542 _ACEOF
2543 rm -f conftest.o conftest.obj
2544 if { (ac_try="$ac_compile"
2545 case "(($ac_try" in
2546   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2547   *) ac_try_echo=$ac_try;;
2548 esac
2549 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2550 $as_echo "$ac_try_echo") >&5
2551   (eval "$ac_compile") 2>&5
2552   ac_status=$?
2553   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554   (exit $ac_status); }; then
2555   for ac_file in conftest.o conftest.obj conftest.*; do
2556   test -f "$ac_file" || continue;
2557   case $ac_file in
2558     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2559     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2560        break;;
2561   esac
2562 done
2563 else
2564   $as_echo "$as_me: failed program was:" >&5
2565 sed 's/^/| /' conftest.$ac_ext >&5
2566
2567 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2569 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2570 See \`config.log' for more details." >&5
2571 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2572 See \`config.log' for more details." >&2;}
2573    { (exit 1); exit 1; }; }; }
2574 fi
2575
2576 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2577 fi
2578 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2579 $as_echo "$ac_cv_objext" >&6; }
2580 OBJEXT=$ac_cv_objext
2581 ac_objext=$OBJEXT
2582 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2583 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2584 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2585   $as_echo_n "(cached) " >&6
2586 else
2587   cat >conftest.$ac_ext <<_ACEOF
2588 /* confdefs.h.  */
2589 _ACEOF
2590 cat confdefs.h >>conftest.$ac_ext
2591 cat >>conftest.$ac_ext <<_ACEOF
2592 /* end confdefs.h.  */
2593
2594 int
2595 main ()
2596 {
2597 #ifndef __GNUC__
2598        choke me
2599 #endif
2600
2601   ;
2602   return 0;
2603 }
2604 _ACEOF
2605 rm -f conftest.$ac_objext
2606 if { (ac_try="$ac_compile"
2607 case "(($ac_try" in
2608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2609   *) ac_try_echo=$ac_try;;
2610 esac
2611 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2612 $as_echo "$ac_try_echo") >&5
2613   (eval "$ac_compile") 2>conftest.er1
2614   ac_status=$?
2615   grep -v '^ *+' conftest.er1 >conftest.err
2616   rm -f conftest.er1
2617   cat conftest.err >&5
2618   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2619   (exit $ac_status); } && {
2620          test -z "$ac_c_werror_flag" ||
2621          test ! -s conftest.err
2622        } && test -s conftest.$ac_objext; then
2623   ac_compiler_gnu=yes
2624 else
2625   $as_echo "$as_me: failed program was:" >&5
2626 sed 's/^/| /' conftest.$ac_ext >&5
2627
2628         ac_compiler_gnu=no
2629 fi
2630
2631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2632 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2633
2634 fi
2635 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2636 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2637 if test $ac_compiler_gnu = yes; then
2638   GCC=yes
2639 else
2640   GCC=
2641 fi
2642 ac_test_CFLAGS=${CFLAGS+set}
2643 ac_save_CFLAGS=$CFLAGS
2644 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2645 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2646 if test "${ac_cv_prog_cc_g+set}" = set; then
2647   $as_echo_n "(cached) " >&6
2648 else
2649   ac_save_c_werror_flag=$ac_c_werror_flag
2650    ac_c_werror_flag=yes
2651    ac_cv_prog_cc_g=no
2652    CFLAGS="-g"
2653    cat >conftest.$ac_ext <<_ACEOF
2654 /* confdefs.h.  */
2655 _ACEOF
2656 cat confdefs.h >>conftest.$ac_ext
2657 cat >>conftest.$ac_ext <<_ACEOF
2658 /* end confdefs.h.  */
2659
2660 int
2661 main ()
2662 {
2663
2664   ;
2665   return 0;
2666 }
2667 _ACEOF
2668 rm -f conftest.$ac_objext
2669 if { (ac_try="$ac_compile"
2670 case "(($ac_try" in
2671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2672   *) ac_try_echo=$ac_try;;
2673 esac
2674 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2675 $as_echo "$ac_try_echo") >&5
2676   (eval "$ac_compile") 2>conftest.er1
2677   ac_status=$?
2678   grep -v '^ *+' conftest.er1 >conftest.err
2679   rm -f conftest.er1
2680   cat conftest.err >&5
2681   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682   (exit $ac_status); } && {
2683          test -z "$ac_c_werror_flag" ||
2684          test ! -s conftest.err
2685        } && test -s conftest.$ac_objext; then
2686   ac_cv_prog_cc_g=yes
2687 else
2688   $as_echo "$as_me: failed program was:" >&5
2689 sed 's/^/| /' conftest.$ac_ext >&5
2690
2691         CFLAGS=""
2692       cat >conftest.$ac_ext <<_ACEOF
2693 /* confdefs.h.  */
2694 _ACEOF
2695 cat confdefs.h >>conftest.$ac_ext
2696 cat >>conftest.$ac_ext <<_ACEOF
2697 /* end confdefs.h.  */
2698
2699 int
2700 main ()
2701 {
2702
2703   ;
2704   return 0;
2705 }
2706 _ACEOF
2707 rm -f conftest.$ac_objext
2708 if { (ac_try="$ac_compile"
2709 case "(($ac_try" in
2710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2711   *) ac_try_echo=$ac_try;;
2712 esac
2713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2714 $as_echo "$ac_try_echo") >&5
2715   (eval "$ac_compile") 2>conftest.er1
2716   ac_status=$?
2717   grep -v '^ *+' conftest.er1 >conftest.err
2718   rm -f conftest.er1
2719   cat conftest.err >&5
2720   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721   (exit $ac_status); } && {
2722          test -z "$ac_c_werror_flag" ||
2723          test ! -s conftest.err
2724        } && test -s conftest.$ac_objext; then
2725   :
2726 else
2727   $as_echo "$as_me: failed program was:" >&5
2728 sed 's/^/| /' conftest.$ac_ext >&5
2729
2730         ac_c_werror_flag=$ac_save_c_werror_flag
2731          CFLAGS="-g"
2732          cat >conftest.$ac_ext <<_ACEOF
2733 /* confdefs.h.  */
2734 _ACEOF
2735 cat confdefs.h >>conftest.$ac_ext
2736 cat >>conftest.$ac_ext <<_ACEOF
2737 /* end confdefs.h.  */
2738
2739 int
2740 main ()
2741 {
2742
2743   ;
2744   return 0;
2745 }
2746 _ACEOF
2747 rm -f conftest.$ac_objext
2748 if { (ac_try="$ac_compile"
2749 case "(($ac_try" in
2750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2751   *) ac_try_echo=$ac_try;;
2752 esac
2753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2754 $as_echo "$ac_try_echo") >&5
2755   (eval "$ac_compile") 2>conftest.er1
2756   ac_status=$?
2757   grep -v '^ *+' conftest.er1 >conftest.err
2758   rm -f conftest.er1
2759   cat conftest.err >&5
2760   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761   (exit $ac_status); } && {
2762          test -z "$ac_c_werror_flag" ||
2763          test ! -s conftest.err
2764        } && test -s conftest.$ac_objext; then
2765   ac_cv_prog_cc_g=yes
2766 else
2767   $as_echo "$as_me: failed program was:" >&5
2768 sed 's/^/| /' conftest.$ac_ext >&5
2769
2770
2771 fi
2772
2773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2774 fi
2775
2776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2777 fi
2778
2779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2780    ac_c_werror_flag=$ac_save_c_werror_flag
2781 fi
2782 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2783 $as_echo "$ac_cv_prog_cc_g" >&6; }
2784 if test "$ac_test_CFLAGS" = set; then
2785   CFLAGS=$ac_save_CFLAGS
2786 elif test $ac_cv_prog_cc_g = yes; then
2787   if test "$GCC" = yes; then
2788     CFLAGS="-g -O2"
2789   else
2790     CFLAGS="-g"
2791   fi
2792 else
2793   if test "$GCC" = yes; then
2794     CFLAGS="-O2"
2795   else
2796     CFLAGS=
2797   fi
2798 fi
2799 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2800 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2801 if test "${ac_cv_prog_cc_c89+set}" = set; then
2802   $as_echo_n "(cached) " >&6
2803 else
2804   ac_cv_prog_cc_c89=no
2805 ac_save_CC=$CC
2806 cat >conftest.$ac_ext <<_ACEOF
2807 /* confdefs.h.  */
2808 _ACEOF
2809 cat confdefs.h >>conftest.$ac_ext
2810 cat >>conftest.$ac_ext <<_ACEOF
2811 /* end confdefs.h.  */
2812 #include <stdarg.h>
2813 #include <stdio.h>
2814 #include <sys/types.h>
2815 #include <sys/stat.h>
2816 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2817 struct buf { int x; };
2818 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2819 static char *e (p, i)
2820      char **p;
2821      int i;
2822 {
2823   return p[i];
2824 }
2825 static char *f (char * (*g) (char **, int), char **p, ...)
2826 {
2827   char *s;
2828   va_list v;
2829   va_start (v,p);
2830   s = g (p, va_arg (v,int));
2831   va_end (v);
2832   return s;
2833 }
2834
2835 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2836    function prototypes and stuff, but not '\xHH' hex character constants.
2837    These don't provoke an error unfortunately, instead are silently treated
2838    as 'x'.  The following induces an error, until -std is added to get
2839    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2840    array size at least.  It's necessary to write '\x00'==0 to get something
2841    that's true only with -std.  */
2842 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2843
2844 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2845    inside strings and character constants.  */
2846 #define FOO(x) 'x'
2847 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2848
2849 int test (int i, double x);
2850 struct s1 {int (*f) (int a);};
2851 struct s2 {int (*f) (double a);};
2852 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2853 int argc;
2854 char **argv;
2855 int
2856 main ()
2857 {
2858 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2859   ;
2860   return 0;
2861 }
2862 _ACEOF
2863 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2864         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2865 do
2866   CC="$ac_save_CC $ac_arg"
2867   rm -f conftest.$ac_objext
2868 if { (ac_try="$ac_compile"
2869 case "(($ac_try" in
2870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2871   *) ac_try_echo=$ac_try;;
2872 esac
2873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2874 $as_echo "$ac_try_echo") >&5
2875   (eval "$ac_compile") 2>conftest.er1
2876   ac_status=$?
2877   grep -v '^ *+' conftest.er1 >conftest.err
2878   rm -f conftest.er1
2879   cat conftest.err >&5
2880   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881   (exit $ac_status); } && {
2882          test -z "$ac_c_werror_flag" ||
2883          test ! -s conftest.err
2884        } && test -s conftest.$ac_objext; then
2885   ac_cv_prog_cc_c89=$ac_arg
2886 else
2887   $as_echo "$as_me: failed program was:" >&5
2888 sed 's/^/| /' conftest.$ac_ext >&5
2889
2890
2891 fi
2892
2893 rm -f core conftest.err conftest.$ac_objext
2894   test "x$ac_cv_prog_cc_c89" != "xno" && break
2895 done
2896 rm -f conftest.$ac_ext
2897 CC=$ac_save_CC
2898
2899 fi
2900 # AC_CACHE_VAL
2901 case "x$ac_cv_prog_cc_c89" in
2902   x)
2903     { $as_echo "$as_me:$LINENO: result: none needed" >&5
2904 $as_echo "none needed" >&6; } ;;
2905   xno)
2906     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2907 $as_echo "unsupported" >&6; } ;;
2908   *)
2909     CC="$CC $ac_cv_prog_cc_c89"
2910     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2911 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2912 esac
2913
2914
2915 ac_ext=c
2916 ac_cpp='$CPP $CPPFLAGS'
2917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2920
2921
2922 case "$with_cross_host" in
2923   ""|*cygwin*) all_dlls_host='all_dlls_host'
2924                install_dlls_host='install_dlls_host';;
2925 esac
2926
2927
2928
2929
2930 if test -n "$ac_tool_prefix"; then
2931   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2932 set dummy ${ac_tool_prefix}ar; ac_word=$2
2933 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2934 $as_echo_n "checking for $ac_word... " >&6; }
2935 if test "${ac_cv_prog_AR+set}" = set; then
2936   $as_echo_n "(cached) " >&6
2937 else
2938   if test -n "$AR"; then
2939   ac_cv_prog_AR="$AR" # Let the user override the test.
2940 else
2941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2942 for as_dir in $PATH
2943 do
2944   IFS=$as_save_IFS
2945   test -z "$as_dir" && as_dir=.
2946   for ac_exec_ext in '' $ac_executable_extensions; do
2947   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2948     ac_cv_prog_AR="${ac_tool_prefix}ar"
2949     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2950     break 2
2951   fi
2952 done
2953 done
2954 IFS=$as_save_IFS
2955
2956 fi
2957 fi
2958 AR=$ac_cv_prog_AR
2959 if test -n "$AR"; then
2960   { $as_echo "$as_me:$LINENO: result: $AR" >&5
2961 $as_echo "$AR" >&6; }
2962 else
2963   { $as_echo "$as_me:$LINENO: result: no" >&5
2964 $as_echo "no" >&6; }
2965 fi
2966
2967
2968 fi
2969 if test -z "$ac_cv_prog_AR"; then
2970   ac_ct_AR=$AR
2971   # Extract the first word of "ar", so it can be a program name with args.
2972 set dummy ar; ac_word=$2
2973 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2974 $as_echo_n "checking for $ac_word... " >&6; }
2975 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2976   $as_echo_n "(cached) " >&6
2977 else
2978   if test -n "$ac_ct_AR"; then
2979   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2980 else
2981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2982 for as_dir in $PATH
2983 do
2984   IFS=$as_save_IFS
2985   test -z "$as_dir" && as_dir=.
2986   for ac_exec_ext in '' $ac_executable_extensions; do
2987   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2988     ac_cv_prog_ac_ct_AR="ar"
2989     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2990     break 2
2991   fi
2992 done
2993 done
2994 IFS=$as_save_IFS
2995
2996 fi
2997 fi
2998 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2999 if test -n "$ac_ct_AR"; then
3000   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3001 $as_echo "$ac_ct_AR" >&6; }
3002 else
3003   { $as_echo "$as_me:$LINENO: result: no" >&5
3004 $as_echo "no" >&6; }
3005 fi
3006
3007   if test "x$ac_ct_AR" = x; then
3008     AR="ar"
3009   else
3010     case $cross_compiling:$ac_tool_warned in
3011 yes:)
3012 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3014 ac_tool_warned=yes ;;
3015 esac
3016     AR=$ac_ct_AR
3017   fi
3018 else
3019   AR="$ac_cv_prog_AR"
3020 fi
3021
3022 if test -n "$ac_tool_prefix"; then
3023   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3024 set dummy ${ac_tool_prefix}as; ac_word=$2
3025 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3026 $as_echo_n "checking for $ac_word... " >&6; }
3027 if test "${ac_cv_prog_AS+set}" = set; then
3028   $as_echo_n "(cached) " >&6
3029 else
3030   if test -n "$AS"; then
3031   ac_cv_prog_AS="$AS" # Let the user override the test.
3032 else
3033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3034 for as_dir in $PATH
3035 do
3036   IFS=$as_save_IFS
3037   test -z "$as_dir" && as_dir=.
3038   for ac_exec_ext in '' $ac_executable_extensions; do
3039   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3040     ac_cv_prog_AS="${ac_tool_prefix}as"
3041     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3042     break 2
3043   fi
3044 done
3045 done
3046 IFS=$as_save_IFS
3047
3048 fi
3049 fi
3050 AS=$ac_cv_prog_AS
3051 if test -n "$AS"; then
3052   { $as_echo "$as_me:$LINENO: result: $AS" >&5
3053 $as_echo "$AS" >&6; }
3054 else
3055   { $as_echo "$as_me:$LINENO: result: no" >&5
3056 $as_echo "no" >&6; }
3057 fi
3058
3059
3060 fi
3061 if test -z "$ac_cv_prog_AS"; then
3062   ac_ct_AS=$AS
3063   # Extract the first word of "as", so it can be a program name with args.
3064 set dummy as; ac_word=$2
3065 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3066 $as_echo_n "checking for $ac_word... " >&6; }
3067 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3068   $as_echo_n "(cached) " >&6
3069 else
3070   if test -n "$ac_ct_AS"; then
3071   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3072 else
3073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3074 for as_dir in $PATH
3075 do
3076   IFS=$as_save_IFS
3077   test -z "$as_dir" && as_dir=.
3078   for ac_exec_ext in '' $ac_executable_extensions; do
3079   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3080     ac_cv_prog_ac_ct_AS="as"
3081     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3082     break 2
3083   fi
3084 done
3085 done
3086 IFS=$as_save_IFS
3087
3088 fi
3089 fi
3090 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3091 if test -n "$ac_ct_AS"; then
3092   { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3093 $as_echo "$ac_ct_AS" >&6; }
3094 else
3095   { $as_echo "$as_me:$LINENO: result: no" >&5
3096 $as_echo "no" >&6; }
3097 fi
3098
3099   if test "x$ac_ct_AS" = x; then
3100     AS="as"
3101   else
3102     case $cross_compiling:$ac_tool_warned in
3103 yes:)
3104 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3106 ac_tool_warned=yes ;;
3107 esac
3108     AS=$ac_ct_AS
3109   fi
3110 else
3111   AS="$ac_cv_prog_AS"
3112 fi
3113
3114 if test -n "$ac_tool_prefix"; then
3115   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3116 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3117 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3118 $as_echo_n "checking for $ac_word... " >&6; }
3119 if test "${ac_cv_prog_RANLIB+set}" = set; then
3120   $as_echo_n "(cached) " >&6
3121 else
3122   if test -n "$RANLIB"; then
3123   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3124 else
3125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3126 for as_dir in $PATH
3127 do
3128   IFS=$as_save_IFS
3129   test -z "$as_dir" && as_dir=.
3130   for ac_exec_ext in '' $ac_executable_extensions; do
3131   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3132     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3133     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3134     break 2
3135   fi
3136 done
3137 done
3138 IFS=$as_save_IFS
3139
3140 fi
3141 fi
3142 RANLIB=$ac_cv_prog_RANLIB
3143 if test -n "$RANLIB"; then
3144   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3145 $as_echo "$RANLIB" >&6; }
3146 else
3147   { $as_echo "$as_me:$LINENO: result: no" >&5
3148 $as_echo "no" >&6; }
3149 fi
3150
3151
3152 fi
3153 if test -z "$ac_cv_prog_RANLIB"; then
3154   ac_ct_RANLIB=$RANLIB
3155   # Extract the first word of "ranlib", so it can be a program name with args.
3156 set dummy ranlib; ac_word=$2
3157 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3158 $as_echo_n "checking for $ac_word... " >&6; }
3159 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3160   $as_echo_n "(cached) " >&6
3161 else
3162   if test -n "$ac_ct_RANLIB"; then
3163   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3164 else
3165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3166 for as_dir in $PATH
3167 do
3168   IFS=$as_save_IFS
3169   test -z "$as_dir" && as_dir=.
3170   for ac_exec_ext in '' $ac_executable_extensions; do
3171   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3172     ac_cv_prog_ac_ct_RANLIB="ranlib"
3173     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3174     break 2
3175   fi
3176 done
3177 done
3178 IFS=$as_save_IFS
3179
3180 fi
3181 fi
3182 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3183 if test -n "$ac_ct_RANLIB"; then
3184   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3185 $as_echo "$ac_ct_RANLIB" >&6; }
3186 else
3187   { $as_echo "$as_me:$LINENO: result: no" >&5
3188 $as_echo "no" >&6; }
3189 fi
3190
3191   if test "x$ac_ct_RANLIB" = x; then
3192     RANLIB="ranlib"
3193   else
3194     case $cross_compiling:$ac_tool_warned in
3195 yes:)
3196 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3198 ac_tool_warned=yes ;;
3199 esac
3200     RANLIB=$ac_ct_RANLIB
3201   fi
3202 else
3203   RANLIB="$ac_cv_prog_RANLIB"
3204 fi
3205
3206 if test -n "$ac_tool_prefix"; then
3207   # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3208 set dummy ${ac_tool_prefix}ld; ac_word=$2
3209 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3210 $as_echo_n "checking for $ac_word... " >&6; }
3211 if test "${ac_cv_prog_LD+set}" = set; then
3212   $as_echo_n "(cached) " >&6
3213 else
3214   if test -n "$LD"; then
3215   ac_cv_prog_LD="$LD" # Let the user override the test.
3216 else
3217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3218 for as_dir in $PATH
3219 do
3220   IFS=$as_save_IFS
3221   test -z "$as_dir" && as_dir=.
3222   for ac_exec_ext in '' $ac_executable_extensions; do
3223   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3224     ac_cv_prog_LD="${ac_tool_prefix}ld"
3225     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3226     break 2
3227   fi
3228 done
3229 done
3230 IFS=$as_save_IFS
3231
3232 fi
3233 fi
3234 LD=$ac_cv_prog_LD
3235 if test -n "$LD"; then
3236   { $as_echo "$as_me:$LINENO: result: $LD" >&5
3237 $as_echo "$LD" >&6; }
3238 else
3239   { $as_echo "$as_me:$LINENO: result: no" >&5
3240 $as_echo "no" >&6; }
3241 fi
3242
3243
3244 fi
3245 if test -z "$ac_cv_prog_LD"; then
3246   ac_ct_LD=$LD
3247   # Extract the first word of "ld", so it can be a program name with args.
3248 set dummy ld; ac_word=$2
3249 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3250 $as_echo_n "checking for $ac_word... " >&6; }
3251 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
3252   $as_echo_n "(cached) " >&6
3253 else
3254   if test -n "$ac_ct_LD"; then
3255   ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
3256 else
3257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3258 for as_dir in $PATH
3259 do
3260   IFS=$as_save_IFS
3261   test -z "$as_dir" && as_dir=.
3262   for ac_exec_ext in '' $ac_executable_extensions; do
3263   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3264     ac_cv_prog_ac_ct_LD="ld"
3265     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3266     break 2
3267   fi
3268 done
3269 done
3270 IFS=$as_save_IFS
3271
3272 fi
3273 fi
3274 ac_ct_LD=$ac_cv_prog_ac_ct_LD
3275 if test -n "$ac_ct_LD"; then
3276   { $as_echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
3277 $as_echo "$ac_ct_LD" >&6; }
3278 else
3279   { $as_echo "$as_me:$LINENO: result: no" >&5
3280 $as_echo "no" >&6; }
3281 fi
3282
3283   if test "x$ac_ct_LD" = x; then
3284     LD="ld"
3285   else
3286     case $cross_compiling:$ac_tool_warned in
3287 yes:)
3288 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3290 ac_tool_warned=yes ;;
3291 esac
3292     LD=$ac_ct_LD
3293   fi
3294 else
3295   LD="$ac_cv_prog_LD"
3296 fi
3297
3298 if test -n "$ac_tool_prefix"; then
3299   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
3300 set dummy ${ac_tool_prefix}nm; ac_word=$2
3301 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3302 $as_echo_n "checking for $ac_word... " >&6; }
3303 if test "${ac_cv_prog_NM+set}" = set; then
3304   $as_echo_n "(cached) " >&6
3305 else
3306   if test -n "$NM"; then
3307   ac_cv_prog_NM="$NM" # Let the user override the test.
3308 else
3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3310 for as_dir in $PATH
3311 do
3312   IFS=$as_save_IFS
3313   test -z "$as_dir" && as_dir=.
3314   for ac_exec_ext in '' $ac_executable_extensions; do
3315   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3316     ac_cv_prog_NM="${ac_tool_prefix}nm"
3317     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3318     break 2
3319   fi
3320 done
3321 done
3322 IFS=$as_save_IFS
3323
3324 fi
3325 fi
3326 NM=$ac_cv_prog_NM
3327 if test -n "$NM"; then
3328   { $as_echo "$as_me:$LINENO: result: $NM" >&5
3329 $as_echo "$NM" >&6; }
3330 else
3331   { $as_echo "$as_me:$LINENO: result: no" >&5
3332 $as_echo "no" >&6; }
3333 fi
3334
3335
3336 fi
3337 if test -z "$ac_cv_prog_NM"; then
3338   ac_ct_NM=$NM
3339   # Extract the first word of "nm", so it can be a program name with args.
3340 set dummy nm; ac_word=$2
3341 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3342 $as_echo_n "checking for $ac_word... " >&6; }
3343 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
3344   $as_echo_n "(cached) " >&6
3345 else
3346   if test -n "$ac_ct_NM"; then
3347   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
3348 else
3349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3350 for as_dir in $PATH
3351 do
3352   IFS=$as_save_IFS
3353   test -z "$as_dir" && as_dir=.
3354   for ac_exec_ext in '' $ac_executable_extensions; do
3355   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3356     ac_cv_prog_ac_ct_NM="nm"
3357     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3358     break 2
3359   fi
3360 done
3361 done
3362 IFS=$as_save_IFS
3363
3364 fi
3365 fi
3366 ac_ct_NM=$ac_cv_prog_ac_ct_NM
3367 if test -n "$ac_ct_NM"; then
3368   { $as_echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
3369 $as_echo "$ac_ct_NM" >&6; }
3370 else
3371   { $as_echo "$as_me:$LINENO: result: no" >&5
3372 $as_echo "no" >&6; }
3373 fi
3374
3375   if test "x$ac_ct_NM" = x; then
3376     NM="nm"
3377   else
3378     case $cross_compiling:$ac_tool_warned in
3379 yes:)
3380 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3382 ac_tool_warned=yes ;;
3383 esac
3384     NM=$ac_ct_NM
3385   fi
3386 else
3387   NM="$ac_cv_prog_NM"
3388 fi
3389
3390 if test -n "$ac_tool_prefix"; then
3391   # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
3392 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
3393 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3394 $as_echo_n "checking for $ac_word... " >&6; }
3395 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
3396   $as_echo_n "(cached) " >&6
3397 else
3398   if test -n "$OBJCOPY"; then
3399   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
3400 else
3401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3402 for as_dir in $PATH
3403 do
3404   IFS=$as_save_IFS
3405   test -z "$as_dir" && as_dir=.
3406   for ac_exec_ext in '' $ac_executable_extensions; do
3407   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3408     ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
3409     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3410     break 2
3411   fi
3412 done
3413 done
3414 IFS=$as_save_IFS
3415
3416 fi
3417 fi
3418 OBJCOPY=$ac_cv_prog_OBJCOPY
3419 if test -n "$OBJCOPY"; then
3420   { $as_echo "$as_me:$LINENO: result: $OBJCOPY" >&5
3421 $as_echo "$OBJCOPY" >&6; }
3422 else
3423   { $as_echo "$as_me:$LINENO: result: no" >&5
3424 $as_echo "no" >&6; }
3425 fi
3426
3427
3428 fi
3429 if test -z "$ac_cv_prog_OBJCOPY"; then
3430   ac_ct_OBJCOPY=$OBJCOPY
3431   # Extract the first word of "objcopy", so it can be a program name with args.
3432 set dummy objcopy; ac_word=$2
3433 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3434 $as_echo_n "checking for $ac_word... " >&6; }
3435 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then
3436   $as_echo_n "(cached) " >&6
3437 else
3438   if test -n "$ac_ct_OBJCOPY"; then
3439   ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
3440 else
3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442 for as_dir in $PATH
3443 do
3444   IFS=$as_save_IFS
3445   test -z "$as_dir" && as_dir=.
3446   for ac_exec_ext in '' $ac_executable_extensions; do
3447   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3448     ac_cv_prog_ac_ct_OBJCOPY="objcopy"
3449     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3450     break 2
3451   fi
3452 done
3453 done
3454 IFS=$as_save_IFS
3455
3456 fi
3457 fi
3458 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
3459 if test -n "$ac_ct_OBJCOPY"; then
3460   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJCOPY" >&5
3461 $as_echo "$ac_ct_OBJCOPY" >&6; }
3462 else
3463   { $as_echo "$as_me:$LINENO: result: no" >&5
3464 $as_echo "no" >&6; }
3465 fi
3466
3467   if test "x$ac_ct_OBJCOPY" = x; then
3468     OBJCOPY="objcopy"
3469   else
3470     case $cross_compiling:$ac_tool_warned in
3471 yes:)
3472 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3474 ac_tool_warned=yes ;;
3475 esac
3476     OBJCOPY=$ac_ct_OBJCOPY
3477   fi
3478 else
3479   OBJCOPY="$ac_cv_prog_OBJCOPY"
3480 fi
3481
3482 if test -n "$ac_tool_prefix"; then
3483   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3484 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3485 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3486 $as_echo_n "checking for $ac_word... " >&6; }
3487 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
3488   $as_echo_n "(cached) " >&6
3489 else
3490   if test -n "$DLLTOOL"; then
3491   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3492 else
3493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3494 for as_dir in $PATH
3495 do
3496   IFS=$as_save_IFS
3497   test -z "$as_dir" && as_dir=.
3498   for ac_exec_ext in '' $ac_executable_extensions; do
3499   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3500     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3501     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3502     break 2
3503   fi
3504 done
3505 done
3506 IFS=$as_save_IFS
3507
3508 fi
3509 fi
3510 DLLTOOL=$ac_cv_prog_DLLTOOL
3511 if test -n "$DLLTOOL"; then
3512   { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
3513 $as_echo "$DLLTOOL" >&6; }
3514 else
3515   { $as_echo "$as_me:$LINENO: result: no" >&5
3516 $as_echo "no" >&6; }
3517 fi
3518
3519
3520 fi
3521 if test -z "$ac_cv_prog_DLLTOOL"; then
3522   ac_ct_DLLTOOL=$DLLTOOL
3523   # Extract the first word of "dlltool", so it can be a program name with args.
3524 set dummy dlltool; ac_word=$2
3525 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3526 $as_echo_n "checking for $ac_word... " >&6; }
3527 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
3528   $as_echo_n "(cached) " >&6
3529 else
3530   if test -n "$ac_ct_DLLTOOL"; then
3531   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3532 else
3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3534 for as_dir in $PATH
3535 do
3536   IFS=$as_save_IFS
3537   test -z "$as_dir" && as_dir=.
3538   for ac_exec_ext in '' $ac_executable_extensions; do
3539   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3540     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3541     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3542     break 2
3543   fi
3544 done
3545 done
3546 IFS=$as_save_IFS
3547
3548 fi
3549 fi
3550 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3551 if test -n "$ac_ct_DLLTOOL"; then
3552   { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3553 $as_echo "$ac_ct_DLLTOOL" >&6; }
3554 else
3555   { $as_echo "$as_me:$LINENO: result: no" >&5
3556 $as_echo "no" >&6; }
3557 fi
3558
3559   if test "x$ac_ct_DLLTOOL" = x; then
3560     DLLTOOL="dlltool"
3561   else
3562     case $cross_compiling:$ac_tool_warned in
3563 yes:)
3564 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3566 ac_tool_warned=yes ;;
3567 esac
3568     DLLTOOL=$ac_ct_DLLTOOL
3569   fi
3570 else
3571   DLLTOOL="$ac_cv_prog_DLLTOOL"
3572 fi
3573
3574 if test -n "$ac_tool_prefix"; then
3575   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3576 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3577 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3578 $as_echo_n "checking for $ac_word... " >&6; }
3579 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
3580   $as_echo_n "(cached) " >&6
3581 else
3582   if test -n "$DLLWRAP"; then
3583   ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
3584 else
3585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586 for as_dir in $PATH
3587 do
3588   IFS=$as_save_IFS
3589   test -z "$as_dir" && as_dir=.
3590   for ac_exec_ext in '' $ac_executable_extensions; do
3591   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3592     ac_cv_prog_DLLWRAP="${ac_tool_prefix}dlltool"
3593     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3594     break 2
3595   fi
3596 done
3597 done
3598 IFS=$as_save_IFS
3599
3600 fi
3601 fi
3602 DLLWRAP=$ac_cv_prog_DLLWRAP
3603 if test -n "$DLLWRAP"; then
3604   { $as_echo "$as_me:$LINENO: result: $DLLWRAP" >&5
3605 $as_echo "$DLLWRAP" >&6; }
3606 else
3607   { $as_echo "$as_me:$LINENO: result: no" >&5
3608 $as_echo "no" >&6; }
3609 fi
3610
3611
3612 fi
3613 if test -z "$ac_cv_prog_DLLWRAP"; then
3614   ac_ct_DLLWRAP=$DLLWRAP
3615   # Extract the first word of "dlltool", so it can be a program name with args.
3616 set dummy dlltool; ac_word=$2
3617 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3618 $as_echo_n "checking for $ac_word... " >&6; }
3619 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
3620   $as_echo_n "(cached) " >&6
3621 else
3622   if test -n "$ac_ct_DLLWRAP"; then
3623   ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
3624 else
3625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3626 for as_dir in $PATH
3627 do
3628   IFS=$as_save_IFS
3629   test -z "$as_dir" && as_dir=.
3630   for ac_exec_ext in '' $ac_executable_extensions; do
3631   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3632     ac_cv_prog_ac_ct_DLLWRAP="dlltool"
3633     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3634     break 2
3635   fi
3636 done
3637 done
3638 IFS=$as_save_IFS
3639
3640 fi
3641 fi
3642 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
3643 if test -n "$ac_ct_DLLWRAP"; then
3644   { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
3645 $as_echo "$ac_ct_DLLWRAP" >&6; }
3646 else
3647   { $as_echo "$as_me:$LINENO: result: no" >&5
3648 $as_echo "no" >&6; }
3649 fi
3650
3651   if test "x$ac_ct_DLLWRAP" = x; then
3652     DLLWRAP="dlltool"
3653   else
3654     case $cross_compiling:$ac_tool_warned in
3655 yes:)
3656 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3658 ac_tool_warned=yes ;;
3659 esac
3660     DLLWRAP=$ac_ct_DLLWRAP
3661   fi
3662 else
3663   DLLWRAP="$ac_cv_prog_DLLWRAP"
3664 fi
3665
3666 if test -n "$ac_tool_prefix"; then
3667   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
3668 set dummy ${ac_tool_prefix}windres; ac_word=$2
3669 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3670 $as_echo_n "checking for $ac_word... " >&6; }
3671 if test "${ac_cv_prog_WINDRES+set}" = set; then
3672   $as_echo_n "(cached) " >&6
3673 else
3674   if test -n "$WINDRES"; then
3675   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
3676 else
3677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3678 for as_dir in $PATH
3679 do
3680   IFS=$as_save_IFS
3681   test -z "$as_dir" && as_dir=.
3682   for ac_exec_ext in '' $ac_executable_extensions; do
3683   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3684     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
3685     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3686     break 2
3687   fi
3688 done
3689 done
3690 IFS=$as_save_IFS
3691
3692 fi
3693 fi
3694 WINDRES=$ac_cv_prog_WINDRES
3695 if test -n "$WINDRES"; then
3696   { $as_echo "$as_me:$LINENO: result: $WINDRES" >&5
3697 $as_echo "$WINDRES" >&6; }
3698 else
3699   { $as_echo "$as_me:$LINENO: result: no" >&5
3700 $as_echo "no" >&6; }
3701 fi
3702
3703
3704 fi
3705 if test -z "$ac_cv_prog_WINDRES"; then
3706   ac_ct_WINDRES=$WINDRES
3707   # Extract the first word of "windres", so it can be a program name with args.
3708 set dummy windres; ac_word=$2
3709 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3710 $as_echo_n "checking for $ac_word... " >&6; }
3711 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
3712   $as_echo_n "(cached) " >&6
3713 else
3714   if test -n "$ac_ct_WINDRES"; then
3715   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
3716 else
3717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3718 for as_dir in $PATH
3719 do
3720   IFS=$as_save_IFS
3721   test -z "$as_dir" && as_dir=.
3722   for ac_exec_ext in '' $ac_executable_extensions; do
3723   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3724     ac_cv_prog_ac_ct_WINDRES="windres"
3725     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3726     break 2
3727   fi
3728 done
3729 done
3730 IFS=$as_save_IFS
3731
3732 fi
3733 fi
3734 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
3735 if test -n "$ac_ct_WINDRES"; then
3736   { $as_echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
3737 $as_echo "$ac_ct_WINDRES" >&6; }
3738 else
3739   { $as_echo "$as_me:$LINENO: result: no" >&5
3740 $as_echo "no" >&6; }
3741 fi
3742
3743   if test "x$ac_ct_WINDRES" = x; then
3744     WINDRES="windres"
3745   else
3746     case $cross_compiling:$ac_tool_warned in
3747 yes:)
3748 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3749 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3750 ac_tool_warned=yes ;;
3751 esac
3752     WINDRES=$ac_ct_WINDRES
3753   fi
3754 else
3755   WINDRES="$ac_cv_prog_WINDRES"
3756 fi
3757
3758
3759
3760
3761 subdirs="$subdirs profile mingwex"
3762
3763 HEADER_SUBDIR=""
3764
3765 LIBGMON_A=libgmon.a
3766
3767 W32API_INCLUDE='-I $(srcdir)/../w32api/include'
3768
3769 case "$target_os" in
3770 *cygwin*)
3771   NO_CYGWIN="$(cd ${srcdir}/../utils; pwd)/mingw"
3772   LIBM_A=libm.a
3773   # Install mingw headers in mingw subdirectory.
3774   HEADER_SUBDIR="mingw"
3775   ;;
3776 *)
3777   # Build it for MSVCRT by default.
3778   NO_CYGWIN=
3779   LIBM_A=libm.a
3780   ;;
3781 esac
3782
3783 # THREAD_DLL used to be set within the above case and was mingwc for CRTDLL.
3784 # I can find no reason to do this.
3785 #
3786 # FIXME: In the future I would like to change the dll name to mingwthrd to
3787 # to match the libmingwthrd.a name.
3788 THREAD_DLL=mingwm
3789
3790
3791 MKINSTALLDIRS=$ac_aux_dir/mkinstalldirs
3792
3793
3794
3795
3796
3797
3798
3799 # Find a good install program.  We prefer a C program (faster),
3800 # so one script is as good as another.  But avoid the broken or
3801 # incompatible versions:
3802 # SysV /etc/install, /usr/sbin/install
3803 # SunOS /usr/etc/install
3804 # IRIX /sbin/install
3805 # AIX /bin/install
3806 # AmigaOS /C/install, which installs bootblocks on floppy discs
3807 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3808 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3809 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3810 # OS/2's system install, which has a completely different semantic
3811 # ./install, which can be erroneously created by make from ./install.sh.
3812 # Reject install programs that cannot install multiple files.
3813 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3814 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3815 if test -z "$INSTALL"; then
3816 if test "${ac_cv_path_install+set}" = set; then
3817   $as_echo_n "(cached) " >&6
3818 else
3819   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3820 for as_dir in $PATH
3821 do
3822   IFS=$as_save_IFS
3823   test -z "$as_dir" && as_dir=.
3824   # Account for people who put trailing slashes in PATH elements.
3825 case $as_dir/ in
3826   ./ | .// | /cC/* | \
3827   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3828   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3829   /usr/ucb/* ) ;;
3830   *)
3831     # OSF1 and SCO ODT 3.0 have their own names for install.
3832     # Don't use installbsd from OSF since it installs stuff as root
3833     # by default.
3834     for ac_prog in ginstall scoinst install; do
3835       for ac_exec_ext in '' $ac_executable_extensions; do
3836         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3837           if test $ac_prog = install &&
3838             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3839             # AIX install.  It has an incompatible calling convention.
3840             :
3841           elif test $ac_prog = install &&
3842             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3843             # program-specific install script used by HP pwplus--don't use.
3844             :
3845           else
3846             rm -rf conftest.one conftest.two conftest.dir
3847             echo one > conftest.one
3848             echo two > conftest.two
3849             mkdir conftest.dir
3850             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3851               test -s conftest.one && test -s conftest.two &&
3852               test -s conftest.dir/conftest.one &&
3853               test -s conftest.dir/conftest.two
3854             then
3855               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3856               break 3
3857             fi
3858           fi
3859         fi
3860       done
3861     done
3862     ;;
3863 esac
3864
3865 done
3866 IFS=$as_save_IFS
3867
3868 rm -rf conftest.one conftest.two conftest.dir
3869
3870 fi
3871   if test "${ac_cv_path_install+set}" = set; then
3872     INSTALL=$ac_cv_path_install
3873   else
3874     # As a last resort, use the slow shell script.  Don't cache a
3875     # value for INSTALL within a source directory, because that will
3876     # break other packages using the cache if that directory is
3877     # removed, or if the value is a relative name.
3878     INSTALL=$ac_install_sh
3879   fi
3880 fi
3881 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3882 $as_echo "$INSTALL" >&6; }
3883
3884 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3885 # It thinks the first close brace ends the variable substitution.
3886 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3887
3888 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3889
3890 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3891
3892 # Check whether --enable-mingw-manpage-transform was given.
3893 if test "${enable_mingw_manpage_transform+set}" = set; then
3894   enableval=$enable_mingw_manpage_transform; case ${enableval} in
3895     yes) mingw_manpage_transform='s,^,mingw-,' ;;
3896      no) mingw_manpage_transform='s,x,x,' ;;
3897       *) mingw_manpage_transform=${enableval} ;;
3898   esac
3899 fi
3900
3901  mingw_manpage_transform=${mingw_manpage_transform-'s,x,x,'}
3902
3903
3904 ac_config_files="$ac_config_files Makefile"
3905
3906 cat >confcache <<\_ACEOF
3907 # This file is a shell script that caches the results of configure
3908 # tests run on this system so they can be shared between configure
3909 # scripts and configure runs, see configure's option --config-cache.
3910 # It is not useful on other systems.  If it contains results you don't
3911 # want to keep, you may remove or edit it.
3912 #
3913 # config.status only pays attention to the cache file if you give it
3914 # the --recheck option to rerun configure.
3915 #
3916 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3917 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3918 # following values.
3919
3920 _ACEOF
3921
3922 # The following way of writing the cache mishandles newlines in values,
3923 # but we know of no workaround that is simple, portable, and efficient.
3924 # So, we kill variables containing newlines.
3925 # Ultrix sh set writes to stderr and can't be redirected directly,
3926 # and sets the high bit in the cache file unless we assign to the vars.
3927 (
3928   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3929     eval ac_val=\$$ac_var
3930     case $ac_val in #(
3931     *${as_nl}*)
3932       case $ac_var in #(
3933       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
3934 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3935       esac
3936       case $ac_var in #(
3937       _ | IFS | as_nl) ;; #(
3938       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3939       *) $as_unset $ac_var ;;
3940       esac ;;
3941     esac
3942   done
3943
3944   (set) 2>&1 |
3945     case $as_nl`(ac_space=' '; set) 2>&1` in #(
3946     *${as_nl}ac_space=\ *)
3947       # `set' does not quote correctly, so add quotes (double-quote
3948       # substitution turns \\\\ into \\, and sed turns \\ into \).
3949       sed -n \
3950         "s/'/'\\\\''/g;
3951           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3952       ;; #(
3953     *)
3954       # `set' quotes correctly as required by POSIX, so do not add quotes.
3955       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3956       ;;
3957     esac |
3958     sort
3959 ) |
3960   sed '
3961      /^ac_cv_env_/b end
3962      t clear
3963      :clear
3964      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3965      t end
3966      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3967      :end' >>confcache
3968 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3969   if test -w "$cache_file"; then
3970     test "x$cache_file" != "x/dev/null" &&
3971       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
3972 $as_echo "$as_me: updating cache $cache_file" >&6;}
3973     cat confcache >$cache_file
3974   else
3975     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3976 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3977   fi
3978 fi
3979 rm -f confcache
3980
3981 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3982 # Let make expand exec_prefix.
3983 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3984
3985 # Transform confdefs.h into DEFS.
3986 # Protect against shell expansion while executing Makefile rules.
3987 # Protect against Makefile macro expansion.
3988 #
3989 # If the first sed substitution is executed (which looks for macros that
3990 # take arguments), then branch to the quote section.  Otherwise,
3991 # look for a macro that doesn't take arguments.
3992 ac_script='
3993 :mline
3994 /\\$/{
3995  N
3996  s,\\\n,,
3997  b mline
3998 }
3999 t clear
4000 :clear
4001 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
4002 t quote
4003 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
4004 t quote
4005 b any
4006 :quote
4007 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4008 s/\[/\\&/g
4009 s/\]/\\&/g
4010 s/\$/$$/g
4011 H
4012 :any
4013 ${
4014         g
4015         s/^\n//
4016         s/\n/ /g
4017         p
4018 }
4019 '
4020 DEFS=`sed -n "$ac_script" confdefs.h`
4021
4022
4023 ac_libobjs=
4024 ac_ltlibobjs=
4025 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4026   # 1. Remove the extension, and $U if already installed.
4027   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4028   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4029   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4030   #    will be set to the directory where LIBOBJS objects are built.
4031   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4032   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4033 done
4034 LIBOBJS=$ac_libobjs
4035
4036 LTLIBOBJS=$ac_ltlibobjs
4037
4038
4039
4040 : ${CONFIG_STATUS=./config.status}
4041 ac_write_fail=0
4042 ac_clean_files_save=$ac_clean_files
4043 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4044 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4045 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4046 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4047 #! $SHELL
4048 # Generated by $as_me.
4049 # Run this file to recreate the current configuration.
4050 # Compiler output produced by configure, useful for debugging
4051 # configure, is in config.log if it exists.
4052
4053 debug=false
4054 ac_cs_recheck=false
4055 ac_cs_silent=false
4056 SHELL=\${CONFIG_SHELL-$SHELL}
4057 _ACEOF
4058
4059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4060 ## --------------------- ##
4061 ## M4sh Initialization.  ##
4062 ## --------------------- ##
4063
4064 # Be more Bourne compatible
4065 DUALCASE=1; export DUALCASE # for MKS sh
4066 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4067   emulate sh
4068   NULLCMD=:
4069   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4070   # is contrary to our usage.  Disable this feature.
4071   alias -g '${1+"$@"}'='"$@"'
4072   setopt NO_GLOB_SUBST
4073 else
4074   case `(set -o) 2>/dev/null` in
4075   *posix*) set -o posix ;;
4076 esac
4077
4078 fi
4079
4080
4081
4082
4083 # PATH needs CR
4084 # Avoid depending upon Character Ranges.
4085 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4086 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4087 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4088 as_cr_digits='0123456789'
4089 as_cr_alnum=$as_cr_Letters$as_cr_digits
4090
4091 as_nl='
4092 '
4093 export as_nl
4094 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4095 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4096 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4097 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4098 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4099   as_echo='printf %s\n'
4100   as_echo_n='printf %s'
4101 else
4102   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4103     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4104     as_echo_n='/usr/ucb/echo -n'
4105   else
4106     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4107     as_echo_n_body='eval
4108       arg=$1;
4109       case $arg in
4110       *"$as_nl"*)
4111         expr "X$arg" : "X\\(.*\\)$as_nl";
4112         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4113       esac;
4114       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4115     '
4116     export as_echo_n_body
4117     as_echo_n='sh -c $as_echo_n_body as_echo'
4118   fi
4119   export as_echo_body
4120   as_echo='sh -c $as_echo_body as_echo'
4121 fi
4122
4123 # The user is always right.
4124 if test "${PATH_SEPARATOR+set}" != set; then
4125   PATH_SEPARATOR=:
4126   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4127     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4128       PATH_SEPARATOR=';'
4129   }
4130 fi
4131
4132 # Support unset when possible.
4133 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4134   as_unset=unset
4135 else
4136   as_unset=false
4137 fi
4138
4139
4140 # IFS
4141 # We need space, tab and new line, in precisely that order.  Quoting is
4142 # there to prevent editors from complaining about space-tab.
4143 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4144 # splitting by setting IFS to empty value.)
4145 IFS=" ""        $as_nl"
4146
4147 # Find who we are.  Look in the path if we contain no directory separator.
4148 case $0 in
4149   *[\\/]* ) as_myself=$0 ;;
4150   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4151 for as_dir in $PATH
4152 do
4153   IFS=$as_save_IFS
4154   test -z "$as_dir" && as_dir=.
4155   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4156 done
4157 IFS=$as_save_IFS
4158
4159      ;;
4160 esac
4161 # We did not find ourselves, most probably we were run as `sh COMMAND'
4162 # in which case we are not to be found in the path.
4163 if test "x$as_myself" = x; then
4164   as_myself=$0
4165 fi
4166 if test ! -f "$as_myself"; then
4167   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4168   { (exit 1); exit 1; }
4169 fi
4170
4171 # Work around bugs in pre-3.0 UWIN ksh.
4172 for as_var in ENV MAIL MAILPATH
4173 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4174 done
4175 PS1='$ '
4176 PS2='> '
4177 PS4='+ '
4178
4179 # NLS nuisances.
4180 LC_ALL=C
4181 export LC_ALL
4182 LANGUAGE=C
4183 export LANGUAGE
4184
4185 # Required to use basename.
4186 if expr a : '\(a\)' >/dev/null 2>&1 &&
4187    test "X`expr 00001 : '.*\(...\)'`" = X001; then
4188   as_expr=expr
4189 else
4190   as_expr=false
4191 fi
4192
4193 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4194   as_basename=basename
4195 else
4196   as_basename=false
4197 fi
4198
4199
4200 # Name of the executable.
4201 as_me=`$as_basename -- "$0" ||
4202 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4203          X"$0" : 'X\(//\)$' \| \
4204          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4205 $as_echo X/"$0" |
4206     sed '/^.*\/\([^/][^/]*\)\/*$/{
4207             s//\1/
4208             q
4209           }
4210           /^X\/\(\/\/\)$/{
4211             s//\1/
4212             q
4213           }
4214           /^X\/\(\/\).*/{
4215             s//\1/
4216             q
4217           }
4218           s/.*/./; q'`
4219
4220 # CDPATH.
4221 $as_unset CDPATH
4222
4223
4224
4225   as_lineno_1=$LINENO
4226   as_lineno_2=$LINENO
4227   test "x$as_lineno_1" != "x$as_lineno_2" &&
4228   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4229
4230   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4231   # uniformly replaced by the line number.  The first 'sed' inserts a
4232   # line-number line after each line using $LINENO; the second 'sed'
4233   # does the real work.  The second script uses 'N' to pair each
4234   # line-number line with the line containing $LINENO, and appends
4235   # trailing '-' during substitution so that $LINENO is not a special
4236   # case at line end.
4237   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4238   # scripts with optimization help from Paolo Bonzini.  Blame Lee
4239   # E. McMahon (1931-1989) for sed's syntax.  :-)
4240   sed -n '
4241     p
4242     /[$]LINENO/=
4243   ' <$as_myself |
4244     sed '
4245       s/[$]LINENO.*/&-/
4246       t lineno
4247       b
4248       :lineno
4249       N
4250       :loop
4251       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4252       t loop
4253       s/-\n.*//
4254     ' >$as_me.lineno &&
4255   chmod +x "$as_me.lineno" ||
4256     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4257    { (exit 1); exit 1; }; }
4258
4259   # Don't try to exec as it changes $[0], causing all sort of problems
4260   # (the dirname of $[0] is not the place where we might find the
4261   # original and so on.  Autoconf is especially sensitive to this).
4262   . "./$as_me.lineno"
4263   # Exit status is that of the last command.
4264   exit
4265 }
4266
4267
4268 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4269   as_dirname=dirname
4270 else
4271   as_dirname=false
4272 fi
4273
4274 ECHO_C= ECHO_N= ECHO_T=
4275 case `echo -n x` in
4276 -n*)
4277   case `echo 'x\c'` in
4278   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
4279   *)   ECHO_C='\c';;
4280   esac;;
4281 *)
4282   ECHO_N='-n';;
4283 esac
4284 if expr a : '\(a\)' >/dev/null 2>&1 &&
4285    test "X`expr 00001 : '.*\(...\)'`" = X001; then
4286   as_expr=expr
4287 else
4288   as_expr=false
4289 fi
4290
4291 rm -f conf$$ conf$$.exe conf$$.file
4292 if test -d conf$$.dir; then
4293   rm -f conf$$.dir/conf$$.file
4294 else
4295   rm -f conf$$.dir
4296   mkdir conf$$.dir 2>/dev/null
4297 fi
4298 if (echo >conf$$.file) 2>/dev/null; then
4299   if ln -s conf$$.file conf$$ 2>/dev/null; then
4300     as_ln_s='ln -s'
4301     # ... but there are two gotchas:
4302     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4303     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4304     # In both cases, we have to default to `cp -p'.
4305     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4306       as_ln_s='cp -p'
4307   elif ln conf$$.file conf$$ 2>/dev/null; then
4308     as_ln_s=ln
4309   else
4310     as_ln_s='cp -p'
4311   fi
4312 else
4313   as_ln_s='cp -p'
4314 fi
4315 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4316 rmdir conf$$.dir 2>/dev/null
4317
4318 if mkdir -p . 2>/dev/null; then
4319   as_mkdir_p=:
4320 else
4321   test -d ./-p && rmdir ./-p
4322   as_mkdir_p=false
4323 fi
4324
4325 if test -x / >/dev/null 2>&1; then
4326   as_test_x='test -x'
4327 else
4328   if ls -dL / >/dev/null 2>&1; then
4329     as_ls_L_option=L
4330   else
4331     as_ls_L_option=
4332   fi
4333   as_test_x='
4334     eval sh -c '\''
4335       if test -d "$1"; then
4336         test -d "$1/.";
4337       else
4338         case $1 in
4339         -*)set "./$1";;
4340         esac;
4341         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4342         ???[sx]*):;;*)false;;esac;fi
4343     '\'' sh
4344   '
4345 fi
4346 as_executable_p=$as_test_x
4347
4348 # Sed expression to map a string onto a valid CPP name.
4349 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4350
4351 # Sed expression to map a string onto a valid variable name.
4352 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4353
4354
4355 exec 6>&1
4356
4357 # Save the log message, to keep $[0] and so on meaningful, and to
4358 # report actual input values of CONFIG_FILES etc. instead of their
4359 # values after options handling.
4360 ac_log="
4361 This file was extended by MinGW Runtime $as_me v3.x, which was
4362 generated by GNU Autoconf 2.63.  Invocation command line was
4363
4364   CONFIG_FILES    = $CONFIG_FILES
4365   CONFIG_HEADERS  = $CONFIG_HEADERS
4366   CONFIG_LINKS    = $CONFIG_LINKS
4367   CONFIG_COMMANDS = $CONFIG_COMMANDS
4368   $ $0 $@
4369
4370 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4371 "
4372
4373 _ACEOF
4374
4375 case $ac_config_files in *"
4376 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4377 esac
4378
4379
4380
4381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4382 # Files that config.status was made for.
4383 config_files="$ac_config_files"
4384
4385 _ACEOF
4386
4387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4388 ac_cs_usage="\
4389 \`$as_me' instantiates files from templates according to the
4390 current configuration.
4391
4392 Usage: $0 [OPTION]... [FILE]...
4393
4394   -h, --help       print this help, then exit
4395   -V, --version    print version number and configuration settings, then exit
4396   -q, --quiet, --silent
4397                    do not print progress messages
4398   -d, --debug      don't remove temporary files
4399       --recheck    update $as_me by reconfiguring in the same conditions
4400       --file=FILE[:TEMPLATE]
4401                    instantiate the configuration file FILE
4402
4403 Configuration files:
4404 $config_files
4405
4406 Report bugs to <bug-autoconf@gnu.org>."
4407
4408 _ACEOF
4409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4410 ac_cs_version="\\
4411 MinGW Runtime config.status v3.x
4412 configured by $0, generated by GNU Autoconf 2.63,
4413   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4414
4415 Copyright (C) 2008 Free Software Foundation, Inc.
4416 This config.status script is free software; the Free Software Foundation
4417 gives unlimited permission to copy, distribute and modify it."
4418
4419 ac_pwd='$ac_pwd'
4420 srcdir='$srcdir'
4421 INSTALL='$INSTALL'
4422 test -n "\$AWK" || AWK=awk
4423 _ACEOF
4424
4425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4426 # The default lists apply if the user does not specify any file.
4427 ac_need_defaults=:
4428 while test $# != 0
4429 do
4430   case $1 in
4431   --*=*)
4432     ac_option=`expr "X$1" : 'X\([^=]*\)='`
4433     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4434     ac_shift=:
4435     ;;
4436   *)
4437     ac_option=$1
4438     ac_optarg=$2
4439     ac_shift=shift
4440     ;;
4441   esac
4442
4443   case $ac_option in
4444   # Handling of the options.
4445   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4446     ac_cs_recheck=: ;;
4447   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4448     $as_echo "$ac_cs_version"; exit ;;
4449   --debug | --debu | --deb | --de | --d | -d )
4450     debug=: ;;
4451   --file | --fil | --fi | --f )
4452     $ac_shift
4453     case $ac_optarg in
4454     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4455     esac
4456     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
4457     ac_need_defaults=false;;
4458   --he | --h |  --help | --hel | -h )
4459     $as_echo "$ac_cs_usage"; exit ;;
4460   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4461   | -silent | --silent | --silen | --sile | --sil | --si | --s)
4462     ac_cs_silent=: ;;
4463
4464   # This is an error.
4465   -*) { $as_echo "$as_me: error: unrecognized option: $1
4466 Try \`$0 --help' for more information." >&2
4467    { (exit 1); exit 1; }; } ;;
4468
4469   *) ac_config_targets="$ac_config_targets $1"
4470      ac_need_defaults=false ;;
4471
4472   esac
4473   shift
4474 done
4475
4476 ac_configure_extra_args=
4477
4478 if $ac_cs_silent; then
4479   exec 6>/dev/null
4480   ac_configure_extra_args="$ac_configure_extra_args --silent"
4481 fi
4482
4483 _ACEOF
4484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4485 if \$ac_cs_recheck; then
4486   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4487   shift
4488   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4489   CONFIG_SHELL='$SHELL'
4490   export CONFIG_SHELL
4491   exec "\$@"
4492 fi
4493
4494 _ACEOF
4495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4496 exec 5>>config.log
4497 {
4498   echo
4499   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4500 ## Running $as_me. ##
4501 _ASBOX
4502   $as_echo "$ac_log"
4503 } >&5
4504
4505 _ACEOF
4506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4507 _ACEOF
4508
4509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4510
4511 # Handling of arguments.
4512 for ac_config_target in $ac_config_targets
4513 do
4514   case $ac_config_target in
4515     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4516
4517   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4518 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4519    { (exit 1); exit 1; }; };;
4520   esac
4521 done
4522
4523
4524 # If the user did not use the arguments to specify the items to instantiate,
4525 # then the envvar interface is used.  Set only those that are not.
4526 # We use the long form for the default assignment because of an extremely
4527 # bizarre bug on SunOS 4.1.3.
4528 if $ac_need_defaults; then
4529   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4530 fi
4531
4532 # Have a temporary directory for convenience.  Make it in the build tree
4533 # simply because there is no reason against having it here, and in addition,
4534 # creating and moving files from /tmp can sometimes cause problems.
4535 # Hook for its removal unless debugging.
4536 # Note that there is a small window in which the directory will not be cleaned:
4537 # after its creation but before its name has been assigned to `$tmp'.
4538 $debug ||
4539 {
4540   tmp=
4541   trap 'exit_status=$?
4542   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4543 ' 0
4544   trap '{ (exit 1); exit 1; }' 1 2 13 15
4545 }
4546 # Create a (secure) tmp directory for tmp files.
4547
4548 {
4549   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4550   test -n "$tmp" && test -d "$tmp"
4551 }  ||
4552 {
4553   tmp=./conf$$-$RANDOM
4554   (umask 077 && mkdir "$tmp")
4555 } ||
4556 {
4557    $as_echo "$as_me: cannot create a temporary directory in ." >&2
4558    { (exit 1); exit 1; }
4559 }
4560
4561 # Set up the scripts for CONFIG_FILES section.
4562 # No need to generate them if there are no CONFIG_FILES.
4563 # This happens for instance with `./config.status config.h'.
4564 if test -n "$CONFIG_FILES"; then
4565
4566
4567 ac_cr='\r'
4568 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4569 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4570   ac_cs_awk_cr='\\r'
4571 else
4572   ac_cs_awk_cr=$ac_cr
4573 fi
4574
4575 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4576 _ACEOF
4577
4578
4579 {
4580   echo "cat >conf$$subs.awk <<_ACEOF" &&
4581   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4582   echo "_ACEOF"
4583 } >conf$$subs.sh ||
4584   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4585 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4586    { (exit 1); exit 1; }; }
4587 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4588 ac_delim='%!_!# '
4589 for ac_last_try in false false false false false :; do
4590   . ./conf$$subs.sh ||
4591     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4592 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4593    { (exit 1); exit 1; }; }
4594
4595   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4596   if test $ac_delim_n = $ac_delim_num; then
4597     break
4598   elif $ac_last_try; then
4599     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4600 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4601    { (exit 1); exit 1; }; }
4602   else
4603     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4604   fi
4605 done
4606 rm -f conf$$subs.sh
4607
4608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4609 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4610 _ACEOF
4611 sed -n '
4612 h
4613 s/^/S["/; s/!.*/"]=/
4614 p
4615 g
4616 s/^[^!]*!//
4617 :repl
4618 t repl
4619 s/'"$ac_delim"'$//
4620 t delim
4621 :nl
4622 h
4623 s/\(.\{148\}\).*/\1/
4624 t more1
4625 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4626 p
4627 n
4628 b repl
4629 :more1
4630 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4631 p
4632 g
4633 s/.\{148\}//
4634 t nl
4635 :delim
4636 h
4637 s/\(.\{148\}\).*/\1/
4638 t more2
4639 s/["\\]/\\&/g; s/^/"/; s/$/"/
4640 p
4641 b
4642 :more2
4643 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4644 p
4645 g
4646 s/.\{148\}//
4647 t delim
4648 ' <conf$$subs.awk | sed '
4649 /^[^""]/{
4650   N
4651   s/\n//
4652 }
4653 ' >>$CONFIG_STATUS || ac_write_fail=1
4654 rm -f conf$$subs.awk
4655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4656 _ACAWK
4657 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4658   for (key in S) S_is_set[key] = 1
4659   FS = "\a"
4660
4661 }
4662 {
4663   line = $ 0
4664   nfields = split(line, field, "@")
4665   substed = 0
4666   len = length(field[1])
4667   for (i = 2; i < nfields; i++) {
4668     key = field[i]
4669     keylen = length(key)
4670     if (S_is_set[key]) {
4671       value = S[key]
4672       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4673       len += length(value) + length(field[++i])
4674       substed = 1
4675     } else
4676       len += 1 + keylen
4677   }
4678
4679   print line
4680 }
4681
4682 _ACAWK
4683 _ACEOF
4684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4685 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4686   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4687 else
4688   cat
4689 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4690   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
4691 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
4692    { (exit 1); exit 1; }; }
4693 _ACEOF
4694
4695 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4696 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4697 # trailing colons and then remove the whole line if VPATH becomes empty
4698 # (actually we leave an empty line to preserve line numbers).
4699 if test "x$srcdir" = x.; then
4700   ac_vpsub='/^[  ]*VPATH[        ]*=/{
4701 s/:*\$(srcdir):*/:/
4702 s/:*\${srcdir}:*/:/
4703 s/:*@srcdir@:*/:/
4704 s/^\([^=]*=[     ]*\):*/\1/
4705 s/:*$//
4706 s/^[^=]*=[       ]*$//
4707 }'
4708 fi
4709
4710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4711 fi # test -n "$CONFIG_FILES"
4712
4713
4714 eval set X "  :F $CONFIG_FILES      "
4715 shift
4716 for ac_tag
4717 do
4718   case $ac_tag in
4719   :[FHLC]) ac_mode=$ac_tag; continue;;
4720   esac
4721   case $ac_mode$ac_tag in
4722   :[FHL]*:*);;
4723   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
4724 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
4725    { (exit 1); exit 1; }; };;
4726   :[FH]-) ac_tag=-:-;;
4727   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4728   esac
4729   ac_save_IFS=$IFS
4730   IFS=:
4731   set x $ac_tag
4732   IFS=$ac_save_IFS
4733   shift
4734   ac_file=$1
4735   shift
4736
4737   case $ac_mode in
4738   :L) ac_source=$1;;
4739   :[FH])
4740     ac_file_inputs=
4741     for ac_f
4742     do
4743       case $ac_f in
4744       -) ac_f="$tmp/stdin";;
4745       *) # Look for the file first in the build tree, then in the source tree
4746          # (if the path is not absolute).  The absolute path cannot be DOS-style,
4747          # because $ac_f cannot contain `:'.
4748          test -f "$ac_f" ||
4749            case $ac_f in
4750            [\\/$]*) false;;
4751            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4752            esac ||
4753            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4754 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4755    { (exit 1); exit 1; }; };;
4756       esac
4757       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4758       ac_file_inputs="$ac_file_inputs '$ac_f'"
4759     done
4760
4761     # Let's still pretend it is `configure' which instantiates (i.e., don't
4762     # use $as_me), people would be surprised to read:
4763     #    /* config.h.  Generated by config.status.  */
4764     configure_input='Generated from '`
4765           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4766         `' by configure.'
4767     if test x"$ac_file" != x-; then
4768       configure_input="$ac_file.  $configure_input"
4769       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
4770 $as_echo "$as_me: creating $ac_file" >&6;}
4771     fi
4772     # Neutralize special characters interpreted by sed in replacement strings.
4773     case $configure_input in #(
4774     *\&* | *\|* | *\\* )
4775        ac_sed_conf_input=`$as_echo "$configure_input" |
4776        sed 's/[\\\\&|]/\\\\&/g'`;; #(
4777     *) ac_sed_conf_input=$configure_input;;
4778     esac
4779
4780     case $ac_tag in
4781     *:-:* | *:-) cat >"$tmp/stdin" \
4782       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4783 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4784    { (exit 1); exit 1; }; } ;;
4785     esac
4786     ;;
4787   esac
4788
4789   ac_dir=`$as_dirname -- "$ac_file" ||
4790 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4791          X"$ac_file" : 'X\(//\)[^/]' \| \
4792          X"$ac_file" : 'X\(//\)$' \| \
4793          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4794 $as_echo X"$ac_file" |
4795     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4796             s//\1/
4797             q
4798           }
4799           /^X\(\/\/\)[^/].*/{
4800             s//\1/
4801             q
4802           }
4803           /^X\(\/\/\)$/{
4804             s//\1/
4805             q
4806           }
4807           /^X\(\/\).*/{
4808             s//\1/
4809             q
4810           }
4811           s/.*/./; q'`
4812   { as_dir="$ac_dir"
4813   case $as_dir in #(
4814   -*) as_dir=./$as_dir;;
4815   esac
4816   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4817     as_dirs=
4818     while :; do
4819       case $as_dir in #(
4820       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4821       *) as_qdir=$as_dir;;
4822       esac
4823       as_dirs="'$as_qdir' $as_dirs"
4824       as_dir=`$as_dirname -- "$as_dir" ||
4825 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4826          X"$as_dir" : 'X\(//\)[^/]' \| \
4827          X"$as_dir" : 'X\(//\)$' \| \
4828          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4829 $as_echo X"$as_dir" |
4830     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4831             s//\1/
4832             q
4833           }
4834           /^X\(\/\/\)[^/].*/{
4835             s//\1/
4836             q
4837           }
4838           /^X\(\/\/\)$/{
4839             s//\1/
4840             q
4841           }
4842           /^X\(\/\).*/{
4843             s//\1/
4844             q
4845           }
4846           s/.*/./; q'`
4847       test -d "$as_dir" && break
4848     done
4849     test -z "$as_dirs" || eval "mkdir $as_dirs"
4850   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4851 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
4852    { (exit 1); exit 1; }; }; }
4853   ac_builddir=.
4854
4855 case "$ac_dir" in
4856 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4857 *)
4858   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4859   # A ".." for each directory in $ac_dir_suffix.
4860   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4861   case $ac_top_builddir_sub in
4862   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4863   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4864   esac ;;
4865 esac
4866 ac_abs_top_builddir=$ac_pwd
4867 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4868 # for backward compatibility:
4869 ac_top_builddir=$ac_top_build_prefix
4870
4871 case $srcdir in
4872   .)  # We are building in place.
4873     ac_srcdir=.
4874     ac_top_srcdir=$ac_top_builddir_sub
4875     ac_abs_top_srcdir=$ac_pwd ;;
4876   [\\/]* | ?:[\\/]* )  # Absolute name.
4877     ac_srcdir=$srcdir$ac_dir_suffix;
4878     ac_top_srcdir=$srcdir
4879     ac_abs_top_srcdir=$srcdir ;;
4880   *) # Relative name.
4881     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4882     ac_top_srcdir=$ac_top_build_prefix$srcdir
4883     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4884 esac
4885 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4886
4887
4888   case $ac_mode in
4889   :F)
4890   #
4891   # CONFIG_FILE
4892   #
4893
4894   case $INSTALL in
4895   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4896   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4897   esac
4898 _ACEOF
4899
4900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4901 # If the template does not know about datarootdir, expand it.
4902 # FIXME: This hack should be removed a few years after 2.60.
4903 ac_datarootdir_hack=; ac_datarootdir_seen=
4904
4905 ac_sed_dataroot='
4906 /datarootdir/ {
4907   p
4908   q
4909 }
4910 /@datadir@/p
4911 /@docdir@/p
4912 /@infodir@/p
4913 /@localedir@/p
4914 /@mandir@/p
4915 '
4916 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4917 *datarootdir*) ac_datarootdir_seen=yes;;
4918 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4919   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4920 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4921 _ACEOF
4922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4923   ac_datarootdir_hack='
4924   s&@datadir@&$datadir&g
4925   s&@docdir@&$docdir&g
4926   s&@infodir@&$infodir&g
4927   s&@localedir@&$localedir&g
4928   s&@mandir@&$mandir&g
4929     s&\\\${datarootdir}&$datarootdir&g' ;;
4930 esac
4931 _ACEOF
4932
4933 # Neutralize VPATH when `$srcdir' = `.'.
4934 # Shell code in configure.ac might set extrasub.
4935 # FIXME: do we really want to maintain this feature?
4936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4937 ac_sed_extra="$ac_vpsub
4938 $extrasub
4939 _ACEOF
4940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4941 :t
4942 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4943 s|@configure_input@|$ac_sed_conf_input|;t t
4944 s&@top_builddir@&$ac_top_builddir_sub&;t t
4945 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4946 s&@srcdir@&$ac_srcdir&;t t
4947 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4948 s&@top_srcdir@&$ac_top_srcdir&;t t
4949 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4950 s&@builddir@&$ac_builddir&;t t
4951 s&@abs_builddir@&$ac_abs_builddir&;t t
4952 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4953 s&@INSTALL@&$ac_INSTALL&;t t
4954 $ac_datarootdir_hack
4955 "
4956 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4957   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4958 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4959    { (exit 1); exit 1; }; }
4960
4961 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4962   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4963   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4964   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4965 which seems to be undefined.  Please make sure it is defined." >&5
4966 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4967 which seems to be undefined.  Please make sure it is defined." >&2;}
4968
4969   rm -f "$tmp/stdin"
4970   case $ac_file in
4971   -) cat "$tmp/out" && rm -f "$tmp/out";;
4972   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4973   esac \
4974   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4975 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4976    { (exit 1); exit 1; }; }
4977  ;;
4978
4979
4980
4981   esac
4982
4983 done # for ac_tag
4984
4985
4986 { (exit 0); exit 0; }
4987 _ACEOF
4988 chmod +x $CONFIG_STATUS
4989 ac_clean_files=$ac_clean_files_save
4990
4991 test $ac_write_fail = 0 ||
4992   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
4993 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
4994    { (exit 1); exit 1; }; }
4995
4996
4997 # configure is writing to config.log, and then calls config.status.
4998 # config.status does its own redirection, appending to config.log.
4999 # Unfortunately, on DOS this fails, as config.log is still kept open
5000 # by configure, so config.status won't be able to write to it; its
5001 # output is simply discarded.  So we exec the FD to /dev/null,
5002 # effectively closing config.log, so it can be properly (re)opened and
5003 # appended to by config.status.  When coming back to configure, we
5004 # need to make the FD available again.
5005 if test "$no_create" != yes; then
5006   ac_cs_success=:
5007   ac_config_status_args=
5008   test "$silent" = yes &&
5009     ac_config_status_args="$ac_config_status_args --quiet"
5010   exec 5>/dev/null
5011   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5012   exec 5>>config.log
5013   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5014   # would make configure fail if this is the last instruction.
5015   $ac_cs_success || { (exit 1); exit 1; }
5016 fi
5017
5018 #
5019 # CONFIG_SUBDIRS section.
5020 #
5021 if test "$no_recursion" != yes; then
5022
5023   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
5024   # so they do not pile up.
5025   ac_sub_configure_args=
5026   ac_prev=
5027   eval "set x $ac_configure_args"
5028   shift
5029   for ac_arg
5030   do
5031     if test -n "$ac_prev"; then
5032       ac_prev=
5033       continue
5034     fi
5035     case $ac_arg in
5036     -cache-file | --cache-file | --cache-fil | --cache-fi \
5037     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
5038       ac_prev=cache_file ;;
5039     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
5040     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
5041     | --c=*)
5042       ;;
5043     --config-cache | -C)
5044       ;;
5045     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5046       ac_prev=srcdir ;;
5047     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5048       ;;
5049     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5050       ac_prev=prefix ;;
5051     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5052       ;;
5053     --disable-option-checking)
5054       ;;
5055     *)
5056       case $ac_arg in
5057       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5058       esac
5059       ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
5060     esac
5061   done
5062
5063   # Always prepend --prefix to ensure using the same prefix
5064   # in subdir configurations.
5065   ac_arg="--prefix=$prefix"
5066   case $ac_arg in
5067   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5068   esac
5069   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
5070
5071   # Pass --silent
5072   if test "$silent" = yes; then
5073     ac_sub_configure_args="--silent $ac_sub_configure_args"
5074   fi
5075
5076   # Always prepend --disable-option-checking to silence warnings, since
5077   # different subdirs can have different --enable and --with options.
5078   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
5079
5080   ac_popdir=`pwd`
5081   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
5082
5083     # Do not complain, so a configure script can configure whichever
5084     # parts of a large source tree are present.
5085     test -d "$srcdir/$ac_dir" || continue
5086
5087     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
5088     $as_echo "$as_me:$LINENO: $ac_msg" >&5
5089     $as_echo "$ac_msg" >&6
5090     { as_dir="$ac_dir"
5091   case $as_dir in #(
5092   -*) as_dir=./$as_dir;;
5093   esac
5094   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5095     as_dirs=
5096     while :; do
5097       case $as_dir in #(
5098       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5099       *) as_qdir=$as_dir;;
5100       esac
5101       as_dirs="'$as_qdir' $as_dirs"
5102       as_dir=`$as_dirname -- "$as_dir" ||
5103 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5104          X"$as_dir" : 'X\(//\)[^/]' \| \
5105          X"$as_dir" : 'X\(//\)$' \| \
5106          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5107 $as_echo X"$as_dir" |
5108     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5109             s//\1/
5110             q
5111           }
5112           /^X\(\/\/\)[^/].*/{
5113             s//\1/
5114             q
5115           }
5116           /^X\(\/\/\)$/{
5117             s//\1/
5118             q
5119           }
5120           /^X\(\/\).*/{
5121             s//\1/
5122             q
5123           }
5124           s/.*/./; q'`
5125       test -d "$as_dir" && break
5126     done
5127     test -z "$as_dirs" || eval "mkdir $as_dirs"
5128   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5129 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5130    { (exit 1); exit 1; }; }; }
5131     ac_builddir=.
5132
5133 case "$ac_dir" in
5134 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5135 *)
5136   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5137   # A ".." for each directory in $ac_dir_suffix.
5138   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5139   case $ac_top_builddir_sub in
5140   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5141   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5142   esac ;;
5143 esac
5144 ac_abs_top_builddir=$ac_pwd
5145 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5146 # for backward compatibility:
5147 ac_top_builddir=$ac_top_build_prefix
5148
5149 case $srcdir in
5150   .)  # We are building in place.
5151     ac_srcdir=.
5152     ac_top_srcdir=$ac_top_builddir_sub
5153     ac_abs_top_srcdir=$ac_pwd ;;
5154   [\\/]* | ?:[\\/]* )  # Absolute name.
5155     ac_srcdir=$srcdir$ac_dir_suffix;
5156     ac_top_srcdir=$srcdir
5157     ac_abs_top_srcdir=$srcdir ;;
5158   *) # Relative name.
5159     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5160     ac_top_srcdir=$ac_top_build_prefix$srcdir
5161     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5162 esac
5163 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5164
5165
5166     cd "$ac_dir"
5167
5168     # Check for guested configure; otherwise get Cygnus style configure.
5169     if test -f "$ac_srcdir/configure.gnu"; then
5170       ac_sub_configure=$ac_srcdir/configure.gnu
5171     elif test -f "$ac_srcdir/configure"; then
5172       ac_sub_configure=$ac_srcdir/configure
5173     elif test -f "$ac_srcdir/configure.in"; then
5174       # This should be Cygnus configure.
5175       ac_sub_configure=$ac_aux_dir/configure
5176     else
5177       { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
5178 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5179       ac_sub_configure=
5180     fi
5181
5182     # The recursion is here.
5183     if test -n "$ac_sub_configure"; then
5184       # Make the cache file name correct relative to the subdirectory.
5185       case $cache_file in
5186       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
5187       *) # Relative name.
5188         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
5189       esac
5190
5191       { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
5192 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5193       # The eval makes quoting arguments work.
5194       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
5195            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
5196         { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
5197 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
5198    { (exit 1); exit 1; }; }
5199     fi
5200
5201     cd "$ac_popdir"
5202   done
5203 fi
5204 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5205   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5206 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5207 fi
5208
5209
5210 # $RCSfile$: end of file