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