OSDN Git Service

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