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