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