Better POD
[authen-passphrase-scrypt.git] / scrypt-1.2.1 / configure
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
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if 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
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_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.
45 if 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 --'
49 elif (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'
52 else
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'
72 fi
73
74 # The user is always right.
75 if 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 }
81 fi
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.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
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
102 IFS=$as_save_IFS
103
104 ;;
105 esac
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.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
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.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export 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.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $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
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if 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
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -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
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
206 fi
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 do
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
227 fi
228 fi
229 done;;
230 esac
231 as_found=false
232 done
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
236 fi; }
237 IFS=$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.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $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
259 exit 255
260 fi
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
276 fi
277 fi
278 fi
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
284
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
292 {
293 { eval $1=; unset $1;}
294 }
295 as_unset=as_fn_unset
296
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_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.
308 as_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.
318 as_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.
366 as_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.
376 if (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 }'
381 else
382 as_fn_append ()
383 {
384 eval $1=\$$1\$2
385 }
386 fi # 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.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
395 {
396 as_val=$(( $* ))
397 }'
398 else
399 as_fn_arith ()
400 {
401 as_val=`expr "$@" || test $? -eq 1`
402 }
403 fi # 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.
411 as_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
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
427 fi
428
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
433 fi
434
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
439 fi
440
441 as_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.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_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
503 ECHO_C= ECHO_N= ECHO_T=
504 case `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';;
514 esac
515
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
522 fi
523 if (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
537 else
538 as_ln_s='cp -pR'
539 fi
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
542
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
548 fi
549
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
552
553 # Sed expression to map a string onto a valid CPP name.
554 as_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.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 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.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568 #
569 # Initializations.
570 #
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
579
580 # Identity of this package.
581 PACKAGE_NAME='scrypt'
582 PACKAGE_TARNAME='scrypt'
583 PACKAGE_VERSION='1.2.1'
584 PACKAGE_STRING='scrypt 1.2.1'
585 PACKAGE_BUGREPORT='https://github.com/Tarsnap/scrypt'
586 PACKAGE_URL='http://www.tarsnap.com/scrypt/'
587
588 ac_unique_file="lib/scryptenc/scryptenc.c"
589 # Factoring default headers for most tests.
590 ac_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
625 ac_subst_vars='am__EXEEXT_FALSE
626 am__EXEEXT_TRUE
627 LTLIBOBJS
628 LIBOBJS
629 EGREP
630 GREP
631 CPP
632 MAINT
633 MAINTAINER_MODE_FALSE
634 MAINTAINER_MODE_TRUE
635 ac_ct_AR
636 AR
637 RANLIB
638 am__fastdepCC_FALSE
639 am__fastdepCC_TRUE
640 CCDEPMODE
641 am__nodep
642 AMDEPBACKSLASH
643 AMDEP_FALSE
644 AMDEP_TRUE
645 am__quote
646 am__include
647 DEPDIR
648 OBJEXT
649 EXEEXT
650 ac_ct_CC
651 CPPFLAGS
652 LDFLAGS
653 CFLAGS
654 CC
655 AM_BACKSLASH
656 AM_DEFAULT_VERBOSITY
657 AM_DEFAULT_V
658 AM_V
659 am__untar
660 am__tar
661 AMTAR
662 am__leading_dot
663 SET_MAKE
664 AWK
665 mkdir_p
666 MKDIR_P
667 INSTALL_STRIP_PROGRAM
668 STRIP
669 install_sh
670 MAKEINFO
671 AUTOHEADER
672 AUTOMAKE
673 AUTOCONF
674 ACLOCAL
675 VERSION
676 PACKAGE
677 CYGPATH_W
678 am__isrc
679 INSTALL_DATA
680 INSTALL_SCRIPT
681 INSTALL_PROGRAM
682 target_alias
683 host_alias
684 build_alias
685 LIBS
686 ECHO_T
687 ECHO_N
688 ECHO_C
689 DEFS
690 mandir
691 localedir
692 libdir
693 psdir
694 pdfdir
695 dvidir
696 htmldir
697 infodir
698 docdir
699 oldincludedir
700 includedir
701 localstatedir
702 sharedstatedir
703 sysconfdir
704 datadir
705 datarootdir
706 libexecdir
707 sbindir
708 bindir
709 program_transform_name
710 prefix
711 exec_prefix
712 PACKAGE_URL
713 PACKAGE_BUGREPORT
714 PACKAGE_STRING
715 PACKAGE_VERSION
716 PACKAGE_TARNAME
717 PACKAGE_NAME
718 PATH_SEPARATOR
719 SHELL'
720 ac_subst_files=''
721 ac_user_opts='
722 enable_option_checking
723 enable_silent_rules
724 enable_dependency_tracking
725 enable_maintainer_mode
726 enable_largefile
727 enable_compiler_warnings
728 '
729 ac_precious_vars='build_alias
730 host_alias
731 target_alias
732 CC
733 CFLAGS
734 LDFLAGS
735 LIBS
736 CPPFLAGS
737 CPP'
738
739
740 # Initialize some variables set by options.
741 ac_init_help=
742 ac_init_version=false
743 ac_unrecognized_opts=
744 ac_unrecognized_sep=
745 # The variables have the same names as the options, with
746 # dashes changed to underlines.
747 cache_file=/dev/null
748 exec_prefix=NONE
749 no_create=
750 no_recursion=
751 prefix=NONE
752 program_prefix=NONE
753 program_suffix=NONE
754 program_transform_name=s,x,x,
755 silent=
756 site=
757 srcdir=
758 verbose=
759 x_includes=NONE
760 x_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.)
768 bindir='${exec_prefix}/bin'
769 sbindir='${exec_prefix}/sbin'
770 libexecdir='${exec_prefix}/libexec'
771 datarootdir='${prefix}/share'
772 datadir='${datarootdir}'
773 sysconfdir='${prefix}/etc'
774 sharedstatedir='${prefix}/com'
775 localstatedir='${prefix}/var'
776 includedir='${prefix}/include'
777 oldincludedir='/usr/include'
778 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
779 infodir='${datarootdir}/info'
780 htmldir='${docdir}'
781 dvidir='${docdir}'
782 pdfdir='${docdir}'
783 psdir='${docdir}'
784 libdir='${exec_prefix}/lib'
785 localedir='${datarootdir}/locale'
786 mandir='${datarootdir}/man'
787
788 ac_prev=
789 ac_dashdash=
790 for ac_option
791 do
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'
1124 Try \`$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
1146 done
1147
1148 if test -n "$ac_prev"; then
1149 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1150 as_fn_error $? "missing argument to $ac_option"
1151 fi
1152
1153 if 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
1159 fi
1160
1161 # Check all directory arguments for consistency.
1162 for 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
1166 do
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"
1180 done
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.
1185 build=$build_alias
1186 host=$host_alias
1187 target=$target_alias
1188
1189 # FIXME: To remove some day.
1190 if 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
1196 fi
1197
1198 ac_tool_prefix=
1199 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1200
1201 test "$silent" = yes && exec 6>/dev/null
1202
1203
1204 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1205 ac_ls_di=`ls -di .` &&
1206 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1207 as_fn_error $? "working directory cannot be determined"
1208 test "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.
1213 if 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
1243 else
1244 ac_srcdir_defaulted=no
1245 fi
1246 if 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"
1249 fi
1250 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1251 ac_abs_confdir=`(
1252 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1253 pwd)`
1254 # When building in place, set srcdir=.
1255 if test "$ac_abs_confdir" = "$ac_pwd"; then
1256 srcdir=.
1257 fi
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.
1261 case $srcdir in
1262 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1263 esac
1264 for 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}
1269 done
1270
1271 #
1272 # Report the --help message.
1273 #
1274 if 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
1280 Usage: $0 [OPTION]... [VAR=VALUE]...
1281
1282 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1283 VAR=VALUE. See below for descriptions of some of the useful variables.
1284
1285 Defaults for the options are specified in brackets.
1286
1287 Configuration:
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
1298 Installation 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
1304 By default, \`make install' will install all the files in
1305 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1306 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1307 for instance \`--prefix=\$HOME'.
1308
1309 For better control, use the options below.
1310
1311 Fine 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
1335 Program 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
1340 fi
1341
1342 if 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
1348 Optional 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
1365 Some 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
1375 Use these variables to override the choices made by `configure' or to help
1376 it to find libraries and programs with nonstandard names/locations.
1377
1378 Report bugs to <https://github.com/Tarsnap/scrypt>.
1379 scrypt home page: <http://www.tarsnap.com/scrypt/>.
1380 _ACEOF
1381 ac_status=$?
1382 fi
1383
1384 if 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
1392 case "$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 ;;
1402 esac
1403 ac_abs_top_builddir=$ac_pwd
1404 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1405 # for backward compatibility:
1406 ac_top_builddir=$ac_top_build_prefix
1407
1408 case $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 ;;
1421 esac
1422 ac_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
1437 fi
1438
1439 test -n "$ac_init_help" && exit $ac_status
1440 if $ac_init_version; then
1441 cat <<\_ACEOF
1442 scrypt configure 1.2.1
1443 generated by GNU Autoconf 2.69
1444
1445 Copyright (C) 2012 Free Software Foundation, Inc.
1446 This configure script is free software; the Free Software Foundation
1447 gives unlimited permission to copy, distribute and modify it.
1448 _ACEOF
1449 exit
1450 fi
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.
1459 ac_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"
1464 case "(($ac_try" in
1465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1466 *) ac_try_echo=$ac_try;;
1467 esac
1468 eval 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
1483 else
1484 $as_echo "$as_me: failed program was:" >&5
1485 sed 's/^/| /' conftest.$ac_ext >&5
1486
1487 ac_retval=1
1488 fi
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.
1497 ac_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"
1502 case "(($ac_try" in
1503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1504 *) ac_try_echo=$ac_try;;
1505 esac
1506 eval 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
1524 else
1525 $as_echo "$as_me: failed program was:" >&5
1526 sed 's/^/| /' conftest.$ac_ext >&5
1527
1528 ac_retval=1
1529 fi
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
1543 ac_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; }
1548 if eval \${$3+:} false; then :
1549 $as_echo_n "(cached) " >&6
1550 else
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
1574 extern "C"
1575 #endif
1576 char $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
1581 choke me
1582 #endif
1583
1584 int
1585 main ()
1586 {
1587 return $2 ();
1588 ;
1589 return 0;
1590 }
1591 _ACEOF
1592 if ac_fn_c_try_link "$LINENO"; then :
1593 eval "$3=yes"
1594 else
1595 eval "$3=no"
1596 fi
1597 rm -f core conftest.err conftest.$ac_objext \
1598 conftest$ac_exeext conftest.$ac_ext
1599 fi
1600 eval 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.
1610 ac_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"
1614 case "(($ac_try" in
1615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1616 *) ac_try_echo=$ac_try;;
1617 esac
1618 eval 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
1633 else
1634 $as_echo "$as_me: failed program was:" >&5
1635 sed 's/^/| /' conftest.$ac_ext >&5
1636
1637 ac_retval=1
1638 fi
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.
1649 ac_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; }
1655 if eval \${$3+:} false; then :
1656 $as_echo_n "(cached) " >&6
1657 fi
1658 eval ac_res=\$$3
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1660 $as_echo "$ac_res" >&6; }
1661 else
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; }
1665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1666 /* end confdefs.h. */
1667 $4
1668 #include <$2>
1669 _ACEOF
1670 if ac_fn_c_try_compile "$LINENO"; then :
1671 ac_header_compiler=yes
1672 else
1673 ac_header_compiler=no
1674 fi
1675 rm -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; }
1682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1683 /* end confdefs.h. */
1684 #include <$2>
1685 _ACEOF
1686 if ac_fn_c_try_cpp "$LINENO"; then :
1687 ac_header_preproc=yes
1688 else
1689 ac_header_preproc=no
1690 fi
1691 rm -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?
1696 case $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 ;;
1719 esac
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1721 $as_echo_n "checking for $2... " >&6; }
1722 if eval \${$3+:} false; then :
1723 $as_echo_n "(cached) " >&6
1724 else
1725 eval "$3=\$ac_header_compiler"
1726 fi
1727 eval ac_res=\$$3
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1729 $as_echo "$ac_res" >&6; }
1730 fi
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.
1739 ac_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"
1743 case "(($ac_try" in
1744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1745 *) ac_try_echo=$ac_try;;
1746 esac
1747 eval 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;;
1756 esac
1757 eval 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
1764 else
1765 $as_echo "$as_me: program exited with status $ac_status" >&5
1766 $as_echo "$as_me: failed program was:" >&5
1767 sed 's/^/| /' conftest.$ac_ext >&5
1768
1769 ac_retval=$ac_status
1770 fi
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.
1781 ac_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; }
1786 if eval \${$3+:} false; then :
1787 $as_echo_n "(cached) " >&6
1788 else
1789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1791 $4
1792 #include <$2>
1793 _ACEOF
1794 if ac_fn_c_try_compile "$LINENO"; then :
1795 eval "$3=yes"
1796 else
1797 eval "$3=no"
1798 fi
1799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1800 fi
1801 eval 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.
1812 ac_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; }
1817 if eval \${$3+:} false; then :
1818 $as_echo_n "(cached) " >&6
1819 else
1820 eval "$3=no"
1821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1822 /* end confdefs.h. */
1823 $4
1824 int
1825 main ()
1826 {
1827 if (sizeof ($2))
1828 return 0;
1829 ;
1830 return 0;
1831 }
1832 _ACEOF
1833 if ac_fn_c_try_compile "$LINENO"; then :
1834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1835 /* end confdefs.h. */
1836 $4
1837 int
1838 main ()
1839 {
1840 if (sizeof (($2)))
1841 return 0;
1842 ;
1843 return 0;
1844 }
1845 _ACEOF
1846 if ac_fn_c_try_compile "$LINENO"; then :
1847
1848 else
1849 eval "$3=yes"
1850 fi
1851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1852 fi
1853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1854 fi
1855 eval 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.
1866 ac_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; }
1871 if eval \${$4+:} false; then :
1872 $as_echo_n "(cached) " >&6
1873 else
1874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1875 /* end confdefs.h. */
1876 $5
1877 int
1878 main ()
1879 {
1880 static $2 ac_aggr;
1881 if (ac_aggr.$3)
1882 return 0;
1883 ;
1884 return 0;
1885 }
1886 _ACEOF
1887 if ac_fn_c_try_compile "$LINENO"; then :
1888 eval "$4=yes"
1889 else
1890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1891 /* end confdefs.h. */
1892 $5
1893 int
1894 main ()
1895 {
1896 static $2 ac_aggr;
1897 if (sizeof ac_aggr.$3)
1898 return 0;
1899 ;
1900 return 0;
1901 }
1902 _ACEOF
1903 if ac_fn_c_try_compile "$LINENO"; then :
1904 eval "$4=yes"
1905 else
1906 eval "$4=no"
1907 fi
1908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1909 fi
1910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911 fi
1912 eval 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
1918 cat >config.log <<_ACEOF
1919 This file contains any messages produced by compilers while
1920 running configure, to aid debugging if configure makes a mistake.
1921
1922 It was created by scrypt $as_me 1.2.1, which was
1923 generated by GNU Autoconf 2.69. Invocation command line was
1924
1925 $ $0 $@
1926
1927 _ACEOF
1928 exec 5>>config.log
1929 {
1930 cat <<_ASUNAME
1931 ## --------- ##
1932 ## Platform. ##
1933 ## --------- ##
1934
1935 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1936 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1937 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1938 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1939 uname -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
1954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1955 for as_dir in $PATH
1956 do
1957 IFS=$as_save_IFS
1958 test -z "$as_dir" && as_dir=.
1959 $as_echo "PATH: $as_dir"
1960 done
1961 IFS=$as_save_IFS
1962
1963 } >&5
1964
1965 cat >&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.
1980 ac_configure_args=
1981 ac_configure_args0=
1982 ac_configure_args1=
1983 ac_must_keep_next=false
1984 for ac_pass in 1 2
1985 do
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
2019 done
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.
2028 trap '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
2115 for ac_signal in 1 2 13 15; do
2116 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2117 done
2118 ac_signal=0
2119
2120 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2121 rm -f -r conftest* confdefs.h
2122
2123 $as_echo "/* confdefs.h */" > confdefs.h
2124
2125 # Predefined preprocessor variables.
2126
2127 cat >>confdefs.h <<_ACEOF
2128 #define PACKAGE_NAME "$PACKAGE_NAME"
2129 _ACEOF
2130
2131 cat >>confdefs.h <<_ACEOF
2132 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2133 _ACEOF
2134
2135 cat >>confdefs.h <<_ACEOF
2136 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2137 _ACEOF
2138
2139 cat >>confdefs.h <<_ACEOF
2140 #define PACKAGE_STRING "$PACKAGE_STRING"
2141 _ACEOF
2142
2143 cat >>confdefs.h <<_ACEOF
2144 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2145 _ACEOF
2146
2147 cat >>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.
2154 ac_site_file1=NONE
2155 ac_site_file2=NONE
2156 if 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
2163 elif test "x$prefix" != xNONE; then
2164 ac_site_file1=$prefix/share/config.site
2165 ac_site_file2=$prefix/etc/config.site
2166 else
2167 ac_site_file1=$ac_default_prefix/share/config.site
2168 ac_site_file2=$ac_default_prefix/etc/config.site
2169 fi
2170 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2171 do
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;}
2180 as_fn_error $? "failed to load site script $ac_site_file
2181 See \`config.log' for more details" "$LINENO" 5; }
2182 fi
2183 done
2184
2185 if 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
2196 else
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
2200 fi
2201
2202 # Check that the precious variables saved in the cache have kept the same
2203 # value.
2204 ac_cache_corrupted=false
2205 for 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
2251 done
2252 if $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
2258 fi
2259 ## -------------------- ##
2260 ## Main body of script. ##
2261 ## -------------------- ##
2262
2263 ac_ext=c
2264 ac_cpp='$CPP $CPPFLAGS'
2265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2268
2269
2270
2271 ac_aux_dir=
2272 for 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
2286 done
2287 if 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
2289 fi
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.
2295 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2296 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2297 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2298
2299
2300
2301 am__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; }
2319 if test -z "$INSTALL"; then
2320 if ${ac_cv_path_install+:} false; then :
2321 $as_echo_n "(cached) " >&6
2322 else
2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324 for as_dir in $PATH
2325 do
2326 IFS=$as_save_IFS
2327 test -z "$as_dir" && as_dir=.
2328 # Account for people who put trailing slashes in PATH elements.
2329 case $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 ;;
2367 esac
2368
2369 done
2370 IFS=$as_save_IFS
2371
2372 rm -rf conftest.one conftest.two conftest.dir
2373
2374 fi
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
2384 fi
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.
2390 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2391
2392 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2393
2394 test -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.
2400 am_lf='
2401 '
2402 case `pwd` in
2403 *[\\\"\#\$\&\'\`$am_lf]*)
2404 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2405 esac
2406 case $srcdir in
2407 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2408 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2409 esac
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).
2416 if (
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 )
2444 then
2445 # Ok.
2446 :
2447 else
2448 as_fn_error $? "newly created file is older than distributed files!
2449 Check your system clock" "$LINENO" 5
2450 fi
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.
2455 am_sleep_pid=
2456 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2457 ( sleep 1 ) &
2458 am_sleep_pid=$!
2459 fi
2460
2461 rm -f conftest.file
2462
2463 test "$program_prefix" != NONE &&
2464 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2465 # Use a double $ so make ignores it.
2466 test "$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.
2470 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2471 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2472
2473 # Expand $ac_aux_dir to an absolute path.
2474 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2475
2476 if 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
2483 fi
2484 # Use eval to expand $SHELL
2485 if eval "$MISSING --is-lightweight"; then
2486 am_missing_run="$MISSING "
2487 else
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;}
2491 fi
2492
2493 if 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
2500 fi
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.
2506 if 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.
2509 set 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; }
2512 if ${ac_cv_prog_STRIP+:} false; then :
2513 $as_echo_n "(cached) " >&6
2514 else
2515 if test -n "$STRIP"; then
2516 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2517 else
2518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2519 for as_dir in $PATH
2520 do
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
2529 done
2530 done
2531 IFS=$as_save_IFS
2532
2533 fi
2534 fi
2535 STRIP=$ac_cv_prog_STRIP
2536 if test -n "$STRIP"; then
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2538 $as_echo "$STRIP" >&6; }
2539 else
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2541 $as_echo "no" >&6; }
2542 fi
2543
2544
2545 fi
2546 if 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.
2549 set 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; }
2552 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2553 $as_echo_n "(cached) " >&6
2554 else
2555 if test -n "$ac_ct_STRIP"; then
2556 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2557 else
2558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2559 for as_dir in $PATH
2560 do
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
2569 done
2570 done
2571 IFS=$as_save_IFS
2572
2573 fi
2574 fi
2575 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2576 if 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; }
2579 else
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2581 $as_echo "no" >&6; }
2582 fi
2583
2584 if test "x$ac_ct_STRIP" = x; then
2585 STRIP=":"
2586 else
2587 case $cross_compiling:$ac_tool_warned in
2588 yes:)
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;}
2591 ac_tool_warned=yes ;;
2592 esac
2593 STRIP=$ac_ct_STRIP
2594 fi
2595 else
2596 STRIP="$ac_cv_prog_STRIP"
2597 fi
2598
2599 fi
2600 INSTALL_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; }
2604 if test -z "$MKDIR_P"; then
2605 if ${ac_cv_path_mkdir+:} false; then :
2606 $as_echo_n "(cached) " >&6
2607 else
2608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2610 do
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
2626 IFS=$as_save_IFS
2627
2628 fi
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
2640 fi
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2642 $as_echo "$MKDIR_P" >&6; }
2643
2644 for ac_prog in gawk mawk nawk awk
2645 do
2646 # Extract the first word of "$ac_prog", so it can be a program name with args.
2647 set 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; }
2650 if ${ac_cv_prog_AWK+:} false; then :
2651 $as_echo_n "(cached) " >&6
2652 else
2653 if test -n "$AWK"; then
2654 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2655 else
2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657 for as_dir in $PATH
2658 do
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
2667 done
2668 done
2669 IFS=$as_save_IFS
2670
2671 fi
2672 fi
2673 AWK=$ac_cv_prog_AWK
2674 if test -n "$AWK"; then
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2676 $as_echo "$AWK" >&6; }
2677 else
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2679 $as_echo "no" >&6; }
2680 fi
2681
2682
2683 test -n "$AWK" && break
2684 done
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; }
2688 set x ${MAKE-make}
2689 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2690 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2691 $as_echo_n "(cached) " >&6
2692 else
2693 cat >conftest.make <<\_ACEOF
2694 SHELL = /bin/sh
2695 all:
2696 @echo '@@@%%%=$(MAKE)=@@@%%%'
2697 _ACEOF
2698 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2699 case `${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;;
2704 esac
2705 rm -f conftest.make
2706 fi
2707 if 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=
2711 else
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2713 $as_echo "no" >&6; }
2714 SET_MAKE="MAKE=${MAKE-make}"
2715 fi
2716
2717 rm -rf .tst 2>/dev/null
2718 mkdir .tst 2>/dev/null
2719 if test -d .tst; then
2720 am__leading_dot=.
2721 else
2722 am__leading_dot=_
2723 fi
2724 rmdir .tst 2>/dev/null
2725
2726 # Check whether --enable-silent-rules was given.
2727 if test "${enable_silent_rules+set}" = set; then :
2728 enableval=$enable_silent_rules;
2729 fi
2730
2731 case $enable_silent_rules in # (((
2732 yes) AM_DEFAULT_VERBOSITY=0;;
2733 no) AM_DEFAULT_VERBOSITY=1;;
2734 *) AM_DEFAULT_VERBOSITY=1;;
2735 esac
2736 am_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; }
2739 if ${am_cv_make_support_nested_variables+:} false; then :
2740 $as_echo_n "(cached) " >&6
2741 else
2742 if $as_echo 'TRUE=$(BAR$(V))
2743 BAR0=false
2744 BAR1=true
2745 V=1
2746 am__doit:
2747 @$(TRUE)
2748 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2749 am_cv_make_support_nested_variables=yes
2750 else
2751 am_cv_make_support_nested_variables=no
2752 fi
2753 fi
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; }
2756 if test $am_cv_make_support_nested_variables = yes; then
2757 AM_V='$(V)'
2758 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2759 else
2760 AM_V=$AM_DEFAULT_VERBOSITY
2761 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2762 fi
2763 AM_BACKSLASH='\'
2764
2765 if 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
2773 fi
2774
2775 # test whether we have cygpath
2776 if 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
2782 fi
2783
2784
2785 # Define the identity of the package.
2786 PACKAGE='scrypt'
2787 VERSION='1.2.1'
2788
2789
2790 cat >>confdefs.h <<_ACEOF
2791 #define PACKAGE "$PACKAGE"
2792 _ACEOF
2793
2794
2795 cat >>confdefs.h <<_ACEOF
2796 #define VERSION "$VERSION"
2797 _ACEOF
2798
2799 # Some tools Automake needs.
2800
2801 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2802
2803
2804 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2805
2806
2807 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2808
2809
2810 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2811
2812
2813 MAKEINFO=${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>
2819 mkdir_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 ...
2825 AMTAR='$${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
2831 am__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.
2846 if rm -f && rm -fr && rm -rf; then : OK; else
2847 cat >&2 <<'END'
2848 Oops!
2849
2850 Your 'rm' program seems unable to run without file operands specified
2851 on the command line, even when the '-f' option is present. This is contrary
2852 to the behaviour of most rm programs out there, and not conforming with
2853 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2854
2855 Please tell bug-automake@gnu.org about your system, including the value
2856 of your $PATH and any error possibly output before this message. This
2857 can help us improve future automake versions.
2858
2859 END
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'
2866 Aborting the configuration process, to ensure you take notice of the issue.
2867
2868 You can download and install GNU coreutils to get an 'rm' implementation
2869 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2870
2871 If you want to complete the configuration process using your problematic
2872 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2873 to "yes", and re-run configure.
2874
2875 END
2876 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2877 fi
2878 fi
2879
2880
2881 # Checks for programs.
2882 DEPDIR="${am__leading_dot}deps"
2883
2884 ac_config_commands="$ac_config_commands depfiles"
2885
2886
2887 am_make=${MAKE-make}
2888 cat > confinc << 'END'
2889 am__doit:
2890 @echo this is the am__doit target
2891 .PHONY: am__doit
2892 END
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; }
2896 am__include="#"
2897 am__quote=
2898 _am_result=none
2899 # First try GNU make style include.
2900 echo "include confinc" > confmf
2901 # Ignore all kinds of additional output from 'make'.
2902 case `$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 ;;
2908 esac
2909 # Now try BSD make style include.
2910 if 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
2919 fi
2920
2921
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2923 $as_echo "$_am_result" >&6; }
2924 rm -f confinc confmf
2925
2926 # Check whether --enable-dependency-tracking was given.
2927 if test "${enable_dependency_tracking+set}" = set; then :
2928 enableval=$enable_dependency_tracking;
2929 fi
2930
2931 if test "x$enable_dependency_tracking" != xno; then
2932 am_depcomp="$ac_aux_dir/depcomp"
2933 AMDEPBACKSLASH='\'
2934 am__nodep='_no'
2935 fi
2936 if test "x$enable_dependency_tracking" != xno; then
2937 AMDEP_TRUE=
2938 AMDEP_FALSE='#'
2939 else
2940 AMDEP_TRUE='#'
2941 AMDEP_FALSE=
2942 fi
2943
2944
2945 ac_ext=c
2946 ac_cpp='$CPP $CPPFLAGS'
2947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2950 if 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.
2952 set 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; }
2955 if ${ac_cv_prog_CC+:} false; then :
2956 $as_echo_n "(cached) " >&6
2957 else
2958 if test -n "$CC"; then
2959 ac_cv_prog_CC="$CC" # Let the user override the test.
2960 else
2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962 for as_dir in $PATH
2963 do
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
2972 done
2973 done
2974 IFS=$as_save_IFS
2975
2976 fi
2977 fi
2978 CC=$ac_cv_prog_CC
2979 if test -n "$CC"; then
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2981 $as_echo "$CC" >&6; }
2982 else
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2984 $as_echo "no" >&6; }
2985 fi
2986
2987
2988 fi
2989 if 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.
2992 set 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; }
2995 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2996 $as_echo_n "(cached) " >&6
2997 else
2998 if test -n "$ac_ct_CC"; then
2999 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3000 else
3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3002 for as_dir in $PATH
3003 do
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
3012 done
3013 done
3014 IFS=$as_save_IFS
3015
3016 fi
3017 fi
3018 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3019 if 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; }
3022 else
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3024 $as_echo "no" >&6; }
3025 fi
3026
3027 if test "x$ac_ct_CC" = x; then
3028 CC=""
3029 else
3030 case $cross_compiling:$ac_tool_warned in
3031 yes:)
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;}
3034 ac_tool_warned=yes ;;
3035 esac
3036 CC=$ac_ct_CC
3037 fi
3038 else
3039 CC="$ac_cv_prog_CC"
3040 fi
3041
3042 if 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.
3045 set 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; }
3048 if ${ac_cv_prog_CC+:} false; then :
3049 $as_echo_n "(cached) " >&6
3050 else
3051 if test -n "$CC"; then
3052 ac_cv_prog_CC="$CC" # Let the user override the test.
3053 else
3054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3055 for as_dir in $PATH
3056 do
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
3065 done
3066 done
3067 IFS=$as_save_IFS
3068
3069 fi
3070 fi
3071 CC=$ac_cv_prog_CC
3072 if test -n "$CC"; then
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3074 $as_echo "$CC" >&6; }
3075 else
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077 $as_echo "no" >&6; }
3078 fi
3079
3080
3081 fi
3082 fi
3083 if test -z "$CC"; then
3084 # Extract the first word of "cc", so it can be a program name with args.
3085 set 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; }
3088 if ${ac_cv_prog_CC+:} false; then :
3089 $as_echo_n "(cached) " >&6
3090 else
3091 if test -n "$CC"; then
3092 ac_cv_prog_CC="$CC" # Let the user override the test.
3093 else
3094 ac_prog_rejected=no
3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096 for as_dir in $PATH
3097 do
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
3110 done
3111 done
3112 IFS=$as_save_IFS
3113
3114 if 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
3125 fi
3126 fi
3127 fi
3128 CC=$ac_cv_prog_CC
3129 if test -n "$CC"; then
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3131 $as_echo "$CC" >&6; }
3132 else
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3134 $as_echo "no" >&6; }
3135 fi
3136
3137
3138 fi
3139 if 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.
3144 set 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; }
3147 if ${ac_cv_prog_CC+:} false; then :
3148 $as_echo_n "(cached) " >&6
3149 else
3150 if test -n "$CC"; then
3151 ac_cv_prog_CC="$CC" # Let the user override the test.
3152 else
3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3154 for as_dir in $PATH
3155 do
3156 IFS=$as_save_IFS
3157 test -z "$as_dir" && as_dir=.
3158 for ac_exec_ext in '' $ac_executable_extensions; do
3159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3160 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3162 break 2
3163 fi
3164 done
3165 done
3166 IFS=$as_save_IFS
3167
3168 fi
3169 fi
3170 CC=$ac_cv_prog_CC
3171 if test -n "$CC"; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3173 $as_echo "$CC" >&6; }
3174 else
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3176 $as_echo "no" >&6; }
3177 fi
3178
3179
3180 test -n "$CC" && break
3181 done
3182 fi
3183 if test -z "$CC"; then
3184 ac_ct_CC=$CC
3185 for ac_prog in cl.exe
3186 do
3187 # Extract the first word of "$ac_prog", so it can be a program name with args.
3188 set 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; }
3191 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3192 $as_echo_n "(cached) " >&6
3193 else
3194 if test -n "$ac_ct_CC"; then
3195 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3196 else
3197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198 for as_dir in $PATH
3199 do
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
3208 done
3209 done
3210 IFS=$as_save_IFS
3211
3212 fi
3213 fi
3214 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3215 if 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; }
3218 else
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3220 $as_echo "no" >&6; }
3221 fi
3222
3223
3224 test -n "$ac_ct_CC" && break
3225 done
3226
3227 if test "x$ac_ct_CC" = x; then
3228 CC=""
3229 else
3230 case $cross_compiling:$ac_tool_warned in
3231 yes:)
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;}
3234 ac_tool_warned=yes ;;
3235 esac
3236 CC=$ac_ct_CC
3237 fi
3238 fi
3239
3240 fi
3241
3242
3243 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3245 as_fn_error $? "no acceptable C compiler found in \$PATH
3246 See \`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
3250 set X $ac_compile
3251 ac_compiler=$2
3252 for ac_option in --version -v -V -qversion; do
3253 { { ac_try="$ac_compiler $ac_option >&5"
3254 case "(($ac_try" in
3255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3256 *) ac_try_echo=$ac_try;;
3257 esac
3258 eval 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; }
3271 done
3272
3273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3274 /* end confdefs.h. */
3275
3276 int
3277 main ()
3278 {
3279
3280 ;
3281 return 0;
3282 }
3283 _ACEOF
3284 ac_clean_files_save=$ac_clean_files
3285 ac_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; }
3291 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3292
3293 # The possible output files:
3294 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3295
3296 ac_rmfiles=
3297 for ac_file in $ac_files
3298 do
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
3303 done
3304 rm -f $ac_rmfiles
3305
3306 if { { ac_try="$ac_link_default"
3307 case "(($ac_try" in
3308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3309 *) ac_try_echo=$ac_try;;
3310 esac
3311 eval 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.
3322 for ac_file in $ac_files ''
3323 do
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
3346 done
3347 test "$ac_cv_exeext" = no && ac_cv_exeext=
3348
3349 else
3350 ac_file=''
3351 fi
3352 if 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
3356 sed '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;}
3360 as_fn_error 77 "C compiler cannot create executables
3361 See \`config.log' for more details" "$LINENO" 5; }
3362 else
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3364 $as_echo "yes" >&6; }
3365 fi
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; }
3370 ac_exeext=$ac_cv_exeext
3371
3372 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3373 ac_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; }
3376 if { { ac_try="$ac_link"
3377 case "(($ac_try" in
3378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3379 *) ac_try_echo=$ac_try;;
3380 esac
3381 eval 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'.
3391 for 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
3399 done
3400 else
3401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3403 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3404 See \`config.log' for more details" "$LINENO" 5; }
3405 fi
3406 rm -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
3410 rm -f conftest.$ac_ext
3411 EXEEXT=$ac_cv_exeext
3412 ac_exeext=$EXEEXT
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3415 #include <stdio.h>
3416 int
3417 main ()
3418 {
3419 FILE *f = fopen ("conftest.out", "w");
3420 return ferror (f) || fclose (f) != 0;
3421
3422 ;
3423 return 0;
3424 }
3425 _ACEOF
3426 ac_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; }
3431 if test "$cross_compiling" != yes; then
3432 { { ac_try="$ac_link"
3433 case "(($ac_try" in
3434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3435 *) ac_try_echo=$ac_try;;
3436 esac
3437 eval 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;;
3447 esac
3448 eval 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;}
3461 as_fn_error $? "cannot run C compiled programs.
3462 If you meant to cross compile, use \`--host'.
3463 See \`config.log' for more details" "$LINENO" 5; }
3464 fi
3465 fi
3466 fi
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3468 $as_echo "$cross_compiling" >&6; }
3469
3470 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3471 ac_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; }
3474 if ${ac_cv_objext+:} false; then :
3475 $as_echo_n "(cached) " >&6
3476 else
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3479
3480 int
3481 main ()
3482 {
3483
3484 ;
3485 return 0;
3486 }
3487 _ACEOF
3488 rm -f conftest.o conftest.obj
3489 if { { ac_try="$ac_compile"
3490 case "(($ac_try" in
3491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3493 esac
3494 eval 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
3507 done
3508 else
3509 $as_echo "$as_me: failed program was:" >&5
3510 sed '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;}
3514 as_fn_error $? "cannot compute suffix of object files: cannot compile
3515 See \`config.log' for more details" "$LINENO" 5; }
3516 fi
3517 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3518 fi
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3520 $as_echo "$ac_cv_objext" >&6; }
3521 OBJEXT=$ac_cv_objext
3522 ac_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; }
3525 if ${ac_cv_c_compiler_gnu+:} false; then :
3526 $as_echo_n "(cached) " >&6
3527 else
3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529 /* end confdefs.h. */
3530
3531 int
3532 main ()
3533 {
3534 #ifndef __GNUC__
3535 choke me
3536 #endif
3537
3538 ;
3539 return 0;
3540 }
3541 _ACEOF
3542 if ac_fn_c_try_compile "$LINENO"; then :
3543 ac_compiler_gnu=yes
3544 else
3545 ac_compiler_gnu=no
3546 fi
3547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3548 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3549
3550 fi
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3552 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3553 if test $ac_compiler_gnu = yes; then
3554 GCC=yes
3555 else
3556 GCC=
3557 fi
3558 ac_test_CFLAGS=${CFLAGS+set}
3559 ac_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; }
3562 if ${ac_cv_prog_cc_g+:} false; then :
3563 $as_echo_n "(cached) " >&6
3564 else
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
3572 int
3573 main ()
3574 {
3575
3576 ;
3577 return 0;
3578 }
3579 _ACEOF
3580 if ac_fn_c_try_compile "$LINENO"; then :
3581 ac_cv_prog_cc_g=yes
3582 else
3583 CFLAGS=""
3584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3585 /* end confdefs.h. */
3586
3587 int
3588 main ()
3589 {
3590
3591 ;
3592 return 0;
3593 }
3594 _ACEOF
3595 if ac_fn_c_try_compile "$LINENO"; then :
3596
3597 else
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
3603 int
3604 main ()
3605 {
3606
3607 ;
3608 return 0;
3609 }
3610 _ACEOF
3611 if ac_fn_c_try_compile "$LINENO"; then :
3612 ac_cv_prog_cc_g=yes
3613 fi
3614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3615 fi
3616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3617 fi
3618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3619 ac_c_werror_flag=$ac_save_c_werror_flag
3620 fi
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3622 $as_echo "$ac_cv_prog_cc_g" >&6; }
3623 if test "$ac_test_CFLAGS" = set; then
3624 CFLAGS=$ac_save_CFLAGS
3625 elif 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
3631 else
3632 if test "$GCC" = yes; then
3633 CFLAGS="-O2"
3634 else
3635 CFLAGS=
3636 fi
3637 fi
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; }
3640 if ${ac_cv_prog_cc_c89+:} false; then :
3641 $as_echo_n "(cached) " >&6
3642 else
3643 ac_cv_prog_cc_c89=no
3644 ac_save_CC=$CC
3645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h. */
3647 #include <stdarg.h>
3648 #include <stdio.h>
3649 struct stat;
3650 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3651 struct buf { int x; };
3652 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3653 static char *e (p, i)
3654 char **p;
3655 int i;
3656 {
3657 return p[i];
3658 }
3659 static 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. */
3676 int 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'
3681 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3682
3683 int test (int i, double x);
3684 struct s1 {int (*f) (int a);};
3685 struct s2 {int (*f) (double a);};
3686 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3687 int argc;
3688 char **argv;
3689 int
3690 main ()
3691 {
3692 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3693 ;
3694 return 0;
3695 }
3696 _ACEOF
3697 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3698 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3699 do
3700 CC="$ac_save_CC $ac_arg"
3701 if ac_fn_c_try_compile "$LINENO"; then :
3702 ac_cv_prog_cc_c89=$ac_arg
3703 fi
3704 rm -f core conftest.err conftest.$ac_objext
3705 test "x$ac_cv_prog_cc_c89" != "xno" && break
3706 done
3707 rm -f conftest.$ac_ext
3708 CC=$ac_save_CC
3709
3710 fi
3711 # AC_CACHE_VAL
3712 case "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; } ;;
3723 esac
3724 if test "x$ac_cv_prog_cc_c89" != xno; then :
3725
3726 fi
3727
3728 ac_ext=c
3729 ac_cpp='$CPP $CPPFLAGS'
3730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3733
3734 ac_ext=c
3735 ac_cpp='$CPP $CPPFLAGS'
3736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3738 ac_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; }
3741 if ${am_cv_prog_cc_c_o+:} false; then :
3742 $as_echo_n "(cached) " >&6
3743 else
3744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3745 /* end confdefs.h. */
3746
3747 int
3748 main ()
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
3775 fi
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; }
3778 if 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"
3785 fi
3786 ac_ext=c
3787 ac_cpp='$CPP $CPPFLAGS'
3788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3791
3792
3793 depcc="$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; }
3797 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3798 $as_echo_n "(cached) " >&6
3799 else
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
3901 else
3902 am_cv_CC_dependencies_compiler_type=none
3903 fi
3904
3905 fi
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; }
3908 CCDEPMODE=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='#'
3915 else
3916 am__fastdepCC_TRUE='#'
3917 am__fastdepCC_FALSE=
3918 fi
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; }
3923 if ${ac_cv_prog_cc_c99+:} false; then :
3924 $as_echo_n "(cached) " >&6
3925 else
3926 ac_cv_prog_cc_c99=no
3927 ac_save_CC=$CC
3928 cat 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__))
3940 static void
3941 test_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
3962 static long long int bignum = -9223372036854775807LL;
3963 static unsigned long long int ubignum = BIG64;
3964
3965 struct incomplete_array
3966 {
3967 int datasize;
3968 double data[];
3969 };
3970
3971 struct named_init {
3972 int number;
3973 const wchar_t *name;
3974 double average;
3975 };
3976
3977 typedef const char *ccp;
3978
3979 static inline int
3980 test_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.
3991 static void
3992 test_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
4024 int
4025 main ()
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
4067 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4068 do
4069 CC="$ac_save_CC $ac_arg"
4070 if ac_fn_c_try_compile "$LINENO"; then :
4071 ac_cv_prog_cc_c99=$ac_arg
4072 fi
4073 rm -f core conftest.err conftest.$ac_objext
4074 test "x$ac_cv_prog_cc_c99" != "xno" && break
4075 done
4076 rm -f conftest.$ac_ext
4077 CC=$ac_save_CC
4078
4079 fi
4080 # AC_CACHE_VAL
4081 case "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; } ;;
4092 esac
4093 if test "x$ac_cv_prog_cc_c99" != xno; then :
4094
4095 fi
4096
4097
4098 if 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.
4100 set 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; }
4103 if ${ac_cv_prog_RANLIB+:} false; then :
4104 $as_echo_n "(cached) " >&6
4105 else
4106 if test -n "$RANLIB"; then
4107 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4108 else
4109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4110 for as_dir in $PATH
4111 do
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
4120 done
4121 done
4122 IFS=$as_save_IFS
4123
4124 fi
4125 fi
4126 RANLIB=$ac_cv_prog_RANLIB
4127 if test -n "$RANLIB"; then
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4129 $as_echo "$RANLIB" >&6; }
4130 else
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4132 $as_echo "no" >&6; }
4133 fi
4134
4135
4136 fi
4137 if 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.
4140 set 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; }
4143 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4144 $as_echo_n "(cached) " >&6
4145 else
4146 if test -n "$ac_ct_RANLIB"; then
4147 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4148 else
4149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4150 for as_dir in $PATH
4151 do
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
4160 done
4161 done
4162 IFS=$as_save_IFS
4163
4164 fi
4165 fi
4166 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4167 if 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; }
4170 else
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4172 $as_echo "no" >&6; }
4173 fi
4174
4175 if test "x$ac_ct_RANLIB" = x; then
4176 RANLIB=":"
4177 else
4178 case $cross_compiling:$ac_tool_warned in
4179 yes:)
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;}
4182 ac_tool_warned=yes ;;
4183 esac
4184 RANLIB=$ac_ct_RANLIB
4185 fi
4186 else
4187 RANLIB="$ac_cv_prog_RANLIB"
4188 fi
4189
4190
4191 if 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.
4195 set 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; }
4198 if ${ac_cv_prog_AR+:} false; then :
4199 $as_echo_n "(cached) " >&6
4200 else
4201 if test -n "$AR"; then
4202 ac_cv_prog_AR="$AR" # Let the user override the test.
4203 else
4204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4205 for as_dir in $PATH
4206 do
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
4215 done
4216 done
4217 IFS=$as_save_IFS
4218
4219 fi
4220 fi
4221 AR=$ac_cv_prog_AR
4222 if test -n "$AR"; then
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4224 $as_echo "$AR" >&6; }
4225 else
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4227 $as_echo "no" >&6; }
4228 fi
4229
4230
4231 test -n "$AR" && break
4232 done
4233 fi
4234 if test -z "$AR"; then
4235 ac_ct_AR=$AR
4236 for ac_prog in ar lib "link -lib"
4237 do
4238 # Extract the first word of "$ac_prog", so it can be a program name with args.
4239 set 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; }
4242 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4243 $as_echo_n "(cached) " >&6
4244 else
4245 if test -n "$ac_ct_AR"; then
4246 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4247 else
4248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4249 for as_dir in $PATH
4250 do
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
4259 done
4260 done
4261 IFS=$as_save_IFS
4262
4263 fi
4264 fi
4265 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4266 if 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; }
4269 else
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4271 $as_echo "no" >&6; }
4272 fi
4273
4274
4275 test -n "$ac_ct_AR" && break
4276 done
4277
4278 if test "x$ac_ct_AR" = x; then
4279 AR="false"
4280 else
4281 case $cross_compiling:$ac_tool_warned in
4282 yes:)
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;}
4285 ac_tool_warned=yes ;;
4286 esac
4287 AR=$ac_ct_AR
4288 fi
4289 fi
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; }
4295 if ${am_cv_ar_interface+:} false; then :
4296 $as_echo_n "(cached) " >&6
4297 else
4298 ac_ext=c
4299 ac_cpp='$CPP $CPPFLAGS'
4300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4302 ac_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. */
4307 int some_variable = 0;
4308 _ACEOF
4309 if 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
4333 fi
4334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4335 ac_ext=c
4336 ac_cpp='$CPP $CPPFLAGS'
4337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4340
4341 fi
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4343 $as_echo "$am_cv_ar_interface" >&6; }
4344
4345 case $am_cv_ar_interface in
4346 ar)
4347 ;;
4348 lib)
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 ;;
4357 unknown)
4358 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4359 ;;
4360 esac
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.
4368 if test "${enable_maintainer_mode+set}" = set; then :
4369 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4370 else
4371 USE_MAINTAINER_MODE=no
4372 fi
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='#'
4379 else
4380 MAINTAINER_MODE_TRUE='#'
4381 MAINTAINER_MODE_FALSE=
4382 fi
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; }
4393 if ${ac_cv_search_clock_gettime+:} false; then :
4394 $as_echo_n "(cached) " >&6
4395 else
4396 ac_func_search_save_LIBS=$LIBS
4397 cat 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
4404 extern "C"
4405 #endif
4406 char clock_gettime ();
4407 int
4408 main ()
4409 {
4410 return clock_gettime ();
4411 ;
4412 return 0;
4413 }
4414 _ACEOF
4415 for 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
4424 fi
4425 rm -f core conftest.err conftest.$ac_objext \
4426 conftest$ac_exeext
4427 if ${ac_cv_search_clock_gettime+:} false; then :
4428 break
4429 fi
4430 done
4431 if ${ac_cv_search_clock_gettime+:} false; then :
4432
4433 else
4434 ac_cv_search_clock_gettime=no
4435 fi
4436 rm conftest.$ac_ext
4437 LIBS=$ac_func_search_save_LIBS
4438 fi
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
4440 $as_echo "$ac_cv_search_clock_gettime" >&6; }
4441 ac_res=$ac_cv_search_clock_gettime
4442 if test "$ac_res" != no; then :
4443 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4444
4445 fi
4446
4447 for ac_func in clock_gettime
4448 do :
4449 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
4450 if test "x$ac_cv_func_clock_gettime" = xyes; then :
4451 cat >>confdefs.h <<_ACEOF
4452 #define HAVE_CLOCK_GETTIME 1
4453 _ACEOF
4454
4455 fi
4456 done
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; }
4461 if ${ac_cv_search_AES_encrypt+:} false; then :
4462 $as_echo_n "(cached) " >&6
4463 else
4464 ac_func_search_save_LIBS=$LIBS
4465 cat 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
4472 extern "C"
4473 #endif
4474 char AES_encrypt ();
4475 int
4476 main ()
4477 {
4478 return AES_encrypt ();
4479 ;
4480 return 0;
4481 }
4482 _ACEOF
4483 for 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
4492 fi
4493 rm -f core conftest.err conftest.$ac_objext \
4494 conftest$ac_exeext
4495 if ${ac_cv_search_AES_encrypt+:} false; then :
4496 break
4497 fi
4498 done
4499 if ${ac_cv_search_AES_encrypt+:} false; then :
4500
4501 else
4502 ac_cv_search_AES_encrypt=no
4503 fi
4504 rm conftest.$ac_ext
4505 LIBS=$ac_func_search_save_LIBS
4506 fi
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_AES_encrypt" >&5
4508 $as_echo "$ac_cv_search_AES_encrypt" >&6; }
4509 ac_res=$ac_cv_search_AES_encrypt
4510 if test "$ac_res" != no; then :
4511 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4512
4513 else
4514 as_fn_error $? "function AES_ENCRYPT not found" "$LINENO" 5
4515 fi
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).
4521 ac_ext=c
4522 ac_cpp='$CPP $CPPFLAGS'
4523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4525 ac_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.
4529 if test -n "$CPP" && test -d "$CPP"; then
4530 CPP=
4531 fi
4532 if test -z "$CPP"; then
4533 if ${ac_cv_prog_CPP+:} false; then :
4534 $as_echo_n "(cached) " >&6
4535 else
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
4540 for ac_c_preproc_warn_flag in '' yes
4541 do
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
4557 if ac_fn_c_try_cpp "$LINENO"; then :
4558
4559 else
4560 # Broken: fails on valid input.
4561 continue
4562 fi
4563 rm -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
4571 if ac_fn_c_try_cpp "$LINENO"; then :
4572 # Broken: success on invalid input.
4573 continue
4574 else
4575 # Passes both tests.
4576 ac_preproc_ok=:
4577 break
4578 fi
4579 rm -f conftest.err conftest.i conftest.$ac_ext
4580
4581 done
4582 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4583 rm -f conftest.i conftest.err conftest.$ac_ext
4584 if $ac_preproc_ok; then :
4585 break
4586 fi
4587
4588 done
4589 ac_cv_prog_CPP=$CPP
4590
4591 fi
4592 CPP=$ac_cv_prog_CPP
4593 else
4594 ac_cv_prog_CPP=$CPP
4595 fi
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4597 $as_echo "$CPP" >&6; }
4598 ac_preproc_ok=false
4599 for ac_c_preproc_warn_flag in '' yes
4600 do
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
4616 if ac_fn_c_try_cpp "$LINENO"; then :
4617
4618 else
4619 # Broken: fails on valid input.
4620 continue
4621 fi
4622 rm -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
4630 if ac_fn_c_try_cpp "$LINENO"; then :
4631 # Broken: success on invalid input.
4632 continue
4633 else
4634 # Passes both tests.
4635 ac_preproc_ok=:
4636 break
4637 fi
4638 rm -f conftest.err conftest.i conftest.$ac_ext
4639
4640 done
4641 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4642 rm -f conftest.i conftest.err conftest.$ac_ext
4643 if $ac_preproc_ok; then :
4644
4645 else
4646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4648 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4649 See \`config.log' for more details" "$LINENO" 5; }
4650 fi
4651
4652 ac_ext=c
4653 ac_cpp='$CPP $CPPFLAGS'
4654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4656 ac_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; }
4661 if ${ac_cv_path_GREP+:} false; then :
4662 $as_echo_n "(cached) " >&6
4663 else
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
4668 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4669 do
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
4678 case `"$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;;
4702 esac
4703
4704 $ac_path_GREP_found && break 3
4705 done
4706 done
4707 done
4708 IFS=$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
4712 else
4713 ac_cv_path_GREP=$GREP
4714 fi
4715
4716 fi
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; }
4724 if ${ac_cv_path_EGREP+:} false; then :
4725 $as_echo_n "(cached) " >&6
4726 else
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
4734 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4735 do
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
4744 case `"$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;;
4768 esac
4769
4770 $ac_path_EGREP_found && break 3
4771 done
4772 done
4773 done
4774 IFS=$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
4778 else
4779 ac_cv_path_EGREP=$EGREP
4780 fi
4781
4782 fi
4783 fi
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; }
4791 if ${ac_cv_header_stdc+:} false; then :
4792 $as_echo_n "(cached) " >&6
4793 else
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
4801 int
4802 main ()
4803 {
4804
4805 ;
4806 return 0;
4807 }
4808 _ACEOF
4809 if ac_fn_c_try_compile "$LINENO"; then :
4810 ac_cv_header_stdc=yes
4811 else
4812 ac_cv_header_stdc=no
4813 fi
4814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4815
4816 if 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
4823 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4824 $EGREP "memchr" >/dev/null 2>&1; then :
4825
4826 else
4827 ac_cv_header_stdc=no
4828 fi
4829 rm -f conftest*
4830
4831 fi
4832
4833 if 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
4840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4841 $EGREP "free" >/dev/null 2>&1; then :
4842
4843 else
4844 ac_cv_header_stdc=no
4845 fi
4846 rm -f conftest*
4847
4848 fi
4849
4850 if 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 :
4854 else
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)))
4871 int
4872 main ()
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
4882 if ac_fn_c_try_run "$LINENO"; then :
4883
4884 else
4885 ac_cv_header_stdc=no
4886 fi
4887 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4888 conftest.$ac_objext conftest.beam conftest.$ac_ext
4889 fi
4890
4891 fi
4892 fi
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4894 $as_echo "$ac_cv_header_stdc" >&6; }
4895 if test $ac_cv_header_stdc = yes; then
4896
4897 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4898
4899 fi
4900
4901 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4902 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4903 inttypes.h stdint.h unistd.h
4904 do :
4905 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4906 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4907 "
4908 if 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
4913 fi
4914
4915 done
4916
4917
4918 for ac_header in sys/sysinfo.h
4919 do :
4920 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
4921 if 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
4926 fi
4927
4928 done
4929
4930 for ac_func in sysinfo
4931 do :
4932 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
4933 if test "x$ac_cv_func_sysinfo" = xyes; then :
4934 cat >>confdefs.h <<_ACEOF
4935 #define HAVE_SYSINFO 1
4936 _ACEOF
4937
4938 fi
4939 done
4940
4941 ac_fn_c_check_type "$LINENO" "struct sysinfo" "ac_cv_type_struct_sysinfo" "#include <sys/sysinfo.h>
4942 "
4943 if test "x$ac_cv_type_struct_sysinfo" = xyes; then :
4944
4945 cat >>confdefs.h <<_ACEOF
4946 #define HAVE_STRUCT_SYSINFO 1
4947 _ACEOF
4948
4949
4950 fi
4951
4952 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#include <sys/sysinfo.h>
4953 "
4954 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
4955
4956 cat >>confdefs.h <<_ACEOF
4957 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
4958 _ACEOF
4959
4960
4961 fi
4962 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#include <sys/sysinfo.h>
4963 "
4964 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
4965
4966 cat >>confdefs.h <<_ACEOF
4967 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
4968 _ACEOF
4969
4970
4971 fi
4972
4973
4974 # Check if we have <sys/param.h>, since some systems require it for sysctl
4975 # to work.
4976 for ac_header in sys/param.h
4977 do :
4978 ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
4979 if 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
4984 fi
4985
4986 done
4987
4988
4989 # Check if we have <openssl/aes.h>, to fix the make failing when configure
4990 # passes.
4991 for ac_header in openssl/aes.h
4992 do :
4993 ac_fn_c_check_header_mongrel "$LINENO" "openssl/aes.h" "ac_cv_header_openssl_aes_h" "$ac_includes_default"
4994 if 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
4999 else
5000 as_fn_error $? "Unable to find the openssl/aes.h header" "$LINENO" 5
5001 fi
5002
5003 done
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.
5008 for ac_header in sys/sysctl.h
5009 do :
5010 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "$ac_includes_default"
5011 if 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
5016 fi
5017
5018 done
5019
5020
5021 # Check for posix_memalign
5022 for ac_func in posix_memalign
5023 do :
5024 ac_fn_c_check_func "$LINENO" "posix_memalign" "ac_cv_func_posix_memalign"
5025 if test "x$ac_cv_func_posix_memalign" = xyes; then :
5026 cat >>confdefs.h <<_ACEOF
5027 #define HAVE_POSIX_MEMALIGN 1
5028 _ACEOF
5029
5030 fi
5031 done
5032
5033
5034 # Check for mmap so we can work around its absence on Minix
5035 for ac_func in mmap
5036 do :
5037 ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
5038 if test "x$ac_cv_func_mmap" = xyes; then :
5039 cat >>confdefs.h <<_ACEOF
5040 #define HAVE_MMAP 1
5041 _ACEOF
5042
5043 fi
5044 done
5045
5046
5047 # Check whether --enable-largefile was given.
5048 if test "${enable_largefile+set}" = set; then :
5049 enableval=$enable_largefile;
5050 fi
5051
5052 if 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; }
5056 if ${ac_cv_sys_largefile_CC+:} false; then :
5057 $as_echo_n "(cached) " >&6
5058 else
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];
5076 int
5077 main ()
5078 {
5079
5080 ;
5081 return 0;
5082 }
5083 _ACEOF
5084 if ac_fn_c_try_compile "$LINENO"; then :
5085 break
5086 fi
5087 rm -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
5091 fi
5092 rm -f core conftest.err conftest.$ac_objext
5093 break
5094 done
5095 CC=$ac_save_CC
5096 rm -f conftest.$ac_ext
5097 fi
5098 fi
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; }
5107 if ${ac_cv_sys_file_offset_bits+:} false; then :
5108 $as_echo_n "(cached) " >&6
5109 else
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];
5122 int
5123 main ()
5124 {
5125
5126 ;
5127 return 0;
5128 }
5129 _ACEOF
5130 if ac_fn_c_try_compile "$LINENO"; then :
5131 ac_cv_sys_file_offset_bits=no; break
5132 fi
5133 rm -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];
5146 int
5147 main ()
5148 {
5149
5150 ;
5151 return 0;
5152 }
5153 _ACEOF
5154 if ac_fn_c_try_compile "$LINENO"; then :
5155 ac_cv_sys_file_offset_bits=64; break
5156 fi
5157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5158 ac_cv_sys_file_offset_bits=unknown
5159 break
5160 done
5161 fi
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; }
5164 case $ac_cv_sys_file_offset_bits in #(
5165 no | unknown) ;;
5166 *)
5167 cat >>confdefs.h <<_ACEOF
5168 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5169 _ACEOF
5170 ;;
5171 esac
5172 rm -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; }
5176 if ${ac_cv_sys_large_files+:} false; then :
5177 $as_echo_n "(cached) " >&6
5178 else
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];
5191 int
5192 main ()
5193 {
5194
5195 ;
5196 return 0;
5197 }
5198 _ACEOF
5199 if ac_fn_c_try_compile "$LINENO"; then :
5200 ac_cv_sys_large_files=no; break
5201 fi
5202 rm -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];
5215 int
5216 main ()
5217 {
5218
5219 ;
5220 return 0;
5221 }
5222 _ACEOF
5223 if ac_fn_c_try_compile "$LINENO"; then :
5224 ac_cv_sys_large_files=1; break
5225 fi
5226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5227 ac_cv_sys_large_files=unknown
5228 break
5229 done
5230 fi
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5232 $as_echo "$ac_cv_sys_large_files" >&6; }
5233 case $ac_cv_sys_large_files in #(
5234 no | unknown) ;;
5235 *)
5236 cat >>confdefs.h <<_ACEOF
5237 #define _LARGE_FILES $ac_cv_sys_large_files
5238 _ACEOF
5239 ;;
5240 esac
5241 rm -rf conftest*
5242 fi
5243
5244
5245 fi
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.
5252 if test "${enable_compiler_warnings+set}" = set; then :
5253 enableval=$enable_compiler_warnings; ac_compiler_warnings=$enableval
5254 else
5255 ac_compiler_warnings=yes
5256 fi
5257
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_compiler_warnings}" >&5
5259 $as_echo "${ac_compiler_warnings}" >&6; }
5260 if test x${ac_compiler_warnings} = xyes; then :
5261 ac_ext=c
5262 ac_cpp='$CPP $CPPFLAGS'
5263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5265 ac_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; }
5269 if ${ac_cv_cflags_warn_all+:} false; then :
5270 $as_echo_n "(cached) " >&6
5271 else
5272 ac_cv_cflags_warn_all="no, unknown"
5273 ac_save_CFLAGS="$CFLAGS"
5274 for 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" #
5275 do 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
5279 int
5280 main ()
5281 {
5282
5283 ;
5284 return 0;
5285 }
5286 _ACEOF
5287 if ac_fn_c_try_compile "$LINENO"; then :
5288 ac_cv_cflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
5289 fi
5290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5291 done
5292 CFLAGS="$ac_save_CFLAGS"
5293
5294 fi
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
5299 case ".$ac_cv_cflags_warn_all" in
5300 .ok|.ok,*) ;;
5301 .|.no|.no,*) ;;
5302 *)
5303 if ${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 ;;
5321 esac
5322
5323 else
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
5332 fi
5333 ;;
5334 esac
5335
5336 ac_ext=c
5337 ac_cpp='$CPP $CPPFLAGS'
5338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5341
5342
5343 fi
5344
5345 ac_config_headers="$ac_config_headers config.h"
5346
5347 ac_config_files="$ac_config_files Makefile"
5348
5349 cat >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
5411 if 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
5432 fi
5433 rm -f confcache
5434
5435 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5436 # Let make expand exec_prefix.
5437 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5438
5439 DEFS=-DHAVE_CONFIG_H
5440
5441 ac_libobjs=
5442 ac_ltlibobjs=
5443 U=
5444 for 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'
5452 done
5453 LIBOBJS=$ac_libobjs
5454
5455 LTLIBOBJS=$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='#'
5469 else
5470 am__EXEEXT_TRUE='#'
5471 am__EXEEXT_FALSE=
5472 fi
5473
5474 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5475 as_fn_error $? "conditional \"AMDEP\" was never defined.
5476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5477 fi
5478 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5479 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5481 fi
5482 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5483 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5485 fi
5486
5487 : "${CONFIG_STATUS=./config.status}"
5488 ac_write_fail=0
5489 ac_clean_files_save=$ac_clean_files
5490 ac_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;}
5493 as_write_fail=0
5494 cat >$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
5501 debug=false
5502 ac_cs_recheck=false
5503 ac_cs_silent=false
5504
5505 SHELL=\${CONFIG_SHELL-$SHELL}
5506 export SHELL
5507 _ASEOF
5508 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5509 ## -------------------- ##
5510 ## M4sh Initialization. ##
5511 ## -------------------- ##
5512
5513 # Be more Bourne compatible
5514 DUALCASE=1; export DUALCASE # for MKS sh
5515 if 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
5522 else
5523 case `(set -o) 2>/dev/null` in #(
5524 *posix*) :
5525 set -o posix ;; #(
5526 *) :
5527 ;;
5528 esac
5529 fi
5530
5531
5532 as_nl='
5533 '
5534 export as_nl
5535 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5536 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5537 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5538 as_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.
5541 if 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 --'
5545 elif (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'
5548 else
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'
5568 fi
5569
5570 # The user is always right.
5571 if 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 }
5577 fi
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.)
5585 IFS=" "" $as_nl"
5586
5587 # Find who we are. Look in the path if we contain no directory separator.
5588 as_myself=
5589 case $0 in #((
5590 *[\\/]* ) as_myself=$0 ;;
5591 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5592 for as_dir in $PATH
5593 do
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
5598 IFS=$as_save_IFS
5599
5600 ;;
5601 esac
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.
5604 if test "x$as_myself" = x; then
5605 as_myself=$0
5606 fi
5607 if test ! -f "$as_myself"; then
5608 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5609 exit 1
5610 fi
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.
5616 for as_var in BASH_ENV ENV MAIL MAILPATH
5617 do eval test x\${$as_var+set} = xset \
5618 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5619 done
5620 PS1='$ '
5621 PS2='> '
5622 PS4='+ '
5623
5624 # NLS nuisances.
5625 LC_ALL=C
5626 export LC_ALL
5627 LANGUAGE=C
5628 export 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.
5639 as_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.
5654 as_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.
5662 as_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.
5672 as_fn_unset ()
5673 {
5674 { eval $1=; unset $1;}
5675 }
5676 as_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.
5683 if (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 }'
5688 else
5689 as_fn_append ()
5690 {
5691 eval $1=\$$1\$2
5692 }
5693 fi # 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.
5700 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5701 eval 'as_fn_arith ()
5702 {
5703 as_val=$(( $* ))
5704 }'
5705 else
5706 as_fn_arith ()
5707 {
5708 as_val=`expr "$@" || test $? -eq 1`
5709 }
5710 fi # as_fn_arith
5711
5712
5713 if expr a : '\(a\)' >/dev/null 2>&1 &&
5714 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5715 as_expr=expr
5716 else
5717 as_expr=false
5718 fi
5719
5720 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5721 as_basename=basename
5722 else
5723 as_basename=false
5724 fi
5725
5726 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5727 as_dirname=dirname
5728 else
5729 as_dirname=false
5730 fi
5731
5732 as_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.
5752 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5753 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5754 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5755 as_cr_digits='0123456789'
5756 as_cr_alnum=$as_cr_Letters$as_cr_digits
5757
5758 ECHO_C= ECHO_N= ECHO_T=
5759 case `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';;
5769 esac
5770
5771 rm -f conf$$ conf$$.exe conf$$.file
5772 if test -d conf$$.dir; then
5773 rm -f conf$$.dir/conf$$.file
5774 else
5775 rm -f conf$$.dir
5776 mkdir conf$$.dir 2>/dev/null
5777 fi
5778 if (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
5792 else
5793 as_ln_s='cp -pR'
5794 fi
5795 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5796 rmdir conf$$.dir 2>/dev/null
5797
5798
5799 # as_fn_mkdir_p
5800 # -------------
5801 # Create "$as_dir" as a directory, including parents if necessary.
5802 as_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
5846 if mkdir -p . 2>/dev/null; then
5847 as_mkdir_p='mkdir -p "$as_dir"'
5848 else
5849 test -d ./-p && rmdir ./-p
5850 as_mkdir_p=false
5851 fi
5852
5853
5854 # as_fn_executable_p FILE
5855 # -----------------------
5856 # Test if FILE is an executable regular file.
5857 as_fn_executable_p ()
5858 {
5859 test -f "$1" && test -x "$1"
5860 } # as_fn_executable_p
5861 as_test_x='test -x'
5862 as_executable_p=as_fn_executable_p
5863
5864 # Sed expression to map a string onto a valid CPP name.
5865 as_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.
5868 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5869
5870
5871 exec 6>&1
5872 ## ----------------------------------- ##
5873 ## Main body of $CONFIG_STATUS script. ##
5874 ## ----------------------------------- ##
5875 _ASEOF
5876 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5877
5878 cat >>$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.
5882 ac_log="
5883 This file was extended by scrypt $as_me 1.2.1, which was
5884 generated 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
5892 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5893 "
5894
5895 _ACEOF
5896
5897 case $ac_config_files in *"
5898 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5899 esac
5900
5901 case $ac_config_headers in *"
5902 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5903 esac
5904
5905
5906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5907 # Files that config.status was made for.
5908 config_files="$ac_config_files"
5909 config_headers="$ac_config_headers"
5910 config_commands="$ac_config_commands"
5911
5912 _ACEOF
5913
5914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5915 ac_cs_usage="\
5916 \`$as_me' instantiates files and other configuration actions
5917 from templates according to the current configuration. Unless the files
5918 and actions are specified as TAGs, all are instantiated by default.
5919
5920 Usage: $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
5934 Configuration files:
5935 $config_files
5936
5937 Configuration headers:
5938 $config_headers
5939
5940 Configuration commands:
5941 $config_commands
5942
5943 Report bugs to <https://github.com/Tarsnap/scrypt>.
5944 scrypt home page: <http://www.tarsnap.com/scrypt/>."
5945
5946 _ACEOF
5947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5948 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5949 ac_cs_version="\\
5950 scrypt config.status 1.2.1
5951 configured by $0, generated by GNU Autoconf 2.69,
5952 with options \\"\$ac_cs_config\\"
5953
5954 Copyright (C) 2012 Free Software Foundation, Inc.
5955 This config.status script is free software; the Free Software Foundation
5956 gives unlimited permission to copy, distribute and modify it."
5957
5958 ac_pwd='$ac_pwd'
5959 srcdir='$srcdir'
5960 INSTALL='$INSTALL'
5961 MKDIR_P='$MKDIR_P'
5962 AWK='$AWK'
5963 test -n "\$AWK" || AWK=awk
5964 _ACEOF
5965
5966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5967 # The default lists apply if the user does not specify any file.
5968 ac_need_defaults=:
5969 while test $# != 0
5970 do
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'
6017 Try \`$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'
6026 Try \`$0 --help' for more information." ;;
6027
6028 *) as_fn_append ac_config_targets " $1"
6029 ac_need_defaults=false ;;
6030
6031 esac
6032 shift
6033 done
6034
6035 ac_configure_extra_args=
6036
6037 if $ac_cs_silent; then
6038 exec 6>/dev/null
6039 ac_configure_extra_args="$ac_configure_extra_args --silent"
6040 fi
6041
6042 _ACEOF
6043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6044 if \$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 "\$@"
6051 fi
6052
6053 _ACEOF
6054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6055 exec 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
6065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6066 #
6067 # INIT-COMMANDS
6068 #
6069 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6070
6071 _ACEOF
6072
6073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6074
6075 # Handling of arguments.
6076 for ac_config_target in $ac_config_targets
6077 do
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
6085 done
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.
6092 if $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
6096 fi
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
6123 ac_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'.
6128 if test -n "$CONFIG_FILES"; then
6129
6130
6131 ac_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.
6135 if test "x$ac_cr" = x; then
6136 eval ac_cr=\$\'\\r\'
6137 fi
6138 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6139 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6140 ac_cs_awk_cr='\\r'
6141 else
6142 ac_cs_awk_cr=$ac_cr
6143 fi
6144
6145 echo '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
6155 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6156 ac_delim='%!_!# '
6157 for 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
6169 done
6170 rm -f conf$$subs.sh
6171
6172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6173 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6174 _ACEOF
6175 sed -n '
6176 h
6177 s/^/S["/; s/!.*/"]=/
6178 p
6179 g
6180 s/^[^!]*!//
6181 :repl
6182 t repl
6183 s/'"$ac_delim"'$//
6184 t delim
6185 :nl
6186 h
6187 s/\(.\{148\}\)..*/\1/
6188 t more1
6189 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6190 p
6191 n
6192 b repl
6193 :more1
6194 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6195 p
6196 g
6197 s/.\{148\}//
6198 t nl
6199 :delim
6200 h
6201 s/\(.\{148\}\)..*/\1/
6202 t more2
6203 s/["\\]/\\&/g; s/^/"/; s/$/"/
6204 p
6205 b
6206 :more2
6207 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6208 p
6209 g
6210 s/.\{148\}//
6211 t delim
6212 ' <conf$$subs.awk | sed '
6213 /^[^""]/{
6214 N
6215 s/\n//
6216 }
6217 ' >>$CONFIG_STATUS || ac_write_fail=1
6218 rm -f conf$$subs.awk
6219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6220 _ACAWK
6221 cat >>"\$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
6248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6249 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6250 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6251 else
6252 cat
6253 fi < "$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).
6261 if test "x$srcdir" = x.; then
6262 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6263 h
6264 s///
6265 s/^/:/
6266 s/[ ]*$/:/
6267 s/:\$(srcdir):/:/g
6268 s/:\${srcdir}:/:/g
6269 s/:@srcdir@:/:/g
6270 s/^:*//
6271 s/:*$//
6272 x
6273 s/\(=[ ]*\).*/\1/
6274 G
6275 s/\n//
6276 s/^[^=]*=[ ]*$//
6277 }'
6278 fi
6279
6280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6281 fi # 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'.
6286 if test -n "$CONFIG_HEADERS"; then
6287 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6288 BEGIN {
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.
6297 ac_delim='%!_!# '
6298 for 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
6307 done
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
6313 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6314 sed -n '
6315 s/.\{148\}/&'"$ac_delim"'/g
6316 t rset
6317 :rset
6318 s/^[ ]*#[ ]*define[ ][ ]*/ /
6319 t def
6320 d
6321 :def
6322 s/\\$//
6323 t bsnl
6324 s/["\\]/\\&/g
6325 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6326 D["\1"]=" \3"/p
6327 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6328 d
6329 :bsnl
6330 s/["\\]/\\&/g
6331 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6332 D["\1"]=" \3\\\\\\n"\\/p
6333 t cont
6334 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6335 t cont
6336 d
6337 :cont
6338 n
6339 s/.\{148\}/&'"$ac_delim"'/g
6340 t clear
6341 :clear
6342 s/\\$//
6343 t bsnlc
6344 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6345 d
6346 :bsnlc
6347 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6348 b cont
6349 ' <confdefs.h | sed '
6350 s/'"$ac_delim"'/"\\\
6351 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6352
6353 cat >>$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
6387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6388 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6389 fi # test -n "$CONFIG_HEADERS"
6390
6391
6392 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6393 shift
6394 for ac_tag
6395 do
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
6487 case "$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 ;;
6497 esac
6498 ac_abs_top_builddir=$ac_pwd
6499 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6500 # for backward compatibility:
6501 ac_top_builddir=$ac_top_build_prefix
6502
6503 case $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 ;;
6516 esac
6517 ac_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
6537 cat >>$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.
6540 ac_datarootdir_hack=; ac_datarootdir_seen=
6541 ac_sed_dataroot='
6542 /datarootdir/ {
6543 p
6544 q
6545 }
6546 /@datadir@/p
6547 /@docdir@/p
6548 /@infodir@/p
6549 /@localedir@/p
6550 /@mandir@/p'
6551 case `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
6557 cat >>$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' ;;
6565 esac
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?
6571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6572 ac_sed_extra="$ac_vpsub
6573 $extrasub
6574 _ACEOF
6575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6576 :t
6577 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6578 s|@configure_input@|$ac_sed_conf_input|;t t
6579 s&@top_builddir@&$ac_top_builddir_sub&;t t
6580 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6581 s&@srcdir@&$ac_srcdir&;t t
6582 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6583 s&@top_srcdir@&$ac_top_srcdir&;t t
6584 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6585 s&@builddir@&$ac_builddir&;t t
6586 s&@abs_builddir@&$ac_abs_builddir&;t t
6587 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6588 s&@INSTALL@&$ac_INSTALL&;t t
6589 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6590 $ac_datarootdir_hack
6591 "
6592 eval 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
6595 test -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'
6600 which 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'
6602 which 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
6637 for _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
6644 done
6645 echo "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
6772 done # for ac_tag
6773
6774
6775 as_fn_exit 0
6776 _ACEOF
6777 ac_clean_files=$ac_clean_files_save
6778
6779 test $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.
6791 if 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
6802 fi
6803 if 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;}
6806 fi
6807
This page took 0.246176 seconds and 4 git commands to generate.