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