Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for dash 0.5.12.
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 [email protected] 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.12'
581 PACKAGE_STRING='dash 0.5.12'
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.12 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.12:";;
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 --disable-fnmatch Do not 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.12
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.12, 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 MISSING="\${SHELL} '$am_aux_dir/missing'"
2602 fi
2603 # Use eval to expand $SHELL
2604 if eval "$MISSING --is-lightweight"; then
2605 am_missing_run="$MISSING "
2606 else
2607 am_missing_run=
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2609 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2610 fi
2611
2612 if test x"${install_sh+set}" != xset; then
2613 case $am_aux_dir in
2614 *\ * | *\ *)
2615 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2616 *)
2617 install_sh="\${SHELL} $am_aux_dir/install-sh"
2618 esac
2619 fi
2620
2621 # Installed binaries are usually stripped using 'strip' when the user
2622 # run "make install-strip". However 'strip' might not be the right
2623 # tool to use in cross-compilation environments, therefore Automake
2624 # will honor the 'STRIP' environment variable to overrule this program.
2625 if test "$cross_compiling" != no; then
2626 if test -n "$ac_tool_prefix"; then
2627 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2628 set dummy ${ac_tool_prefix}strip; ac_word=$2
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2630 $as_echo_n "checking for $ac_word... " >&6; }
2631 if ${ac_cv_prog_STRIP+:} false; then :
2632 $as_echo_n "(cached) " >&6
2633 else
2634 if test -n "$STRIP"; then
2635 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2636 else
2637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638 for as_dir in $PATH
2639 do
2640 IFS=$as_save_IFS
2641 test -z "$as_dir" && as_dir=.
2642 for ac_exec_ext in '' $ac_executable_extensions; do
2643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2644 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2646 break 2
2647 fi
2648 done
2649 done
2650 IFS=$as_save_IFS
2651
2652 fi
2653 fi
2654 STRIP=$ac_cv_prog_STRIP
2655 if test -n "$STRIP"; then
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2657 $as_echo "$STRIP" >&6; }
2658 else
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2660 $as_echo "no" >&6; }
2661 fi
2662
2663
2664 fi
2665 if test -z "$ac_cv_prog_STRIP"; then
2666 ac_ct_STRIP=$STRIP
2667 # Extract the first word of "strip", so it can be a program name with args.
2668 set dummy strip; ac_word=$2
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2670 $as_echo_n "checking for $ac_word... " >&6; }
2671 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2672 $as_echo_n "(cached) " >&6
2673 else
2674 if test -n "$ac_ct_STRIP"; then
2675 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2676 else
2677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678 for as_dir in $PATH
2679 do
2680 IFS=$as_save_IFS
2681 test -z "$as_dir" && as_dir=.
2682 for ac_exec_ext in '' $ac_executable_extensions; do
2683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2684 ac_cv_prog_ac_ct_STRIP="strip"
2685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2686 break 2
2687 fi
2688 done
2689 done
2690 IFS=$as_save_IFS
2691
2692 fi
2693 fi
2694 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2695 if test -n "$ac_ct_STRIP"; then
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2697 $as_echo "$ac_ct_STRIP" >&6; }
2698 else
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2700 $as_echo "no" >&6; }
2701 fi
2702
2703 if test "x$ac_ct_STRIP" = x; then
2704 STRIP=":"
2705 else
2706 case $cross_compiling:$ac_tool_warned in
2707 yes:)
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2710 ac_tool_warned=yes ;;
2711 esac
2712 STRIP=$ac_ct_STRIP
2713 fi
2714 else
2715 STRIP="$ac_cv_prog_STRIP"
2716 fi
2717
2718 fi
2719 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2720
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2722 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2723 if test -z "$MKDIR_P"; then
2724 if ${ac_cv_path_mkdir+:} false; then :
2725 $as_echo_n "(cached) " >&6
2726 else
2727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2728 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2729 do
2730 IFS=$as_save_IFS
2731 test -z "$as_dir" && as_dir=.
2732 for ac_prog in mkdir gmkdir; do
2733 for ac_exec_ext in '' $ac_executable_extensions; do
2734 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2735 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2736 'mkdir (GNU coreutils) '* | \
2737 'mkdir (coreutils) '* | \
2738 'mkdir (fileutils) '4.1*)
2739 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2740 break 3;;
2741 esac
2742 done
2743 done
2744 done
2745 IFS=$as_save_IFS
2746
2747 fi
2748
2749 test -d ./--version && rmdir ./--version
2750 if test "${ac_cv_path_mkdir+set}" = set; then
2751 MKDIR_P="$ac_cv_path_mkdir -p"
2752 else
2753 # As a last resort, use the slow shell script. Don't cache a
2754 # value for MKDIR_P within a source directory, because that will
2755 # break other packages using the cache if that directory is
2756 # removed, or if the value is a relative name.
2757 MKDIR_P="$ac_install_sh -d"
2758 fi
2759 fi
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2761 $as_echo "$MKDIR_P" >&6; }
2762
2763 for ac_prog in gawk mawk nawk awk
2764 do
2765 # Extract the first word of "$ac_prog", so it can be a program name with args.
2766 set dummy $ac_prog; ac_word=$2
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2768 $as_echo_n "checking for $ac_word... " >&6; }
2769 if ${ac_cv_prog_AWK+:} false; then :
2770 $as_echo_n "(cached) " >&6
2771 else
2772 if test -n "$AWK"; then
2773 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2774 else
2775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2776 for as_dir in $PATH
2777 do
2778 IFS=$as_save_IFS
2779 test -z "$as_dir" && as_dir=.
2780 for ac_exec_ext in '' $ac_executable_extensions; do
2781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2782 ac_cv_prog_AWK="$ac_prog"
2783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2784 break 2
2785 fi
2786 done
2787 done
2788 IFS=$as_save_IFS
2789
2790 fi
2791 fi
2792 AWK=$ac_cv_prog_AWK
2793 if test -n "$AWK"; then
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2795 $as_echo "$AWK" >&6; }
2796 else
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2798 $as_echo "no" >&6; }
2799 fi
2800
2801
2802 test -n "$AWK" && break
2803 done
2804
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2806 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2807 set x ${MAKE-make}
2808 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2809 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2810 $as_echo_n "(cached) " >&6
2811 else
2812 cat >conftest.make <<\_ACEOF
2813 SHELL = /bin/sh
2814 all:
2815 @echo '@@@%%%=$(MAKE)=@@@%%%'
2816 _ACEOF
2817 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2818 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2819 *@@@%%%=?*=@@@%%%*)
2820 eval ac_cv_prog_make_${ac_make}_set=yes;;
2821 *)
2822 eval ac_cv_prog_make_${ac_make}_set=no;;
2823 esac
2824 rm -f conftest.make
2825 fi
2826 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2828 $as_echo "yes" >&6; }
2829 SET_MAKE=
2830 else
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832 $as_echo "no" >&6; }
2833 SET_MAKE="MAKE=${MAKE-make}"
2834 fi
2835
2836 rm -rf .tst 2>/dev/null
2837 mkdir .tst 2>/dev/null
2838 if test -d .tst; then
2839 am__leading_dot=.
2840 else
2841 am__leading_dot=_
2842 fi
2843 rmdir .tst 2>/dev/null
2844
2845 # Check whether --enable-silent-rules was given.
2846 if test "${enable_silent_rules+set}" = set; then :
2847 enableval=$enable_silent_rules;
2848 fi
2849
2850 case $enable_silent_rules in # (((
2851 yes) AM_DEFAULT_VERBOSITY=0;;
2852 no) AM_DEFAULT_VERBOSITY=1;;
2853 *) AM_DEFAULT_VERBOSITY=1;;
2854 esac
2855 am_make=${MAKE-make}
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2857 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2858 if ${am_cv_make_support_nested_variables+:} false; then :
2859 $as_echo_n "(cached) " >&6
2860 else
2861 if $as_echo 'TRUE=$(BAR$(V))
2862 BAR0=false
2863 BAR1=true
2864 V=1
2865 am__doit:
2866 @$(TRUE)
2867 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2868 am_cv_make_support_nested_variables=yes
2869 else
2870 am_cv_make_support_nested_variables=no
2871 fi
2872 fi
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2874 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2875 if test $am_cv_make_support_nested_variables = yes; then
2876 AM_V='$(V)'
2877 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2878 else
2879 AM_V=$AM_DEFAULT_VERBOSITY
2880 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2881 fi
2882 AM_BACKSLASH='\'
2883
2884 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2885 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2886 # is not polluted with repeated "-I."
2887 am__isrc=' -I$(srcdir)'
2888 # test to see if srcdir already configured
2889 if test -f $srcdir/config.status; then
2890 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2891 fi
2892 fi
2893
2894 # test whether we have cygpath
2895 if test -z "$CYGPATH_W"; then
2896 if (cygpath --version) >/dev/null 2>/dev/null; then
2897 CYGPATH_W='cygpath -w'
2898 else
2899 CYGPATH_W=echo
2900 fi
2901 fi
2902
2903
2904 # Define the identity of the package.
2905 PACKAGE='dash'
2906 VERSION='0.5.12'
2907
2908
2909 cat >>confdefs.h <<_ACEOF
2910 #define PACKAGE "$PACKAGE"
2911 _ACEOF
2912
2913
2914 cat >>confdefs.h <<_ACEOF
2915 #define VERSION "$VERSION"
2916 _ACEOF
2917
2918 # Some tools Automake needs.
2919
2920 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2921
2922
2923 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2924
2925
2926 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2927
2928
2929 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2930
2931
2932 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2933
2934 # For better backward compatibility. To be removed once Automake 1.9.x
2935 # dies out for good. For more background, see:
2936 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2937 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2938 mkdir_p='$(MKDIR_P)'
2939
2940 # We need awk for the "check" target (and possibly the TAP driver). The
2941 # system "awk" is bad on some platforms.
2942 # Always define AMTAR for backward compatibility. Yes, it's still used
2943 # in the wild :-( We should find a proper way to deprecate it ...
2944 AMTAR='$${TAR-tar}'
2945
2946
2947 # We'll loop over all known methods to create a tar archive until one works.
2948 _am_tools='gnutar pax cpio none'
2949
2950 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2951
2952
2953
2954
2955
2956
2957 # POSIX will say in a future version that running "rm -f" with no argument
2958 # is OK; and we want to be able to make that assumption in our Makefile
2959 # recipes. So use an aggressive probe to check that the usage we want is
2960 # actually supported "in the wild" to an acceptable degree.
2961 # See automake bug#10828.
2962 # To make any issue more visible, cause the running configure to be aborted
2963 # by default if the 'rm' program in use doesn't match our expectations; the
2964 # user can still override this though.
2965 if rm -f && rm -fr && rm -rf; then : OK; else
2966 cat >&2 <<'END'
2967 Oops!
2968
2969 Your 'rm' program seems unable to run without file operands specified
2970 on the command line, even when the '-f' option is present. This is contrary
2971 to the behaviour of most rm programs out there, and not conforming with
2972 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2973
2974 Please tell [email protected] about your system, including the value
2975 of your $PATH and any error possibly output before this message. This
2976 can help us improve future automake versions.
2977
2978 END
2979 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2980 echo 'Configuration will proceed anyway, since you have set the' >&2
2981 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2982 echo >&2
2983 else
2984 cat >&2 <<'END'
2985 Aborting the configuration process, to ensure you take notice of the issue.
2986
2987 You can download and install GNU coreutils to get an 'rm' implementation
2988 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2989
2990 If you want to complete the configuration process using your problematic
2991 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2992 to "yes", and re-run configure.
2993
2994 END
2995 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2996 fi
2997 fi
2998
2999
3000
3001 ac_config_headers="$ac_config_headers config.h"
3002
3003
3004 # Check whether --enable-silent-rules was given.
3005 if test "${enable_silent_rules+set}" = set; then :
3006 enableval=$enable_silent_rules;
3007 fi
3008
3009 case $enable_silent_rules in # (((
3010 yes) AM_DEFAULT_VERBOSITY=0;;
3011 no) AM_DEFAULT_VERBOSITY=1;;
3012 *) AM_DEFAULT_VERBOSITY=0;;
3013 esac
3014 am_make=${MAKE-make}
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3016 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3017 if ${am_cv_make_support_nested_variables+:} false; then :
3018 $as_echo_n "(cached) " >&6
3019 else
3020 if $as_echo 'TRUE=$(BAR$(V))
3021 BAR0=false
3022 BAR1=true
3023 V=1
3024 am__doit:
3025 @$(TRUE)
3026 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3027 am_cv_make_support_nested_variables=yes
3028 else
3029 am_cv_make_support_nested_variables=no
3030 fi
3031 fi
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3033 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3034 if test $am_cv_make_support_nested_variables = yes; then
3035 AM_V='$(V)'
3036 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3037 else
3038 AM_V=$AM_DEFAULT_VERBOSITY
3039 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3040 fi
3041 AM_BACKSLASH='\'
3042
3043
3044 ac_ext=c
3045 ac_cpp='$CPP $CPPFLAGS'
3046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3049 if test -n "$ac_tool_prefix"; then
3050 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3051 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3053 $as_echo_n "checking for $ac_word... " >&6; }
3054 if ${ac_cv_prog_CC+:} false; then :
3055 $as_echo_n "(cached) " >&6
3056 else
3057 if test -n "$CC"; then
3058 ac_cv_prog_CC="$CC" # Let the user override the test.
3059 else
3060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3061 for as_dir in $PATH
3062 do
3063 IFS=$as_save_IFS
3064 test -z "$as_dir" && as_dir=.
3065 for ac_exec_ext in '' $ac_executable_extensions; do
3066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3067 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3069 break 2
3070 fi
3071 done
3072 done
3073 IFS=$as_save_IFS
3074
3075 fi
3076 fi
3077 CC=$ac_cv_prog_CC
3078 if test -n "$CC"; then
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3080 $as_echo "$CC" >&6; }
3081 else
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3083 $as_echo "no" >&6; }
3084 fi
3085
3086
3087 fi
3088 if test -z "$ac_cv_prog_CC"; then
3089 ac_ct_CC=$CC
3090 # Extract the first word of "gcc", so it can be a program name with args.
3091 set dummy gcc; ac_word=$2
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3093 $as_echo_n "checking for $ac_word... " >&6; }
3094 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3095 $as_echo_n "(cached) " >&6
3096 else
3097 if test -n "$ac_ct_CC"; then
3098 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3099 else
3100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3101 for as_dir in $PATH
3102 do
3103 IFS=$as_save_IFS
3104 test -z "$as_dir" && as_dir=.
3105 for ac_exec_ext in '' $ac_executable_extensions; do
3106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3107 ac_cv_prog_ac_ct_CC="gcc"
3108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3109 break 2
3110 fi
3111 done
3112 done
3113 IFS=$as_save_IFS
3114
3115 fi
3116 fi
3117 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3118 if test -n "$ac_ct_CC"; then
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3120 $as_echo "$ac_ct_CC" >&6; }
3121 else
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3123 $as_echo "no" >&6; }
3124 fi
3125
3126 if test "x$ac_ct_CC" = x; then
3127 CC=""
3128 else
3129 case $cross_compiling:$ac_tool_warned in
3130 yes:)
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3133 ac_tool_warned=yes ;;
3134 esac
3135 CC=$ac_ct_CC
3136 fi
3137 else
3138 CC="$ac_cv_prog_CC"
3139 fi
3140
3141 if test -z "$CC"; then
3142 if test -n "$ac_tool_prefix"; then
3143 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3144 set dummy ${ac_tool_prefix}cc; ac_word=$2
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3146 $as_echo_n "checking for $ac_word... " >&6; }
3147 if ${ac_cv_prog_CC+:} false; then :
3148 $as_echo_n "(cached) " >&6
3149 else
3150 if test -n "$CC"; then
3151 ac_cv_prog_CC="$CC" # Let the user override the test.
3152 else
3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3154 for as_dir in $PATH
3155 do
3156 IFS=$as_save_IFS
3157 test -z "$as_dir" && as_dir=.
3158 for ac_exec_ext in '' $ac_executable_extensions; do
3159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3160 ac_cv_prog_CC="${ac_tool_prefix}cc"
3161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3162 break 2
3163 fi
3164 done
3165 done
3166 IFS=$as_save_IFS
3167
3168 fi
3169 fi
3170 CC=$ac_cv_prog_CC
3171 if test -n "$CC"; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3173 $as_echo "$CC" >&6; }
3174 else
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3176 $as_echo "no" >&6; }
3177 fi
3178
3179
3180 fi
3181 fi
3182 if test -z "$CC"; then
3183 # Extract the first word of "cc", so it can be a program name with args.
3184 set dummy cc; ac_word=$2
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3186 $as_echo_n "checking for $ac_word... " >&6; }
3187 if ${ac_cv_prog_CC+:} false; then :
3188 $as_echo_n "(cached) " >&6
3189 else
3190 if test -n "$CC"; then
3191 ac_cv_prog_CC="$CC" # Let the user override the test.
3192 else
3193 ac_prog_rejected=no
3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3195 for as_dir in $PATH
3196 do
3197 IFS=$as_save_IFS
3198 test -z "$as_dir" && as_dir=.
3199 for ac_exec_ext in '' $ac_executable_extensions; do
3200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3201 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3202 ac_prog_rejected=yes
3203 continue
3204 fi
3205 ac_cv_prog_CC="cc"
3206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3207 break 2
3208 fi
3209 done
3210 done
3211 IFS=$as_save_IFS
3212
3213 if test $ac_prog_rejected = yes; then
3214 # We found a bogon in the path, so make sure we never use it.
3215 set dummy $ac_cv_prog_CC
3216 shift
3217 if test $# != 0; then
3218 # We chose a different compiler from the bogus one.
3219 # However, it has the same basename, so the bogon will be chosen
3220 # first if we set CC to just the basename; use the full file name.
3221 shift
3222 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3223 fi
3224 fi
3225 fi
3226 fi
3227 CC=$ac_cv_prog_CC
3228 if test -n "$CC"; then
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3230 $as_echo "$CC" >&6; }
3231 else
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3233 $as_echo "no" >&6; }
3234 fi
3235
3236
3237 fi
3238 if test -z "$CC"; then
3239 if test -n "$ac_tool_prefix"; then
3240 for ac_prog in cl.exe
3241 do
3242 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3243 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3245 $as_echo_n "checking for $ac_word... " >&6; }
3246 if ${ac_cv_prog_CC+:} false; then :
3247 $as_echo_n "(cached) " >&6
3248 else
3249 if test -n "$CC"; then
3250 ac_cv_prog_CC="$CC" # Let the user override the test.
3251 else
3252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253 for as_dir in $PATH
3254 do
3255 IFS=$as_save_IFS
3256 test -z "$as_dir" && as_dir=.
3257 for ac_exec_ext in '' $ac_executable_extensions; do
3258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3259 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3261 break 2
3262 fi
3263 done
3264 done
3265 IFS=$as_save_IFS
3266
3267 fi
3268 fi
3269 CC=$ac_cv_prog_CC
3270 if test -n "$CC"; then
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3272 $as_echo "$CC" >&6; }
3273 else
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3275 $as_echo "no" >&6; }
3276 fi
3277
3278
3279 test -n "$CC" && break
3280 done
3281 fi
3282 if test -z "$CC"; then
3283 ac_ct_CC=$CC
3284 for ac_prog in cl.exe
3285 do
3286 # Extract the first word of "$ac_prog", so it can be a program name with args.
3287 set dummy $ac_prog; ac_word=$2
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3289 $as_echo_n "checking for $ac_word... " >&6; }
3290 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3291 $as_echo_n "(cached) " >&6
3292 else
3293 if test -n "$ac_ct_CC"; then
3294 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3295 else
3296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3297 for as_dir in $PATH
3298 do
3299 IFS=$as_save_IFS
3300 test -z "$as_dir" && as_dir=.
3301 for ac_exec_ext in '' $ac_executable_extensions; do
3302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3303 ac_cv_prog_ac_ct_CC="$ac_prog"
3304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3305 break 2
3306 fi
3307 done
3308 done
3309 IFS=$as_save_IFS
3310
3311 fi
3312 fi
3313 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3314 if test -n "$ac_ct_CC"; then
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3316 $as_echo "$ac_ct_CC" >&6; }
3317 else
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3319 $as_echo "no" >&6; }
3320 fi
3321
3322
3323 test -n "$ac_ct_CC" && break
3324 done
3325
3326 if test "x$ac_ct_CC" = x; then
3327 CC=""
3328 else
3329 case $cross_compiling:$ac_tool_warned in
3330 yes:)
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3333 ac_tool_warned=yes ;;
3334 esac
3335 CC=$ac_ct_CC
3336 fi
3337 fi
3338
3339 fi
3340
3341
3342 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3344 as_fn_error $? "no acceptable C compiler found in \$PATH
3345 See \`config.log' for more details" "$LINENO" 5; }
3346
3347 # Provide some information about the compiler.
3348 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3349 set X $ac_compile
3350 ac_compiler=$2
3351 for ac_option in --version -v -V -qversion; do
3352 { { ac_try="$ac_compiler $ac_option >&5"
3353 case "(($ac_try" in
3354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3355 *) ac_try_echo=$ac_try;;
3356 esac
3357 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3358 $as_echo "$ac_try_echo"; } >&5
3359 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3360 ac_status=$?
3361 if test -s conftest.err; then
3362 sed '10a\
3363 ... rest of stderr output deleted ...
3364 10q' conftest.err >conftest.er1
3365 cat conftest.er1 >&5
3366 fi
3367 rm -f conftest.er1 conftest.err
3368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3369 test $ac_status = 0; }
3370 done
3371
3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h. */
3374
3375 int
3376 main ()
3377 {
3378
3379 ;
3380 return 0;
3381 }
3382 _ACEOF
3383 ac_clean_files_save=$ac_clean_files
3384 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3385 # Try to create an executable without -o first, disregard a.out.
3386 # It will help us diagnose broken compilers, and finding out an intuition
3387 # of exeext.
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3389 $as_echo_n "checking whether the C compiler works... " >&6; }
3390 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3391
3392 # The possible output files:
3393 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3394
3395 ac_rmfiles=
3396 for ac_file in $ac_files
3397 do
3398 case $ac_file in
3399 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3400 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3401 esac
3402 done
3403 rm -f $ac_rmfiles
3404
3405 if { { ac_try="$ac_link_default"
3406 case "(($ac_try" in
3407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408 *) ac_try_echo=$ac_try;;
3409 esac
3410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3411 $as_echo "$ac_try_echo"; } >&5
3412 (eval "$ac_link_default") 2>&5
3413 ac_status=$?
3414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3415 test $ac_status = 0; }; then :
3416 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3417 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3418 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3419 # so that the user can short-circuit this test for compilers unknown to
3420 # Autoconf.
3421 for ac_file in $ac_files ''
3422 do
3423 test -f "$ac_file" || continue
3424 case $ac_file in
3425 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3426 ;;
3427 [ab].out )
3428 # We found the default executable, but exeext='' is most
3429 # certainly right.
3430 break;;
3431 *.* )
3432 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3433 then :; else
3434 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3435 fi
3436 # We set ac_cv_exeext here because the later test for it is not
3437 # safe: cross compilers may not add the suffix if given an `-o'
3438 # argument, so we may need to know it at that point already.
3439 # Even if this section looks crufty: it has the advantage of
3440 # actually working.
3441 break;;
3442 * )
3443 break;;
3444 esac
3445 done
3446 test "$ac_cv_exeext" = no && ac_cv_exeext=
3447
3448 else
3449 ac_file=''
3450 fi
3451 if test -z "$ac_file"; then :
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3453 $as_echo "no" >&6; }
3454 $as_echo "$as_me: failed program was:" >&5
3455 sed 's/^/| /' conftest.$ac_ext >&5
3456
3457 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3459 as_fn_error 77 "C compiler cannot create executables
3460 See \`config.log' for more details" "$LINENO" 5; }
3461 else
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3463 $as_echo "yes" >&6; }
3464 fi
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3466 $as_echo_n "checking for C compiler default output file name... " >&6; }
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3468 $as_echo "$ac_file" >&6; }
3469 ac_exeext=$ac_cv_exeext
3470
3471 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3472 ac_clean_files=$ac_clean_files_save
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3474 $as_echo_n "checking for suffix of executables... " >&6; }
3475 if { { ac_try="$ac_link"
3476 case "(($ac_try" in
3477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3478 *) ac_try_echo=$ac_try;;
3479 esac
3480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3481 $as_echo "$ac_try_echo"; } >&5
3482 (eval "$ac_link") 2>&5
3483 ac_status=$?
3484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3485 test $ac_status = 0; }; then :
3486 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3487 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3488 # work properly (i.e., refer to `conftest.exe'), while it won't with
3489 # `rm'.
3490 for ac_file in conftest.exe conftest conftest.*; do
3491 test -f "$ac_file" || continue
3492 case $ac_file in
3493 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3494 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3495 break;;
3496 * ) break;;
3497 esac
3498 done
3499 else
3500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3502 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3503 See \`config.log' for more details" "$LINENO" 5; }
3504 fi
3505 rm -f conftest conftest$ac_cv_exeext
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3507 $as_echo "$ac_cv_exeext" >&6; }
3508
3509 rm -f conftest.$ac_ext
3510 EXEEXT=$ac_cv_exeext
3511 ac_exeext=$EXEEXT
3512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3513 /* end confdefs.h. */
3514 #include <stdio.h>
3515 int
3516 main ()
3517 {
3518 FILE *f = fopen ("conftest.out", "w");
3519 return ferror (f) || fclose (f) != 0;
3520
3521 ;
3522 return 0;
3523 }
3524 _ACEOF
3525 ac_clean_files="$ac_clean_files conftest.out"
3526 # Check that the compiler produces executables we can run. If not, either
3527 # the compiler is broken, or we cross compile.
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3529 $as_echo_n "checking whether we are cross compiling... " >&6; }
3530 if test "$cross_compiling" != yes; then
3531 { { ac_try="$ac_link"
3532 case "(($ac_try" in
3533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3534 *) ac_try_echo=$ac_try;;
3535 esac
3536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3537 $as_echo "$ac_try_echo"; } >&5
3538 (eval "$ac_link") 2>&5
3539 ac_status=$?
3540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3541 test $ac_status = 0; }
3542 if { ac_try='./conftest$ac_cv_exeext'
3543 { { case "(($ac_try" in
3544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3545 *) ac_try_echo=$ac_try;;
3546 esac
3547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3548 $as_echo "$ac_try_echo"; } >&5
3549 (eval "$ac_try") 2>&5
3550 ac_status=$?
3551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3552 test $ac_status = 0; }; }; then
3553 cross_compiling=no
3554 else
3555 if test "$cross_compiling" = maybe; then
3556 cross_compiling=yes
3557 else
3558 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3560 as_fn_error $? "cannot run C compiled programs.
3561 If you meant to cross compile, use \`--host'.
3562 See \`config.log' for more details" "$LINENO" 5; }
3563 fi
3564 fi
3565 fi
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3567 $as_echo "$cross_compiling" >&6; }
3568
3569 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3570 ac_clean_files=$ac_clean_files_save
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3572 $as_echo_n "checking for suffix of object files... " >&6; }
3573 if ${ac_cv_objext+:} false; then :
3574 $as_echo_n "(cached) " >&6
3575 else
3576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3577 /* end confdefs.h. */
3578
3579 int
3580 main ()
3581 {
3582
3583 ;
3584 return 0;
3585 }
3586 _ACEOF
3587 rm -f conftest.o conftest.obj
3588 if { { ac_try="$ac_compile"
3589 case "(($ac_try" in
3590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3591 *) ac_try_echo=$ac_try;;
3592 esac
3593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3594 $as_echo "$ac_try_echo"; } >&5
3595 (eval "$ac_compile") 2>&5
3596 ac_status=$?
3597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3598 test $ac_status = 0; }; then :
3599 for ac_file in conftest.o conftest.obj conftest.*; do
3600 test -f "$ac_file" || continue;
3601 case $ac_file in
3602 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3603 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3604 break;;
3605 esac
3606 done
3607 else
3608 $as_echo "$as_me: failed program was:" >&5
3609 sed 's/^/| /' conftest.$ac_ext >&5
3610
3611 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3613 as_fn_error $? "cannot compute suffix of object files: cannot compile
3614 See \`config.log' for more details" "$LINENO" 5; }
3615 fi
3616 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3617 fi
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3619 $as_echo "$ac_cv_objext" >&6; }
3620 OBJEXT=$ac_cv_objext
3621 ac_objext=$OBJEXT
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3623 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3624 if ${ac_cv_c_compiler_gnu+:} false; then :
3625 $as_echo_n "(cached) " >&6
3626 else
3627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3628 /* end confdefs.h. */
3629
3630 int
3631 main ()
3632 {
3633 #ifndef __GNUC__
3634 choke me
3635 #endif
3636
3637 ;
3638 return 0;
3639 }
3640 _ACEOF
3641 if ac_fn_c_try_compile "$LINENO"; then :
3642 ac_compiler_gnu=yes
3643 else
3644 ac_compiler_gnu=no
3645 fi
3646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3647 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3648
3649 fi
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3651 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3652 if test $ac_compiler_gnu = yes; then
3653 GCC=yes
3654 else
3655 GCC=
3656 fi
3657 ac_test_CFLAGS=${CFLAGS+set}
3658 ac_save_CFLAGS=$CFLAGS
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3660 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3661 if ${ac_cv_prog_cc_g+:} false; then :
3662 $as_echo_n "(cached) " >&6
3663 else
3664 ac_save_c_werror_flag=$ac_c_werror_flag
3665 ac_c_werror_flag=yes
3666 ac_cv_prog_cc_g=no
3667 CFLAGS="-g"
3668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669 /* end confdefs.h. */
3670
3671 int
3672 main ()
3673 {
3674
3675 ;
3676 return 0;
3677 }
3678 _ACEOF
3679 if ac_fn_c_try_compile "$LINENO"; then :
3680 ac_cv_prog_cc_g=yes
3681 else
3682 CFLAGS=""
3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684 /* end confdefs.h. */
3685
3686 int
3687 main ()
3688 {
3689
3690 ;
3691 return 0;
3692 }
3693 _ACEOF
3694 if ac_fn_c_try_compile "$LINENO"; then :
3695
3696 else
3697 ac_c_werror_flag=$ac_save_c_werror_flag
3698 CFLAGS="-g"
3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3700 /* end confdefs.h. */
3701
3702 int
3703 main ()
3704 {
3705
3706 ;
3707 return 0;
3708 }
3709 _ACEOF
3710 if ac_fn_c_try_compile "$LINENO"; then :
3711 ac_cv_prog_cc_g=yes
3712 fi
3713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3714 fi
3715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3716 fi
3717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3718 ac_c_werror_flag=$ac_save_c_werror_flag
3719 fi
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3721 $as_echo "$ac_cv_prog_cc_g" >&6; }
3722 if test "$ac_test_CFLAGS" = set; then
3723 CFLAGS=$ac_save_CFLAGS
3724 elif test $ac_cv_prog_cc_g = yes; then
3725 if test "$GCC" = yes; then
3726 CFLAGS="-g -O2"
3727 else
3728 CFLAGS="-g"
3729 fi
3730 else
3731 if test "$GCC" = yes; then
3732 CFLAGS="-O2"
3733 else
3734 CFLAGS=
3735 fi
3736 fi
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3738 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3739 if ${ac_cv_prog_cc_c89+:} false; then :
3740 $as_echo_n "(cached) " >&6
3741 else
3742 ac_cv_prog_cc_c89=no
3743 ac_save_CC=$CC
3744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3745 /* end confdefs.h. */
3746 #include <stdarg.h>
3747 #include <stdio.h>
3748 struct stat;
3749 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3750 struct buf { int x; };
3751 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3752 static char *e (p, i)
3753 char **p;
3754 int i;
3755 {
3756 return p[i];
3757 }
3758 static char *f (char * (*g) (char **, int), char **p, ...)
3759 {
3760 char *s;
3761 va_list v;
3762 va_start (v,p);
3763 s = g (p, va_arg (v,int));
3764 va_end (v);
3765 return s;
3766 }
3767
3768 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3769 function prototypes and stuff, but not '\xHH' hex character constants.
3770 These don't provoke an error unfortunately, instead are silently treated
3771 as 'x'. The following induces an error, until -std is added to get
3772 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3773 array size at least. It's necessary to write '\x00'==0 to get something
3774 that's true only with -std. */
3775 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3776
3777 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3778 inside strings and character constants. */
3779 #define FOO(x) 'x'
3780 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3781
3782 int test (int i, double x);
3783 struct s1 {int (*f) (int a);};
3784 struct s2 {int (*f) (double a);};
3785 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3786 int argc;
3787 char **argv;
3788 int
3789 main ()
3790 {
3791 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3792 ;
3793 return 0;
3794 }
3795 _ACEOF
3796 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3797 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3798 do
3799 CC="$ac_save_CC $ac_arg"
3800 if ac_fn_c_try_compile "$LINENO"; then :
3801 ac_cv_prog_cc_c89=$ac_arg
3802 fi
3803 rm -f core conftest.err conftest.$ac_objext
3804 test "x$ac_cv_prog_cc_c89" != "xno" && break
3805 done
3806 rm -f conftest.$ac_ext
3807 CC=$ac_save_CC
3808
3809 fi
3810 # AC_CACHE_VAL
3811 case "x$ac_cv_prog_cc_c89" in
3812 x)
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3814 $as_echo "none needed" >&6; } ;;
3815 xno)
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3817 $as_echo "unsupported" >&6; } ;;
3818 *)
3819 CC="$CC $ac_cv_prog_cc_c89"
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3821 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3822 esac
3823 if test "x$ac_cv_prog_cc_c89" != xno; then :
3824
3825 fi
3826
3827 ac_ext=c
3828 ac_cpp='$CPP $CPPFLAGS'
3829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3832
3833 ac_ext=c
3834 ac_cpp='$CPP $CPPFLAGS'
3835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3839 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3840 if ${am_cv_prog_cc_c_o+:} false; then :
3841 $as_echo_n "(cached) " >&6
3842 else
3843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3844 /* end confdefs.h. */
3845
3846 int
3847 main ()
3848 {
3849
3850 ;
3851 return 0;
3852 }
3853 _ACEOF
3854 # Make sure it works both with $CC and with simple cc.
3855 # Following AC_PROG_CC_C_O, we do the test twice because some
3856 # compilers refuse to overwrite an existing .o file with -o,
3857 # though they will create one.
3858 am_cv_prog_cc_c_o=yes
3859 for am_i in 1 2; do
3860 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3861 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3862 ac_status=$?
3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864 (exit $ac_status); } \
3865 && test -f conftest2.$ac_objext; then
3866 : OK
3867 else
3868 am_cv_prog_cc_c_o=no
3869 break
3870 fi
3871 done
3872 rm -f core conftest*
3873 unset am_i
3874 fi
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3876 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3877 if test "$am_cv_prog_cc_c_o" != yes; then
3878 # Losing compiler, so override with the script.
3879 # FIXME: It is wrong to rewrite CC.
3880 # But if we don't then we get into trouble of one sort or another.
3881 # A longer-term fix would be to have automake use am__CC in this case,
3882 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3883 CC="$am_aux_dir/compile $CC"
3884 fi
3885 ac_ext=c
3886 ac_cpp='$CPP $CPPFLAGS'
3887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3890
3891 DEPDIR="${am__leading_dot}deps"
3892
3893 ac_config_commands="$ac_config_commands depfiles"
3894
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3896 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3897 cat > confinc.mk << 'END'
3898 am__doit:
3899 @echo this is the am__doit target >confinc.out
3900 .PHONY: am__doit
3901 END
3902 am__include="#"
3903 am__quote=
3904 # BSD make does it like this.
3905 echo '.include "confinc.mk" # ignored' > confmf.BSD
3906 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3907 echo 'include confinc.mk # ignored' > confmf.GNU
3908 _am_result=no
3909 for s in GNU BSD; do
3910 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3911 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3912 ac_status=$?
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); }
3915 case $?:`cat confinc.out 2>/dev/null` in #(
3916 '0:this is the am__doit target') :
3917 case $s in #(
3918 BSD) :
3919 am__include='.include' am__quote='"' ;; #(
3920 *) :
3921 am__include='include' am__quote='' ;;
3922 esac ;; #(
3923 *) :
3924 ;;
3925 esac
3926 if test "$am__include" != "#"; then
3927 _am_result="yes ($s style)"
3928 break
3929 fi
3930 done
3931 rm -f confinc.* confmf.*
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3933 $as_echo "${_am_result}" >&6; }
3934
3935 # Check whether --enable-dependency-tracking was given.
3936 if test "${enable_dependency_tracking+set}" = set; then :
3937 enableval=$enable_dependency_tracking;
3938 fi
3939
3940 if test "x$enable_dependency_tracking" != xno; then
3941 am_depcomp="$ac_aux_dir/depcomp"
3942 AMDEPBACKSLASH='\'
3943 am__nodep='_no'
3944 fi
3945 if test "x$enable_dependency_tracking" != xno; then
3946 AMDEP_TRUE=
3947 AMDEP_FALSE='#'
3948 else
3949 AMDEP_TRUE='#'
3950 AMDEP_FALSE=
3951 fi
3952
3953
3954
3955 depcc="$CC" am_compiler_list=
3956
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3958 $as_echo_n "checking dependency style of $depcc... " >&6; }
3959 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3960 $as_echo_n "(cached) " >&6
3961 else
3962 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3963 # We make a subdir and do the tests there. Otherwise we can end up
3964 # making bogus files that we don't know about and never remove. For
3965 # instance it was reported that on HP-UX the gcc test will end up
3966 # making a dummy file named 'D' -- because '-MD' means "put the output
3967 # in D".
3968 rm -rf conftest.dir
3969 mkdir conftest.dir
3970 # Copy depcomp to subdir because otherwise we won't find it if we're
3971 # using a relative directory.
3972 cp "$am_depcomp" conftest.dir
3973 cd conftest.dir
3974 # We will build objects and dependencies in a subdirectory because
3975 # it helps to detect inapplicable dependency modes. For instance
3976 # both Tru64's cc and ICC support -MD to output dependencies as a
3977 # side effect of compilation, but ICC will put the dependencies in
3978 # the current directory while Tru64 will put them in the object
3979 # directory.
3980 mkdir sub
3981
3982 am_cv_CC_dependencies_compiler_type=none
3983 if test "$am_compiler_list" = ""; then
3984 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3985 fi
3986 am__universal=false
3987 case " $depcc " in #(
3988 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3989 esac
3990
3991 for depmode in $am_compiler_list; do
3992 # Setup a source with many dependencies, because some compilers
3993 # like to wrap large dependency lists on column 80 (with \), and
3994 # we should not choose a depcomp mode which is confused by this.
3995 #
3996 # We need to recreate these files for each test, as the compiler may
3997 # overwrite some of them when testing with obscure command lines.
3998 # This happens at least with the AIX C compiler.
3999 : > sub/conftest.c
4000 for i in 1 2 3 4 5 6; do
4001 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4002 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4003 # Solaris 10 /bin/sh.
4004 echo '/* dummy */' > sub/conftst$i.h
4005 done
4006 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4007
4008 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4009 # mode. It turns out that the SunPro C++ compiler does not properly
4010 # handle '-M -o', and we need to detect this. Also, some Intel
4011 # versions had trouble with output in subdirs.
4012 am__obj=sub/conftest.${OBJEXT-o}
4013 am__minus_obj="-o $am__obj"
4014 case $depmode in
4015 gcc)
4016 # This depmode causes a compiler race in universal mode.
4017 test "$am__universal" = false || continue
4018 ;;
4019 nosideeffect)
4020 # After this tag, mechanisms are not by side-effect, so they'll
4021 # only be used when explicitly requested.
4022 if test "x$enable_dependency_tracking" = xyes; then
4023 continue
4024 else
4025 break
4026 fi
4027 ;;
4028 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4029 # This compiler won't grok '-c -o', but also, the minuso test has
4030 # not run yet. These depmodes are late enough in the game, and
4031 # so weak that their functioning should not be impacted.
4032 am__obj=conftest.${OBJEXT-o}
4033 am__minus_obj=
4034 ;;
4035 none) break ;;
4036 esac
4037 if depmode=$depmode \
4038 source=sub/conftest.c object=$am__obj \
4039 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4040 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4041 >/dev/null 2>conftest.err &&
4042 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4043 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4044 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4045 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4046 # icc doesn't choke on unknown options, it will just issue warnings
4047 # or remarks (even with -Werror). So we grep stderr for any message
4048 # that says an option was ignored or not supported.
4049 # When given -MP, icc 7.0 and 7.1 complain thusly:
4050 # icc: Command line warning: ignoring option '-M'; no argument required
4051 # The diagnosis changed in icc 8.0:
4052 # icc: Command line remark: option '-MP' not supported
4053 if (grep 'ignoring option' conftest.err ||
4054 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4055 am_cv_CC_dependencies_compiler_type=$depmode
4056 break
4057 fi
4058 fi
4059 done
4060
4061 cd ..
4062 rm -rf conftest.dir
4063 else
4064 am_cv_CC_dependencies_compiler_type=none
4065 fi
4066
4067 fi
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4069 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4070 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4071
4072 if
4073 test "x$enable_dependency_tracking" != xno \
4074 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4075 am__fastdepCC_TRUE=
4076 am__fastdepCC_FALSE='#'
4077 else
4078 am__fastdepCC_TRUE='#'
4079 am__fastdepCC_FALSE=
4080 fi
4081
4082
4083
4084 ac_ext=c
4085 ac_cpp='$CPP $CPPFLAGS'
4086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4090 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4091 # On Suns, sometimes $CPP names a directory.
4092 if test -n "$CPP" && test -d "$CPP"; then
4093 CPP=
4094 fi
4095 if test -z "$CPP"; then
4096 if ${ac_cv_prog_CPP+:} false; then :
4097 $as_echo_n "(cached) " >&6
4098 else
4099 # Double quotes because CPP needs to be expanded
4100 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4101 do
4102 ac_preproc_ok=false
4103 for ac_c_preproc_warn_flag in '' yes
4104 do
4105 # Use a header file that comes with gcc, so configuring glibc
4106 # with a fresh cross-compiler works.
4107 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4108 # <limits.h> exists even on freestanding compilers.
4109 # On the NeXT, cc -E runs the code through the compiler's parser,
4110 # not just through cpp. "Syntax error" is here to catch this case.
4111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4112 /* end confdefs.h. */
4113 #ifdef __STDC__
4114 # include <limits.h>
4115 #else
4116 # include <assert.h>
4117 #endif
4118 Syntax error
4119 _ACEOF
4120 if ac_fn_c_try_cpp "$LINENO"; then :
4121
4122 else
4123 # Broken: fails on valid input.
4124 continue
4125 fi
4126 rm -f conftest.err conftest.i conftest.$ac_ext
4127
4128 # OK, works on sane cases. Now check whether nonexistent headers
4129 # can be detected and how.
4130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4132 #include <ac_nonexistent.h>
4133 _ACEOF
4134 if ac_fn_c_try_cpp "$LINENO"; then :
4135 # Broken: success on invalid input.
4136 continue
4137 else
4138 # Passes both tests.
4139 ac_preproc_ok=:
4140 break
4141 fi
4142 rm -f conftest.err conftest.i conftest.$ac_ext
4143
4144 done
4145 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4146 rm -f conftest.i conftest.err conftest.$ac_ext
4147 if $ac_preproc_ok; then :
4148 break
4149 fi
4150
4151 done
4152 ac_cv_prog_CPP=$CPP
4153
4154 fi
4155 CPP=$ac_cv_prog_CPP
4156 else
4157 ac_cv_prog_CPP=$CPP
4158 fi
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4160 $as_echo "$CPP" >&6; }
4161 ac_preproc_ok=false
4162 for ac_c_preproc_warn_flag in '' yes
4163 do
4164 # Use a header file that comes with gcc, so configuring glibc
4165 # with a fresh cross-compiler works.
4166 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4167 # <limits.h> exists even on freestanding compilers.
4168 # On the NeXT, cc -E runs the code through the compiler's parser,
4169 # not just through cpp. "Syntax error" is here to catch this case.
4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h. */
4172 #ifdef __STDC__
4173 # include <limits.h>
4174 #else
4175 # include <assert.h>
4176 #endif
4177 Syntax error
4178 _ACEOF
4179 if ac_fn_c_try_cpp "$LINENO"; then :
4180
4181 else
4182 # Broken: fails on valid input.
4183 continue
4184 fi
4185 rm -f conftest.err conftest.i conftest.$ac_ext
4186
4187 # OK, works on sane cases. Now check whether nonexistent headers
4188 # can be detected and how.
4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4191 #include <ac_nonexistent.h>
4192 _ACEOF
4193 if ac_fn_c_try_cpp "$LINENO"; then :
4194 # Broken: success on invalid input.
4195 continue
4196 else
4197 # Passes both tests.
4198 ac_preproc_ok=:
4199 break
4200 fi
4201 rm -f conftest.err conftest.i conftest.$ac_ext
4202
4203 done
4204 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4205 rm -f conftest.i conftest.err conftest.$ac_ext
4206 if $ac_preproc_ok; then :
4207
4208 else
4209 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4210 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4211 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4212 See \`config.log' for more details" "$LINENO" 5; }
4213 fi
4214
4215 ac_ext=c
4216 ac_cpp='$CPP $CPPFLAGS'
4217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4220
4221
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4223 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4224 if ${ac_cv_path_GREP+:} false; then :
4225 $as_echo_n "(cached) " >&6
4226 else
4227 if test -z "$GREP"; then
4228 ac_path_GREP_found=false
4229 # Loop through the user's path and test for each of PROGNAME-LIST
4230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4231 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4232 do
4233 IFS=$as_save_IFS
4234 test -z "$as_dir" && as_dir=.
4235 for ac_prog in grep ggrep; do
4236 for ac_exec_ext in '' $ac_executable_extensions; do
4237 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4238 as_fn_executable_p "$ac_path_GREP" || continue
4239 # Check for GNU ac_path_GREP and select it if it is found.
4240 # Check for GNU $ac_path_GREP
4241 case `"$ac_path_GREP" --version 2>&1` in
4242 *GNU*)
4243 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4244 *)
4245 ac_count=0
4246 $as_echo_n 0123456789 >"conftest.in"
4247 while :
4248 do
4249 cat "conftest.in" "conftest.in" >"conftest.tmp"
4250 mv "conftest.tmp" "conftest.in"
4251 cp "conftest.in" "conftest.nl"
4252 $as_echo 'GREP' >> "conftest.nl"
4253 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4254 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4255 as_fn_arith $ac_count + 1 && ac_count=$as_val
4256 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4257 # Best one so far, save it but keep looking for a better one
4258 ac_cv_path_GREP="$ac_path_GREP"
4259 ac_path_GREP_max=$ac_count
4260 fi
4261 # 10*(2^10) chars as input seems more than enough
4262 test $ac_count -gt 10 && break
4263 done
4264 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4265 esac
4266
4267 $ac_path_GREP_found && break 3
4268 done
4269 done
4270 done
4271 IFS=$as_save_IFS
4272 if test -z "$ac_cv_path_GREP"; then
4273 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4274 fi
4275 else
4276 ac_cv_path_GREP=$GREP
4277 fi
4278
4279 fi
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4281 $as_echo "$ac_cv_path_GREP" >&6; }
4282 GREP="$ac_cv_path_GREP"
4283
4284
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4286 $as_echo_n "checking for egrep... " >&6; }
4287 if ${ac_cv_path_EGREP+:} false; then :
4288 $as_echo_n "(cached) " >&6
4289 else
4290 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4291 then ac_cv_path_EGREP="$GREP -E"
4292 else
4293 if test -z "$EGREP"; then
4294 ac_path_EGREP_found=false
4295 # Loop through the user's path and test for each of PROGNAME-LIST
4296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4297 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4298 do
4299 IFS=$as_save_IFS
4300 test -z "$as_dir" && as_dir=.
4301 for ac_prog in egrep; do
4302 for ac_exec_ext in '' $ac_executable_extensions; do
4303 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4304 as_fn_executable_p "$ac_path_EGREP" || continue
4305 # Check for GNU ac_path_EGREP and select it if it is found.
4306 # Check for GNU $ac_path_EGREP
4307 case `"$ac_path_EGREP" --version 2>&1` in
4308 *GNU*)
4309 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4310 *)
4311 ac_count=0
4312 $as_echo_n 0123456789 >"conftest.in"
4313 while :
4314 do
4315 cat "conftest.in" "conftest.in" >"conftest.tmp"
4316 mv "conftest.tmp" "conftest.in"
4317 cp "conftest.in" "conftest.nl"
4318 $as_echo 'EGREP' >> "conftest.nl"
4319 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4320 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4321 as_fn_arith $ac_count + 1 && ac_count=$as_val
4322 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4323 # Best one so far, save it but keep looking for a better one
4324 ac_cv_path_EGREP="$ac_path_EGREP"
4325 ac_path_EGREP_max=$ac_count
4326 fi
4327 # 10*(2^10) chars as input seems more than enough
4328 test $ac_count -gt 10 && break
4329 done
4330 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4331 esac
4332
4333 $ac_path_EGREP_found && break 3
4334 done
4335 done
4336 done
4337 IFS=$as_save_IFS
4338 if test -z "$ac_cv_path_EGREP"; then
4339 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4340 fi
4341 else
4342 ac_cv_path_EGREP=$EGREP
4343 fi
4344
4345 fi
4346 fi
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4348 $as_echo "$ac_cv_path_EGREP" >&6; }
4349 EGREP="$ac_cv_path_EGREP"
4350
4351
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4353 $as_echo_n "checking for ANSI C header files... " >&6; }
4354 if ${ac_cv_header_stdc+:} false; then :
4355 $as_echo_n "(cached) " >&6
4356 else
4357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4358 /* end confdefs.h. */
4359 #include <stdlib.h>
4360 #include <stdarg.h>
4361 #include <string.h>
4362 #include <float.h>
4363
4364 int
4365 main ()
4366 {
4367
4368 ;
4369 return 0;
4370 }
4371 _ACEOF
4372 if ac_fn_c_try_compile "$LINENO"; then :
4373 ac_cv_header_stdc=yes
4374 else
4375 ac_cv_header_stdc=no
4376 fi
4377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4378
4379 if test $ac_cv_header_stdc = yes; then
4380 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4382 /* end confdefs.h. */
4383 #include <string.h>
4384
4385 _ACEOF
4386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4387 $EGREP "memchr" >/dev/null 2>&1; then :
4388
4389 else
4390 ac_cv_header_stdc=no
4391 fi
4392 rm -f conftest*
4393
4394 fi
4395
4396 if test $ac_cv_header_stdc = yes; then
4397 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4399 /* end confdefs.h. */
4400 #include <stdlib.h>
4401
4402 _ACEOF
4403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4404 $EGREP "free" >/dev/null 2>&1; then :
4405
4406 else
4407 ac_cv_header_stdc=no
4408 fi
4409 rm -f conftest*
4410
4411 fi
4412
4413 if test $ac_cv_header_stdc = yes; then
4414 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4415 if test "$cross_compiling" = yes; then :
4416 :
4417 else
4418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4419 /* end confdefs.h. */
4420 #include <ctype.h>
4421 #include <stdlib.h>
4422 #if ((' ' & 0x0FF) == 0x020)
4423 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4424 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4425 #else
4426 # define ISLOWER(c) \
4427 (('a' <= (c) && (c) <= 'i') \
4428 || ('j' <= (c) && (c) <= 'r') \
4429 || ('s' <= (c) && (c) <= 'z'))
4430 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4431 #endif
4432
4433 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4434 int
4435 main ()
4436 {
4437 int i;
4438 for (i = 0; i < 256; i++)
4439 if (XOR (islower (i), ISLOWER (i))
4440 || toupper (i) != TOUPPER (i))
4441 return 2;
4442 return 0;
4443 }
4444 _ACEOF
4445 if ac_fn_c_try_run "$LINENO"; then :
4446
4447 else
4448 ac_cv_header_stdc=no
4449 fi
4450 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4451 conftest.$ac_objext conftest.beam conftest.$ac_ext
4452 fi
4453
4454 fi
4455 fi
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4457 $as_echo "$ac_cv_header_stdc" >&6; }
4458 if test $ac_cv_header_stdc = yes; then
4459
4460 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4461
4462 fi
4463
4464 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4465 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4466 inttypes.h stdint.h unistd.h
4467 do :
4468 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4469 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4470 "
4471 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4472 cat >>confdefs.h <<_ACEOF
4473 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4474 _ACEOF
4475
4476 fi
4477
4478 done
4479
4480
4481
4482 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4483 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4484 MINIX=yes
4485 else
4486 MINIX=
4487 fi
4488
4489
4490 if test "$MINIX" = yes; then
4491
4492 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4493
4494
4495 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4496
4497
4498 $as_echo "#define _MINIX 1" >>confdefs.h
4499
4500 fi
4501
4502
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4504 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4505 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4506 $as_echo_n "(cached) " >&6
4507 else
4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4510
4511 # define __EXTENSIONS__ 1
4512 $ac_includes_default
4513 int
4514 main ()
4515 {
4516
4517 ;
4518 return 0;
4519 }
4520 _ACEOF
4521 if ac_fn_c_try_compile "$LINENO"; then :
4522 ac_cv_safe_to_define___extensions__=yes
4523 else
4524 ac_cv_safe_to_define___extensions__=no
4525 fi
4526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4527 fi
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4529 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4530 test $ac_cv_safe_to_define___extensions__ = yes &&
4531 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4532
4533 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4534
4535 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4536
4537 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4538
4539 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4540
4541
4542
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system compiler" >&5
4544 $as_echo_n "checking for build system compiler... " >&6; }
4545 if test "$cross_compiling" = yes; then
4546 CC_FOR_BUILD=${CC_FOR_BUILD-cc}
4547 else
4548 CC_FOR_BUILD=${CC}
4549 fi
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CC_FOR_BUILD}" >&5
4551 $as_echo "${CC_FOR_BUILD}" >&6; }
4552
4553
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__alias__()))" >&5
4555 $as_echo_n "checking for __attribute__((__alias__()))... " >&6; }
4556 dash_cv_have_attribute_alias=no
4557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4559 void t() {}
4560 void a() __attribute__((__alias__("t")));
4561 int
4562 main ()
4563 {
4564 a();
4565 ;
4566 return 0;
4567 }
4568 _ACEOF
4569 if ac_fn_c_try_link "$LINENO"; then :
4570 dash_cv_have_attribute_alias=yes
4571 fi
4572 rm -f core conftest.err conftest.$ac_objext \
4573 conftest$ac_exeext conftest.$ac_ext
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dash_cv_have_attribute_alias" >&5
4575 $as_echo "$dash_cv_have_attribute_alias" >&6; }
4576 if test "x$dash_cv_have_attribute_alias" = xyes; then
4577
4578 $as_echo "#define HAVE_ALIAS_ATTRIBUTE 1" >>confdefs.h
4579
4580 fi
4581
4582 # Check whether --enable-static was given.
4583 if test "${enable_static+set}" = set; then :
4584 enableval=$enable_static;
4585 fi
4586
4587 if test "$enable_static" = "yes"; then
4588 export LDFLAGS="-static -Wl,--fatal-warnings"
4589 fi
4590
4591 # Check whether --enable-fnmatch was given.
4592 if test "${enable_fnmatch+set}" = set; then :
4593 enableval=$enable_fnmatch;
4594 fi
4595
4596 # Check whether --enable-glob was given.
4597 if test "${enable_glob+set}" = set; then :
4598 enableval=$enable_glob;
4599 fi
4600
4601
4602
4603 for ac_header in alloca.h paths.h
4604 do :
4605 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4606 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4607 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4608 cat >>confdefs.h <<_ACEOF
4609 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4610 _ACEOF
4611
4612 fi
4613
4614 done
4615
4616
4617 ac_fn_c_check_decl "$LINENO" "_PATH_BSHELL" "ac_cv_have_decl__PATH_BSHELL" "
4618 #ifdef HAVE_PATHS_H
4619 #include <paths.h>
4620 #endif
4621
4622 "
4623 if test "x$ac_cv_have_decl__PATH_BSHELL" = xyes; then :
4624
4625 else
4626
4627 cat >>confdefs.h <<_ACEOF
4628 #define _PATH_BSHELL "/bin/sh"
4629 _ACEOF
4630
4631 fi
4632
4633 ac_fn_c_check_decl "$LINENO" "_PATH_DEVNULL" "ac_cv_have_decl__PATH_DEVNULL" "
4634 #ifdef HAVE_PATHS_H
4635 #include <paths.h>
4636 #endif
4637
4638 "
4639 if test "x$ac_cv_have_decl__PATH_DEVNULL" = xyes; then :
4640
4641 else
4642
4643 cat >>confdefs.h <<_ACEOF
4644 #define _PATH_DEVNULL "/dev/null"
4645 _ACEOF
4646
4647 fi
4648
4649 ac_fn_c_check_decl "$LINENO" "_PATH_TTY" "ac_cv_have_decl__PATH_TTY" "
4650 #ifdef HAVE_PATHS_H
4651 #include <paths.h>
4652 #endif
4653
4654 "
4655 if test "x$ac_cv_have_decl__PATH_TTY" = xyes; then :
4656
4657 else
4658
4659 cat >>confdefs.h <<_ACEOF
4660 #define _PATH_TTY "/dev/tty"
4661 _ACEOF
4662
4663 fi
4664
4665
4666 ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include <ctype.h>
4667 "
4668 if test "x$ac_cv_have_decl_isblank" = xyes; then :
4669 ac_have_decl=1
4670 else
4671 ac_have_decl=0
4672 fi
4673
4674 cat >>confdefs.h <<_ACEOF
4675 #define HAVE_DECL_ISBLANK $ac_have_decl
4676 _ACEOF
4677
4678
4679 # The cast to long int works around a bug in the HP C Compiler
4680 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4681 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4682 # This bug is HP SR number 8606223364.
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of intmax_t" >&5
4684 $as_echo_n "checking size of intmax_t... " >&6; }
4685 if ${ac_cv_sizeof_intmax_t+:} false; then :
4686 $as_echo_n "(cached) " >&6
4687 else
4688 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (intmax_t))" "ac_cv_sizeof_intmax_t" "$ac_includes_default"; then :
4689
4690 else
4691 if test "$ac_cv_type_intmax_t" = yes; then
4692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4694 as_fn_error 77 "cannot compute sizeof (intmax_t)
4695 See \`config.log' for more details" "$LINENO" 5; }
4696 else
4697 ac_cv_sizeof_intmax_t=0
4698 fi
4699 fi
4700
4701 fi
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intmax_t" >&5
4703 $as_echo "$ac_cv_sizeof_intmax_t" >&6; }
4704
4705
4706
4707 cat >>confdefs.h <<_ACEOF
4708 #define SIZEOF_INTMAX_T $ac_cv_sizeof_intmax_t
4709 _ACEOF
4710
4711
4712 # The cast to long int works around a bug in the HP C Compiler
4713 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4714 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4715 # This bug is HP SR number 8606223364.
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
4717 $as_echo_n "checking size of long long int... " >&6; }
4718 if ${ac_cv_sizeof_long_long_int+:} false; then :
4719 $as_echo_n "(cached) " >&6
4720 else
4721 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int" "$ac_includes_default"; then :
4722
4723 else
4724 if test "$ac_cv_type_long_long_int" = yes; then
4725 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4726 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4727 as_fn_error 77 "cannot compute sizeof (long long int)
4728 See \`config.log' for more details" "$LINENO" 5; }
4729 else
4730 ac_cv_sizeof_long_long_int=0
4731 fi
4732 fi
4733
4734 fi
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
4736 $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
4737
4738
4739
4740 cat >>confdefs.h <<_ACEOF
4741 #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
4742 _ACEOF
4743
4744
4745
4746 if test "x$ac_cv_sizeof_intmax_t" = "x$ac_cv_sizeof_long_long_int"; then
4747 intmax_fstr="lld"
4748 else
4749 intmax_fstr="jd"
4750 fi
4751
4752 ac_fn_c_check_decl "$LINENO" "PRIdMAX" "ac_cv_have_decl_PRIdMAX" "
4753 #include <inttypes.h>
4754
4755 "
4756 if test "x$ac_cv_have_decl_PRIdMAX" = xyes; then :
4757
4758 else
4759
4760 cat >>confdefs.h <<_ACEOF
4761 #define PRIdMAX "$intmax_fstr"
4762 _ACEOF
4763
4764 fi
4765
4766
4767 for ac_func in bsearch faccessat getpwnam getrlimit isalpha killpg \
4768 mempcpy \
4769 sigsetmask stpcpy strchrnul strsignal strtod strtoimax \
4770 strtoumax sysconf
4771 do :
4772 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4773 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4774 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4775 cat >>confdefs.h <<_ACEOF
4776 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4777 _ACEOF
4778
4779 fi
4780 done
4781
4782
4783
4784 # Check whether --enable-test-workaround was given.
4785 if test "${enable_test_workaround+set}" = set; then :
4786 enableval=$enable_test_workaround;
4787 else
4788 enable_test_workaround=auto
4789 fi
4790
4791
4792 if test "enable_test_workaround" = "auto" &&
4793 test "$ac_cv_func_faccessat" = yes; then
4794 case `uname -s 2>/dev/null` in
4795 GNU/kFreeBSD | \
4796 FreeBSD)
4797 enable_test_workaround=yes
4798 esac
4799 fi
4800 if test "$enable_test_workaround" = "yes"; then
4801
4802 $as_echo "#define HAVE_TRADITIONAL_FACCESSAT 1" >>confdefs.h
4803
4804 fi
4805
4806 if test "$enable_fnmatch" != no; then
4807 use_fnmatch=
4808 for ac_func in fnmatch
4809 do :
4810 ac_fn_c_check_func "$LINENO" "fnmatch" "ac_cv_func_fnmatch"
4811 if test "x$ac_cv_func_fnmatch" = xyes; then :
4812 cat >>confdefs.h <<_ACEOF
4813 #define HAVE_FNMATCH 1
4814 _ACEOF
4815 use_fnmatch=yes
4816 fi
4817 done
4818
4819 fi
4820
4821 if test "$use_fnmatch" = yes && test "$enable_glob" = yes; then
4822 for ac_func in glob
4823 do :
4824 ac_fn_c_check_func "$LINENO" "glob" "ac_cv_func_glob"
4825 if test "x$ac_cv_func_glob" = xyes; then :
4826 cat >>confdefs.h <<_ACEOF
4827 #define HAVE_GLOB 1
4828 _ACEOF
4829
4830 fi
4831 done
4832
4833 fi
4834
4835 ac_fn_c_check_func "$LINENO" "signal" "ac_cv_func_signal"
4836 if test "x$ac_cv_func_signal" = xyes; then :
4837
4838 fi
4839
4840 if test "$ac_cv_func_signal" != yes; then
4841 ac_fn_c_check_func "$LINENO" "bsd_signal" "ac_cv_func_bsd_signal"
4842 if test "x$ac_cv_func_bsd_signal" = xyes; then :
4843
4844 $as_echo "#define signal bsd_signal" >>confdefs.h
4845
4846 fi
4847
4848 fi
4849
4850 ac_fn_c_check_decl "$LINENO" "stat64" "ac_cv_have_decl_stat64" "$ac_includes_default"
4851 if test "x$ac_cv_have_decl_stat64" = xyes; then :
4852 ac_fn_c_check_func "$LINENO" "stat64" "ac_cv_func_stat64"
4853 if test "x$ac_cv_func_stat64" = xyes; then :
4854
4855 fi
4856
4857 fi
4858
4859 if test "$ac_cv_func_stat64" != yes; then
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 fi
4870
4871 ac_fn_c_check_func "$LINENO" "glob64" "ac_cv_func_glob64"
4872 if test "x$ac_cv_func_glob64" = xyes; then :
4873
4874 else
4875
4876
4877 $as_echo "#define glob64_t glob_t" >>confdefs.h
4878
4879
4880 $as_echo "#define glob64 glob" >>confdefs.h
4881
4882
4883 $as_echo "#define globfree64 globfree" >>confdefs.h
4884
4885
4886 fi
4887
4888
4889 ac_fn_c_check_func "$LINENO" "open64" "ac_cv_func_open64"
4890 if test "x$ac_cv_func_open64" = xyes; then :
4891
4892 else
4893
4894
4895 $as_echo "#define open64 open" >>confdefs.h
4896
4897
4898 $as_echo "#define readdir64 readdir" >>confdefs.h
4899
4900
4901 $as_echo "#define dirent64 dirent" >>confdefs.h
4902
4903
4904 fi
4905
4906
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stat::st_mtim" >&5
4908 $as_echo_n "checking for stat::st_mtim... " >&6; }
4909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4910 /* end confdefs.h. */
4911 #include <time.h>
4912 #include <sys/time.h>
4913 #include <sys/stat.h>
4914 int
4915 main ()
4916 {
4917 struct stat foo; return sizeof(foo.st_mtim.tv_sec)
4918 ;
4919 return 0;
4920 }
4921 _ACEOF
4922 if ac_fn_c_try_compile "$LINENO"; then :
4923 have_st_mtim=yes
4924 else
4925 have_st_mtim=no
4926 fi
4927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_st_mtim" >&5
4929 $as_echo "$have_st_mtim" >&6; }
4930 if test "$have_st_mtim" = "yes"; then
4931
4932 $as_echo "#define HAVE_ST_MTIM 1" >>confdefs.h
4933
4934 fi
4935
4936
4937 # Check whether --with-libedit was given.
4938 if test "${with_libedit+set}" = set; then :
4939 withval=$with_libedit;
4940 fi
4941
4942 use_libedit=
4943 if test "$with_libedit" = "yes"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for history_init in -ledit" >&5
4945 $as_echo_n "checking for history_init in -ledit... " >&6; }
4946 if ${ac_cv_lib_edit_history_init+:} false; then :
4947 $as_echo_n "(cached) " >&6
4948 else
4949 ac_check_lib_save_LIBS=$LIBS
4950 LIBS="-ledit $LIBS"
4951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4952 /* end confdefs.h. */
4953
4954 /* Override any GCC internal prototype to avoid an error.
4955 Use char because int might match the return type of a GCC
4956 builtin and then its argument prototype would still apply. */
4957 #ifdef __cplusplus
4958 extern "C"
4959 #endif
4960 char history_init ();
4961 int
4962 main ()
4963 {
4964 return history_init ();
4965 ;
4966 return 0;
4967 }
4968 _ACEOF
4969 if ac_fn_c_try_link "$LINENO"; then :
4970 ac_cv_lib_edit_history_init=yes
4971 else
4972 ac_cv_lib_edit_history_init=no
4973 fi
4974 rm -f core conftest.err conftest.$ac_objext \
4975 conftest$ac_exeext conftest.$ac_ext
4976 LIBS=$ac_check_lib_save_LIBS
4977 fi
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_history_init" >&5
4979 $as_echo "$ac_cv_lib_edit_history_init" >&6; }
4980 if test "x$ac_cv_lib_edit_history_init" = xyes; then :
4981
4982 ac_fn_c_check_header_mongrel "$LINENO" "histedit.h" "ac_cv_header_histedit_h" "$ac_includes_default"
4983 if test "x$ac_cv_header_histedit_h" = xyes; then :
4984 use_libedit="yes"
4985 else
4986 as_fn_error $? "Can't find required header files." "$LINENO" 5
4987 fi
4988
4989
4990 else
4991
4992 as_fn_error $? "Can't find libedit." "$LINENO" 5
4993 fi
4994
4995 fi
4996 if test "$use_libedit" != "yes"; then
4997
4998 $as_echo "#define SMALL 1" >>confdefs.h
4999
5000 else
5001 export LIBS="$LIBS -ledit"
5002 fi
5003 # Check whether --enable-lineno was given.
5004 if test "${enable_lineno+set}" = set; then :
5005 enableval=$enable_lineno;
5006 fi
5007
5008 if test "$enable_lineno" != "no"; then
5009
5010 $as_echo "#define WITH_LINENO 1" >>confdefs.h
5011
5012 fi
5013 ac_config_files="$ac_config_files Makefile src/Makefile"
5014
5015 cat >confcache <<\_ACEOF
5016 # This file is a shell script that caches the results of configure
5017 # tests run on this system so they can be shared between configure
5018 # scripts and configure runs, see configure's option --config-cache.
5019 # It is not useful on other systems. If it contains results you don't
5020 # want to keep, you may remove or edit it.
5021 #
5022 # config.status only pays attention to the cache file if you give it
5023 # the --recheck option to rerun configure.
5024 #
5025 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5026 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5027 # following values.
5028
5029 _ACEOF
5030
5031 # The following way of writing the cache mishandles newlines in values,
5032 # but we know of no workaround that is simple, portable, and efficient.
5033 # So, we kill variables containing newlines.
5034 # Ultrix sh set writes to stderr and can't be redirected directly,
5035 # and sets the high bit in the cache file unless we assign to the vars.
5036 (
5037 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5038 eval ac_val=\$$ac_var
5039 case $ac_val in #(
5040 *${as_nl}*)
5041 case $ac_var in #(
5042 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5043 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5044 esac
5045 case $ac_var in #(
5046 _ | IFS | as_nl) ;; #(
5047 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5048 *) { eval $ac_var=; unset $ac_var;} ;;
5049 esac ;;
5050 esac
5051 done
5052
5053 (set) 2>&1 |
5054 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5055 *${as_nl}ac_space=\ *)
5056 # `set' does not quote correctly, so add quotes: double-quote
5057 # substitution turns \\\\ into \\, and sed turns \\ into \.
5058 sed -n \
5059 "s/'/'\\\\''/g;
5060 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5061 ;; #(
5062 *)
5063 # `set' quotes correctly as required by POSIX, so do not add quotes.
5064 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5065 ;;
5066 esac |
5067 sort
5068 ) |
5069 sed '
5070 /^ac_cv_env_/b end
5071 t clear
5072 :clear
5073 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5074 t end
5075 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5076 :end' >>confcache
5077 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5078 if test -w "$cache_file"; then
5079 if test "x$cache_file" != "x/dev/null"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5081 $as_echo "$as_me: updating cache $cache_file" >&6;}
5082 if test ! -f "$cache_file" || test -h "$cache_file"; then
5083 cat confcache >"$cache_file"
5084 else
5085 case $cache_file in #(
5086 */* | ?:*)
5087 mv -f confcache "$cache_file"$$ &&
5088 mv -f "$cache_file"$$ "$cache_file" ;; #(
5089 *)
5090 mv -f confcache "$cache_file" ;;
5091 esac
5092 fi
5093 fi
5094 else
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5096 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5097 fi
5098 fi
5099 rm -f confcache
5100
5101 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5102 # Let make expand exec_prefix.
5103 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5104
5105 DEFS=-DHAVE_CONFIG_H
5106
5107 ac_libobjs=
5108 ac_ltlibobjs=
5109 U=
5110 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5111 # 1. Remove the extension, and $U if already installed.
5112 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5113 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5114 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5115 # will be set to the directory where LIBOBJS objects are built.
5116 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5117 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5118 done
5119 LIBOBJS=$ac_libobjs
5120
5121 LTLIBOBJS=$ac_ltlibobjs
5122
5123
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5125 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5126 if test -n "$am_sleep_pid"; then
5127 # Hide warnings about reused PIDs.
5128 wait $am_sleep_pid 2>/dev/null
5129 fi
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5131 $as_echo "done" >&6; }
5132 if test -n "$EXEEXT"; then
5133 am__EXEEXT_TRUE=
5134 am__EXEEXT_FALSE='#'
5135 else
5136 am__EXEEXT_TRUE='#'
5137 am__EXEEXT_FALSE=
5138 fi
5139
5140 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5141 as_fn_error $? "conditional \"AMDEP\" was never defined.
5142 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5143 fi
5144 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5145 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5146 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5147 fi
5148
5149 : "${CONFIG_STATUS=./config.status}"
5150 ac_write_fail=0
5151 ac_clean_files_save=$ac_clean_files
5152 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5154 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5155 as_write_fail=0
5156 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5157 #! $SHELL
5158 # Generated by $as_me.
5159 # Run this file to recreate the current configuration.
5160 # Compiler output produced by configure, useful for debugging
5161 # configure, is in config.log if it exists.
5162
5163 debug=false
5164 ac_cs_recheck=false
5165 ac_cs_silent=false
5166
5167 SHELL=\${CONFIG_SHELL-$SHELL}
5168 export SHELL
5169 _ASEOF
5170 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5171 ## -------------------- ##
5172 ## M4sh Initialization. ##
5173 ## -------------------- ##
5174
5175 # Be more Bourne compatible
5176 DUALCASE=1; export DUALCASE # for MKS sh
5177 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5178 emulate sh
5179 NULLCMD=:
5180 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5181 # is contrary to our usage. Disable this feature.
5182 alias -g '${1+"$@"}'='"$@"'
5183 setopt NO_GLOB_SUBST
5184 else
5185 case `(set -o) 2>/dev/null` in #(
5186 *posix*) :
5187 set -o posix ;; #(
5188 *) :
5189 ;;
5190 esac
5191 fi
5192
5193
5194 as_nl='
5195 '
5196 export as_nl
5197 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5198 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5199 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5200 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5201 # Prefer a ksh shell builtin over an external printf program on Solaris,
5202 # but without wasting forks for bash or zsh.
5203 if test -z "$BASH_VERSION$ZSH_VERSION" \
5204 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5205 as_echo='print -r --'
5206 as_echo_n='print -rn --'
5207 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5208 as_echo='printf %s\n'
5209 as_echo_n='printf %s'
5210 else
5211 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5212 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5213 as_echo_n='/usr/ucb/echo -n'
5214 else
5215 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5216 as_echo_n_body='eval
5217 arg=$1;
5218 case $arg in #(
5219 *"$as_nl"*)
5220 expr "X$arg" : "X\\(.*\\)$as_nl";
5221 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5222 esac;
5223 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5224 '
5225 export as_echo_n_body
5226 as_echo_n='sh -c $as_echo_n_body as_echo'
5227 fi
5228 export as_echo_body
5229 as_echo='sh -c $as_echo_body as_echo'
5230 fi
5231
5232 # The user is always right.
5233 if test "${PATH_SEPARATOR+set}" != set; then
5234 PATH_SEPARATOR=:
5235 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5236 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5237 PATH_SEPARATOR=';'
5238 }
5239 fi
5240
5241
5242 # IFS
5243 # We need space, tab and new line, in precisely that order. Quoting is
5244 # there to prevent editors from complaining about space-tab.
5245 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5246 # splitting by setting IFS to empty value.)
5247 IFS=" "" $as_nl"
5248
5249 # Find who we are. Look in the path if we contain no directory separator.
5250 as_myself=
5251 case $0 in #((
5252 *[\\/]* ) as_myself=$0 ;;
5253 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5254 for as_dir in $PATH
5255 do
5256 IFS=$as_save_IFS
5257 test -z "$as_dir" && as_dir=.
5258 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5259 done
5260 IFS=$as_save_IFS
5261
5262 ;;
5263 esac
5264 # We did not find ourselves, most probably we were run as `sh COMMAND'
5265 # in which case we are not to be found in the path.
5266 if test "x$as_myself" = x; then
5267 as_myself=$0
5268 fi
5269 if test ! -f "$as_myself"; then
5270 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5271 exit 1
5272 fi
5273
5274 # Unset variables that we do not need and which cause bugs (e.g. in
5275 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5276 # suppresses any "Segmentation fault" message there. '((' could
5277 # trigger a bug in pdksh 5.2.14.
5278 for as_var in BASH_ENV ENV MAIL MAILPATH
5279 do eval test x\${$as_var+set} = xset \
5280 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5281 done
5282 PS1='$ '
5283 PS2='> '
5284 PS4='+ '
5285
5286 # NLS nuisances.
5287 LC_ALL=C
5288 export LC_ALL
5289 LANGUAGE=C
5290 export LANGUAGE
5291
5292 # CDPATH.
5293 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5294
5295
5296 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5297 # ----------------------------------------
5298 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5299 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5300 # script with STATUS, using 1 if that was 0.
5301 as_fn_error ()
5302 {
5303 as_status=$1; test $as_status -eq 0 && as_status=1
5304 if test "$4"; then
5305 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5306 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5307 fi
5308 $as_echo "$as_me: error: $2" >&2
5309 as_fn_exit $as_status
5310 } # as_fn_error
5311
5312
5313 # as_fn_set_status STATUS
5314 # -----------------------
5315 # Set $? to STATUS, without forking.
5316 as_fn_set_status ()
5317 {
5318 return $1
5319 } # as_fn_set_status
5320
5321 # as_fn_exit STATUS
5322 # -----------------
5323 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5324 as_fn_exit ()
5325 {
5326 set +e
5327 as_fn_set_status $1
5328 exit $1
5329 } # as_fn_exit
5330
5331 # as_fn_unset VAR
5332 # ---------------
5333 # Portably unset VAR.
5334 as_fn_unset ()
5335 {
5336 { eval $1=; unset $1;}
5337 }
5338 as_unset=as_fn_unset
5339 # as_fn_append VAR VALUE
5340 # ----------------------
5341 # Append the text in VALUE to the end of the definition contained in VAR. Take
5342 # advantage of any shell optimizations that allow amortized linear growth over
5343 # repeated appends, instead of the typical quadratic growth present in naive
5344 # implementations.
5345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5346 eval 'as_fn_append ()
5347 {
5348 eval $1+=\$2
5349 }'
5350 else
5351 as_fn_append ()
5352 {
5353 eval $1=\$$1\$2
5354 }
5355 fi # as_fn_append
5356
5357 # as_fn_arith ARG...
5358 # ------------------
5359 # Perform arithmetic evaluation on the ARGs, and store the result in the
5360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5361 # must be portable across $(()) and expr.
5362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5363 eval 'as_fn_arith ()
5364 {
5365 as_val=$(( $* ))
5366 }'
5367 else
5368 as_fn_arith ()
5369 {
5370 as_val=`expr "$@" || test $? -eq 1`
5371 }
5372 fi # as_fn_arith
5373
5374
5375 if expr a : '\(a\)' >/dev/null 2>&1 &&
5376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5377 as_expr=expr
5378 else
5379 as_expr=false
5380 fi
5381
5382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5383 as_basename=basename
5384 else
5385 as_basename=false
5386 fi
5387
5388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5389 as_dirname=dirname
5390 else
5391 as_dirname=false
5392 fi
5393
5394 as_me=`$as_basename -- "$0" ||
5395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5396 X"$0" : 'X\(//\)$' \| \
5397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5398 $as_echo X/"$0" |
5399 sed '/^.*\/\([^/][^/]*\)\/*$/{
5400 s//\1/
5401 q
5402 }
5403 /^X\/\(\/\/\)$/{
5404 s//\1/
5405 q
5406 }
5407 /^X\/\(\/\).*/{
5408 s//\1/
5409 q
5410 }
5411 s/.*/./; q'`
5412
5413 # Avoid depending upon Character Ranges.
5414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5417 as_cr_digits='0123456789'
5418 as_cr_alnum=$as_cr_Letters$as_cr_digits
5419
5420 ECHO_C= ECHO_N= ECHO_T=
5421 case `echo -n x` in #(((((
5422 -n*)
5423 case `echo 'xy\c'` in
5424 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5425 xy) ECHO_C='\c';;
5426 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5427 ECHO_T=' ';;
5428 esac;;
5429 *)
5430 ECHO_N='-n';;
5431 esac
5432
5433 rm -f conf$$ conf$$.exe conf$$.file
5434 if test -d conf$$.dir; then
5435 rm -f conf$$.dir/conf$$.file
5436 else
5437 rm -f conf$$.dir
5438 mkdir conf$$.dir 2>/dev/null
5439 fi
5440 if (echo >conf$$.file) 2>/dev/null; then
5441 if ln -s conf$$.file conf$$ 2>/dev/null; then
5442 as_ln_s='ln -s'
5443 # ... but there are two gotchas:
5444 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5445 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5446 # In both cases, we have to default to `cp -pR'.
5447 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5448 as_ln_s='cp -pR'
5449 elif ln conf$$.file conf$$ 2>/dev/null; then
5450 as_ln_s=ln
5451 else
5452 as_ln_s='cp -pR'
5453 fi
5454 else
5455 as_ln_s='cp -pR'
5456 fi
5457 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5458 rmdir conf$$.dir 2>/dev/null
5459
5460
5461 # as_fn_mkdir_p
5462 # -------------
5463 # Create "$as_dir" as a directory, including parents if necessary.
5464 as_fn_mkdir_p ()
5465 {
5466
5467 case $as_dir in #(
5468 -*) as_dir=./$as_dir;;
5469 esac
5470 test -d "$as_dir" || eval $as_mkdir_p || {
5471 as_dirs=
5472 while :; do
5473 case $as_dir in #(
5474 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5475 *) as_qdir=$as_dir;;
5476 esac
5477 as_dirs="'$as_qdir' $as_dirs"
5478 as_dir=`$as_dirname -- "$as_dir" ||
5479 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5480 X"$as_dir" : 'X\(//\)[^/]' \| \
5481 X"$as_dir" : 'X\(//\)$' \| \
5482 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5483 $as_echo X"$as_dir" |
5484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5485 s//\1/
5486 q
5487 }
5488 /^X\(\/\/\)[^/].*/{
5489 s//\1/
5490 q
5491 }
5492 /^X\(\/\/\)$/{
5493 s//\1/
5494 q
5495 }
5496 /^X\(\/\).*/{
5497 s//\1/
5498 q
5499 }
5500 s/.*/./; q'`
5501 test -d "$as_dir" && break
5502 done
5503 test -z "$as_dirs" || eval "mkdir $as_dirs"
5504 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5505
5506
5507 } # as_fn_mkdir_p
5508 if mkdir -p . 2>/dev/null; then
5509 as_mkdir_p='mkdir -p "$as_dir"'
5510 else
5511 test -d ./-p && rmdir ./-p
5512 as_mkdir_p=false
5513 fi
5514
5515
5516 # as_fn_executable_p FILE
5517 # -----------------------
5518 # Test if FILE is an executable regular file.
5519 as_fn_executable_p ()
5520 {
5521 test -f "$1" && test -x "$1"
5522 } # as_fn_executable_p
5523 as_test_x='test -x'
5524 as_executable_p=as_fn_executable_p
5525
5526 # Sed expression to map a string onto a valid CPP name.
5527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5528
5529 # Sed expression to map a string onto a valid variable name.
5530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5531
5532
5533 exec 6>&1
5534 ## ----------------------------------- ##
5535 ## Main body of $CONFIG_STATUS script. ##
5536 ## ----------------------------------- ##
5537 _ASEOF
5538 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5539
5540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5541 # Save the log message, to keep $0 and so on meaningful, and to
5542 # report actual input values of CONFIG_FILES etc. instead of their
5543 # values after options handling.
5544 ac_log="
5545 This file was extended by dash $as_me 0.5.12, which was
5546 generated by GNU Autoconf 2.69. Invocation command line was
5547
5548 CONFIG_FILES = $CONFIG_FILES
5549 CONFIG_HEADERS = $CONFIG_HEADERS
5550 CONFIG_LINKS = $CONFIG_LINKS
5551 CONFIG_COMMANDS = $CONFIG_COMMANDS
5552 $ $0 $@
5553
5554 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5555 "
5556
5557 _ACEOF
5558
5559 case $ac_config_files in *"
5560 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5561 esac
5562
5563 case $ac_config_headers in *"
5564 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5565 esac
5566
5567
5568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5569 # Files that config.status was made for.
5570 config_files="$ac_config_files"
5571 config_headers="$ac_config_headers"
5572 config_commands="$ac_config_commands"
5573
5574 _ACEOF
5575
5576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5577 ac_cs_usage="\
5578 \`$as_me' instantiates files and other configuration actions
5579 from templates according to the current configuration. Unless the files
5580 and actions are specified as TAGs, all are instantiated by default.
5581
5582 Usage: $0 [OPTION]... [TAG]...
5583
5584 -h, --help print this help, then exit
5585 -V, --version print version number and configuration settings, then exit
5586 --config print configuration, then exit
5587 -q, --quiet, --silent
5588 do not print progress messages
5589 -d, --debug don't remove temporary files
5590 --recheck update $as_me by reconfiguring in the same conditions
5591 --file=FILE[:TEMPLATE]
5592 instantiate the configuration file FILE
5593 --header=FILE[:TEMPLATE]
5594 instantiate the configuration header FILE
5595
5596 Configuration files:
5597 $config_files
5598
5599 Configuration headers:
5600 $config_headers
5601
5602 Configuration commands:
5603 $config_commands
5604
5605 Report bugs to the package provider."
5606
5607 _ACEOF
5608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5609 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5610 ac_cs_version="\\
5611 dash config.status 0.5.12
5612 configured by $0, generated by GNU Autoconf 2.69,
5613 with options \\"\$ac_cs_config\\"
5614
5615 Copyright (C) 2012 Free Software Foundation, Inc.
5616 This config.status script is free software; the Free Software Foundation
5617 gives unlimited permission to copy, distribute and modify it."
5618
5619 ac_pwd='$ac_pwd'
5620 srcdir='$srcdir'
5621 INSTALL='$INSTALL'
5622 MKDIR_P='$MKDIR_P'
5623 AWK='$AWK'
5624 test -n "\$AWK" || AWK=awk
5625 _ACEOF
5626
5627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5628 # The default lists apply if the user does not specify any file.
5629 ac_need_defaults=:
5630 while test $# != 0
5631 do
5632 case $1 in
5633 --*=?*)
5634 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5635 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5636 ac_shift=:
5637 ;;
5638 --*=)
5639 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5640 ac_optarg=
5641 ac_shift=:
5642 ;;
5643 *)
5644 ac_option=$1
5645 ac_optarg=$2
5646 ac_shift=shift
5647 ;;
5648 esac
5649
5650 case $ac_option in
5651 # Handling of the options.
5652 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5653 ac_cs_recheck=: ;;
5654 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5655 $as_echo "$ac_cs_version"; exit ;;
5656 --config | --confi | --conf | --con | --co | --c )
5657 $as_echo "$ac_cs_config"; exit ;;
5658 --debug | --debu | --deb | --de | --d | -d )
5659 debug=: ;;
5660 --file | --fil | --fi | --f )
5661 $ac_shift
5662 case $ac_optarg in
5663 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5664 '') as_fn_error $? "missing file argument" ;;
5665 esac
5666 as_fn_append CONFIG_FILES " '$ac_optarg'"
5667 ac_need_defaults=false;;
5668 --header | --heade | --head | --hea )
5669 $ac_shift
5670 case $ac_optarg in
5671 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5672 esac
5673 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5674 ac_need_defaults=false;;
5675 --he | --h)
5676 # Conflict between --help and --header
5677 as_fn_error $? "ambiguous option: \`$1'
5678 Try \`$0 --help' for more information.";;
5679 --help | --hel | -h )
5680 $as_echo "$ac_cs_usage"; exit ;;
5681 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5682 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5683 ac_cs_silent=: ;;
5684
5685 # This is an error.
5686 -*) as_fn_error $? "unrecognized option: \`$1'
5687 Try \`$0 --help' for more information." ;;
5688
5689 *) as_fn_append ac_config_targets " $1"
5690 ac_need_defaults=false ;;
5691
5692 esac
5693 shift
5694 done
5695
5696 ac_configure_extra_args=
5697
5698 if $ac_cs_silent; then
5699 exec 6>/dev/null
5700 ac_configure_extra_args="$ac_configure_extra_args --silent"
5701 fi
5702
5703 _ACEOF
5704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5705 if \$ac_cs_recheck; then
5706 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5707 shift
5708 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5709 CONFIG_SHELL='$SHELL'
5710 export CONFIG_SHELL
5711 exec "\$@"
5712 fi
5713
5714 _ACEOF
5715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5716 exec 5>>config.log
5717 {
5718 echo
5719 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5720 ## Running $as_me. ##
5721 _ASBOX
5722 $as_echo "$ac_log"
5723 } >&5
5724
5725 _ACEOF
5726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5727 #
5728 # INIT-COMMANDS
5729 #
5730 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
5731
5732 _ACEOF
5733
5734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5735
5736 # Handling of arguments.
5737 for ac_config_target in $ac_config_targets
5738 do
5739 case $ac_config_target in
5740 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5741 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5742 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5743 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5744
5745 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5746 esac
5747 done
5748
5749
5750 # If the user did not use the arguments to specify the items to instantiate,
5751 # then the envvar interface is used. Set only those that are not.
5752 # We use the long form for the default assignment because of an extremely
5753 # bizarre bug on SunOS 4.1.3.
5754 if $ac_need_defaults; then
5755 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5756 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5757 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5758 fi
5759
5760 # Have a temporary directory for convenience. Make it in the build tree
5761 # simply because there is no reason against having it here, and in addition,
5762 # creating and moving files from /tmp can sometimes cause problems.
5763 # Hook for its removal unless debugging.
5764 # Note that there is a small window in which the directory will not be cleaned:
5765 # after its creation but before its name has been assigned to `$tmp'.
5766 $debug ||
5767 {
5768 tmp= ac_tmp=
5769 trap 'exit_status=$?
5770 : "${ac_tmp:=$tmp}"
5771 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5772 ' 0
5773 trap 'as_fn_exit 1' 1 2 13 15
5774 }
5775 # Create a (secure) tmp directory for tmp files.
5776
5777 {
5778 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5779 test -d "$tmp"
5780 } ||
5781 {
5782 tmp=./conf$$-$RANDOM
5783 (umask 077 && mkdir "$tmp")
5784 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5785 ac_tmp=$tmp
5786
5787 # Set up the scripts for CONFIG_FILES section.
5788 # No need to generate them if there are no CONFIG_FILES.
5789 # This happens for instance with `./config.status config.h'.
5790 if test -n "$CONFIG_FILES"; then
5791
5792
5793 ac_cr=`echo X | tr X '\015'`
5794 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5795 # But we know of no other shell where ac_cr would be empty at this
5796 # point, so we can use a bashism as a fallback.
5797 if test "x$ac_cr" = x; then
5798 eval ac_cr=\$\'\\r\'
5799 fi
5800 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5801 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5802 ac_cs_awk_cr='\\r'
5803 else
5804 ac_cs_awk_cr=$ac_cr
5805 fi
5806
5807 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5808 _ACEOF
5809
5810
5811 {
5812 echo "cat >conf$$subs.awk <<_ACEOF" &&
5813 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5814 echo "_ACEOF"
5815 } >conf$$subs.sh ||
5816 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5817 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5818 ac_delim='%!_!# '
5819 for ac_last_try in false false false false false :; do
5820 . ./conf$$subs.sh ||
5821 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5822
5823 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5824 if test $ac_delim_n = $ac_delim_num; then
5825 break
5826 elif $ac_last_try; then
5827 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5828 else
5829 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5830 fi
5831 done
5832 rm -f conf$$subs.sh
5833
5834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5835 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5836 _ACEOF
5837 sed -n '
5838 h
5839 s/^/S["/; s/!.*/"]=/
5840 p
5841 g
5842 s/^[^!]*!//
5843 :repl
5844 t repl
5845 s/'"$ac_delim"'$//
5846 t delim
5847 :nl
5848 h
5849 s/\(.\{148\}\)..*/\1/
5850 t more1
5851 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5852 p
5853 n
5854 b repl
5855 :more1
5856 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5857 p
5858 g
5859 s/.\{148\}//
5860 t nl
5861 :delim
5862 h
5863 s/\(.\{148\}\)..*/\1/
5864 t more2
5865 s/["\\]/\\&/g; s/^/"/; s/$/"/
5866 p
5867 b
5868 :more2
5869 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5870 p
5871 g
5872 s/.\{148\}//
5873 t delim
5874 ' <conf$$subs.awk | sed '
5875 /^[^""]/{
5876 N
5877 s/\n//
5878 }
5879 ' >>$CONFIG_STATUS || ac_write_fail=1
5880 rm -f conf$$subs.awk
5881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5882 _ACAWK
5883 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5884 for (key in S) S_is_set[key] = 1
5885 FS = ""
5886
5887 }
5888 {
5889 line = $ 0
5890 nfields = split(line, field, "@")
5891 substed = 0
5892 len = length(field[1])
5893 for (i = 2; i < nfields; i++) {
5894 key = field[i]
5895 keylen = length(key)
5896 if (S_is_set[key]) {
5897 value = S[key]
5898 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5899 len += length(value) + length(field[++i])
5900 substed = 1
5901 } else
5902 len += 1 + keylen
5903 }
5904
5905 print line
5906 }
5907
5908 _ACAWK
5909 _ACEOF
5910 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5911 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5912 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5913 else
5914 cat
5915 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5916 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5917 _ACEOF
5918
5919 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5920 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5921 # trailing colons and then remove the whole line if VPATH becomes empty
5922 # (actually we leave an empty line to preserve line numbers).
5923 if test "x$srcdir" = x.; then
5924 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5925 h
5926 s///
5927 s/^/:/
5928 s/[ ]*$/:/
5929 s/:\$(srcdir):/:/g
5930 s/:\${srcdir}:/:/g
5931 s/:@srcdir@:/:/g
5932 s/^:*//
5933 s/:*$//
5934 x
5935 s/\(=[ ]*\).*/\1/
5936 G
5937 s/\n//
5938 s/^[^=]*=[ ]*$//
5939 }'
5940 fi
5941
5942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5943 fi # test -n "$CONFIG_FILES"
5944
5945 # Set up the scripts for CONFIG_HEADERS section.
5946 # No need to generate them if there are no CONFIG_HEADERS.
5947 # This happens for instance with `./config.status Makefile'.
5948 if test -n "$CONFIG_HEADERS"; then
5949 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5950 BEGIN {
5951 _ACEOF
5952
5953 # Transform confdefs.h into an awk script `defines.awk', embedded as
5954 # here-document in config.status, that substitutes the proper values into
5955 # config.h.in to produce config.h.
5956
5957 # Create a delimiter string that does not exist in confdefs.h, to ease
5958 # handling of long lines.
5959 ac_delim='%!_!# '
5960 for ac_last_try in false false :; do
5961 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5962 if test -z "$ac_tt"; then
5963 break
5964 elif $ac_last_try; then
5965 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5966 else
5967 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5968 fi
5969 done
5970
5971 # For the awk script, D is an array of macro values keyed by name,
5972 # likewise P contains macro parameters if any. Preserve backslash
5973 # newline sequences.
5974
5975 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5976 sed -n '
5977 s/.\{148\}/&'"$ac_delim"'/g
5978 t rset
5979 :rset
5980 s/^[ ]*#[ ]*define[ ][ ]*/ /
5981 t def
5982 d
5983 :def
5984 s/\\$//
5985 t bsnl
5986 s/["\\]/\\&/g
5987 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5988 D["\1"]=" \3"/p
5989 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5990 d
5991 :bsnl
5992 s/["\\]/\\&/g
5993 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5994 D["\1"]=" \3\\\\\\n"\\/p
5995 t cont
5996 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5997 t cont
5998 d
5999 :cont
6000 n
6001 s/.\{148\}/&'"$ac_delim"'/g
6002 t clear
6003 :clear
6004 s/\\$//
6005 t bsnlc
6006 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6007 d
6008 :bsnlc
6009 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6010 b cont
6011 ' <confdefs.h | sed '
6012 s/'"$ac_delim"'/"\\\
6013 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6014
6015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6016 for (key in D) D_is_set[key] = 1
6017 FS = ""
6018 }
6019 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6020 line = \$ 0
6021 split(line, arg, " ")
6022 if (arg[1] == "#") {
6023 defundef = arg[2]
6024 mac1 = arg[3]
6025 } else {
6026 defundef = substr(arg[1], 2)
6027 mac1 = arg[2]
6028 }
6029 split(mac1, mac2, "(") #)
6030 macro = mac2[1]
6031 prefix = substr(line, 1, index(line, defundef) - 1)
6032 if (D_is_set[macro]) {
6033 # Preserve the white space surrounding the "#".
6034 print prefix "define", macro P[macro] D[macro]
6035 next
6036 } else {
6037 # Replace #undef with comments. This is necessary, for example,
6038 # in the case of _POSIX_SOURCE, which is predefined and required
6039 # on some systems where configure will not decide to define it.
6040 if (defundef == "undef") {
6041 print "/*", prefix defundef, macro, "*/"
6042 next
6043 }
6044 }
6045 }
6046 { print }
6047 _ACAWK
6048 _ACEOF
6049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6050 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6051 fi # test -n "$CONFIG_HEADERS"
6052
6053
6054 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6055 shift
6056 for ac_tag
6057 do
6058 case $ac_tag in
6059 :[FHLC]) ac_mode=$ac_tag; continue;;
6060 esac
6061 case $ac_mode$ac_tag in
6062 :[FHL]*:*);;
6063 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6064 :[FH]-) ac_tag=-:-;;
6065 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6066 esac
6067 ac_save_IFS=$IFS
6068 IFS=:
6069 set x $ac_tag
6070 IFS=$ac_save_IFS
6071 shift
6072 ac_file=$1
6073 shift
6074
6075 case $ac_mode in
6076 :L) ac_source=$1;;
6077 :[FH])
6078 ac_file_inputs=
6079 for ac_f
6080 do
6081 case $ac_f in
6082 -) ac_f="$ac_tmp/stdin";;
6083 *) # Look for the file first in the build tree, then in the source tree
6084 # (if the path is not absolute). The absolute path cannot be DOS-style,
6085 # because $ac_f cannot contain `:'.
6086 test -f "$ac_f" ||
6087 case $ac_f in
6088 [\\/$]*) false;;
6089 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6090 esac ||
6091 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6092 esac
6093 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6094 as_fn_append ac_file_inputs " '$ac_f'"
6095 done
6096
6097 # Let's still pretend it is `configure' which instantiates (i.e., don't
6098 # use $as_me), people would be surprised to read:
6099 # /* config.h. Generated by config.status. */
6100 configure_input='Generated from '`
6101 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6102 `' by configure.'
6103 if test x"$ac_file" != x-; then
6104 configure_input="$ac_file. $configure_input"
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6106 $as_echo "$as_me: creating $ac_file" >&6;}
6107 fi
6108 # Neutralize special characters interpreted by sed in replacement strings.
6109 case $configure_input in #(
6110 *\&* | *\|* | *\\* )
6111 ac_sed_conf_input=`$as_echo "$configure_input" |
6112 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6113 *) ac_sed_conf_input=$configure_input;;
6114 esac
6115
6116 case $ac_tag in
6117 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6118 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6119 esac
6120 ;;
6121 esac
6122
6123 ac_dir=`$as_dirname -- "$ac_file" ||
6124 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6125 X"$ac_file" : 'X\(//\)[^/]' \| \
6126 X"$ac_file" : 'X\(//\)$' \| \
6127 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6128 $as_echo X"$ac_file" |
6129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6130 s//\1/
6131 q
6132 }
6133 /^X\(\/\/\)[^/].*/{
6134 s//\1/
6135 q
6136 }
6137 /^X\(\/\/\)$/{
6138 s//\1/
6139 q
6140 }
6141 /^X\(\/\).*/{
6142 s//\1/
6143 q
6144 }
6145 s/.*/./; q'`
6146 as_dir="$ac_dir"; as_fn_mkdir_p
6147 ac_builddir=.
6148
6149 case "$ac_dir" in
6150 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6151 *)
6152 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6153 # A ".." for each directory in $ac_dir_suffix.
6154 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6155 case $ac_top_builddir_sub in
6156 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6157 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6158 esac ;;
6159 esac
6160 ac_abs_top_builddir=$ac_pwd
6161 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6162 # for backward compatibility:
6163 ac_top_builddir=$ac_top_build_prefix
6164
6165 case $srcdir in
6166 .) # We are building in place.
6167 ac_srcdir=.
6168 ac_top_srcdir=$ac_top_builddir_sub
6169 ac_abs_top_srcdir=$ac_pwd ;;
6170 [\\/]* | ?:[\\/]* ) # Absolute name.
6171 ac_srcdir=$srcdir$ac_dir_suffix;
6172 ac_top_srcdir=$srcdir
6173 ac_abs_top_srcdir=$srcdir ;;
6174 *) # Relative name.
6175 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6176 ac_top_srcdir=$ac_top_build_prefix$srcdir
6177 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6178 esac
6179 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6180
6181
6182 case $ac_mode in
6183 :F)
6184 #
6185 # CONFIG_FILE
6186 #
6187
6188 case $INSTALL in
6189 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6190 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6191 esac
6192 ac_MKDIR_P=$MKDIR_P
6193 case $MKDIR_P in
6194 [\\/$]* | ?:[\\/]* ) ;;
6195 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6196 esac
6197 _ACEOF
6198
6199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6200 # If the template does not know about datarootdir, expand it.
6201 # FIXME: This hack should be removed a few years after 2.60.
6202 ac_datarootdir_hack=; ac_datarootdir_seen=
6203 ac_sed_dataroot='
6204 /datarootdir/ {
6205 p
6206 q
6207 }
6208 /@datadir@/p
6209 /@docdir@/p
6210 /@infodir@/p
6211 /@localedir@/p
6212 /@mandir@/p'
6213 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6214 *datarootdir*) ac_datarootdir_seen=yes;;
6215 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6217 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6218 _ACEOF
6219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6220 ac_datarootdir_hack='
6221 s&@datadir@&$datadir&g
6222 s&@docdir@&$docdir&g
6223 s&@infodir@&$infodir&g
6224 s&@localedir@&$localedir&g
6225 s&@mandir@&$mandir&g
6226 s&\\\${datarootdir}&$datarootdir&g' ;;
6227 esac
6228 _ACEOF
6229
6230 # Neutralize VPATH when `$srcdir' = `.'.
6231 # Shell code in configure.ac might set extrasub.
6232 # FIXME: do we really want to maintain this feature?
6233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6234 ac_sed_extra="$ac_vpsub
6235 $extrasub
6236 _ACEOF
6237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6238 :t
6239 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6240 s|@configure_input@|$ac_sed_conf_input|;t t
6241 s&@top_builddir@&$ac_top_builddir_sub&;t t
6242 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6243 s&@srcdir@&$ac_srcdir&;t t
6244 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6245 s&@top_srcdir@&$ac_top_srcdir&;t t
6246 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6247 s&@builddir@&$ac_builddir&;t t
6248 s&@abs_builddir@&$ac_abs_builddir&;t t
6249 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6250 s&@INSTALL@&$ac_INSTALL&;t t
6251 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6252 $ac_datarootdir_hack
6253 "
6254 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6255 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6256
6257 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6258 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6259 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6260 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6262 which seems to be undefined. Please make sure it is defined" >&5
6263 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6264 which seems to be undefined. Please make sure it is defined" >&2;}
6265
6266 rm -f "$ac_tmp/stdin"
6267 case $ac_file in
6268 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6269 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6270 esac \
6271 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6272 ;;
6273 :H)
6274 #
6275 # CONFIG_HEADER
6276 #
6277 if test x"$ac_file" != x-; then
6278 {
6279 $as_echo "/* $configure_input */" \
6280 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6281 } >"$ac_tmp/config.h" \
6282 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6283 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6285 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6286 else
6287 rm -f "$ac_file"
6288 mv "$ac_tmp/config.h" "$ac_file" \
6289 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6290 fi
6291 else
6292 $as_echo "/* $configure_input */" \
6293 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6294 || as_fn_error $? "could not create -" "$LINENO" 5
6295 fi
6296 # Compute "$ac_file"'s index in $config_headers.
6297 _am_arg="$ac_file"
6298 _am_stamp_count=1
6299 for _am_header in $config_headers :; do
6300 case $_am_header in
6301 $_am_arg | $_am_arg:* )
6302 break ;;
6303 * )
6304 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6305 esac
6306 done
6307 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6308 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6309 X"$_am_arg" : 'X\(//\)[^/]' \| \
6310 X"$_am_arg" : 'X\(//\)$' \| \
6311 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6312 $as_echo X"$_am_arg" |
6313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6314 s//\1/
6315 q
6316 }
6317 /^X\(\/\/\)[^/].*/{
6318 s//\1/
6319 q
6320 }
6321 /^X\(\/\/\)$/{
6322 s//\1/
6323 q
6324 }
6325 /^X\(\/\).*/{
6326 s//\1/
6327 q
6328 }
6329 s/.*/./; q'`/stamp-h$_am_stamp_count
6330 ;;
6331
6332 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6333 $as_echo "$as_me: executing $ac_file commands" >&6;}
6334 ;;
6335 esac
6336
6337
6338 case $ac_file$ac_mode in
6339 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6340 # Older Autoconf quotes --file arguments for eval, but not when files
6341 # are listed without --file. Let's play safe and only enable the eval
6342 # if we detect the quoting.
6343 # TODO: see whether this extra hack can be removed once we start
6344 # requiring Autoconf 2.70 or later.
6345 case $CONFIG_FILES in #(
6346 *\'*) :
6347 eval set x "$CONFIG_FILES" ;; #(
6348 *) :
6349 set x $CONFIG_FILES ;; #(
6350 *) :
6351 ;;
6352 esac
6353 shift
6354 # Used to flag and report bootstrapping failures.
6355 am_rc=0
6356 for am_mf
6357 do
6358 # Strip MF so we end up with the name of the file.
6359 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
6360 # Check whether this is an Automake generated Makefile which includes
6361 # dependency-tracking related rules and includes.
6362 # Grep'ing the whole file directly is not great: AIX grep has a line
6363 # limit of 2048, but all sed's we know have understand at least 4000.
6364 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
6365 || continue
6366 am_dirpart=`$as_dirname -- "$am_mf" ||
6367 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6368 X"$am_mf" : 'X\(//\)[^/]' \| \
6369 X"$am_mf" : 'X\(//\)$' \| \
6370 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6371 $as_echo X"$am_mf" |
6372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6373 s//\1/
6374 q
6375 }
6376 /^X\(\/\/\)[^/].*/{
6377 s//\1/
6378 q
6379 }
6380 /^X\(\/\/\)$/{
6381 s//\1/
6382 q
6383 }
6384 /^X\(\/\).*/{
6385 s//\1/
6386 q
6387 }
6388 s/.*/./; q'`
6389 am_filepart=`$as_basename -- "$am_mf" ||
6390 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
6391 X"$am_mf" : 'X\(//\)$' \| \
6392 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6393 $as_echo X/"$am_mf" |
6394 sed '/^.*\/\([^/][^/]*\)\/*$/{
6395 s//\1/
6396 q
6397 }
6398 /^X\/\(\/\/\)$/{
6399 s//\1/
6400 q
6401 }
6402 /^X\/\(\/\).*/{
6403 s//\1/
6404 q
6405 }
6406 s/.*/./; q'`
6407 { echo "$as_me:$LINENO: cd "$am_dirpart" \
6408 && sed -e '/# am--include-marker/d' "$am_filepart" \
6409 | $MAKE -f - am--depfiles" >&5
6410 (cd "$am_dirpart" \
6411 && sed -e '/# am--include-marker/d' "$am_filepart" \
6412 | $MAKE -f - am--depfiles) >&5 2>&5
6413 ac_status=$?
6414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6415 (exit $ac_status); } || am_rc=$?
6416 done
6417 if test $am_rc -ne 0; then
6418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6420 as_fn_error $? "Something went wrong bootstrapping makefile fragments
6421 for automatic dependency tracking. If GNU make was not used, consider
6422 re-running the configure script with MAKE=\"gmake\" (or whatever is
6423 necessary). You can also try re-running configure with the
6424 '--disable-dependency-tracking' option to at least be able to build
6425 the package (albeit without support for automatic dependency tracking).
6426 See \`config.log' for more details" "$LINENO" 5; }
6427 fi
6428 { am_dirpart=; unset am_dirpart;}
6429 { am_filepart=; unset am_filepart;}
6430 { am_mf=; unset am_mf;}
6431 { am_rc=; unset am_rc;}
6432 rm -f conftest-deps.mk
6433 }
6434 ;;
6435
6436 esac
6437 done # for ac_tag
6438
6439
6440 as_fn_exit 0
6441 _ACEOF
6442 ac_clean_files=$ac_clean_files_save
6443
6444 test $ac_write_fail = 0 ||
6445 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6446
6447
6448 # configure is writing to config.log, and then calls config.status.
6449 # config.status does its own redirection, appending to config.log.
6450 # Unfortunately, on DOS this fails, as config.log is still kept open
6451 # by configure, so config.status won't be able to write to it; its
6452 # output is simply discarded. So we exec the FD to /dev/null,
6453 # effectively closing config.log, so it can be properly (re)opened and
6454 # appended to by config.status. When coming back to configure, we
6455 # need to make the FD available again.
6456 if test "$no_create" != yes; then
6457 ac_cs_success=:
6458 ac_config_status_args=
6459 test "$silent" = yes &&
6460 ac_config_status_args="$ac_config_status_args --quiet"
6461 exec 5>/dev/null
6462 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6463 exec 5>>config.log
6464 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6465 # would make configure fail if this is the last instruction.
6466 $ac_cs_success || as_fn_exit 1
6467 fi
6468 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6470 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6471 fi
6472