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