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