2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for secnet 0.1.18+.
6 # Report bugs to <secnet@chiark.greenend.org.uk>.
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 as_echo_n='/usr/ucb/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 as_echo_n='sh -c $as_echo_n_body as_echo'
72 as_echo='sh -c $as_echo_body as_echo'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
92 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 _as_can_reexec=no; export _as_can_reexec;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
148 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
150 *v*x* | *x*v* ) as_opts=-vx ;;
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec=; unset _as_can_reexec;}
163 if test "x$CONFIG_SHELL" = x; then
164 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
172 case \`(set -o) 2>/dev/null\` in #(
180 as_required="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
194 exitcode=1; echo positional parameters were not saved.
196 test x\$exitcode = x0 || exit 1
198 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test \$(( 1 + 1 )) = 2 || exit 1"
203 if (eval "$as_required") 2>/dev/null; then :
208 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
213 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
216 test -z "$as_dir" && as_dir=.
220 for as_base in sh bash ksh sh5; do
221 # Try only shells that exist, to save several forks.
222 as_shell=$as_dir/$as_base
223 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
224 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 CONFIG_SHELL=$as_shell as_have_required=yes
226 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
235 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
236 CONFIG_SHELL=$SHELL as_have_required=yes
241 if test "x$CONFIG_SHELL" != x; then :
243 # We cannot yet assume a decent shell, so we have to provide a
244 # neutralization value for shells without unset; and this also
245 # works around shells that cannot unset nonexistent variables.
246 # Preserve -v and -x to the replacement shell.
249 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
251 *v*x* | *x*v* ) as_opts=-vx ;;
256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
257 # Admittedly, this is quite paranoid, since all the known shells bail
258 # out after a failed `exec'.
259 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
263 if test x$as_have_required = xno; then :
264 $as_echo "$0: This script requires a shell more modern than all"
265 $as_echo "$0: the shells that I found on your system."
266 if test x${ZSH_VERSION+set} = xset ; then
267 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
270 $as_echo "$0: Please tell bug-autoconf@gnu.org and
271 $0: secnet@chiark.greenend.org.uk about your system,
272 $0: including any error possibly output before this
273 $0: message. Then install a modern shell, or manually run
274 $0: the script under such a shell if you do have one."
280 SHELL=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Create "$as_dir" as a directory, including parents if necessary.
323 -*) as_dir=./$as_dir;;
325 test -d "$as_dir" || eval $as_mkdir_p || {
329 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
332 as_dirs="'$as_qdir' $as_dirs"
333 as_dir=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335 X"$as_dir" : 'X\(//\)[^/]' \| \
336 X"$as_dir" : 'X\(//\)$' \| \
337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
356 test -d "$as_dir" && break
358 test -z "$as_dirs" || eval "mkdir $as_dirs"
359 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p ()
369 test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
378 eval 'as_fn_append ()
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402 as_val=`expr "$@" || test $? -eq 1`
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
414 as_status=$1; test $as_status -eq 0 && as_status=1
416 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
419 $as_echo "$as_me: error: $2" >&2
420 as_fn_exit $as_status
423 if expr a : '\(a\)' >/dev/null 2>&1 &&
424 test "X`expr 00001 : '.*\(...\)'`" = X001; then
430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
442 as_me=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444 X"$0" : 'X\(//\)$' \| \
445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
447 sed '/^.*\/\([^/][^/]*\)\/*$/{
461 # Avoid depending upon Character Ranges.
462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits='0123456789'
466 as_cr_alnum=$as_cr_Letters$as_cr_digits
469 as_lineno_1=$LINENO as_lineno_1a=$LINENO
470 as_lineno_2=$LINENO as_lineno_2a=$LINENO
471 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
485 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
489 chmod +x "$as_me.lineno" ||
490 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493 # already done that, so ensure we don't try to do so again and fall
494 # in an infinite loop. This has already happened in practice.
495 _as_can_reexec=no; export _as_can_reexec
496 # Don't try to exec as it changes $[0], causing all sort of problems
497 # (the dirname of $[0] is not the place where we might find the
498 # original and so on. Autoconf is especially sensitive to this).
500 # Exit status is that of the last command.
504 ECHO_C= ECHO_N= ECHO_T=
505 case `echo -n x` in #(((((
507 case `echo 'xy\c'` in
508 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
510 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
517 rm -f conf$$ conf$$.exe conf$$.file
518 if test -d conf$$.dir; then
519 rm -f conf$$.dir/conf$$.file
522 mkdir conf$$.dir 2>/dev/null
524 if (echo >conf$$.file) 2>/dev/null; then
525 if ln -s conf$$.file conf$$ 2>/dev/null; then
527 # ... but there are two gotchas:
528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530 # In both cases, we have to default to `cp -pR'.
531 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
533 elif ln conf$$.file conf$$ 2>/dev/null; then
541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
542 rmdir conf$$.dir 2>/dev/null
544 if mkdir -p . 2>/dev/null; then
545 as_mkdir_p='mkdir -p "$as_dir"'
547 test -d ./-p && rmdir ./-p
552 as_executable_p=as_fn_executable_p
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
561 test -n "$DJDIR" || exec 7<&0 </dev/null
565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566 # so uname gets run too.
567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
572 ac_default_prefix=/usr/local
574 ac_config_libobj_dir=.
581 # Identity of this package.
582 PACKAGE_NAME='secnet'
583 PACKAGE_TARNAME='secnet'
584 PACKAGE_VERSION='0.1.18+'
585 PACKAGE_STRING='secnet 0.1.18+'
586 PACKAGE_BUGREPORT='secnet@chiark.greenend.org.uk'
589 ac_unique_file="secnet.c"
590 # Factoring default headers for most tests.
591 ac_includes_default="\
593 #ifdef HAVE_SYS_TYPES_H
594 # include <sys/types.h>
596 #ifdef HAVE_SYS_STAT_H
597 # include <sys/stat.h>
603 # ifdef HAVE_STDLIB_H
608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
613 #ifdef HAVE_STRINGS_H
614 # include <strings.h>
616 #ifdef HAVE_INTTYPES_H
617 # include <inttypes.h>
626 ac_subst_vars='LTLIBOBJS
673 program_transform_name
686 enable_option_checking
687 enable_hacky_parallel
689 ac_precious_vars='build_alias
700 # Initialize some variables set by options.
702 ac_init_version=false
703 ac_unrecognized_opts=
705 # The variables have the same names as the options, with
706 # dashes changed to underlines.
714 program_transform_name=s,x,x,
722 # Installation directory options.
723 # These are left unexpanded so users can "make install exec_prefix=/foo"
724 # and all the variables that are supposed to be based on exec_prefix
725 # by default will actually change.
726 # Use braces instead of parens because sh, perl, etc. also accept them.
727 # (The list follows the same order as the GNU Coding Standards.)
728 bindir='${exec_prefix}/bin'
729 sbindir='${exec_prefix}/sbin'
730 libexecdir='${exec_prefix}/libexec'
731 datarootdir='${prefix}/share'
732 datadir='${datarootdir}'
733 sysconfdir='${prefix}/etc'
734 sharedstatedir='${prefix}/com'
735 localstatedir='${prefix}/var'
736 runstatedir='${localstatedir}/run'
737 includedir='${prefix}/include'
738 oldincludedir='/usr/include'
739 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
740 infodir='${datarootdir}/info'
745 libdir='${exec_prefix}/lib'
746 localedir='${datarootdir}/locale'
747 mandir='${datarootdir}/man'
753 # If the previous option needs an argument, assign it.
754 if test -n "$ac_prev"; then
755 eval $ac_prev=\$ac_option
761 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
766 # Accept the important Cygnus configure options, so we can diagnose typos.
768 case $ac_dashdash$ac_option in
772 -bindir | --bindir | --bindi | --bind | --bin | --bi)
774 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
777 -build | --build | --buil | --bui | --bu)
778 ac_prev=build_alias ;;
779 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
780 build_alias=$ac_optarg ;;
782 -cache-file | --cache-file | --cache-fil | --cache-fi \
783 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
784 ac_prev=cache_file ;;
785 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
786 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
787 cache_file=$ac_optarg ;;
790 cache_file=config.cache ;;
792 -datadir | --datadir | --datadi | --datad)
794 -datadir=* | --datadir=* | --datadi=* | --datad=*)
795 datadir=$ac_optarg ;;
797 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
798 | --dataroo | --dataro | --datar)
799 ac_prev=datarootdir ;;
800 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
801 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
802 datarootdir=$ac_optarg ;;
804 -disable-* | --disable-*)
805 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
806 # Reject names that are not valid shell variable names.
807 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
808 as_fn_error $? "invalid feature name: $ac_useropt"
809 ac_useropt_orig=$ac_useropt
810 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
811 case $ac_user_opts in
815 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
816 ac_unrecognized_sep=', ';;
818 eval enable_$ac_useropt=no ;;
820 -docdir | --docdir | --docdi | --doc | --do)
822 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
825 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
827 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
830 -enable-* | --enable-*)
831 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
832 # Reject names that are not valid shell variable names.
833 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
834 as_fn_error $? "invalid feature name: $ac_useropt"
835 ac_useropt_orig=$ac_useropt
836 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
837 case $ac_user_opts in
841 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
842 ac_unrecognized_sep=', ';;
844 eval enable_$ac_useropt=\$ac_optarg ;;
846 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
847 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
848 | --exec | --exe | --ex)
849 ac_prev=exec_prefix ;;
850 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
851 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
852 | --exec=* | --exe=* | --ex=*)
853 exec_prefix=$ac_optarg ;;
855 -gas | --gas | --ga | --g)
856 # Obsolete; use --with-gas.
859 -help | --help | --hel | --he | -h)
861 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
862 ac_init_help=recursive ;;
863 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
864 ac_init_help=short ;;
866 -host | --host | --hos | --ho)
867 ac_prev=host_alias ;;
868 -host=* | --host=* | --hos=* | --ho=*)
869 host_alias=$ac_optarg ;;
871 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
873 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
875 htmldir=$ac_optarg ;;
877 -includedir | --includedir | --includedi | --included | --include \
878 | --includ | --inclu | --incl | --inc)
879 ac_prev=includedir ;;
880 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
881 | --includ=* | --inclu=* | --incl=* | --inc=*)
882 includedir=$ac_optarg ;;
884 -infodir | --infodir | --infodi | --infod | --info | --inf)
886 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
887 infodir=$ac_optarg ;;
889 -libdir | --libdir | --libdi | --libd)
891 -libdir=* | --libdir=* | --libdi=* | --libd=*)
894 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
895 | --libexe | --libex | --libe)
896 ac_prev=libexecdir ;;
897 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
898 | --libexe=* | --libex=* | --libe=*)
899 libexecdir=$ac_optarg ;;
901 -localedir | --localedir | --localedi | --localed | --locale)
903 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
904 localedir=$ac_optarg ;;
906 -localstatedir | --localstatedir | --localstatedi | --localstated \
907 | --localstate | --localstat | --localsta | --localst | --locals)
908 ac_prev=localstatedir ;;
909 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
910 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
911 localstatedir=$ac_optarg ;;
913 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
915 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
919 # Obsolete; use --without-fp.
922 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
923 | --no-cr | --no-c | -n)
926 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
927 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
930 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
931 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
932 | --oldin | --oldi | --old | --ol | --o)
933 ac_prev=oldincludedir ;;
934 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
935 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
936 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
937 oldincludedir=$ac_optarg ;;
939 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
941 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
944 -program-prefix | --program-prefix | --program-prefi | --program-pref \
945 | --program-pre | --program-pr | --program-p)
946 ac_prev=program_prefix ;;
947 -program-prefix=* | --program-prefix=* | --program-prefi=* \
948 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
949 program_prefix=$ac_optarg ;;
951 -program-suffix | --program-suffix | --program-suffi | --program-suff \
952 | --program-suf | --program-su | --program-s)
953 ac_prev=program_suffix ;;
954 -program-suffix=* | --program-suffix=* | --program-suffi=* \
955 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
956 program_suffix=$ac_optarg ;;
958 -program-transform-name | --program-transform-name \
959 | --program-transform-nam | --program-transform-na \
960 | --program-transform-n | --program-transform- \
961 | --program-transform | --program-transfor \
962 | --program-transfo | --program-transf \
963 | --program-trans | --program-tran \
964 | --progr-tra | --program-tr | --program-t)
965 ac_prev=program_transform_name ;;
966 -program-transform-name=* | --program-transform-name=* \
967 | --program-transform-nam=* | --program-transform-na=* \
968 | --program-transform-n=* | --program-transform-=* \
969 | --program-transform=* | --program-transfor=* \
970 | --program-transfo=* | --program-transf=* \
971 | --program-trans=* | --program-tran=* \
972 | --progr-tra=* | --program-tr=* | --program-t=*)
973 program_transform_name=$ac_optarg ;;
975 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
977 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
980 -psdir | --psdir | --psdi | --psd | --ps)
982 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
986 | -silent | --silent | --silen | --sile | --sil)
989 -runstatedir | --runstatedir | --runstatedi | --runstated \
990 | --runstate | --runstat | --runsta | --runst | --runs \
991 | --run | --ru | --r)
992 ac_prev=runstatedir ;;
993 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
994 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
995 | --run=* | --ru=* | --r=*)
996 runstatedir=$ac_optarg ;;
998 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1000 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1002 sbindir=$ac_optarg ;;
1004 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1005 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1006 | --sharedst | --shareds | --shared | --share | --shar \
1008 ac_prev=sharedstatedir ;;
1009 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1010 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1011 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1013 sharedstatedir=$ac_optarg ;;
1015 -site | --site | --sit)
1017 -site=* | --site=* | --sit=*)
1020 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1022 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1023 srcdir=$ac_optarg ;;
1025 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1026 | --syscon | --sysco | --sysc | --sys | --sy)
1027 ac_prev=sysconfdir ;;
1028 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1029 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1030 sysconfdir=$ac_optarg ;;
1032 -target | --target | --targe | --targ | --tar | --ta | --t)
1033 ac_prev=target_alias ;;
1034 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1035 target_alias=$ac_optarg ;;
1037 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1040 -version | --version | --versio | --versi | --vers | -V)
1041 ac_init_version=: ;;
1044 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1045 # Reject names that are not valid shell variable names.
1046 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1047 as_fn_error $? "invalid package name: $ac_useropt"
1048 ac_useropt_orig=$ac_useropt
1049 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1050 case $ac_user_opts in
1054 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1055 ac_unrecognized_sep=', ';;
1057 eval with_$ac_useropt=\$ac_optarg ;;
1059 -without-* | --without-*)
1060 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1061 # Reject names that are not valid shell variable names.
1062 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1063 as_fn_error $? "invalid package name: $ac_useropt"
1064 ac_useropt_orig=$ac_useropt
1065 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1066 case $ac_user_opts in
1070 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1071 ac_unrecognized_sep=', ';;
1073 eval with_$ac_useropt=no ;;
1076 # Obsolete; use --with-x.
1079 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1080 | --x-incl | --x-inc | --x-in | --x-i)
1081 ac_prev=x_includes ;;
1082 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1083 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1084 x_includes=$ac_optarg ;;
1086 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1087 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1088 ac_prev=x_libraries ;;
1089 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1090 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1091 x_libraries=$ac_optarg ;;
1093 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1094 Try \`$0 --help' for more information"
1098 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1099 # Reject names that are not valid shell variable names.
1100 case $ac_envvar in #(
1101 '' | [0-9]* | *[!_$as_cr_alnum]* )
1102 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1104 eval $ac_envvar=\$ac_optarg
1105 export $ac_envvar ;;
1108 # FIXME: should be removed in autoconf 3.0.
1109 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1110 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1111 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1112 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1118 if test -n "$ac_prev"; then
1119 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1120 as_fn_error $? "missing argument to $ac_option"
1123 if test -n "$ac_unrecognized_opts"; then
1124 case $enable_option_checking in
1126 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1127 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1131 # Check all directory arguments for consistency.
1132 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1133 datadir sysconfdir sharedstatedir localstatedir includedir \
1134 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1135 libdir localedir mandir runstatedir
1137 eval ac_val=\$$ac_var
1138 # Remove trailing slashes.
1141 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1142 eval $ac_var=\$ac_val;;
1144 # Be sure to have absolute directory names.
1146 [\\/$]* | ?:[\\/]* ) continue;;
1147 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1149 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1152 # There might be people who depend on the old broken behavior: `$host'
1153 # used to hold the argument of --host etc.
1154 # FIXME: To remove some day.
1157 target=$target_alias
1159 # FIXME: To remove some day.
1160 if test "x$host_alias" != x; then
1161 if test "x$build_alias" = x; then
1162 cross_compiling=maybe
1163 elif test "x$build_alias" != "x$host_alias"; then
1169 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1171 test "$silent" = yes && exec 6>/dev/null
1174 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1175 ac_ls_di=`ls -di .` &&
1176 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1177 as_fn_error $? "working directory cannot be determined"
1178 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1179 as_fn_error $? "pwd does not report name of working directory"
1182 # Find the source files, if location was not specified.
1183 if test -z "$srcdir"; then
1184 ac_srcdir_defaulted=yes
1185 # Try the directory containing this script, then the parent directory.
1186 ac_confdir=`$as_dirname -- "$as_myself" ||
1187 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1188 X"$as_myself" : 'X\(//\)[^/]' \| \
1189 X"$as_myself" : 'X\(//\)$' \| \
1190 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1191 $as_echo X"$as_myself" |
1192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1210 if test ! -r "$srcdir/$ac_unique_file"; then
1214 ac_srcdir_defaulted=no
1216 if test ! -r "$srcdir/$ac_unique_file"; then
1217 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1218 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1220 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1222 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1224 # When building in place, set srcdir=.
1225 if test "$ac_abs_confdir" = "$ac_pwd"; then
1228 # Remove unnecessary trailing slashes from srcdir.
1229 # Double slashes in file names in object file debugging info
1230 # mess up M-x gdb in Emacs.
1232 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1234 for ac_var in $ac_precious_vars; do
1235 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1236 eval ac_env_${ac_var}_value=\$${ac_var}
1237 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1238 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1242 # Report the --help message.
1244 if test "$ac_init_help" = "long"; then
1245 # Omit some internal or obsolete options to make the list less imposing.
1246 # This message is too long to be a string in the A/UX 3.1 sh.
1248 \`configure' configures secnet 0.1.18+ to adapt to many kinds of systems.
1250 Usage: $0 [OPTION]... [VAR=VALUE]...
1252 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1253 VAR=VALUE. See below for descriptions of some of the useful variables.
1255 Defaults for the options are specified in brackets.
1258 -h, --help display this help and exit
1259 --help=short display options specific to this package
1260 --help=recursive display the short help of all the included packages
1261 -V, --version display version information and exit
1262 -q, --quiet, --silent do not print \`checking ...' messages
1263 --cache-file=FILE cache test results in FILE [disabled]
1264 -C, --config-cache alias for \`--cache-file=config.cache'
1265 -n, --no-create do not create output files
1266 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1268 Installation directories:
1269 --prefix=PREFIX install architecture-independent files in PREFIX
1270 [$ac_default_prefix]
1271 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1274 By default, \`make install' will install all the files in
1275 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1276 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1277 for instance \`--prefix=\$HOME'.
1279 For better control, use the options below.
1281 Fine tuning of the installation directories:
1282 --bindir=DIR user executables [EPREFIX/bin]
1283 --sbindir=DIR system admin executables [EPREFIX/sbin]
1284 --libexecdir=DIR program executables [EPREFIX/libexec]
1285 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1286 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1287 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1288 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1289 --libdir=DIR object code libraries [EPREFIX/lib]
1290 --includedir=DIR C header files [PREFIX/include]
1291 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1292 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1293 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1294 --infodir=DIR info documentation [DATAROOTDIR/info]
1295 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1296 --mandir=DIR man documentation [DATAROOTDIR/man]
1297 --docdir=DIR documentation root [DATAROOTDIR/doc/secnet]
1298 --htmldir=DIR html documentation [DOCDIR]
1299 --dvidir=DIR dvi documentation [DOCDIR]
1300 --pdfdir=DIR pdf documentation [DOCDIR]
1301 --psdir=DIR ps documentation [DOCDIR]
1308 if test -n "$ac_init_help"; then
1309 case $ac_init_help in
1310 short | recursive ) echo "Configuration of secnet 0.1.18+:";;
1315 --disable-option-checking ignore unrecognized --enable/--with options
1316 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1317 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1318 --enable-hacky-parallel parallelise slow cryptography (default is no)
1320 Some influential environment variables:
1321 CC C compiler command
1322 CFLAGS C compiler flags
1323 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1324 nonstandard directory <lib dir>
1325 LIBS libraries to pass to the linker, e.g. -l<library>
1326 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1327 you have headers in a nonstandard directory <include dir>
1330 Use these variables to override the choices made by `configure' or to help
1331 it to find libraries and programs with nonstandard names/locations.
1333 Report bugs to <secnet@chiark.greenend.org.uk>.
1338 if test "$ac_init_help" = "recursive"; then
1339 # If there are subdirs, report their specific --help.
1340 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1341 test -d "$ac_dir" ||
1342 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1347 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1349 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1350 # A ".." for each directory in $ac_dir_suffix.
1351 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1352 case $ac_top_builddir_sub in
1353 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1354 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1357 ac_abs_top_builddir=$ac_pwd
1358 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1359 # for backward compatibility:
1360 ac_top_builddir=$ac_top_build_prefix
1363 .) # We are building in place.
1365 ac_top_srcdir=$ac_top_builddir_sub
1366 ac_abs_top_srcdir=$ac_pwd ;;
1367 [\\/]* | ?:[\\/]* ) # Absolute name.
1368 ac_srcdir=$srcdir$ac_dir_suffix;
1369 ac_top_srcdir=$srcdir
1370 ac_abs_top_srcdir=$srcdir ;;
1372 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1373 ac_top_srcdir=$ac_top_build_prefix$srcdir
1374 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1376 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1378 cd "$ac_dir" || { ac_status=$?; continue; }
1379 # Check for guested configure.
1380 if test -f "$ac_srcdir/configure.gnu"; then
1382 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1383 elif test -f "$ac_srcdir/configure"; then
1385 $SHELL "$ac_srcdir/configure" --help=recursive
1387 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1389 cd "$ac_pwd" || { ac_status=$?; break; }
1393 test -n "$ac_init_help" && exit $ac_status
1394 if $ac_init_version; then
1396 secnet configure 0.1.18+
1397 generated by GNU Autoconf 2.69
1399 Copyright (C) 2012 Free Software Foundation, Inc.
1400 This configure script is free software; the Free Software Foundation
1401 gives unlimited permission to copy, distribute and modify it.
1406 ## ------------------------ ##
1407 ## Autoconf initialization. ##
1408 ## ------------------------ ##
1410 # ac_fn_c_try_compile LINENO
1411 # --------------------------
1412 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1413 ac_fn_c_try_compile ()
1415 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1416 rm -f conftest.$ac_objext
1417 if { { ac_try="$ac_compile"
1419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1420 *) ac_try_echo=$ac_try;;
1422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1423 $as_echo "$ac_try_echo"; } >&5
1424 (eval "$ac_compile") 2>conftest.err
1426 if test -s conftest.err; then
1427 grep -v '^ *+' conftest.err >conftest.er1
1428 cat conftest.er1 >&5
1429 mv -f conftest.er1 conftest.err
1431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1432 test $ac_status = 0; } && {
1433 test -z "$ac_c_werror_flag" ||
1434 test ! -s conftest.err
1435 } && test -s conftest.$ac_objext; then :
1438 $as_echo "$as_me: failed program was:" >&5
1439 sed 's/^/| /' conftest.$ac_ext >&5
1443 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1444 as_fn_set_status $ac_retval
1446 } # ac_fn_c_try_compile
1448 # ac_fn_c_try_cpp LINENO
1449 # ----------------------
1450 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1453 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1454 if { { ac_try="$ac_cpp conftest.$ac_ext"
1456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1457 *) ac_try_echo=$ac_try;;
1459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1460 $as_echo "$ac_try_echo"; } >&5
1461 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1463 if test -s conftest.err; then
1464 grep -v '^ *+' conftest.err >conftest.er1
1465 cat conftest.er1 >&5
1466 mv -f conftest.er1 conftest.err
1468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1469 test $ac_status = 0; } > conftest.i && {
1470 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1471 test ! -s conftest.err
1475 $as_echo "$as_me: failed program was:" >&5
1476 sed 's/^/| /' conftest.$ac_ext >&5
1480 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1481 as_fn_set_status $ac_retval
1485 # ac_fn_c_try_run LINENO
1486 # ----------------------
1487 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1488 # that executables *can* be run.
1491 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1492 if { { ac_try="$ac_link"
1494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1495 *) ac_try_echo=$ac_try;;
1497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1498 $as_echo "$ac_try_echo"; } >&5
1499 (eval "$ac_link") 2>&5
1501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1502 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1503 { { case "(($ac_try" in
1504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1505 *) ac_try_echo=$ac_try;;
1507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1508 $as_echo "$ac_try_echo"; } >&5
1509 (eval "$ac_try") 2>&5
1511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1512 test $ac_status = 0; }; }; then :
1515 $as_echo "$as_me: program exited with status $ac_status" >&5
1516 $as_echo "$as_me: failed program was:" >&5
1517 sed 's/^/| /' conftest.$ac_ext >&5
1519 ac_retval=$ac_status
1521 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1522 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1523 as_fn_set_status $ac_retval
1527 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1528 # -------------------------------------------------------
1529 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1530 # the include files in INCLUDES and setting the cache variable VAR
1532 ac_fn_c_check_header_mongrel ()
1534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535 if eval \${$3+:} false; then :
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1537 $as_echo_n "checking for $2... " >&6; }
1538 if eval \${$3+:} false; then :
1539 $as_echo_n "(cached) " >&6
1542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1543 $as_echo "$ac_res" >&6; }
1545 # Is the header compilable?
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1547 $as_echo_n "checking $2 usability... " >&6; }
1548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1549 /* end confdefs.h. */
1553 if ac_fn_c_try_compile "$LINENO"; then :
1554 ac_header_compiler=yes
1556 ac_header_compiler=no
1558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1560 $as_echo "$ac_header_compiler" >&6; }
1562 # Is the header present?
1563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1564 $as_echo_n "checking $2 presence... " >&6; }
1565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1566 /* end confdefs.h. */
1569 if ac_fn_c_try_cpp "$LINENO"; then :
1570 ac_header_preproc=yes
1572 ac_header_preproc=no
1574 rm -f conftest.err conftest.i conftest.$ac_ext
1575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1576 $as_echo "$ac_header_preproc" >&6; }
1578 # So? What about this header?
1579 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1582 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1584 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1588 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1590 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1592 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1594 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1596 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1597 ( $as_echo "## -------------------------------------------- ##
1598 ## Report this to secnet@chiark.greenend.org.uk ##
1599 ## -------------------------------------------- ##"
1600 ) | sed "s/^/$as_me: WARNING: /" >&2
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1604 $as_echo_n "checking for $2... " >&6; }
1605 if eval \${$3+:} false; then :
1606 $as_echo_n "(cached) " >&6
1608 eval "$3=\$ac_header_compiler"
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1612 $as_echo "$ac_res" >&6; }
1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1616 } # ac_fn_c_check_header_mongrel
1618 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1619 # -------------------------------------------------------
1620 # Tests whether HEADER exists and can be compiled using the include files in
1621 # INCLUDES, setting the cache variable VAR accordingly.
1622 ac_fn_c_check_header_compile ()
1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1626 $as_echo_n "checking for $2... " >&6; }
1627 if eval \${$3+:} false; then :
1628 $as_echo_n "(cached) " >&6
1630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1631 /* end confdefs.h. */
1635 if ac_fn_c_try_compile "$LINENO"; then :
1640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1644 $as_echo "$ac_res" >&6; }
1645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1647 } # ac_fn_c_check_header_compile
1649 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1650 # --------------------------------------------
1651 # Tries to find the compile-time value of EXPR in a program that includes
1652 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1654 ac_fn_c_compute_int ()
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657 if test "$cross_compiling" = yes; then
1658 # Depending upon the size, compute the lo and hi bounds.
1659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1660 /* end confdefs.h. */
1665 static int test_array [1 - 2 * !(($2) >= 0)];
1667 return test_array [0];
1673 if ac_fn_c_try_compile "$LINENO"; then :
1676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1677 /* end confdefs.h. */
1682 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1684 return test_array [0];
1690 if ac_fn_c_try_compile "$LINENO"; then :
1691 ac_hi=$ac_mid; break
1693 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1694 if test $ac_lo -le $ac_mid; then
1698 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1704 /* end confdefs.h. */
1709 static int test_array [1 - 2 * !(($2) < 0)];
1711 return test_array [0];
1717 if ac_fn_c_try_compile "$LINENO"; then :
1720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1721 /* end confdefs.h. */
1726 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1728 return test_array [0];
1734 if ac_fn_c_try_compile "$LINENO"; then :
1735 ac_lo=$ac_mid; break
1737 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1738 if test $ac_mid -le $ac_hi; then
1742 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1752 # Binary search between lo and hi bounds.
1753 while test "x$ac_lo" != "x$ac_hi"; do
1754 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1756 /* end confdefs.h. */
1761 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1763 return test_array [0];
1769 if ac_fn_c_try_compile "$LINENO"; then :
1772 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1777 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1782 /* end confdefs.h. */
1784 static long int longval () { return $2; }
1785 static unsigned long int ulongval () { return $2; }
1792 FILE *f = fopen ("conftest.val", "w");
1797 long int i = longval ();
1800 fprintf (f, "%ld", i);
1804 unsigned long int i = ulongval ();
1807 fprintf (f, "%lu", i);
1809 /* Do not output a trailing newline, as this causes \r\n confusion
1810 on some platforms. */
1811 return ferror (f) || fclose (f) != 0;
1817 if ac_fn_c_try_run "$LINENO"; then :
1818 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1822 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1823 conftest.$ac_objext conftest.beam conftest.$ac_ext
1827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828 as_fn_set_status $ac_retval
1830 } # ac_fn_c_compute_int
1832 # ac_fn_c_try_link LINENO
1833 # -----------------------
1834 # Try to link conftest.$ac_ext, and return whether this succeeded.
1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838 rm -f conftest.$ac_objext conftest$ac_exeext
1839 if { { ac_try="$ac_link"
1841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1842 *) ac_try_echo=$ac_try;;
1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846 (eval "$ac_link") 2>conftest.err
1848 if test -s conftest.err; then
1849 grep -v '^ *+' conftest.err >conftest.er1
1850 cat conftest.er1 >&5
1851 mv -f conftest.er1 conftest.err
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; } && {
1855 test -z "$ac_c_werror_flag" ||
1856 test ! -s conftest.err
1857 } && test -s conftest$ac_exeext && {
1858 test "$cross_compiling" = yes ||
1859 test -x conftest$ac_exeext
1863 $as_echo "$as_me: failed program was:" >&5
1864 sed 's/^/| /' conftest.$ac_ext >&5
1868 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1869 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1870 # interfere with the next link command; also delete a directory that is
1871 # left behind by Apple's compiler. We do this before executing the actions.
1872 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874 as_fn_set_status $ac_retval
1876 } # ac_fn_c_try_link
1878 # ac_fn_c_check_func LINENO FUNC VAR
1879 # ----------------------------------
1880 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1881 ac_fn_c_check_func ()
1883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1885 $as_echo_n "checking for $2... " >&6; }
1886 if eval \${$3+:} false; then :
1887 $as_echo_n "(cached) " >&6
1889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1890 /* end confdefs.h. */
1891 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1893 #define $2 innocuous_$2
1895 /* System header to define __stub macros and hopefully few prototypes,
1896 which can conflict with char $2 (); below.
1897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1898 <limits.h> exists even on freestanding compilers. */
1901 # include <limits.h>
1903 # include <assert.h>
1908 /* Override any GCC internal prototype to avoid an error.
1909 Use char because int might match the return type of a GCC
1910 builtin and then its argument prototype would still apply. */
1915 /* The GNU C library defines this for functions which it implements
1916 to always fail with ENOSYS. Some functions are actually named
1917 something starting with __ and the normal name is an alias. */
1918 #if defined __stub_$2 || defined __stub___$2
1930 if ac_fn_c_try_link "$LINENO"; then :
1935 rm -f core conftest.err conftest.$ac_objext \
1936 conftest$ac_exeext conftest.$ac_ext
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1940 $as_echo "$ac_res" >&6; }
1941 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1943 } # ac_fn_c_check_func
1945 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1946 # ---------------------------------------------
1947 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1949 ac_fn_c_check_decl ()
1951 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952 as_decl_name=`echo $2|sed 's/ *(.*//'`
1953 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1955 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1956 if eval \${$3+:} false; then :
1957 $as_echo_n "(cached) " >&6
1959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1960 /* end confdefs.h. */
1965 #ifndef $as_decl_name
1967 (void) $as_decl_use;
1969 (void) $as_decl_name;
1977 if ac_fn_c_try_compile "$LINENO"; then :
1982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1986 $as_echo "$ac_res" >&6; }
1987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1989 } # ac_fn_c_check_decl
1990 cat >config.log <<_ACEOF
1991 This file contains any messages produced by compilers while
1992 running configure, to aid debugging if configure makes a mistake.
1994 It was created by secnet $as_me 0.1.18+, which was
1995 generated by GNU Autoconf 2.69. Invocation command line was
2007 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2008 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2009 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2010 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2011 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2013 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2014 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2016 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2017 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2018 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2019 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2020 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2021 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2022 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030 test -z "$as_dir" && as_dir=.
2031 $as_echo "PATH: $as_dir"
2047 # Keep a trace of the command line.
2048 # Strip out --no-create and --no-recursion so they do not pile up.
2049 # Strip out --silent because we don't want to record it for future runs.
2050 # Also quote any args containing shell meta-characters.
2051 # Make two passes to allow for proper duplicate-argument suppression.
2055 ac_must_keep_next=false
2061 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2063 | -silent | --silent | --silen | --sile | --sil)
2066 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2069 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2071 as_fn_append ac_configure_args1 " '$ac_arg'"
2072 if test $ac_must_keep_next = true; then
2073 ac_must_keep_next=false # Got value, back to normal.
2076 *=* | --config-cache | -C | -disable-* | --disable-* \
2077 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2078 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2079 | -with-* | --with-* | -without-* | --without-* | --x)
2080 case "$ac_configure_args0 " in
2081 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2084 -* ) ac_must_keep_next=true ;;
2087 as_fn_append ac_configure_args " '$ac_arg'"
2092 { ac_configure_args0=; unset ac_configure_args0;}
2093 { ac_configure_args1=; unset ac_configure_args1;}
2095 # When interrupted or exit'd, cleanup temporary files, and complete
2096 # config.log. We remove comments because anyway the quotes in there
2097 # would cause problems or look ugly.
2098 # WARNING: Use '\'' to represent an apostrophe within the trap.
2099 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2100 trap 'exit_status=$?
2101 # Save into config.log some information that might help in debugging.
2105 $as_echo "## ---------------- ##
2106 ## Cache variables. ##
2107 ## ---------------- ##"
2109 # The following way of writing the cache mishandles newlines in values,
2111 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2112 eval ac_val=\$$ac_var
2116 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2117 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2120 _ | IFS | as_nl) ;; #(
2121 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2122 *) { eval $ac_var=; unset $ac_var;} ;;
2127 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2128 *${as_nl}ac_space=\ *)
2130 "s/'\''/'\''\\\\'\'''\''/g;
2131 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2134 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2141 $as_echo "## ----------------- ##
2142 ## Output variables. ##
2143 ## ----------------- ##"
2145 for ac_var in $ac_subst_vars
2147 eval ac_val=\$$ac_var
2149 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2151 $as_echo "$ac_var='\''$ac_val'\''"
2155 if test -n "$ac_subst_files"; then
2156 $as_echo "## ------------------- ##
2157 ## File substitutions. ##
2158 ## ------------------- ##"
2160 for ac_var in $ac_subst_files
2162 eval ac_val=\$$ac_var
2164 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2166 $as_echo "$ac_var='\''$ac_val'\''"
2171 if test -s confdefs.h; then
2172 $as_echo "## ----------- ##
2179 test "$ac_signal" != 0 &&
2180 $as_echo "$as_me: caught signal $ac_signal"
2181 $as_echo "$as_me: exit $exit_status"
2183 rm -f core *.core core.conftest.* &&
2184 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2187 for ac_signal in 1 2 13 15; do
2188 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2192 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2193 rm -f -r conftest* confdefs.h
2195 $as_echo "/* confdefs.h */" > confdefs.h
2197 # Predefined preprocessor variables.
2199 cat >>confdefs.h <<_ACEOF
2200 #define PACKAGE_NAME "$PACKAGE_NAME"
2203 cat >>confdefs.h <<_ACEOF
2204 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2207 cat >>confdefs.h <<_ACEOF
2208 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2211 cat >>confdefs.h <<_ACEOF
2212 #define PACKAGE_STRING "$PACKAGE_STRING"
2215 cat >>confdefs.h <<_ACEOF
2216 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2219 cat >>confdefs.h <<_ACEOF
2220 #define PACKAGE_URL "$PACKAGE_URL"
2224 # Let the site file select an alternate cache file if it wants to.
2225 # Prefer an explicitly selected file to automatically selected ones.
2228 if test -n "$CONFIG_SITE"; then
2229 # We do not want a PATH search for config.site.
2230 case $CONFIG_SITE in #((
2231 -*) ac_site_file1=./$CONFIG_SITE;;
2232 */*) ac_site_file1=$CONFIG_SITE;;
2233 *) ac_site_file1=./$CONFIG_SITE;;
2235 elif test "x$prefix" != xNONE; then
2236 ac_site_file1=$prefix/share/config.site
2237 ac_site_file2=$prefix/etc/config.site
2239 ac_site_file1=$ac_default_prefix/share/config.site
2240 ac_site_file2=$ac_default_prefix/etc/config.site
2242 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2244 test "x$ac_site_file" = xNONE && continue
2245 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2247 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2248 sed 's/^/| /' "$ac_site_file" >&5
2250 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2252 as_fn_error $? "failed to load site script $ac_site_file
2253 See \`config.log' for more details" "$LINENO" 5; }
2257 if test -r "$cache_file"; then
2258 # Some versions of bash will fail to source /dev/null (special files
2259 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2260 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2262 $as_echo "$as_me: loading cache $cache_file" >&6;}
2264 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2265 *) . "./$cache_file";;
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2270 $as_echo "$as_me: creating cache $cache_file" >&6;}
2274 # Check that the precious variables saved in the cache have kept the same
2276 ac_cache_corrupted=false
2277 for ac_var in $ac_precious_vars; do
2278 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2279 eval ac_new_set=\$ac_env_${ac_var}_set
2280 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2281 eval ac_new_val=\$ac_env_${ac_var}_value
2282 case $ac_old_set,$ac_new_set in
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2285 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2286 ac_cache_corrupted=: ;;
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2289 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2290 ac_cache_corrupted=: ;;
2293 if test "x$ac_old_val" != "x$ac_new_val"; then
2294 # differences in whitespace do not lead to failure.
2295 ac_old_val_w=`echo x $ac_old_val`
2296 ac_new_val_w=`echo x $ac_new_val`
2297 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2299 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2300 ac_cache_corrupted=:
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2303 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2304 eval $ac_var=\$ac_old_val
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2307 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2309 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2312 # Pass precious variables to config.status.
2313 if test "$ac_new_set" = set; then
2315 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2316 *) ac_arg=$ac_var=$ac_new_val ;;
2318 case " $ac_configure_args " in
2319 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2320 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2324 if $ac_cache_corrupted; then
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2328 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2329 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2331 ## -------------------- ##
2332 ## Main body of script. ##
2333 ## -------------------- ##
2336 ac_cpp='$CPP $CPPFLAGS'
2337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2343 ac_config_headers="$ac_config_headers config.h"
2350 ac_cpp='$CPP $CPPFLAGS'
2351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2356 # If fink is on the path then it is assumed we should use it.
2357 # Extract the first word of "fink", so it can be a program name with args.
2358 set dummy fink; ac_word=$2
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2360 $as_echo_n "checking for $ac_word... " >&6; }
2361 if ${ac_cv_path_FINK+:} false; then :
2362 $as_echo_n "(cached) " >&6
2366 ac_cv_path_FINK="$FINK" # Let the user override the test with a path.
2369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2373 test -z "$as_dir" && as_dir=.
2374 for ac_exec_ext in '' $ac_executable_extensions; do
2375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2376 ac_cv_path_FINK="$as_dir/$ac_word$ac_exec_ext"
2377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2387 FINK=$ac_cv_path_FINK
2388 if test -n "$FINK"; then
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FINK" >&5
2390 $as_echo "$FINK" >&6; }
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2393 $as_echo "no" >&6; }
2397 if test "x$FINK" != x; then
2398 finkdir=`echo $FINK|sed 's,/[^/]*/[^/]*$,,'`
2399 CPPFLAGS="-I$finkdir/include ${CPPFLAGS}"
2400 LDFLAGS="-L$finkdir/lib ${LDFLAGS}"
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2404 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2406 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2407 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2408 $as_echo_n "(cached) " >&6
2410 cat >conftest.make <<\_ACEOF
2413 @echo '@@@%%%=$(MAKE)=@@@%%%'
2415 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2416 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2418 eval ac_cv_prog_make_${ac_make}_set=yes;;
2420 eval ac_cv_prog_make_${ac_make}_set=no;;
2424 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2426 $as_echo "yes" >&6; }
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2430 $as_echo "no" >&6; }
2431 SET_MAKE="MAKE=${MAKE-make}"
2435 ac_cpp='$CPP $CPPFLAGS'
2436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2439 if test -n "$ac_tool_prefix"; then
2440 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2441 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2443 $as_echo_n "checking for $ac_word... " >&6; }
2444 if ${ac_cv_prog_CC+:} false; then :
2445 $as_echo_n "(cached) " >&6
2447 if test -n "$CC"; then
2448 ac_cv_prog_CC="$CC" # Let the user override the test.
2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2454 test -z "$as_dir" && as_dir=.
2455 for ac_exec_ext in '' $ac_executable_extensions; do
2456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2457 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2468 if test -n "$CC"; then
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2470 $as_echo "$CC" >&6; }
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2473 $as_echo "no" >&6; }
2478 if test -z "$ac_cv_prog_CC"; then
2480 # Extract the first word of "gcc", so it can be a program name with args.
2481 set dummy gcc; ac_word=$2
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2483 $as_echo_n "checking for $ac_word... " >&6; }
2484 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2485 $as_echo_n "(cached) " >&6
2487 if test -n "$ac_ct_CC"; then
2488 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2494 test -z "$as_dir" && as_dir=.
2495 for ac_exec_ext in '' $ac_executable_extensions; do
2496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2497 ac_cv_prog_ac_ct_CC="gcc"
2498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2508 if test -n "$ac_ct_CC"; then
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2510 $as_echo "$ac_ct_CC" >&6; }
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2513 $as_echo "no" >&6; }
2516 if test "x$ac_ct_CC" = x; then
2519 case $cross_compiling:$ac_tool_warned in
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2523 ac_tool_warned=yes ;;
2531 if test -z "$CC"; then
2532 if test -n "$ac_tool_prefix"; then
2533 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2534 set dummy ${ac_tool_prefix}cc; ac_word=$2
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2536 $as_echo_n "checking for $ac_word... " >&6; }
2537 if ${ac_cv_prog_CC+:} false; then :
2538 $as_echo_n "(cached) " >&6
2540 if test -n "$CC"; then
2541 ac_cv_prog_CC="$CC" # Let the user override the test.
2543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2547 test -z "$as_dir" && as_dir=.
2548 for ac_exec_ext in '' $ac_executable_extensions; do
2549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2550 ac_cv_prog_CC="${ac_tool_prefix}cc"
2551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2561 if test -n "$CC"; then
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2563 $as_echo "$CC" >&6; }
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2566 $as_echo "no" >&6; }
2572 if test -z "$CC"; then
2573 # Extract the first word of "cc", so it can be a program name with args.
2574 set dummy cc; ac_word=$2
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2576 $as_echo_n "checking for $ac_word... " >&6; }
2577 if ${ac_cv_prog_CC+:} false; then :
2578 $as_echo_n "(cached) " >&6
2580 if test -n "$CC"; then
2581 ac_cv_prog_CC="$CC" # Let the user override the test.
2584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2588 test -z "$as_dir" && as_dir=.
2589 for ac_exec_ext in '' $ac_executable_extensions; do
2590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2591 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2592 ac_prog_rejected=yes
2596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2603 if test $ac_prog_rejected = yes; then
2604 # We found a bogon in the path, so make sure we never use it.
2605 set dummy $ac_cv_prog_CC
2607 if test $# != 0; then
2608 # We chose a different compiler from the bogus one.
2609 # However, it has the same basename, so the bogon will be chosen
2610 # first if we set CC to just the basename; use the full file name.
2612 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2618 if test -n "$CC"; then
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2620 $as_echo "$CC" >&6; }
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2623 $as_echo "no" >&6; }
2628 if test -z "$CC"; then
2629 if test -n "$ac_tool_prefix"; then
2630 for ac_prog in cl.exe
2632 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2633 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2635 $as_echo_n "checking for $ac_word... " >&6; }
2636 if ${ac_cv_prog_CC+:} false; then :
2637 $as_echo_n "(cached) " >&6
2639 if test -n "$CC"; then
2640 ac_cv_prog_CC="$CC" # Let the user override the test.
2642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2646 test -z "$as_dir" && as_dir=.
2647 for ac_exec_ext in '' $ac_executable_extensions; do
2648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2649 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2660 if test -n "$CC"; then
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2662 $as_echo "$CC" >&6; }
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2665 $as_echo "no" >&6; }
2669 test -n "$CC" && break
2672 if test -z "$CC"; then
2674 for ac_prog in cl.exe
2676 # Extract the first word of "$ac_prog", so it can be a program name with args.
2677 set dummy $ac_prog; ac_word=$2
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2679 $as_echo_n "checking for $ac_word... " >&6; }
2680 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2681 $as_echo_n "(cached) " >&6
2683 if test -n "$ac_ct_CC"; then
2684 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2690 test -z "$as_dir" && as_dir=.
2691 for ac_exec_ext in '' $ac_executable_extensions; do
2692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2693 ac_cv_prog_ac_ct_CC="$ac_prog"
2694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2704 if test -n "$ac_ct_CC"; then
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2706 $as_echo "$ac_ct_CC" >&6; }
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2709 $as_echo "no" >&6; }
2713 test -n "$ac_ct_CC" && break
2716 if test "x$ac_ct_CC" = x; then
2719 case $cross_compiling:$ac_tool_warned in
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2723 ac_tool_warned=yes ;;
2732 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2734 as_fn_error $? "no acceptable C compiler found in \$PATH
2735 See \`config.log' for more details" "$LINENO" 5; }
2737 # Provide some information about the compiler.
2738 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2741 for ac_option in --version -v -V -qversion; do
2742 { { ac_try="$ac_compiler $ac_option >&5"
2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2748 $as_echo "$ac_try_echo"; } >&5
2749 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2751 if test -s conftest.err; then
2753 ... rest of stderr output deleted ...
2754 10q' conftest.err >conftest.er1
2755 cat conftest.er1 >&5
2757 rm -f conftest.er1 conftest.err
2758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2759 test $ac_status = 0; }
2762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2763 /* end confdefs.h. */
2773 ac_clean_files_save=$ac_clean_files
2774 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2775 # Try to create an executable without -o first, disregard a.out.
2776 # It will help us diagnose broken compilers, and finding out an intuition
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2779 $as_echo_n "checking whether the C compiler works... " >&6; }
2780 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2782 # The possible output files:
2783 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2786 for ac_file in $ac_files
2789 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2790 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2795 if { { ac_try="$ac_link_default"
2797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2798 *) ac_try_echo=$ac_try;;
2800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2801 $as_echo "$ac_try_echo"; } >&5
2802 (eval "$ac_link_default") 2>&5
2804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2805 test $ac_status = 0; }; then :
2806 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2807 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2808 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2809 # so that the user can short-circuit this test for compilers unknown to
2811 for ac_file in $ac_files ''
2813 test -f "$ac_file" || continue
2815 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2818 # We found the default executable, but exeext='' is most
2822 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2824 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2826 # We set ac_cv_exeext here because the later test for it is not
2827 # safe: cross compilers may not add the suffix if given an `-o'
2828 # argument, so we may need to know it at that point already.
2829 # Even if this section looks crufty: it has the advantage of
2836 test "$ac_cv_exeext" = no && ac_cv_exeext=
2841 if test -z "$ac_file"; then :
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2843 $as_echo "no" >&6; }
2844 $as_echo "$as_me: failed program was:" >&5
2845 sed 's/^/| /' conftest.$ac_ext >&5
2847 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2849 as_fn_error 77 "C compiler cannot create executables
2850 See \`config.log' for more details" "$LINENO" 5; }
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2853 $as_echo "yes" >&6; }
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2856 $as_echo_n "checking for C compiler default output file name... " >&6; }
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2858 $as_echo "$ac_file" >&6; }
2859 ac_exeext=$ac_cv_exeext
2861 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2862 ac_clean_files=$ac_clean_files_save
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2864 $as_echo_n "checking for suffix of executables... " >&6; }
2865 if { { ac_try="$ac_link"
2867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868 *) ac_try_echo=$ac_try;;
2870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2871 $as_echo "$ac_try_echo"; } >&5
2872 (eval "$ac_link") 2>&5
2874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2875 test $ac_status = 0; }; then :
2876 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2877 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2878 # work properly (i.e., refer to `conftest.exe'), while it won't with
2880 for ac_file in conftest.exe conftest conftest.*; do
2881 test -f "$ac_file" || continue
2883 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2884 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2890 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2892 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2893 See \`config.log' for more details" "$LINENO" 5; }
2895 rm -f conftest conftest$ac_cv_exeext
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2897 $as_echo "$ac_cv_exeext" >&6; }
2899 rm -f conftest.$ac_ext
2900 EXEEXT=$ac_cv_exeext
2902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2903 /* end confdefs.h. */
2908 FILE *f = fopen ("conftest.out", "w");
2909 return ferror (f) || fclose (f) != 0;
2915 ac_clean_files="$ac_clean_files conftest.out"
2916 # Check that the compiler produces executables we can run. If not, either
2917 # the compiler is broken, or we cross compile.
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2919 $as_echo_n "checking whether we are cross compiling... " >&6; }
2920 if test "$cross_compiling" != yes; then
2921 { { ac_try="$ac_link"
2923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2924 *) ac_try_echo=$ac_try;;
2926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2927 $as_echo "$ac_try_echo"; } >&5
2928 (eval "$ac_link") 2>&5
2930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2931 test $ac_status = 0; }
2932 if { ac_try='./conftest$ac_cv_exeext'
2933 { { case "(($ac_try" in
2934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2935 *) ac_try_echo=$ac_try;;
2937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2938 $as_echo "$ac_try_echo"; } >&5
2939 (eval "$ac_try") 2>&5
2941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2942 test $ac_status = 0; }; }; then
2945 if test "$cross_compiling" = maybe; then
2948 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2950 as_fn_error $? "cannot run C compiled programs.
2951 If you meant to cross compile, use \`--host'.
2952 See \`config.log' for more details" "$LINENO" 5; }
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2957 $as_echo "$cross_compiling" >&6; }
2959 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2960 ac_clean_files=$ac_clean_files_save
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2962 $as_echo_n "checking for suffix of object files... " >&6; }
2963 if ${ac_cv_objext+:} false; then :
2964 $as_echo_n "(cached) " >&6
2966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2967 /* end confdefs.h. */
2977 rm -f conftest.o conftest.obj
2978 if { { ac_try="$ac_compile"
2980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2981 *) ac_try_echo=$ac_try;;
2983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2984 $as_echo "$ac_try_echo"; } >&5
2985 (eval "$ac_compile") 2>&5
2987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2988 test $ac_status = 0; }; then :
2989 for ac_file in conftest.o conftest.obj conftest.*; do
2990 test -f "$ac_file" || continue;
2992 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2993 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2998 $as_echo "$as_me: failed program was:" >&5
2999 sed 's/^/| /' conftest.$ac_ext >&5
3001 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3003 as_fn_error $? "cannot compute suffix of object files: cannot compile
3004 See \`config.log' for more details" "$LINENO" 5; }
3006 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3009 $as_echo "$ac_cv_objext" >&6; }
3010 OBJEXT=$ac_cv_objext
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3013 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3014 if ${ac_cv_c_compiler_gnu+:} false; then :
3015 $as_echo_n "(cached) " >&6
3017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3018 /* end confdefs.h. */
3031 if ac_fn_c_try_compile "$LINENO"; then :
3036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3037 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3041 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3042 if test $ac_compiler_gnu = yes; then
3047 ac_test_CFLAGS=${CFLAGS+set}
3048 ac_save_CFLAGS=$CFLAGS
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3050 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3051 if ${ac_cv_prog_cc_g+:} false; then :
3052 $as_echo_n "(cached) " >&6
3054 ac_save_c_werror_flag=$ac_c_werror_flag
3055 ac_c_werror_flag=yes
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3069 if ac_fn_c_try_compile "$LINENO"; then :
3073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3074 /* end confdefs.h. */
3084 if ac_fn_c_try_compile "$LINENO"; then :
3087 ac_c_werror_flag=$ac_save_c_werror_flag
3089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3090 /* end confdefs.h. */
3100 if ac_fn_c_try_compile "$LINENO"; then :
3103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3108 ac_c_werror_flag=$ac_save_c_werror_flag
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3111 $as_echo "$ac_cv_prog_cc_g" >&6; }
3112 if test "$ac_test_CFLAGS" = set; then
3113 CFLAGS=$ac_save_CFLAGS
3114 elif test $ac_cv_prog_cc_g = yes; then
3115 if test "$GCC" = yes; then
3121 if test "$GCC" = yes; then
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3128 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3129 if ${ac_cv_prog_cc_c89+:} false; then :
3130 $as_echo_n "(cached) " >&6
3132 ac_cv_prog_cc_c89=no
3134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3135 /* end confdefs.h. */
3139 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3140 struct buf { int x; };
3141 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3142 static char *e (p, i)
3148 static char *f (char * (*g) (char **, int), char **p, ...)
3153 s = g (p, va_arg (v,int));
3158 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3159 function prototypes and stuff, but not '\xHH' hex character constants.
3160 These don't provoke an error unfortunately, instead are silently treated
3161 as 'x'. The following induces an error, until -std is added to get
3162 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3163 array size at least. It's necessary to write '\x00'==0 to get something
3164 that's true only with -std. */
3165 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3167 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3168 inside strings and character constants. */
3170 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3172 int test (int i, double x);
3173 struct s1 {int (*f) (int a);};
3174 struct s2 {int (*f) (double a);};
3175 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3181 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3186 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3187 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3189 CC="$ac_save_CC $ac_arg"
3190 if ac_fn_c_try_compile "$LINENO"; then :
3191 ac_cv_prog_cc_c89=$ac_arg
3193 rm -f core conftest.err conftest.$ac_objext
3194 test "x$ac_cv_prog_cc_c89" != "xno" && break
3196 rm -f conftest.$ac_ext
3201 case "x$ac_cv_prog_cc_c89" in
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3204 $as_echo "none needed" >&6; } ;;
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3207 $as_echo "unsupported" >&6; } ;;
3209 CC="$CC $ac_cv_prog_cc_c89"
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3211 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3213 if test "x$ac_cv_prog_cc_c89" != xno; then :
3218 ac_cpp='$CPP $CPPFLAGS'
3219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3224 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3225 if test -f "$ac_dir/install-sh"; then
3227 ac_install_sh="$ac_aux_dir/install-sh -c"
3229 elif test -f "$ac_dir/install.sh"; then
3231 ac_install_sh="$ac_aux_dir/install.sh -c"
3233 elif test -f "$ac_dir/shtool"; then
3235 ac_install_sh="$ac_aux_dir/shtool install -c"
3239 if test -z "$ac_aux_dir"; then
3240 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3243 # These three variables are undocumented and unsupported,
3244 # and are intended to be withdrawn in a future Autoconf release.
3245 # They can cause serious problems if a builder's source tree is in a directory
3246 # whose full name contains unusual characters.
3247 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3248 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3249 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3252 # Find a good install program. We prefer a C program (faster),
3253 # so one script is as good as another. But avoid the broken or
3254 # incompatible versions:
3255 # SysV /etc/install, /usr/sbin/install
3256 # SunOS /usr/etc/install
3257 # IRIX /sbin/install
3259 # AmigaOS /C/install, which installs bootblocks on floppy discs
3260 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3261 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3262 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3263 # OS/2's system install, which has a completely different semantic
3264 # ./install, which can be erroneously created by make from ./install.sh.
3265 # Reject install programs that cannot install multiple files.
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3267 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3268 if test -z "$INSTALL"; then
3269 if ${ac_cv_path_install+:} false; then :
3270 $as_echo_n "(cached) " >&6
3272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276 test -z "$as_dir" && as_dir=.
3277 # Account for people who put trailing slashes in PATH elements.
3278 case $as_dir/ in #((
3279 ./ | .// | /[cC]/* | \
3280 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3281 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3284 # OSF1 and SCO ODT 3.0 have their own names for install.
3285 # Don't use installbsd from OSF since it installs stuff as root
3287 for ac_prog in ginstall scoinst install; do
3288 for ac_exec_ext in '' $ac_executable_extensions; do
3289 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3290 if test $ac_prog = install &&
3291 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3292 # AIX install. It has an incompatible calling convention.
3294 elif test $ac_prog = install &&
3295 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3296 # program-specific install script used by HP pwplus--don't use.
3299 rm -rf conftest.one conftest.two conftest.dir
3300 echo one > conftest.one
3301 echo two > conftest.two
3303 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3304 test -s conftest.one && test -s conftest.two &&
3305 test -s conftest.dir/conftest.one &&
3306 test -s conftest.dir/conftest.two
3308 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3321 rm -rf conftest.one conftest.two conftest.dir
3324 if test "${ac_cv_path_install+set}" = set; then
3325 INSTALL=$ac_cv_path_install
3327 # As a last resort, use the slow shell script. Don't cache a
3328 # value for INSTALL within a source directory, because that will
3329 # break other packages using the cache if that directory is
3330 # removed, or if the value is a relative name.
3331 INSTALL=$ac_install_sh
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3335 $as_echo "$INSTALL" >&6; }
3337 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3338 # It thinks the first close brace ends the variable substitution.
3339 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3341 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3343 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3345 # Extract the first word of "rm", so it can be a program name with args.
3346 set dummy rm; ac_word=$2
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3348 $as_echo_n "checking for $ac_word... " >&6; }
3349 if ${ac_cv_path_RM+:} false; then :
3350 $as_echo_n "(cached) " >&6
3354 ac_cv_path_RM="$RM" # Let the user override the test with a path.
3357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3361 test -z "$as_dir" && as_dir=.
3362 for ac_exec_ext in '' $ac_executable_extensions; do
3363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3364 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
3365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3376 if test -n "$RM"; then
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
3378 $as_echo "$RM" >&6; }
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3381 $as_echo "no" >&6; }
3387 ac_cpp='$CPP $CPPFLAGS'
3388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3392 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3393 # On Suns, sometimes $CPP names a directory.
3394 if test -n "$CPP" && test -d "$CPP"; then
3397 if test -z "$CPP"; then
3398 if ${ac_cv_prog_CPP+:} false; then :
3399 $as_echo_n "(cached) " >&6
3401 # Double quotes because CPP needs to be expanded
3402 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3405 for ac_c_preproc_warn_flag in '' yes
3407 # Use a header file that comes with gcc, so configuring glibc
3408 # with a fresh cross-compiler works.
3409 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3410 # <limits.h> exists even on freestanding compilers.
3411 # On the NeXT, cc -E runs the code through the compiler's parser,
3412 # not just through cpp. "Syntax error" is here to catch this case.
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3416 # include <limits.h>
3418 # include <assert.h>
3422 if ac_fn_c_try_cpp "$LINENO"; then :
3425 # Broken: fails on valid input.
3428 rm -f conftest.err conftest.i conftest.$ac_ext
3430 # OK, works on sane cases. Now check whether nonexistent headers
3431 # can be detected and how.
3432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3434 #include <ac_nonexistent.h>
3436 if ac_fn_c_try_cpp "$LINENO"; then :
3437 # Broken: success on invalid input.
3440 # Passes both tests.
3444 rm -f conftest.err conftest.i conftest.$ac_ext
3447 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3448 rm -f conftest.i conftest.err conftest.$ac_ext
3449 if $ac_preproc_ok; then :
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3462 $as_echo "$CPP" >&6; }
3464 for ac_c_preproc_warn_flag in '' yes
3466 # Use a header file that comes with gcc, so configuring glibc
3467 # with a fresh cross-compiler works.
3468 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3469 # <limits.h> exists even on freestanding compilers.
3470 # On the NeXT, cc -E runs the code through the compiler's parser,
3471 # not just through cpp. "Syntax error" is here to catch this case.
3472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3473 /* end confdefs.h. */
3475 # include <limits.h>
3477 # include <assert.h>
3481 if ac_fn_c_try_cpp "$LINENO"; then :
3484 # Broken: fails on valid input.
3487 rm -f conftest.err conftest.i conftest.$ac_ext
3489 # OK, works on sane cases. Now check whether nonexistent headers
3490 # can be detected and how.
3491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3492 /* end confdefs.h. */
3493 #include <ac_nonexistent.h>
3495 if ac_fn_c_try_cpp "$LINENO"; then :
3496 # Broken: success on invalid input.
3499 # Passes both tests.
3503 rm -f conftest.err conftest.i conftest.$ac_ext
3506 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3507 rm -f conftest.i conftest.err conftest.$ac_ext
3508 if $ac_preproc_ok; then :
3511 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3513 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3514 See \`config.log' for more details" "$LINENO" 5; }
3518 ac_cpp='$CPP $CPPFLAGS'
3519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3525 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3526 if ${ac_cv_path_GREP+:} false; then :
3527 $as_echo_n "(cached) " >&6
3529 if test -z "$GREP"; then
3530 ac_path_GREP_found=false
3531 # Loop through the user's path and test for each of PROGNAME-LIST
3532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3536 test -z "$as_dir" && as_dir=.
3537 for ac_prog in grep ggrep; do
3538 for ac_exec_ext in '' $ac_executable_extensions; do
3539 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3540 as_fn_executable_p "$ac_path_GREP" || continue
3541 # Check for GNU ac_path_GREP and select it if it is found.
3542 # Check for GNU $ac_path_GREP
3543 case `"$ac_path_GREP" --version 2>&1` in
3545 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3548 $as_echo_n 0123456789 >"conftest.in"
3551 cat "conftest.in" "conftest.in" >"conftest.tmp"
3552 mv "conftest.tmp" "conftest.in"
3553 cp "conftest.in" "conftest.nl"
3554 $as_echo 'GREP' >> "conftest.nl"
3555 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3556 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3557 as_fn_arith $ac_count + 1 && ac_count=$as_val
3558 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3559 # Best one so far, save it but keep looking for a better one
3560 ac_cv_path_GREP="$ac_path_GREP"
3561 ac_path_GREP_max=$ac_count
3563 # 10*(2^10) chars as input seems more than enough
3564 test $ac_count -gt 10 && break
3566 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3569 $ac_path_GREP_found && break 3
3574 if test -z "$ac_cv_path_GREP"; then
3575 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3578 ac_cv_path_GREP=$GREP
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3583 $as_echo "$ac_cv_path_GREP" >&6; }
3584 GREP="$ac_cv_path_GREP"
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3588 $as_echo_n "checking for egrep... " >&6; }
3589 if ${ac_cv_path_EGREP+:} false; then :
3590 $as_echo_n "(cached) " >&6
3592 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3593 then ac_cv_path_EGREP="$GREP -E"
3595 if test -z "$EGREP"; then
3596 ac_path_EGREP_found=false
3597 # Loop through the user's path and test for each of PROGNAME-LIST
3598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3599 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3602 test -z "$as_dir" && as_dir=.
3603 for ac_prog in egrep; do
3604 for ac_exec_ext in '' $ac_executable_extensions; do
3605 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3606 as_fn_executable_p "$ac_path_EGREP" || continue
3607 # Check for GNU ac_path_EGREP and select it if it is found.
3608 # Check for GNU $ac_path_EGREP
3609 case `"$ac_path_EGREP" --version 2>&1` in
3611 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3614 $as_echo_n 0123456789 >"conftest.in"
3617 cat "conftest.in" "conftest.in" >"conftest.tmp"
3618 mv "conftest.tmp" "conftest.in"
3619 cp "conftest.in" "conftest.nl"
3620 $as_echo 'EGREP' >> "conftest.nl"
3621 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3622 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3623 as_fn_arith $ac_count + 1 && ac_count=$as_val
3624 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3625 # Best one so far, save it but keep looking for a better one
3626 ac_cv_path_EGREP="$ac_path_EGREP"
3627 ac_path_EGREP_max=$ac_count
3629 # 10*(2^10) chars as input seems more than enough
3630 test $ac_count -gt 10 && break
3632 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3635 $ac_path_EGREP_found && break 3
3640 if test -z "$ac_cv_path_EGREP"; then
3641 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3644 ac_cv_path_EGREP=$EGREP
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3650 $as_echo "$ac_cv_path_EGREP" >&6; }
3651 EGREP="$ac_cv_path_EGREP"
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3655 $as_echo_n "checking for ANSI C header files... " >&6; }
3656 if ${ac_cv_header_stdc+:} false; then :
3657 $as_echo_n "(cached) " >&6
3659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3660 /* end confdefs.h. */
3674 if ac_fn_c_try_compile "$LINENO"; then :
3675 ac_cv_header_stdc=yes
3677 ac_cv_header_stdc=no
3679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3681 if test $ac_cv_header_stdc = yes; then
3682 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684 /* end confdefs.h. */
3688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3689 $EGREP "memchr" >/dev/null 2>&1; then :
3692 ac_cv_header_stdc=no
3698 if test $ac_cv_header_stdc = yes; then
3699 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3701 /* end confdefs.h. */
3705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3706 $EGREP "free" >/dev/null 2>&1; then :
3709 ac_cv_header_stdc=no
3715 if test $ac_cv_header_stdc = yes; then
3716 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3717 if test "$cross_compiling" = yes; then :
3720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3721 /* end confdefs.h. */
3724 #if ((' ' & 0x0FF) == 0x020)
3725 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3726 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3728 # define ISLOWER(c) \
3729 (('a' <= (c) && (c) <= 'i') \
3730 || ('j' <= (c) && (c) <= 'r') \
3731 || ('s' <= (c) && (c) <= 'z'))
3732 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3735 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3740 for (i = 0; i < 256; i++)
3741 if (XOR (islower (i), ISLOWER (i))
3742 || toupper (i) != TOUPPER (i))
3747 if ac_fn_c_try_run "$LINENO"; then :
3750 ac_cv_header_stdc=no
3752 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3753 conftest.$ac_objext conftest.beam conftest.$ac_ext
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3759 $as_echo "$ac_cv_header_stdc" >&6; }
3760 if test $ac_cv_header_stdc = yes; then
3762 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3766 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3767 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3768 inttypes.h stdint.h unistd.h
3770 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3771 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3773 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3774 cat >>confdefs.h <<_ACEOF
3775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3783 for ac_header in stdint.h inttypes.h
3785 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3786 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3787 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3788 cat >>confdefs.h <<_ACEOF
3789 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3796 for ac_header in net/if.h net/route.h
3798 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3799 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3800 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3801 cat >>confdefs.h <<_ACEOF
3802 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3809 for ac_header in sys/socket.h
3811 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
3812 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
3813 cat >>confdefs.h <<_ACEOF
3814 #define HAVE_SYS_SOCKET_H 1
3821 for ac_header in linux/if_tun.h
3823 ac_fn_c_check_header_compile "$LINENO" "linux/if_tun.h" "ac_cv_header_linux_if_tun_h" "#if HAVE_SYS_SOCKET_H
3824 # include <sys/socket.h>
3828 if test "x$ac_cv_header_linux_if_tun_h" = xyes; then :
3829 cat >>confdefs.h <<_ACEOF
3830 #define HAVE_LINUX_IF_TUN_H 1
3837 for ac_header in stropts.h sys/sockio.h net/if_tun.h
3839 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3840 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3841 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3842 cat >>confdefs.h <<_ACEOF
3843 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3851 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3852 if ${ac_cv_c_bigendian+:} false; then :
3853 $as_echo_n "(cached) " >&6
3855 ac_cv_c_bigendian=unknown
3856 # See if we're dealing with a universal compiler.
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3859 #ifndef __APPLE_CC__
3860 not a universal capable compiler
3865 if ac_fn_c_try_compile "$LINENO"; then :
3867 # Check for potential -arch flags. It is not universal unless
3868 # there are at least two -arch flags with different values.
3871 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3872 if test -n "$ac_prev"; then
3874 i?86 | x86_64 | ppc | ppc64)
3875 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
3878 ac_cv_c_bigendian=universal
3884 elif test "x$ac_word" = "x-arch"; then
3889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3890 if test $ac_cv_c_bigendian = unknown; then
3891 # See if sys/param.h defines the BYTE_ORDER macro.
3892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893 /* end confdefs.h. */
3894 #include <sys/types.h>
3895 #include <sys/param.h>
3900 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3901 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3910 if ac_fn_c_try_compile "$LINENO"; then :
3911 # It does; now see whether it defined to BIG_ENDIAN or not.
3912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3913 /* end confdefs.h. */
3914 #include <sys/types.h>
3915 #include <sys/param.h>
3920 #if BYTE_ORDER != BIG_ENDIAN
3928 if ac_fn_c_try_compile "$LINENO"; then :
3929 ac_cv_c_bigendian=yes
3931 ac_cv_c_bigendian=no
3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3937 if test $ac_cv_c_bigendian = unknown; then
3938 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3940 /* end confdefs.h. */
3946 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
3954 if ac_fn_c_try_compile "$LINENO"; then :
3955 # It does; now see whether it defined to _BIG_ENDIAN or not.
3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3971 if ac_fn_c_try_compile "$LINENO"; then :
3972 ac_cv_c_bigendian=yes
3974 ac_cv_c_bigendian=no
3976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3980 if test $ac_cv_c_bigendian = unknown; then
3981 # Compile a test program.
3982 if test "$cross_compiling" = yes; then :
3983 # Try to guess by grepping values from an object file.
3984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985 /* end confdefs.h. */
3986 short int ascii_mm[] =
3987 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3988 short int ascii_ii[] =
3989 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3990 int use_ascii (int i) {
3991 return ascii_mm[i] + ascii_ii[i];
3993 short int ebcdic_ii[] =
3994 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3995 short int ebcdic_mm[] =
3996 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3997 int use_ebcdic (int i) {
3998 return ebcdic_mm[i] + ebcdic_ii[i];
4005 return use_ascii (foo) == use_ebcdic (foo);
4010 if ac_fn_c_try_compile "$LINENO"; then :
4011 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4012 ac_cv_c_bigendian=yes
4014 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4015 if test "$ac_cv_c_bigendian" = unknown; then
4016 ac_cv_c_bigendian=no
4018 # finding both strings is unlikely to happen, but who knows?
4019 ac_cv_c_bigendian=unknown
4023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4026 /* end confdefs.h. */
4027 $ac_includes_default
4032 /* Are we little or big endian? From Harbison&Steele. */
4036 char c[sizeof (long int)];
4039 return u.c[sizeof (long int) - 1] == 1;
4045 if ac_fn_c_try_run "$LINENO"; then :
4046 ac_cv_c_bigendian=no
4048 ac_cv_c_bigendian=yes
4050 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4051 conftest.$ac_objext conftest.beam conftest.$ac_ext
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4057 $as_echo "$ac_cv_c_bigendian" >&6; }
4058 case $ac_cv_c_bigendian in #(
4060 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4066 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4070 as_fn_error $? "unknown endianness
4071 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4074 # The cast to long int works around a bug in the HP C Compiler
4075 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4076 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4077 # This bug is HP SR number 8606223364.
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long long" >&5
4079 $as_echo_n "checking size of unsigned long long... " >&6; }
4080 if ${ac_cv_sizeof_unsigned_long_long+:} false; then :
4081 $as_echo_n "(cached) " >&6
4083 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long long))" "ac_cv_sizeof_unsigned_long_long" "$ac_includes_default"; then :
4086 if test "$ac_cv_type_unsigned_long_long" = yes; then
4087 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4089 as_fn_error 77 "cannot compute sizeof (unsigned long long)
4090 See \`config.log' for more details" "$LINENO" 5; }
4092 ac_cv_sizeof_unsigned_long_long=0
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long_long" >&5
4098 $as_echo "$ac_cv_sizeof_unsigned_long_long" >&6; }
4102 cat >>confdefs.h <<_ACEOF
4103 #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
4107 # The cast to long int works around a bug in the HP C Compiler
4108 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4109 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4110 # This bug is HP SR number 8606223364.
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
4112 $as_echo_n "checking size of unsigned long... " >&6; }
4113 if ${ac_cv_sizeof_unsigned_long+:} false; then :
4114 $as_echo_n "(cached) " >&6
4116 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
4119 if test "$ac_cv_type_unsigned_long" = yes; then
4120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4122 as_fn_error 77 "cannot compute sizeof (unsigned long)
4123 See \`config.log' for more details" "$LINENO" 5; }
4125 ac_cv_sizeof_unsigned_long=0
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
4131 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
4135 cat >>confdefs.h <<_ACEOF
4136 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
4140 # The cast to long int works around a bug in the HP C Compiler
4141 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4142 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4143 # This bug is HP SR number 8606223364.
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
4145 $as_echo_n "checking size of unsigned int... " >&6; }
4146 if ${ac_cv_sizeof_unsigned_int+:} false; then :
4147 $as_echo_n "(cached) " >&6
4149 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
4152 if test "$ac_cv_type_unsigned_int" = yes; then
4153 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4155 as_fn_error 77 "cannot compute sizeof (unsigned int)
4156 See \`config.log' for more details" "$LINENO" 5; }
4158 ac_cv_sizeof_unsigned_int=0
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
4164 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
4168 cat >>confdefs.h <<_ACEOF
4169 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
4173 # The cast to long int works around a bug in the HP C Compiler
4174 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4175 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4176 # This bug is HP SR number 8606223364.
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
4178 $as_echo_n "checking size of unsigned short... " >&6; }
4179 if ${ac_cv_sizeof_unsigned_short+:} false; then :
4180 $as_echo_n "(cached) " >&6
4182 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
4185 if test "$ac_cv_type_unsigned_short" = yes; then
4186 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4188 as_fn_error 77 "cannot compute sizeof (unsigned short)
4189 See \`config.log' for more details" "$LINENO" 5; }
4191 ac_cv_sizeof_unsigned_short=0
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
4197 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
4201 cat >>confdefs.h <<_ACEOF
4202 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
4206 # The cast to long int works around a bug in the HP C Compiler
4207 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4208 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4209 # This bug is HP SR number 8606223364.
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned char" >&5
4211 $as_echo_n "checking size of unsigned char... " >&6; }
4212 if ${ac_cv_sizeof_unsigned_char+:} false; then :
4213 $as_echo_n "(cached) " >&6
4215 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned char))" "ac_cv_sizeof_unsigned_char" "$ac_includes_default"; then :
4218 if test "$ac_cv_type_unsigned_char" = yes; then
4219 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4220 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4221 as_fn_error 77 "cannot compute sizeof (unsigned char)
4222 See \`config.log' for more details" "$LINENO" 5; }
4224 ac_cv_sizeof_unsigned_char=0
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_char" >&5
4230 $as_echo "$ac_cv_sizeof_unsigned_char" >&6; }
4234 cat >>confdefs.h <<_ACEOF
4235 #define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char
4241 if test -z "$hard"; then
4242 msg="C to warn about writing to stringliterals"
4244 msg="C to prohibit any write to stringliterals"
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $msg" >&5
4247 $as_echo_n "checking $msg... " >&6; }
4248 if ${ac_cv_prog_cc_no_writeable_strings+:} false; then :
4249 $as_echo_n "(cached) " >&6
4252 cat > conftest.c <<EOF
4257 if (strcpy (test, "test")) return 0;
4261 if test "$GCC" = "yes";
4263 if test -z "$hard"; then
4264 ac_cv_prog_cc_no_writeable_strings="-Wwrite-strings"
4266 ac_cv_prog_cc_no_writeable_strings="-fno-writable-strings -Wwrite-strings"
4269 if test -n "`${CC-cc} -c $ac_cv_prog_cc_no_writeable_strings conftest.c 2>&1`" ; then
4270 ac_cv_prog_cc_no_writeable_strings="suppressed: string.h"
4273 elif $CC -flags 2>&1 | grep "Xc.*strict ANSI C" > /dev/null 2>&1 &&
4274 $CC -c -xstrconst conftest.c > /dev/null 2>&1 &&
4277 # strings go into readonly segment
4278 ac_cv_prog_cc_no_writeable_strings="-xstrconst"
4281 if test -n "`${CC-cc} -c $ac_cv_prog_cc_no_writeable_strings conftest.c 2>&1`" ; then
4282 ac_cv_prog_cc_no_writeable_strings="suppressed: string.h"
4285 elif $CC > /dev/null 2>&1 &&
4286 $CC -c +ESlit conftest.c > /dev/null 2>&1 &&
4289 # strings go into readonly segment
4290 ac_cv_prog_cc_no_writeable_strings="+ESlit"
4293 if test -n "`${CC-cc} -c $ac_cv_prog_cc_no_writeable_strings conftest.c 2>&1`" ; then
4294 ac_cv_prog_cc_no_writeable_strings="suppressed: string.h"
4297 elif ! $CC > /dev/null 2>&1 &&
4298 $CC -c -readonly_strings conftest.c > /dev/null 2>&1 &&
4301 # strings go into readonly segment
4302 ac_cv_prog_cc_no_writeable_strings="-readonly_strings"
4305 if test -n "`${CC-cc} -c $ac_cv_prog_cc_no_writeable_strings conftest.c 2>&1`" ; then
4306 ac_cv_prog_cc_no_writeable_strings="suppressed: string.h"
4310 # -use_readonly_const is the default for IRIX C,
4311 # puts them into .rodata, but they are copied later.
4312 # need to be "-G0 -rdatashared" for strictmode but
4313 # I am not sure what effect that has really.
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_no_writeable_strings" >&5
4320 $as_echo "$ac_cv_prog_cc_no_writeable_strings" >&6; }
4321 if test -z "$WRITESTRINGS" ; then
4322 if test -n "$ac_cv_prog_cc_no_writeable_strings" ; then
4323 case "$ac_cv_prog_cc_no_writeable_strings" in
4324 suppressed*) WRITESTRINGS="" ;; # known but suppressed
4325 *) WRITESTRINGS="$ac_cv_prog_cc_no_writeable_strings" ;;
4332 # Check whether --enable-hacky-parallel was given.
4333 if test "${enable_hacky_parallel+set}" = set; then :
4334 enableval=$enable_hacky_parallel;
4335 case "$enableval" in
4337 y|1|yes) CFLAGS="$CFLAGS -DHACKY_PARALLEL" ;;
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpz_init_set_str in -lgmp" >&5
4347 $as_echo_n "checking for mpz_init_set_str in -lgmp... " >&6; }
4348 if ${ac_cv_lib_gmp_mpz_init_set_str+:} false; then :
4349 $as_echo_n "(cached) " >&6
4351 ac_check_lib_save_LIBS=$LIBS
4353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4354 /* end confdefs.h. */
4356 /* Override any GCC internal prototype to avoid an error.
4357 Use char because int might match the return type of a GCC
4358 builtin and then its argument prototype would still apply. */
4362 char mpz_init_set_str ();
4366 return mpz_init_set_str ();
4371 if ac_fn_c_try_link "$LINENO"; then :
4372 ac_cv_lib_gmp_mpz_init_set_str=yes
4374 ac_cv_lib_gmp_mpz_init_set_str=no
4376 rm -f core conftest.err conftest.$ac_objext \
4377 conftest$ac_exeext conftest.$ac_ext
4378 LIBS=$ac_check_lib_save_LIBS
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_mpz_init_set_str" >&5
4381 $as_echo "$ac_cv_lib_gmp_mpz_init_set_str" >&6; }
4382 if test "x$ac_cv_lib_gmp_mpz_init_set_str" = xyes; then :
4383 cat >>confdefs.h <<_ACEOF
4384 #define HAVE_LIBGMP 1
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpz_init_set_str in -lgmp2" >&5
4392 $as_echo_n "checking for mpz_init_set_str in -lgmp2... " >&6; }
4393 if ${ac_cv_lib_gmp2_mpz_init_set_str+:} false; then :
4394 $as_echo_n "(cached) " >&6
4396 ac_check_lib_save_LIBS=$LIBS
4398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4399 /* end confdefs.h. */
4401 /* Override any GCC internal prototype to avoid an error.
4402 Use char because int might match the return type of a GCC
4403 builtin and then its argument prototype would still apply. */
4407 char mpz_init_set_str ();
4411 return mpz_init_set_str ();
4416 if ac_fn_c_try_link "$LINENO"; then :
4417 ac_cv_lib_gmp2_mpz_init_set_str=yes
4419 ac_cv_lib_gmp2_mpz_init_set_str=no
4421 rm -f core conftest.err conftest.$ac_objext \
4422 conftest$ac_exeext conftest.$ac_ext
4423 LIBS=$ac_check_lib_save_LIBS
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp2_mpz_init_set_str" >&5
4426 $as_echo "$ac_cv_lib_gmp2_mpz_init_set_str" >&6; }
4427 if test "x$ac_cv_lib_gmp2_mpz_init_set_str" = xyes; then :
4428 cat >>confdefs.h <<_ACEOF
4429 #define HAVE_LIBGMP2 1
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init_set_str in -lgmp" >&5
4437 $as_echo_n "checking for __gmpz_init_set_str in -lgmp... " >&6; }
4438 if ${ac_cv_lib_gmp___gmpz_init_set_str+:} false; then :
4439 $as_echo_n "(cached) " >&6
4441 ac_check_lib_save_LIBS=$LIBS
4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4446 /* Override any GCC internal prototype to avoid an error.
4447 Use char because int might match the return type of a GCC
4448 builtin and then its argument prototype would still apply. */
4452 char __gmpz_init_set_str ();
4456 return __gmpz_init_set_str ();
4461 if ac_fn_c_try_link "$LINENO"; then :
4462 ac_cv_lib_gmp___gmpz_init_set_str=yes
4464 ac_cv_lib_gmp___gmpz_init_set_str=no
4466 rm -f core conftest.err conftest.$ac_objext \
4467 conftest$ac_exeext conftest.$ac_ext
4468 LIBS=$ac_check_lib_save_LIBS
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init_set_str" >&5
4471 $as_echo "$ac_cv_lib_gmp___gmpz_init_set_str" >&6; }
4472 if test "x$ac_cv_lib_gmp___gmpz_init_set_str" = xyes; then :
4473 cat >>confdefs.h <<_ACEOF
4474 #define HAVE_LIBGMP 1
4481 ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
4482 if test "x$ac_cv_header_gmp_h" = xyes; then :
4485 as_fn_error $? "gmp.h not found" "$LINENO" 5
4491 ac_fn_c_check_func "$LINENO" "inet_ntoa" "ac_cv_func_inet_ntoa"
4492 if test "x$ac_cv_func_inet_ntoa" = xyes; then :
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lnsl" >&5
4497 $as_echo_n "checking for inet_ntoa in -lnsl... " >&6; }
4498 if ${ac_cv_lib_nsl_inet_ntoa+:} false; then :
4499 $as_echo_n "(cached) " >&6
4501 ac_check_lib_save_LIBS=$LIBS
4503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4504 /* end confdefs.h. */
4506 /* Override any GCC internal prototype to avoid an error.
4507 Use char because int might match the return type of a GCC
4508 builtin and then its argument prototype would still apply. */
4516 return inet_ntoa ();
4521 if ac_fn_c_try_link "$LINENO"; then :
4522 ac_cv_lib_nsl_inet_ntoa=yes
4524 ac_cv_lib_nsl_inet_ntoa=no
4526 rm -f core conftest.err conftest.$ac_objext \
4527 conftest$ac_exeext conftest.$ac_ext
4528 LIBS=$ac_check_lib_save_LIBS
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_ntoa" >&5
4531 $as_echo "$ac_cv_lib_nsl_inet_ntoa" >&6; }
4532 if test "x$ac_cv_lib_nsl_inet_ntoa" = xyes; then :
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: inet_ntoa is in libnsl, urgh. Must use -lnsl." >&5
4536 $as_echo "$as_me: WARNING: inet_ntoa is in libnsl, urgh. Must use -lnsl." >&2;}
4540 as_fn_error $? "cannot find library function inet_ntoa" "$LINENO" 5
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
4550 $as_echo_n "checking for socket in -lsocket... " >&6; }
4551 if ${ac_cv_lib_socket_socket+:} false; then :
4552 $as_echo_n "(cached) " >&6
4554 ac_check_lib_save_LIBS=$LIBS
4555 LIBS="-lsocket $LIBS"
4556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4557 /* end confdefs.h. */
4559 /* Override any GCC internal prototype to avoid an error.
4560 Use char because int might match the return type of a GCC
4561 builtin and then its argument prototype would still apply. */
4574 if ac_fn_c_try_link "$LINENO"; then :
4575 ac_cv_lib_socket_socket=yes
4577 ac_cv_lib_socket_socket=no
4579 rm -f core conftest.err conftest.$ac_objext \
4580 conftest$ac_exeext conftest.$ac_ext
4581 LIBS=$ac_check_lib_save_LIBS
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
4584 $as_echo "$ac_cv_lib_socket_socket" >&6; }
4585 if test "x$ac_cv_lib_socket_socket" = xyes; then :
4586 cat >>confdefs.h <<_ACEOF
4587 #define HAVE_LIBSOCKET 1
4590 LIBS="-lsocket $LIBS"
4596 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
4597 if test "x$ac_cv_func_inet_aton" = xyes; then :
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv" >&5
4602 $as_echo_n "checking for inet_aton in -lresolv... " >&6; }
4603 if ${ac_cv_lib_resolv_inet_aton+:} false; then :
4604 $as_echo_n "(cached) " >&6
4606 ac_check_lib_save_LIBS=$LIBS
4607 LIBS="-lresolv $LIBS"
4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4609 /* end confdefs.h. */
4611 /* Override any GCC internal prototype to avoid an error.
4612 Use char because int might match the return type of a GCC
4613 builtin and then its argument prototype would still apply. */
4621 return inet_aton ();
4626 if ac_fn_c_try_link "$LINENO"; then :
4627 ac_cv_lib_resolv_inet_aton=yes
4629 ac_cv_lib_resolv_inet_aton=no
4631 rm -f core conftest.err conftest.$ac_objext \
4632 conftest$ac_exeext conftest.$ac_ext
4633 LIBS=$ac_check_lib_save_LIBS
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton" >&5
4636 $as_echo "$ac_cv_lib_resolv_inet_aton" >&6; }
4637 if test "x$ac_cv_lib_resolv_inet_aton" = xyes; then :
4639 LIBS="-lresolv $LIBS";
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: inet_aton is in libresolv, urgh. Must use -lresolv." >&5
4641 $as_echo "$as_me: WARNING: inet_aton is in libresolv, urgh. Must use -lresolv." >&2;}
4645 as_fn_error $? "cannot find library function inet_aton" "$LINENO" 5
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for adns_init in -ladns" >&5
4655 $as_echo_n "checking for adns_init in -ladns... " >&6; }
4656 if ${ac_cv_lib_adns_adns_init+:} false; then :
4657 $as_echo_n "(cached) " >&6
4659 ac_check_lib_save_LIBS=$LIBS
4661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4662 /* end confdefs.h. */
4664 /* Override any GCC internal prototype to avoid an error.
4665 Use char because int might match the return type of a GCC
4666 builtin and then its argument prototype would still apply. */
4674 return adns_init ();
4679 if ac_fn_c_try_link "$LINENO"; then :
4680 ac_cv_lib_adns_adns_init=yes
4682 ac_cv_lib_adns_adns_init=no
4684 rm -f core conftest.err conftest.$ac_objext \
4685 conftest$ac_exeext conftest.$ac_ext
4686 LIBS=$ac_check_lib_save_LIBS
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_adns_adns_init" >&5
4689 $as_echo "$ac_cv_lib_adns_adns_init" >&6; }
4690 if test "x$ac_cv_lib_adns_adns_init" = xyes; then :
4691 cat >>confdefs.h <<_ACEOF
4692 #define HAVE_LIBADNS 1
4699 ac_fn_c_check_header_mongrel "$LINENO" "adns.h" "ac_cv_header_adns_h" "$ac_includes_default"
4700 if test "x$ac_cv_header_adns_h" = xyes; then :
4703 as_fn_error $? "adns.h not found" "$LINENO" 5
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking requirements for IPv6 support..." >&5
4709 $as_echo "$as_me: Checking requirements for IPv6 support..." >&6;}
4712 ac_fn_c_check_decl "$LINENO" "AF_INET6" "ac_cv_have_decl_AF_INET6" "#include <netinet/in.h>
4714 if test "x$ac_cv_have_decl_AF_INET6" = xyes; then :
4720 ac_fn_c_check_func "$LINENO" "adns_addr2text" "ac_cv_func_adns_addr2text"
4721 if test "x$ac_cv_func_adns_addr2text" = xyes; then :
4727 if $enable_ipv6; then
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling IPv6 support" >&5
4729 $as_echo "$as_me: Enabling IPv6 support" >&6;}
4731 $as_echo "#define CONFIG_IPV6 1" >>confdefs.h
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling IPv6 support" >&5
4735 $as_echo "$as_me: WARNING: Disabling IPv6 support" >&2;}
4738 ac_config_files="$ac_config_files Makefile common.make test-common.make test-example/Makefile stest/Makefile"
4740 ac_config_commands="$ac_config_commands default"
4742 cat >confcache <<\_ACEOF
4743 # This file is a shell script that caches the results of configure
4744 # tests run on this system so they can be shared between configure
4745 # scripts and configure runs, see configure's option --config-cache.
4746 # It is not useful on other systems. If it contains results you don't
4747 # want to keep, you may remove or edit it.
4749 # config.status only pays attention to the cache file if you give it
4750 # the --recheck option to rerun configure.
4752 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4753 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4758 # The following way of writing the cache mishandles newlines in values,
4759 # but we know of no workaround that is simple, portable, and efficient.
4760 # So, we kill variables containing newlines.
4761 # Ultrix sh set writes to stderr and can't be redirected directly,
4762 # and sets the high bit in the cache file unless we assign to the vars.
4764 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4765 eval ac_val=\$$ac_var
4769 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4770 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4773 _ | IFS | as_nl) ;; #(
4774 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4775 *) { eval $ac_var=; unset $ac_var;} ;;
4781 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4782 *${as_nl}ac_space=\ *)
4783 # `set' does not quote correctly, so add quotes: double-quote
4784 # substitution turns \\\\ into \\, and sed turns \\ into \.
4787 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4790 # `set' quotes correctly as required by POSIX, so do not add quotes.
4791 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4800 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4802 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4804 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4805 if test -w "$cache_file"; then
4806 if test "x$cache_file" != "x/dev/null"; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4808 $as_echo "$as_me: updating cache $cache_file" >&6;}
4809 if test ! -f "$cache_file" || test -h "$cache_file"; then
4810 cat confcache >"$cache_file"
4812 case $cache_file in #(
4814 mv -f confcache "$cache_file"$$ &&
4815 mv -f "$cache_file"$$ "$cache_file" ;; #(
4817 mv -f confcache "$cache_file" ;;
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4823 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4828 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4829 # Let make expand exec_prefix.
4830 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4832 DEFS=-DHAVE_CONFIG_H
4837 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4838 # 1. Remove the extension, and $U if already installed.
4839 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4840 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4841 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4842 # will be set to the directory where LIBOBJS objects are built.
4843 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4844 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4848 LTLIBOBJS=$ac_ltlibobjs
4853 : "${CONFIG_STATUS=./config.status}"
4855 ac_clean_files_save=$ac_clean_files
4856 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4858 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4860 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4862 # Generated by $as_me.
4863 # Run this file to recreate the current configuration.
4864 # Compiler output produced by configure, useful for debugging
4865 # configure, is in config.log if it exists.
4871 SHELL=\${CONFIG_SHELL-$SHELL}
4874 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4875 ## -------------------- ##
4876 ## M4sh Initialization. ##
4877 ## -------------------- ##
4879 # Be more Bourne compatible
4880 DUALCASE=1; export DUALCASE # for MKS sh
4881 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4884 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4885 # is contrary to our usage. Disable this feature.
4886 alias -g '${1+"$@"}'='"$@"'
4887 setopt NO_GLOB_SUBST
4889 case `(set -o) 2>/dev/null` in #(
4901 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4902 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4903 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4904 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4905 # Prefer a ksh shell builtin over an external printf program on Solaris,
4906 # but without wasting forks for bash or zsh.
4907 if test -z "$BASH_VERSION$ZSH_VERSION" \
4908 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4909 as_echo='print -r --'
4910 as_echo_n='print -rn --'
4911 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4912 as_echo='printf %s\n'
4913 as_echo_n='printf %s'
4915 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4916 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4917 as_echo_n='/usr/ucb/echo -n'
4919 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4920 as_echo_n_body='eval
4924 expr "X$arg" : "X\\(.*\\)$as_nl";
4925 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4927 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4929 export as_echo_n_body
4930 as_echo_n='sh -c $as_echo_n_body as_echo'
4933 as_echo='sh -c $as_echo_body as_echo'
4936 # The user is always right.
4937 if test "${PATH_SEPARATOR+set}" != set; then
4939 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4940 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4947 # We need space, tab and new line, in precisely that order. Quoting is
4948 # there to prevent editors from complaining about space-tab.
4949 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4950 # splitting by setting IFS to empty value.)
4953 # Find who we are. Look in the path if we contain no directory separator.
4956 *[\\/]* ) as_myself=$0 ;;
4957 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4961 test -z "$as_dir" && as_dir=.
4962 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4968 # We did not find ourselves, most probably we were run as `sh COMMAND'
4969 # in which case we are not to be found in the path.
4970 if test "x$as_myself" = x; then
4973 if test ! -f "$as_myself"; then
4974 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4978 # Unset variables that we do not need and which cause bugs (e.g. in
4979 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4980 # suppresses any "Segmentation fault" message there. '((' could
4981 # trigger a bug in pdksh 5.2.14.
4982 for as_var in BASH_ENV ENV MAIL MAILPATH
4983 do eval test x\${$as_var+set} = xset \
4984 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4997 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5000 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5001 # ----------------------------------------
5002 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5003 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5004 # script with STATUS, using 1 if that was 0.
5007 as_status=$1; test $as_status -eq 0 && as_status=1
5009 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5010 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5012 $as_echo "$as_me: error: $2" >&2
5013 as_fn_exit $as_status
5017 # as_fn_set_status STATUS
5018 # -----------------------
5019 # Set $? to STATUS, without forking.
5023 } # as_fn_set_status
5027 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5037 # Portably unset VAR.
5040 { eval $1=; unset $1;}
5042 as_unset=as_fn_unset
5043 # as_fn_append VAR VALUE
5044 # ----------------------
5045 # Append the text in VALUE to the end of the definition contained in VAR. Take
5046 # advantage of any shell optimizations that allow amortized linear growth over
5047 # repeated appends, instead of the typical quadratic growth present in naive
5049 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5050 eval 'as_fn_append ()
5061 # as_fn_arith ARG...
5062 # ------------------
5063 # Perform arithmetic evaluation on the ARGs, and store the result in the
5064 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5065 # must be portable across $(()) and expr.
5066 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5067 eval 'as_fn_arith ()
5074 as_val=`expr "$@" || test $? -eq 1`
5079 if expr a : '\(a\)' >/dev/null 2>&1 &&
5080 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5086 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5087 as_basename=basename
5092 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5098 as_me=`$as_basename -- "$0" ||
5099 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5100 X"$0" : 'X\(//\)$' \| \
5101 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5103 sed '/^.*\/\([^/][^/]*\)\/*$/{
5117 # Avoid depending upon Character Ranges.
5118 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5119 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5120 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5121 as_cr_digits='0123456789'
5122 as_cr_alnum=$as_cr_Letters$as_cr_digits
5124 ECHO_C= ECHO_N= ECHO_T=
5125 case `echo -n x` in #(((((
5127 case `echo 'xy\c'` in
5128 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5130 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5137 rm -f conf$$ conf$$.exe conf$$.file
5138 if test -d conf$$.dir; then
5139 rm -f conf$$.dir/conf$$.file
5142 mkdir conf$$.dir 2>/dev/null
5144 if (echo >conf$$.file) 2>/dev/null; then
5145 if ln -s conf$$.file conf$$ 2>/dev/null; then
5147 # ... but there are two gotchas:
5148 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5149 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5150 # In both cases, we have to default to `cp -pR'.
5151 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5153 elif ln conf$$.file conf$$ 2>/dev/null; then
5161 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5162 rmdir conf$$.dir 2>/dev/null
5167 # Create "$as_dir" as a directory, including parents if necessary.
5172 -*) as_dir=./$as_dir;;
5174 test -d "$as_dir" || eval $as_mkdir_p || {
5178 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5179 *) as_qdir=$as_dir;;
5181 as_dirs="'$as_qdir' $as_dirs"
5182 as_dir=`$as_dirname -- "$as_dir" ||
5183 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5184 X"$as_dir" : 'X\(//\)[^/]' \| \
5185 X"$as_dir" : 'X\(//\)$' \| \
5186 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5187 $as_echo X"$as_dir" |
5188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5205 test -d "$as_dir" && break
5207 test -z "$as_dirs" || eval "mkdir $as_dirs"
5208 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5212 if mkdir -p . 2>/dev/null; then
5213 as_mkdir_p='mkdir -p "$as_dir"'
5215 test -d ./-p && rmdir ./-p
5220 # as_fn_executable_p FILE
5221 # -----------------------
5222 # Test if FILE is an executable regular file.
5223 as_fn_executable_p ()
5225 test -f "$1" && test -x "$1"
5226 } # as_fn_executable_p
5228 as_executable_p=as_fn_executable_p
5230 # Sed expression to map a string onto a valid CPP name.
5231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5233 # Sed expression to map a string onto a valid variable name.
5234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5238 ## ----------------------------------- ##
5239 ## Main body of $CONFIG_STATUS script. ##
5240 ## ----------------------------------- ##
5242 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5245 # Save the log message, to keep $0 and so on meaningful, and to
5246 # report actual input values of CONFIG_FILES etc. instead of their
5247 # values after options handling.
5249 This file was extended by secnet $as_me 0.1.18+, which was
5250 generated by GNU Autoconf 2.69. Invocation command line was
5252 CONFIG_FILES = $CONFIG_FILES
5253 CONFIG_HEADERS = $CONFIG_HEADERS
5254 CONFIG_LINKS = $CONFIG_LINKS
5255 CONFIG_COMMANDS = $CONFIG_COMMANDS
5258 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5263 case $ac_config_files in *"
5264 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5267 case $ac_config_headers in *"
5268 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5273 # Files that config.status was made for.
5274 config_files="$ac_config_files"
5275 config_headers="$ac_config_headers"
5276 config_commands="$ac_config_commands"
5280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5282 \`$as_me' instantiates files and other configuration actions
5283 from templates according to the current configuration. Unless the files
5284 and actions are specified as TAGs, all are instantiated by default.
5286 Usage: $0 [OPTION]... [TAG]...
5288 -h, --help print this help, then exit
5289 -V, --version print version number and configuration settings, then exit
5290 --config print configuration, then exit
5291 -q, --quiet, --silent
5292 do not print progress messages
5293 -d, --debug don't remove temporary files
5294 --recheck update $as_me by reconfiguring in the same conditions
5295 --file=FILE[:TEMPLATE]
5296 instantiate the configuration file FILE
5297 --header=FILE[:TEMPLATE]
5298 instantiate the configuration header FILE
5300 Configuration files:
5303 Configuration headers:
5306 Configuration commands:
5309 Report bugs to <secnet@chiark.greenend.org.uk>."
5312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5313 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5315 secnet config.status 0.1.18+
5316 configured by $0, generated by GNU Autoconf 2.69,
5317 with options \\"\$ac_cs_config\\"
5319 Copyright (C) 2012 Free Software Foundation, Inc.
5320 This config.status script is free software; the Free Software Foundation
5321 gives unlimited permission to copy, distribute and modify it."
5326 test -n "\$AWK" || AWK=awk
5329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5330 # The default lists apply if the user does not specify any file.
5336 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5337 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5341 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5353 # Handling of the options.
5354 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5356 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5357 $as_echo "$ac_cs_version"; exit ;;
5358 --config | --confi | --conf | --con | --co | --c )
5359 $as_echo "$ac_cs_config"; exit ;;
5360 --debug | --debu | --deb | --de | --d | -d )
5362 --file | --fil | --fi | --f )
5365 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5366 '') as_fn_error $? "missing file argument" ;;
5368 as_fn_append CONFIG_FILES " '$ac_optarg'"
5369 ac_need_defaults=false;;
5370 --header | --heade | --head | --hea )
5373 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5375 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5376 ac_need_defaults=false;;
5378 # Conflict between --help and --header
5379 as_fn_error $? "ambiguous option: \`$1'
5380 Try \`$0 --help' for more information.";;
5381 --help | --hel | -h )
5382 $as_echo "$ac_cs_usage"; exit ;;
5383 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5384 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5388 -*) as_fn_error $? "unrecognized option: \`$1'
5389 Try \`$0 --help' for more information." ;;
5391 *) as_fn_append ac_config_targets " $1"
5392 ac_need_defaults=false ;;
5398 ac_configure_extra_args=
5400 if $ac_cs_silent; then
5402 ac_configure_extra_args="$ac_configure_extra_args --silent"
5406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5407 if \$ac_cs_recheck; then
5408 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5410 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5411 CONFIG_SHELL='$SHELL'
5417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5421 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5422 ## Running $as_me. ##
5428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5433 # Handling of arguments.
5434 for ac_config_target in $ac_config_targets
5436 case $ac_config_target in
5437 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5438 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5439 "common.make") CONFIG_FILES="$CONFIG_FILES common.make" ;;
5440 "test-common.make") CONFIG_FILES="$CONFIG_FILES test-common.make" ;;
5441 "test-example/Makefile") CONFIG_FILES="$CONFIG_FILES test-example/Makefile" ;;
5442 "stest/Makefile") CONFIG_FILES="$CONFIG_FILES stest/Makefile" ;;
5443 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5445 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5450 # If the user did not use the arguments to specify the items to instantiate,
5451 # then the envvar interface is used. Set only those that are not.
5452 # We use the long form for the default assignment because of an extremely
5453 # bizarre bug on SunOS 4.1.3.
5454 if $ac_need_defaults; then
5455 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5456 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5457 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5460 # Have a temporary directory for convenience. Make it in the build tree
5461 # simply because there is no reason against having it here, and in addition,
5462 # creating and moving files from /tmp can sometimes cause problems.
5463 # Hook for its removal unless debugging.
5464 # Note that there is a small window in which the directory will not be cleaned:
5465 # after its creation but before its name has been assigned to `$tmp'.
5469 trap 'exit_status=$?
5471 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5473 trap 'as_fn_exit 1' 1 2 13 15
5475 # Create a (secure) tmp directory for tmp files.
5478 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5482 tmp=./conf$$-$RANDOM
5483 (umask 077 && mkdir "$tmp")
5484 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5487 # Set up the scripts for CONFIG_FILES section.
5488 # No need to generate them if there are no CONFIG_FILES.
5489 # This happens for instance with `./config.status config.h'.
5490 if test -n "$CONFIG_FILES"; then
5493 ac_cr=`echo X | tr X '\015'`
5494 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5495 # But we know of no other shell where ac_cr would be empty at this
5496 # point, so we can use a bashism as a fallback.
5497 if test "x$ac_cr" = x; then
5498 eval ac_cr=\$\'\\r\'
5500 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5501 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5507 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5512 echo "cat >conf$$subs.awk <<_ACEOF" &&
5513 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5516 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5517 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5519 for ac_last_try in false false false false false :; do
5520 . ./conf$$subs.sh ||
5521 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5523 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5524 if test $ac_delim_n = $ac_delim_num; then
5526 elif $ac_last_try; then
5527 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5529 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5535 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5539 s/^/S["/; s/!.*/"]=/
5549 s/\(.\{148\}\)..*/\1/
5551 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5556 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5563 s/\(.\{148\}\)..*/\1/
5565 s/["\\]/\\&/g; s/^/"/; s/$/"/
5569 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5574 ' <conf$$subs.awk | sed '
5579 ' >>$CONFIG_STATUS || ac_write_fail=1
5580 rm -f conf$$subs.awk
5581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5583 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5584 for (key in S) S_is_set[key] = 1
5590 nfields = split(line, field, "@")
5592 len = length(field[1])
5593 for (i = 2; i < nfields; i++) {
5595 keylen = length(key)
5596 if (S_is_set[key]) {
5598 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5599 len += length(value) + length(field[++i])
5610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5611 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5612 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5615 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5616 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5619 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5620 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5621 # trailing colons and then remove the whole line if VPATH becomes empty
5622 # (actually we leave an empty line to preserve line numbers).
5623 if test "x$srcdir" = x.; then
5624 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5643 fi # test -n "$CONFIG_FILES"
5645 # Set up the scripts for CONFIG_HEADERS section.
5646 # No need to generate them if there are no CONFIG_HEADERS.
5647 # This happens for instance with `./config.status Makefile'.
5648 if test -n "$CONFIG_HEADERS"; then
5649 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5653 # Transform confdefs.h into an awk script `defines.awk', embedded as
5654 # here-document in config.status, that substitutes the proper values into
5655 # config.h.in to produce config.h.
5657 # Create a delimiter string that does not exist in confdefs.h, to ease
5658 # handling of long lines.
5660 for ac_last_try in false false :; do
5661 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5662 if test -z "$ac_tt"; then
5664 elif $ac_last_try; then
5665 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5667 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5671 # For the awk script, D is an array of macro values keyed by name,
5672 # likewise P contains macro parameters if any. Preserve backslash
5673 # newline sequences.
5675 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5677 s/.\{148\}/&'"$ac_delim"'/g
5680 s/^[ ]*#[ ]*define[ ][ ]*/ /
5687 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5689 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5693 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5694 D["\1"]=" \3\\\\\\n"\\/p
5696 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5701 s/.\{148\}/&'"$ac_delim"'/g
5706 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5709 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5711 ' <confdefs.h | sed '
5712 s/'"$ac_delim"'/"\\\
5713 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5716 for (key in D) D_is_set[key] = 1
5719 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5721 split(line, arg, " ")
5722 if (arg[1] == "#") {
5726 defundef = substr(arg[1], 2)
5729 split(mac1, mac2, "(") #)
5731 prefix = substr(line, 1, index(line, defundef) - 1)
5732 if (D_is_set[macro]) {
5733 # Preserve the white space surrounding the "#".
5734 print prefix "define", macro P[macro] D[macro]
5737 # Replace #undef with comments. This is necessary, for example,
5738 # in the case of _POSIX_SOURCE, which is predefined and required
5739 # on some systems where configure will not decide to define it.
5740 if (defundef == "undef") {
5741 print "/*", prefix defundef, macro, "*/"
5749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5750 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5751 fi # test -n "$CONFIG_HEADERS"
5754 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5759 :[FHLC]) ac_mode=$ac_tag; continue;;
5761 case $ac_mode$ac_tag in
5763 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5764 :[FH]-) ac_tag=-:-;;
5765 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5782 -) ac_f="$ac_tmp/stdin";;
5783 *) # Look for the file first in the build tree, then in the source tree
5784 # (if the path is not absolute). The absolute path cannot be DOS-style,
5785 # because $ac_f cannot contain `:'.
5789 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5791 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5793 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5794 as_fn_append ac_file_inputs " '$ac_f'"
5797 # Let's still pretend it is `configure' which instantiates (i.e., don't
5798 # use $as_me), people would be surprised to read:
5799 # /* config.h. Generated by config.status. */
5800 configure_input='Generated from '`
5801 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5803 if test x"$ac_file" != x-; then
5804 configure_input="$ac_file. $configure_input"
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5806 $as_echo "$as_me: creating $ac_file" >&6;}
5808 # Neutralize special characters interpreted by sed in replacement strings.
5809 case $configure_input in #(
5810 *\&* | *\|* | *\\* )
5811 ac_sed_conf_input=`$as_echo "$configure_input" |
5812 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5813 *) ac_sed_conf_input=$configure_input;;
5817 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5818 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5823 ac_dir=`$as_dirname -- "$ac_file" ||
5824 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5825 X"$ac_file" : 'X\(//\)[^/]' \| \
5826 X"$ac_file" : 'X\(//\)$' \| \
5827 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5828 $as_echo X"$ac_file" |
5829 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5846 as_dir="$ac_dir"; as_fn_mkdir_p
5850 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5852 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5853 # A ".." for each directory in $ac_dir_suffix.
5854 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5855 case $ac_top_builddir_sub in
5856 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5857 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5860 ac_abs_top_builddir=$ac_pwd
5861 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5862 # for backward compatibility:
5863 ac_top_builddir=$ac_top_build_prefix
5866 .) # We are building in place.
5868 ac_top_srcdir=$ac_top_builddir_sub
5869 ac_abs_top_srcdir=$ac_pwd ;;
5870 [\\/]* | ?:[\\/]* ) # Absolute name.
5871 ac_srcdir=$srcdir$ac_dir_suffix;
5872 ac_top_srcdir=$srcdir
5873 ac_abs_top_srcdir=$srcdir ;;
5875 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5876 ac_top_srcdir=$ac_top_build_prefix$srcdir
5877 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5879 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5889 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5890 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5895 # If the template does not know about datarootdir, expand it.
5896 # FIXME: This hack should be removed a few years after 2.60.
5897 ac_datarootdir_hack=; ac_datarootdir_seen=
5908 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5909 *datarootdir*) ac_datarootdir_seen=yes;;
5910 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5912 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5915 ac_datarootdir_hack='
5916 s&@datadir@&$datadir&g
5917 s&@docdir@&$docdir&g
5918 s&@infodir@&$infodir&g
5919 s&@localedir@&$localedir&g
5920 s&@mandir@&$mandir&g
5921 s&\\\${datarootdir}&$datarootdir&g' ;;
5925 # Neutralize VPATH when `$srcdir' = `.'.
5926 # Shell code in configure.ac might set extrasub.
5927 # FIXME: do we really want to maintain this feature?
5928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5929 ac_sed_extra="$ac_vpsub
5932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5934 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5935 s|@configure_input@|$ac_sed_conf_input|;t t
5936 s&@top_builddir@&$ac_top_builddir_sub&;t t
5937 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5938 s&@srcdir@&$ac_srcdir&;t t
5939 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5940 s&@top_srcdir@&$ac_top_srcdir&;t t
5941 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5942 s&@builddir@&$ac_builddir&;t t
5943 s&@abs_builddir@&$ac_abs_builddir&;t t
5944 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5945 s&@INSTALL@&$ac_INSTALL&;t t
5946 $ac_datarootdir_hack
5948 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5949 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5951 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5952 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5953 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5954 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5956 which seems to be undefined. Please make sure it is defined" >&5
5957 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5958 which seems to be undefined. Please make sure it is defined" >&2;}
5960 rm -f "$ac_tmp/stdin"
5962 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5963 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5965 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5971 if test x"$ac_file" != x-; then
5973 $as_echo "/* $configure_input */" \
5974 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5975 } >"$ac_tmp/config.h" \
5976 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5977 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5979 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5982 mv "$ac_tmp/config.h" "$ac_file" \
5983 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5986 $as_echo "/* $configure_input */" \
5987 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5988 || as_fn_error $? "could not create -" "$LINENO" 5
5992 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5993 $as_echo "$as_me: executing $ac_file commands" >&6;}
5998 case $ac_file$ac_mode in
5999 "default":C) echo timestamp >config.stamp ;;
6007 ac_clean_files=$ac_clean_files_save
6009 test $ac_write_fail = 0 ||
6010 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6013 # configure is writing to config.log, and then calls config.status.
6014 # config.status does its own redirection, appending to config.log.
6015 # Unfortunately, on DOS this fails, as config.log is still kept open
6016 # by configure, so config.status won't be able to write to it; its
6017 # output is simply discarded. So we exec the FD to /dev/null,
6018 # effectively closing config.log, so it can be properly (re)opened and
6019 # appended to by config.status. When coming back to configure, we
6020 # need to make the FD available again.
6021 if test "$no_create" != yes; then
6023 ac_config_status_args=
6024 test "$silent" = yes &&
6025 ac_config_status_args="$ac_config_status_args --quiet"
6027 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6029 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6030 # would make configure fail if this is the last instruction.
6031 $ac_cs_success || as_fn_exit 1
6033 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6035 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}