2 # From configure.ac 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 if (eval "$as_required") 2>/dev/null; then :
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
240 if test "x$CONFIG_SHELL" != x; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 *v*x* | *x*v* ) as_opts=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: secnet@chiark.greenend.org.uk about your system,
271 $0: including any error possibly output before this
272 $0: message. Then install a modern shell, or manually run
273 $0: the script under such a shell if you do have one."
279 SHELL=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir=./$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
401 as_val=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status=$1; test $as_status -eq 0 && as_status=1
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 elif ln conf$$.file conf$$ 2>/dev/null; then
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
546 test -d ./-p && rmdir ./-p
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix=/usr/local
573 ac_config_libobj_dir=.
580 # Identity of this package.
581 PACKAGE_NAME='secnet'
582 PACKAGE_TARNAME='secnet'
583 PACKAGE_VERSION='0.1.18+'
584 PACKAGE_STRING='secnet 0.1.18+'
585 PACKAGE_BUGREPORT='secnet@chiark.greenend.org.uk'
588 ac_unique_file="secnet.c"
589 ac_subst_vars='LTLIBOBJS
633 program_transform_name
647 enable_option_checking
648 enable_hacky_parallel
650 ac_precious_vars='build_alias
661 # Initialize some variables set by options.
663 ac_init_version=false
664 ac_unrecognized_opts=
666 # The variables have the same names as the options, with
667 # dashes changed to underlines.
675 program_transform_name=s,x,x,
683 # Installation directory options.
684 # These are left unexpanded so users can "make install exec_prefix=/foo"
685 # and all the variables that are supposed to be based on exec_prefix
686 # by default will actually change.
687 # Use braces instead of parens because sh, perl, etc. also accept them.
688 # (The list follows the same order as the GNU Coding Standards.)
689 bindir='${exec_prefix}/bin'
690 sbindir='${exec_prefix}/sbin'
691 libexecdir='${exec_prefix}/libexec'
692 datarootdir='${prefix}/share'
693 datadir='${datarootdir}'
694 sysconfdir='${prefix}/etc'
695 sharedstatedir='${prefix}/com'
696 localstatedir='${prefix}/var'
697 runstatedir='${localstatedir}/run'
698 includedir='${prefix}/include'
699 oldincludedir='/usr/include'
700 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
701 infodir='${datarootdir}/info'
706 libdir='${exec_prefix}/lib'
707 localedir='${datarootdir}/locale'
708 mandir='${datarootdir}/man'
714 # If the previous option needs an argument, assign it.
715 if test -n "$ac_prev"; then
716 eval $ac_prev=\$ac_option
722 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
727 # Accept the important Cygnus configure options, so we can diagnose typos.
729 case $ac_dashdash$ac_option in
733 -bindir | --bindir | --bindi | --bind | --bin | --bi)
735 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
738 -build | --build | --buil | --bui | --bu)
739 ac_prev=build_alias ;;
740 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
741 build_alias=$ac_optarg ;;
743 -cache-file | --cache-file | --cache-fil | --cache-fi \
744 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
745 ac_prev=cache_file ;;
746 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
747 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
748 cache_file=$ac_optarg ;;
751 cache_file=config.cache ;;
753 -datadir | --datadir | --datadi | --datad)
755 -datadir=* | --datadir=* | --datadi=* | --datad=*)
756 datadir=$ac_optarg ;;
758 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
759 | --dataroo | --dataro | --datar)
760 ac_prev=datarootdir ;;
761 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
762 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
763 datarootdir=$ac_optarg ;;
765 -disable-* | --disable-*)
766 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
767 # Reject names that are not valid shell variable names.
768 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
769 as_fn_error $? "invalid feature name: $ac_useropt"
770 ac_useropt_orig=$ac_useropt
771 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
772 case $ac_user_opts in
776 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
777 ac_unrecognized_sep=', ';;
779 eval enable_$ac_useropt=no ;;
781 -docdir | --docdir | --docdi | --doc | --do)
783 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
786 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
788 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
791 -enable-* | --enable-*)
792 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
793 # Reject names that are not valid shell variable names.
794 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
795 as_fn_error $? "invalid feature name: $ac_useropt"
796 ac_useropt_orig=$ac_useropt
797 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
798 case $ac_user_opts in
802 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
803 ac_unrecognized_sep=', ';;
805 eval enable_$ac_useropt=\$ac_optarg ;;
807 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
808 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
809 | --exec | --exe | --ex)
810 ac_prev=exec_prefix ;;
811 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
812 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
813 | --exec=* | --exe=* | --ex=*)
814 exec_prefix=$ac_optarg ;;
816 -gas | --gas | --ga | --g)
817 # Obsolete; use --with-gas.
820 -help | --help | --hel | --he | -h)
822 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
823 ac_init_help=recursive ;;
824 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
825 ac_init_help=short ;;
827 -host | --host | --hos | --ho)
828 ac_prev=host_alias ;;
829 -host=* | --host=* | --hos=* | --ho=*)
830 host_alias=$ac_optarg ;;
832 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
834 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
836 htmldir=$ac_optarg ;;
838 -includedir | --includedir | --includedi | --included | --include \
839 | --includ | --inclu | --incl | --inc)
840 ac_prev=includedir ;;
841 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
842 | --includ=* | --inclu=* | --incl=* | --inc=*)
843 includedir=$ac_optarg ;;
845 -infodir | --infodir | --infodi | --infod | --info | --inf)
847 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
848 infodir=$ac_optarg ;;
850 -libdir | --libdir | --libdi | --libd)
852 -libdir=* | --libdir=* | --libdi=* | --libd=*)
855 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
856 | --libexe | --libex | --libe)
857 ac_prev=libexecdir ;;
858 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
859 | --libexe=* | --libex=* | --libe=*)
860 libexecdir=$ac_optarg ;;
862 -localedir | --localedir | --localedi | --localed | --locale)
864 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
865 localedir=$ac_optarg ;;
867 -localstatedir | --localstatedir | --localstatedi | --localstated \
868 | --localstate | --localstat | --localsta | --localst | --locals)
869 ac_prev=localstatedir ;;
870 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
871 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
872 localstatedir=$ac_optarg ;;
874 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
876 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
880 # Obsolete; use --without-fp.
883 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
884 | --no-cr | --no-c | -n)
887 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
888 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
891 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
892 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
893 | --oldin | --oldi | --old | --ol | --o)
894 ac_prev=oldincludedir ;;
895 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
896 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
897 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
898 oldincludedir=$ac_optarg ;;
900 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
902 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
905 -program-prefix | --program-prefix | --program-prefi | --program-pref \
906 | --program-pre | --program-pr | --program-p)
907 ac_prev=program_prefix ;;
908 -program-prefix=* | --program-prefix=* | --program-prefi=* \
909 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
910 program_prefix=$ac_optarg ;;
912 -program-suffix | --program-suffix | --program-suffi | --program-suff \
913 | --program-suf | --program-su | --program-s)
914 ac_prev=program_suffix ;;
915 -program-suffix=* | --program-suffix=* | --program-suffi=* \
916 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
917 program_suffix=$ac_optarg ;;
919 -program-transform-name | --program-transform-name \
920 | --program-transform-nam | --program-transform-na \
921 | --program-transform-n | --program-transform- \
922 | --program-transform | --program-transfor \
923 | --program-transfo | --program-transf \
924 | --program-trans | --program-tran \
925 | --progr-tra | --program-tr | --program-t)
926 ac_prev=program_transform_name ;;
927 -program-transform-name=* | --program-transform-name=* \
928 | --program-transform-nam=* | --program-transform-na=* \
929 | --program-transform-n=* | --program-transform-=* \
930 | --program-transform=* | --program-transfor=* \
931 | --program-transfo=* | --program-transf=* \
932 | --program-trans=* | --program-tran=* \
933 | --progr-tra=* | --program-tr=* | --program-t=*)
934 program_transform_name=$ac_optarg ;;
936 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
938 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
941 -psdir | --psdir | --psdi | --psd | --ps)
943 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
946 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
947 | -silent | --silent | --silen | --sile | --sil)
950 -runstatedir | --runstatedir | --runstatedi | --runstated \
951 | --runstate | --runstat | --runsta | --runst | --runs \
952 | --run | --ru | --r)
953 ac_prev=runstatedir ;;
954 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
955 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
956 | --run=* | --ru=* | --r=*)
957 runstatedir=$ac_optarg ;;
959 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
961 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
963 sbindir=$ac_optarg ;;
965 -sharedstatedir | --sharedstatedir | --sharedstatedi \
966 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
967 | --sharedst | --shareds | --shared | --share | --shar \
969 ac_prev=sharedstatedir ;;
970 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
971 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
972 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
974 sharedstatedir=$ac_optarg ;;
976 -site | --site | --sit)
978 -site=* | --site=* | --sit=*)
981 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
983 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
986 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
987 | --syscon | --sysco | --sysc | --sys | --sy)
988 ac_prev=sysconfdir ;;
989 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
990 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
991 sysconfdir=$ac_optarg ;;
993 -target | --target | --targe | --targ | --tar | --ta | --t)
994 ac_prev=target_alias ;;
995 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
996 target_alias=$ac_optarg ;;
998 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1001 -version | --version | --versio | --versi | --vers | -V)
1002 ac_init_version=: ;;
1005 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1008 as_fn_error $? "invalid package name: $ac_useropt"
1009 ac_useropt_orig=$ac_useropt
1010 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1011 case $ac_user_opts in
1015 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1016 ac_unrecognized_sep=', ';;
1018 eval with_$ac_useropt=\$ac_optarg ;;
1020 -without-* | --without-*)
1021 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024 as_fn_error $? "invalid package name: $ac_useropt"
1025 ac_useropt_orig=$ac_useropt
1026 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027 case $ac_user_opts in
1031 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1032 ac_unrecognized_sep=', ';;
1034 eval with_$ac_useropt=no ;;
1037 # Obsolete; use --with-x.
1040 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1041 | --x-incl | --x-inc | --x-in | --x-i)
1042 ac_prev=x_includes ;;
1043 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1044 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1045 x_includes=$ac_optarg ;;
1047 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1048 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1049 ac_prev=x_libraries ;;
1050 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1051 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1052 x_libraries=$ac_optarg ;;
1054 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1055 Try \`$0 --help' for more information"
1059 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1060 # Reject names that are not valid shell variable names.
1061 case $ac_envvar in #(
1062 '' | [0-9]* | *[!_$as_cr_alnum]* )
1063 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1065 eval $ac_envvar=\$ac_optarg
1066 export $ac_envvar ;;
1069 # FIXME: should be removed in autoconf 3.0.
1070 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1071 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1072 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1073 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1079 if test -n "$ac_prev"; then
1080 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1081 as_fn_error $? "missing argument to $ac_option"
1084 if test -n "$ac_unrecognized_opts"; then
1085 case $enable_option_checking in
1087 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1088 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1092 # Check all directory arguments for consistency.
1093 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1094 datadir sysconfdir sharedstatedir localstatedir includedir \
1095 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1096 libdir localedir mandir runstatedir
1098 eval ac_val=\$$ac_var
1099 # Remove trailing slashes.
1102 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1103 eval $ac_var=\$ac_val;;
1105 # Be sure to have absolute directory names.
1107 [\\/$]* | ?:[\\/]* ) continue;;
1108 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1110 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1113 # There might be people who depend on the old broken behavior: `$host'
1114 # used to hold the argument of --host etc.
1115 # FIXME: To remove some day.
1118 target=$target_alias
1120 # FIXME: To remove some day.
1121 if test "x$host_alias" != x; then
1122 if test "x$build_alias" = x; then
1123 cross_compiling=maybe
1124 elif test "x$build_alias" != "x$host_alias"; then
1130 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1132 test "$silent" = yes && exec 6>/dev/null
1135 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1136 ac_ls_di=`ls -di .` &&
1137 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1138 as_fn_error $? "working directory cannot be determined"
1139 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1140 as_fn_error $? "pwd does not report name of working directory"
1143 # Find the source files, if location was not specified.
1144 if test -z "$srcdir"; then
1145 ac_srcdir_defaulted=yes
1146 # Try the directory containing this script, then the parent directory.
1147 ac_confdir=`$as_dirname -- "$as_myself" ||
1148 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1149 X"$as_myself" : 'X\(//\)[^/]' \| \
1150 X"$as_myself" : 'X\(//\)$' \| \
1151 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1152 $as_echo X"$as_myself" |
1153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1171 if test ! -r "$srcdir/$ac_unique_file"; then
1175 ac_srcdir_defaulted=no
1177 if test ! -r "$srcdir/$ac_unique_file"; then
1178 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1179 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1181 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1183 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1185 # When building in place, set srcdir=.
1186 if test "$ac_abs_confdir" = "$ac_pwd"; then
1189 # Remove unnecessary trailing slashes from srcdir.
1190 # Double slashes in file names in object file debugging info
1191 # mess up M-x gdb in Emacs.
1193 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1195 for ac_var in $ac_precious_vars; do
1196 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1197 eval ac_env_${ac_var}_value=\$${ac_var}
1198 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1199 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1203 # Report the --help message.
1205 if test "$ac_init_help" = "long"; then
1206 # Omit some internal or obsolete options to make the list less imposing.
1207 # This message is too long to be a string in the A/UX 3.1 sh.
1209 \`configure' configures secnet 0.1.18+ to adapt to many kinds of systems.
1211 Usage: $0 [OPTION]... [VAR=VALUE]...
1213 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1214 VAR=VALUE. See below for descriptions of some of the useful variables.
1216 Defaults for the options are specified in brackets.
1219 -h, --help display this help and exit
1220 --help=short display options specific to this package
1221 --help=recursive display the short help of all the included packages
1222 -V, --version display version information and exit
1223 -q, --quiet, --silent do not print \`checking ...' messages
1224 --cache-file=FILE cache test results in FILE [disabled]
1225 -C, --config-cache alias for \`--cache-file=config.cache'
1226 -n, --no-create do not create output files
1227 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1229 Installation directories:
1230 --prefix=PREFIX install architecture-independent files in PREFIX
1231 [$ac_default_prefix]
1232 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1235 By default, \`make install' will install all the files in
1236 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1237 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1238 for instance \`--prefix=\$HOME'.
1240 For better control, use the options below.
1242 Fine tuning of the installation directories:
1243 --bindir=DIR user executables [EPREFIX/bin]
1244 --sbindir=DIR system admin executables [EPREFIX/sbin]
1245 --libexecdir=DIR program executables [EPREFIX/libexec]
1246 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1247 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1248 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1249 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1250 --libdir=DIR object code libraries [EPREFIX/lib]
1251 --includedir=DIR C header files [PREFIX/include]
1252 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1253 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1254 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1255 --infodir=DIR info documentation [DATAROOTDIR/info]
1256 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1257 --mandir=DIR man documentation [DATAROOTDIR/man]
1258 --docdir=DIR documentation root [DATAROOTDIR/doc/secnet]
1259 --htmldir=DIR html documentation [DOCDIR]
1260 --dvidir=DIR dvi documentation [DOCDIR]
1261 --pdfdir=DIR pdf documentation [DOCDIR]
1262 --psdir=DIR ps documentation [DOCDIR]
1269 if test -n "$ac_init_help"; then
1270 case $ac_init_help in
1271 short | recursive ) echo "Configuration of secnet 0.1.18+:";;
1276 --disable-option-checking ignore unrecognized --enable/--with options
1277 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1278 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1279 --enable-hacky-parallel parallelise slow cryptography (default is no)
1281 Some influential environment variables:
1282 CC C compiler command
1283 CFLAGS C compiler flags
1284 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1285 nonstandard directory <lib dir>
1286 LIBS libraries to pass to the linker, e.g. -l<library>
1287 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1288 you have headers in a nonstandard directory <include dir>
1291 Use these variables to override the choices made by `configure' or to help
1292 it to find libraries and programs with nonstandard names/locations.
1294 Report bugs to <secnet@chiark.greenend.org.uk>.
1299 if test "$ac_init_help" = "recursive"; then
1300 # If there are subdirs, report their specific --help.
1301 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1302 test -d "$ac_dir" ||
1303 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1308 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1310 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1311 # A ".." for each directory in $ac_dir_suffix.
1312 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1313 case $ac_top_builddir_sub in
1314 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1315 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1318 ac_abs_top_builddir=$ac_pwd
1319 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1320 # for backward compatibility:
1321 ac_top_builddir=$ac_top_build_prefix
1324 .) # We are building in place.
1326 ac_top_srcdir=$ac_top_builddir_sub
1327 ac_abs_top_srcdir=$ac_pwd ;;
1328 [\\/]* | ?:[\\/]* ) # Absolute name.
1329 ac_srcdir=$srcdir$ac_dir_suffix;
1330 ac_top_srcdir=$srcdir
1331 ac_abs_top_srcdir=$srcdir ;;
1333 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1334 ac_top_srcdir=$ac_top_build_prefix$srcdir
1335 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1337 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1339 cd "$ac_dir" || { ac_status=$?; continue; }
1340 # Check for guested configure.
1341 if test -f "$ac_srcdir/configure.gnu"; then
1343 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1344 elif test -f "$ac_srcdir/configure"; then
1346 $SHELL "$ac_srcdir/configure" --help=recursive
1348 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1350 cd "$ac_pwd" || { ac_status=$?; break; }
1354 test -n "$ac_init_help" && exit $ac_status
1355 if $ac_init_version; then
1357 secnet configure 0.1.18+
1358 generated by GNU Autoconf 2.69
1360 Copyright (C) 2012 Free Software Foundation, Inc.
1361 This configure script is free software; the Free Software Foundation
1362 gives unlimited permission to copy, distribute and modify it.
1367 ## ------------------------ ##
1368 ## Autoconf initialization. ##
1369 ## ------------------------ ##
1371 # ac_fn_c_try_compile LINENO
1372 # --------------------------
1373 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1374 ac_fn_c_try_compile ()
1376 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1377 rm -f conftest.$ac_objext
1378 if { { ac_try="$ac_compile"
1380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1381 *) ac_try_echo=$ac_try;;
1383 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1384 $as_echo "$ac_try_echo"; } >&5
1385 (eval "$ac_compile") 2>conftest.err
1387 if test -s conftest.err; then
1388 grep -v '^ *+' conftest.err >conftest.er1
1389 cat conftest.er1 >&5
1390 mv -f conftest.er1 conftest.err
1392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1393 test $ac_status = 0; } && {
1394 test -z "$ac_c_werror_flag" ||
1395 test ! -s conftest.err
1396 } && test -s conftest.$ac_objext; then :
1399 $as_echo "$as_me: failed program was:" >&5
1400 sed 's/^/| /' conftest.$ac_ext >&5
1404 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1405 as_fn_set_status $ac_retval
1407 } # ac_fn_c_try_compile
1409 # ac_fn_c_try_cpp LINENO
1410 # ----------------------
1411 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1414 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1415 if { { ac_try="$ac_cpp conftest.$ac_ext"
1417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1418 *) ac_try_echo=$ac_try;;
1420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1421 $as_echo "$ac_try_echo"; } >&5
1422 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1424 if test -s conftest.err; then
1425 grep -v '^ *+' conftest.err >conftest.er1
1426 cat conftest.er1 >&5
1427 mv -f conftest.er1 conftest.err
1429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1430 test $ac_status = 0; } > conftest.i && {
1431 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1432 test ! -s conftest.err
1436 $as_echo "$as_me: failed program was:" >&5
1437 sed 's/^/| /' conftest.$ac_ext >&5
1441 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1442 as_fn_set_status $ac_retval
1446 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1447 # -------------------------------------------------------
1448 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1449 # the include files in INCLUDES and setting the cache variable VAR
1451 ac_fn_c_check_header_mongrel ()
1453 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1454 if eval \${$3+:} false; then :
1455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1456 $as_echo_n "checking for $2... " >&6; }
1457 if eval \${$3+:} false; then :
1458 $as_echo_n "(cached) " >&6
1461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1462 $as_echo "$ac_res" >&6; }
1464 # Is the header compilable?
1465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1466 $as_echo_n "checking $2 usability... " >&6; }
1467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1468 /* end confdefs.h. */
1472 if ac_fn_c_try_compile "$LINENO"; then :
1473 ac_header_compiler=yes
1475 ac_header_compiler=no
1477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1479 $as_echo "$ac_header_compiler" >&6; }
1481 # Is the header present?
1482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1483 $as_echo_n "checking $2 presence... " >&6; }
1484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1485 /* end confdefs.h. */
1488 if ac_fn_c_try_cpp "$LINENO"; then :
1489 ac_header_preproc=yes
1491 ac_header_preproc=no
1493 rm -f conftest.err conftest.i conftest.$ac_ext
1494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1495 $as_echo "$ac_header_preproc" >&6; }
1497 # So? What about this header?
1498 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1501 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1503 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1507 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1509 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1511 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1513 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1515 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1516 ( $as_echo "## -------------------------------------------- ##
1517 ## Report this to secnet@chiark.greenend.org.uk ##
1518 ## -------------------------------------------- ##"
1519 ) | sed "s/^/$as_me: WARNING: /" >&2
1522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1523 $as_echo_n "checking for $2... " >&6; }
1524 if eval \${$3+:} false; then :
1525 $as_echo_n "(cached) " >&6
1527 eval "$3=\$ac_header_compiler"
1530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1531 $as_echo "$ac_res" >&6; }
1533 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1535 } # ac_fn_c_check_header_mongrel
1537 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1538 # -------------------------------------------------------
1539 # Tests whether HEADER exists and can be compiled using the include files in
1540 # INCLUDES, setting the cache variable VAR accordingly.
1541 ac_fn_c_check_header_compile ()
1543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1545 $as_echo_n "checking for $2... " >&6; }
1546 if eval \${$3+:} false; then :
1547 $as_echo_n "(cached) " >&6
1549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1550 /* end confdefs.h. */
1554 if ac_fn_c_try_compile "$LINENO"; then :
1559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1563 $as_echo "$ac_res" >&6; }
1564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1566 } # ac_fn_c_check_header_compile
1568 # ac_fn_c_try_run LINENO
1569 # ----------------------
1570 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1571 # that executables *can* be run.
1574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1575 if { { ac_try="$ac_link"
1577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1578 *) ac_try_echo=$ac_try;;
1580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1581 $as_echo "$ac_try_echo"; } >&5
1582 (eval "$ac_link") 2>&5
1584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1585 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1586 { { case "(($ac_try" in
1587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1588 *) ac_try_echo=$ac_try;;
1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1591 $as_echo "$ac_try_echo"; } >&5
1592 (eval "$ac_try") 2>&5
1594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1595 test $ac_status = 0; }; }; then :
1598 $as_echo "$as_me: program exited with status $ac_status" >&5
1599 $as_echo "$as_me: failed program was:" >&5
1600 sed 's/^/| /' conftest.$ac_ext >&5
1602 ac_retval=$ac_status
1604 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1606 as_fn_set_status $ac_retval
1610 # ac_fn_c_try_link LINENO
1611 # -----------------------
1612 # Try to link conftest.$ac_ext, and return whether this succeeded.
1615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1616 rm -f conftest.$ac_objext conftest$ac_exeext
1617 if { { ac_try="$ac_link"
1619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1620 *) ac_try_echo=$ac_try;;
1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1623 $as_echo "$ac_try_echo"; } >&5
1624 (eval "$ac_link") 2>conftest.err
1626 if test -s conftest.err; then
1627 grep -v '^ *+' conftest.err >conftest.er1
1628 cat conftest.er1 >&5
1629 mv -f conftest.er1 conftest.err
1631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1632 test $ac_status = 0; } && {
1633 test -z "$ac_c_werror_flag" ||
1634 test ! -s conftest.err
1635 } && test -s conftest$ac_exeext && {
1636 test "$cross_compiling" = yes ||
1637 test -x conftest$ac_exeext
1641 $as_echo "$as_me: failed program was:" >&5
1642 sed 's/^/| /' conftest.$ac_ext >&5
1646 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1647 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1648 # interfere with the next link command; also delete a directory that is
1649 # left behind by Apple's compiler. We do this before executing the actions.
1650 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1652 as_fn_set_status $ac_retval
1654 } # ac_fn_c_try_link
1656 # ac_fn_c_check_func LINENO FUNC VAR
1657 # ----------------------------------
1658 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1659 ac_fn_c_check_func ()
1661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1663 $as_echo_n "checking for $2... " >&6; }
1664 if eval \${$3+:} false; then :
1665 $as_echo_n "(cached) " >&6
1667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1668 /* end confdefs.h. */
1669 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1671 #define $2 innocuous_$2
1673 /* System header to define __stub macros and hopefully few prototypes,
1674 which can conflict with char $2 (); below.
1675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1676 <limits.h> exists even on freestanding compilers. */
1679 # include <limits.h>
1681 # include <assert.h>
1686 /* Override any GCC internal prototype to avoid an error.
1687 Use char because int might match the return type of a GCC
1688 builtin and then its argument prototype would still apply. */
1693 /* The GNU C library defines this for functions which it implements
1694 to always fail with ENOSYS. Some functions are actually named
1695 something starting with __ and the normal name is an alias. */
1696 #if defined __stub_$2 || defined __stub___$2
1708 if ac_fn_c_try_link "$LINENO"; then :
1713 rm -f core conftest.err conftest.$ac_objext \
1714 conftest$ac_exeext conftest.$ac_ext
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1718 $as_echo "$ac_res" >&6; }
1719 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721 } # ac_fn_c_check_func
1723 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1724 # ---------------------------------------------
1725 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1727 ac_fn_c_check_decl ()
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 as_decl_name=`echo $2|sed 's/ *(.*//'`
1731 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1733 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1734 if eval \${$3+:} false; then :
1735 $as_echo_n "(cached) " >&6
1737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1738 /* end confdefs.h. */
1743 #ifndef $as_decl_name
1745 (void) $as_decl_use;
1747 (void) $as_decl_name;
1755 if ac_fn_c_try_compile "$LINENO"; then :
1760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1764 $as_echo "$ac_res" >&6; }
1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1767 } # ac_fn_c_check_decl
1768 cat >config.log <<_ACEOF
1769 This file contains any messages produced by compilers while
1770 running configure, to aid debugging if configure makes a mistake.
1772 It was created by secnet $as_me 0.1.18+, which was
1773 generated by GNU Autoconf 2.69. Invocation command line was
1785 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1786 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1787 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1788 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1789 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1791 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1792 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1794 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1795 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1796 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1797 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1798 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1799 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1800 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1808 test -z "$as_dir" && as_dir=.
1809 $as_echo "PATH: $as_dir"
1825 # Keep a trace of the command line.
1826 # Strip out --no-create and --no-recursion so they do not pile up.
1827 # Strip out --silent because we don't want to record it for future runs.
1828 # Also quote any args containing shell meta-characters.
1829 # Make two passes to allow for proper duplicate-argument suppression.
1833 ac_must_keep_next=false
1839 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1840 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1841 | -silent | --silent | --silen | --sile | --sil)
1844 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1847 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1849 as_fn_append ac_configure_args1 " '$ac_arg'"
1850 if test $ac_must_keep_next = true; then
1851 ac_must_keep_next=false # Got value, back to normal.
1854 *=* | --config-cache | -C | -disable-* | --disable-* \
1855 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1856 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1857 | -with-* | --with-* | -without-* | --without-* | --x)
1858 case "$ac_configure_args0 " in
1859 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1862 -* ) ac_must_keep_next=true ;;
1865 as_fn_append ac_configure_args " '$ac_arg'"
1870 { ac_configure_args0=; unset ac_configure_args0;}
1871 { ac_configure_args1=; unset ac_configure_args1;}
1873 # When interrupted or exit'd, cleanup temporary files, and complete
1874 # config.log. We remove comments because anyway the quotes in there
1875 # would cause problems or look ugly.
1876 # WARNING: Use '\'' to represent an apostrophe within the trap.
1877 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1878 trap 'exit_status=$?
1879 # Save into config.log some information that might help in debugging.
1883 $as_echo "## ---------------- ##
1884 ## Cache variables. ##
1885 ## ---------------- ##"
1887 # The following way of writing the cache mishandles newlines in values,
1889 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1890 eval ac_val=\$$ac_var
1894 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1895 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1898 _ | IFS | as_nl) ;; #(
1899 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1900 *) { eval $ac_var=; unset $ac_var;} ;;
1905 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1906 *${as_nl}ac_space=\ *)
1908 "s/'\''/'\''\\\\'\'''\''/g;
1909 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1912 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1919 $as_echo "## ----------------- ##
1920 ## Output variables. ##
1921 ## ----------------- ##"
1923 for ac_var in $ac_subst_vars
1925 eval ac_val=\$$ac_var
1927 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1929 $as_echo "$ac_var='\''$ac_val'\''"
1933 if test -n "$ac_subst_files"; then
1934 $as_echo "## ------------------- ##
1935 ## File substitutions. ##
1936 ## ------------------- ##"
1938 for ac_var in $ac_subst_files
1940 eval ac_val=\$$ac_var
1942 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1944 $as_echo "$ac_var='\''$ac_val'\''"
1949 if test -s confdefs.h; then
1950 $as_echo "## ----------- ##
1957 test "$ac_signal" != 0 &&
1958 $as_echo "$as_me: caught signal $ac_signal"
1959 $as_echo "$as_me: exit $exit_status"
1961 rm -f core *.core core.conftest.* &&
1962 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1965 for ac_signal in 1 2 13 15; do
1966 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1970 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1971 rm -f -r conftest* confdefs.h
1973 $as_echo "/* confdefs.h */" > confdefs.h
1975 # Predefined preprocessor variables.
1977 cat >>confdefs.h <<_ACEOF
1978 #define PACKAGE_NAME "$PACKAGE_NAME"
1981 cat >>confdefs.h <<_ACEOF
1982 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1985 cat >>confdefs.h <<_ACEOF
1986 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1989 cat >>confdefs.h <<_ACEOF
1990 #define PACKAGE_STRING "$PACKAGE_STRING"
1993 cat >>confdefs.h <<_ACEOF
1994 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1997 cat >>confdefs.h <<_ACEOF
1998 #define PACKAGE_URL "$PACKAGE_URL"
2002 # Let the site file select an alternate cache file if it wants to.
2003 # Prefer an explicitly selected file to automatically selected ones.
2006 if test -n "$CONFIG_SITE"; then
2007 # We do not want a PATH search for config.site.
2008 case $CONFIG_SITE in #((
2009 -*) ac_site_file1=./$CONFIG_SITE;;
2010 */*) ac_site_file1=$CONFIG_SITE;;
2011 *) ac_site_file1=./$CONFIG_SITE;;
2013 elif test "x$prefix" != xNONE; then
2014 ac_site_file1=$prefix/share/config.site
2015 ac_site_file2=$prefix/etc/config.site
2017 ac_site_file1=$ac_default_prefix/share/config.site
2018 ac_site_file2=$ac_default_prefix/etc/config.site
2020 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2022 test "x$ac_site_file" = xNONE && continue
2023 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2025 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2026 sed 's/^/| /' "$ac_site_file" >&5
2028 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2030 as_fn_error $? "failed to load site script $ac_site_file
2031 See \`config.log' for more details" "$LINENO" 5; }
2035 if test -r "$cache_file"; then
2036 # Some versions of bash will fail to source /dev/null (special files
2037 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2038 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2040 $as_echo "$as_me: loading cache $cache_file" >&6;}
2042 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2043 *) . "./$cache_file";;
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2048 $as_echo "$as_me: creating cache $cache_file" >&6;}
2052 # Check that the precious variables saved in the cache have kept the same
2054 ac_cache_corrupted=false
2055 for ac_var in $ac_precious_vars; do
2056 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2057 eval ac_new_set=\$ac_env_${ac_var}_set
2058 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2059 eval ac_new_val=\$ac_env_${ac_var}_value
2060 case $ac_old_set,$ac_new_set in
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2063 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2064 ac_cache_corrupted=: ;;
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2067 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2068 ac_cache_corrupted=: ;;
2071 if test "x$ac_old_val" != "x$ac_new_val"; then
2072 # differences in whitespace do not lead to failure.
2073 ac_old_val_w=`echo x $ac_old_val`
2074 ac_new_val_w=`echo x $ac_new_val`
2075 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2077 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2078 ac_cache_corrupted=:
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2081 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2082 eval $ac_var=\$ac_old_val
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2085 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2087 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2090 # Pass precious variables to config.status.
2091 if test "$ac_new_set" = set; then
2093 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2094 *) ac_arg=$ac_var=$ac_new_val ;;
2096 case " $ac_configure_args " in
2097 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2098 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2102 if $ac_cache_corrupted; then
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2106 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2107 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2109 ## -------------------- ##
2110 ## Main body of script. ##
2111 ## -------------------- ##
2114 ac_cpp='$CPP $CPPFLAGS'
2115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2121 ac_config_headers="$ac_config_headers config.h"
2125 ac_config_files="$ac_config_files main.mk:main.mk.tmp Dir.mk:Dir.mk.tmp Final.mk:Final.mk.tmp"
2129 _SUBDIRMK_MAKEFILES="$_SUBDIRMK_MAKEFILES subdirmk/regen.mk"
2130 ac_config_files="$ac_config_files subdirmk/regen.mk:subdirmk/regen.mk.in"
2133 _SUBDIRMK_MAKEFILES="$_SUBDIRMK_MAKEFILES subdirmk/usual.mk"
2134 ac_config_files="$ac_config_files subdirmk/usual.mk:subdirmk/usual.mk.in"
2140 subdirmk_subdirs="$subdirmk_subdirs 'test-example/'"
2141 ac_config_files="$ac_config_files test-example/Dir.mk:test-example/Dir.mk.tmp"
2144 subdirmk_subdirs="$subdirmk_subdirs 'mtest/'"
2145 ac_config_files="$ac_config_files mtest/Dir.mk:mtest/Dir.mk.tmp"
2148 subdirmk_subdirs="$subdirmk_subdirs 'stest/'"
2149 ac_config_files="$ac_config_files stest/Dir.mk:stest/Dir.mk.tmp"
2152 subdirmk_subdirs="$subdirmk_subdirs 'base91s/'"
2153 ac_config_files="$ac_config_files base91s/Dir.mk:base91s/Dir.mk.tmp"
2161 ac_cpp='$CPP $CPPFLAGS'
2162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2167 # If fink is on the path then it is assumed we should use it.
2168 # Extract the first word of "fink", so it can be a program name with args.
2169 set dummy fink; ac_word=$2
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2171 $as_echo_n "checking for $ac_word... " >&6; }
2172 if ${ac_cv_path_FINK+:} false; then :
2173 $as_echo_n "(cached) " >&6
2177 ac_cv_path_FINK="$FINK" # Let the user override the test with a path.
2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2184 test -z "$as_dir" && as_dir=.
2185 for ac_exec_ext in '' $ac_executable_extensions; do
2186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2187 ac_cv_path_FINK="$as_dir/$ac_word$ac_exec_ext"
2188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 FINK=$ac_cv_path_FINK
2199 if test -n "$FINK"; then
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FINK" >&5
2201 $as_echo "$FINK" >&6; }
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2204 $as_echo "no" >&6; }
2208 if test "x$FINK" != x; then
2209 finkdir=`echo $FINK|sed 's,/[^/]*/[^/]*$,,'`
2210 CPPFLAGS="-I$finkdir/include ${CPPFLAGS}"
2211 LDFLAGS="-L$finkdir/lib ${LDFLAGS}"
2214 # This is quite unpleasant. It turns out that most header checking
2215 # macros call AC_INCLUDES_DEFAULT. By default AC_INCLUDES_DEFAULT
2216 # implies AC_HEADER_STDC and a bunch of conditional includes. But
2217 # these header checks are obsolete as the documentation for
2218 # AC_HEADER_STDC says. Instead, define AC_INCLUDES_DEFAULT ourselves.
2219 # The list of headers below is the list from `(autoconf) Default
2220 # Includes' (filtered by hand for the modern ones rather than the
2221 # fallbacks). We must include $1 because AC_INCLUDES_DEFAULT is
2222 # called with an argument giving the check-specific haders.
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2226 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2228 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2229 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2230 $as_echo_n "(cached) " >&6
2232 cat >conftest.make <<\_ACEOF
2235 @echo '@@@%%%=$(MAKE)=@@@%%%'
2237 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2238 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2240 eval ac_cv_prog_make_${ac_make}_set=yes;;
2242 eval ac_cv_prog_make_${ac_make}_set=no;;
2246 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2248 $as_echo "yes" >&6; }
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2252 $as_echo "no" >&6; }
2253 SET_MAKE="MAKE=${MAKE-make}"
2257 ac_cpp='$CPP $CPPFLAGS'
2258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2261 if test -n "$ac_tool_prefix"; then
2262 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2263 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2265 $as_echo_n "checking for $ac_word... " >&6; }
2266 if ${ac_cv_prog_CC+:} false; then :
2267 $as_echo_n "(cached) " >&6
2269 if test -n "$CC"; then
2270 ac_cv_prog_CC="$CC" # Let the user override the test.
2272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2276 test -z "$as_dir" && as_dir=.
2277 for ac_exec_ext in '' $ac_executable_extensions; do
2278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2279 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 if test -n "$CC"; then
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2292 $as_echo "$CC" >&6; }
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2295 $as_echo "no" >&6; }
2300 if test -z "$ac_cv_prog_CC"; then
2302 # Extract the first word of "gcc", so it can be a program name with args.
2303 set dummy gcc; ac_word=$2
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2305 $as_echo_n "checking for $ac_word... " >&6; }
2306 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2307 $as_echo_n "(cached) " >&6
2309 if test -n "$ac_ct_CC"; then
2310 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2316 test -z "$as_dir" && as_dir=.
2317 for ac_exec_ext in '' $ac_executable_extensions; do
2318 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2319 ac_cv_prog_ac_ct_CC="gcc"
2320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2329 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2330 if test -n "$ac_ct_CC"; then
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2332 $as_echo "$ac_ct_CC" >&6; }
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2335 $as_echo "no" >&6; }
2338 if test "x$ac_ct_CC" = x; then
2341 case $cross_compiling:$ac_tool_warned in
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2345 ac_tool_warned=yes ;;
2353 if test -z "$CC"; then
2354 if test -n "$ac_tool_prefix"; then
2355 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2356 set dummy ${ac_tool_prefix}cc; ac_word=$2
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2358 $as_echo_n "checking for $ac_word... " >&6; }
2359 if ${ac_cv_prog_CC+:} false; then :
2360 $as_echo_n "(cached) " >&6
2362 if test -n "$CC"; then
2363 ac_cv_prog_CC="$CC" # Let the user override the test.
2365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2369 test -z "$as_dir" && as_dir=.
2370 for ac_exec_ext in '' $ac_executable_extensions; do
2371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2372 ac_cv_prog_CC="${ac_tool_prefix}cc"
2373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2383 if test -n "$CC"; then
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2385 $as_echo "$CC" >&6; }
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2388 $as_echo "no" >&6; }
2394 if test -z "$CC"; then
2395 # Extract the first word of "cc", so it can be a program name with args.
2396 set dummy cc; ac_word=$2
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2398 $as_echo_n "checking for $ac_word... " >&6; }
2399 if ${ac_cv_prog_CC+:} false; then :
2400 $as_echo_n "(cached) " >&6
2402 if test -n "$CC"; then
2403 ac_cv_prog_CC="$CC" # Let the user override the test.
2406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2410 test -z "$as_dir" && as_dir=.
2411 for ac_exec_ext in '' $ac_executable_extensions; do
2412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2413 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2414 ac_prog_rejected=yes
2418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2425 if test $ac_prog_rejected = yes; then
2426 # We found a bogon in the path, so make sure we never use it.
2427 set dummy $ac_cv_prog_CC
2429 if test $# != 0; then
2430 # We chose a different compiler from the bogus one.
2431 # However, it has the same basename, so the bogon will be chosen
2432 # first if we set CC to just the basename; use the full file name.
2434 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2440 if test -n "$CC"; then
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2442 $as_echo "$CC" >&6; }
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2445 $as_echo "no" >&6; }
2450 if test -z "$CC"; then
2451 if test -n "$ac_tool_prefix"; then
2452 for ac_prog in cl.exe
2454 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2455 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2457 $as_echo_n "checking for $ac_word... " >&6; }
2458 if ${ac_cv_prog_CC+:} false; then :
2459 $as_echo_n "(cached) " >&6
2461 if test -n "$CC"; then
2462 ac_cv_prog_CC="$CC" # Let the user override the test.
2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2468 test -z "$as_dir" && as_dir=.
2469 for ac_exec_ext in '' $ac_executable_extensions; do
2470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2471 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 if test -n "$CC"; then
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2484 $as_echo "$CC" >&6; }
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2487 $as_echo "no" >&6; }
2491 test -n "$CC" && break
2494 if test -z "$CC"; then
2496 for ac_prog in cl.exe
2498 # Extract the first word of "$ac_prog", so it can be a program name with args.
2499 set dummy $ac_prog; ac_word=$2
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2501 $as_echo_n "checking for $ac_word... " >&6; }
2502 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2503 $as_echo_n "(cached) " >&6
2505 if test -n "$ac_ct_CC"; then
2506 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512 test -z "$as_dir" && as_dir=.
2513 for ac_exec_ext in '' $ac_executable_extensions; do
2514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2515 ac_cv_prog_ac_ct_CC="$ac_prog"
2516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2525 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2526 if test -n "$ac_ct_CC"; then
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2528 $as_echo "$ac_ct_CC" >&6; }
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2531 $as_echo "no" >&6; }
2535 test -n "$ac_ct_CC" && break
2538 if test "x$ac_ct_CC" = x; then
2541 case $cross_compiling:$ac_tool_warned in
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2544 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2545 ac_tool_warned=yes ;;
2554 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2556 as_fn_error $? "no acceptable C compiler found in \$PATH
2557 See \`config.log' for more details" "$LINENO" 5; }
2559 # Provide some information about the compiler.
2560 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2563 for ac_option in --version -v -V -qversion; do
2564 { { ac_try="$ac_compiler $ac_option >&5"
2566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2567 *) ac_try_echo=$ac_try;;
2569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2570 $as_echo "$ac_try_echo"; } >&5
2571 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2573 if test -s conftest.err; then
2575 ... rest of stderr output deleted ...
2576 10q' conftest.err >conftest.er1
2577 cat conftest.er1 >&5
2579 rm -f conftest.er1 conftest.err
2580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2581 test $ac_status = 0; }
2584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2585 /* end confdefs.h. */
2595 ac_clean_files_save=$ac_clean_files
2596 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2597 # Try to create an executable without -o first, disregard a.out.
2598 # It will help us diagnose broken compilers, and finding out an intuition
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2601 $as_echo_n "checking whether the C compiler works... " >&6; }
2602 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2604 # The possible output files:
2605 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2608 for ac_file in $ac_files
2611 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2612 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2617 if { { ac_try="$ac_link_default"
2619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2620 *) ac_try_echo=$ac_try;;
2622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2623 $as_echo "$ac_try_echo"; } >&5
2624 (eval "$ac_link_default") 2>&5
2626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2627 test $ac_status = 0; }; then :
2628 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2629 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2630 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2631 # so that the user can short-circuit this test for compilers unknown to
2633 for ac_file in $ac_files ''
2635 test -f "$ac_file" || continue
2637 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2640 # We found the default executable, but exeext='' is most
2644 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2646 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2648 # We set ac_cv_exeext here because the later test for it is not
2649 # safe: cross compilers may not add the suffix if given an `-o'
2650 # argument, so we may need to know it at that point already.
2651 # Even if this section looks crufty: it has the advantage of
2658 test "$ac_cv_exeext" = no && ac_cv_exeext=
2663 if test -z "$ac_file"; then :
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2665 $as_echo "no" >&6; }
2666 $as_echo "$as_me: failed program was:" >&5
2667 sed 's/^/| /' conftest.$ac_ext >&5
2669 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2671 as_fn_error 77 "C compiler cannot create executables
2672 See \`config.log' for more details" "$LINENO" 5; }
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2675 $as_echo "yes" >&6; }
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2678 $as_echo_n "checking for C compiler default output file name... " >&6; }
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2680 $as_echo "$ac_file" >&6; }
2681 ac_exeext=$ac_cv_exeext
2683 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2684 ac_clean_files=$ac_clean_files_save
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2686 $as_echo_n "checking for suffix of executables... " >&6; }
2687 if { { ac_try="$ac_link"
2689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2690 *) ac_try_echo=$ac_try;;
2692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2693 $as_echo "$ac_try_echo"; } >&5
2694 (eval "$ac_link") 2>&5
2696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2697 test $ac_status = 0; }; then :
2698 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2699 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2700 # work properly (i.e., refer to `conftest.exe'), while it won't with
2702 for ac_file in conftest.exe conftest conftest.*; do
2703 test -f "$ac_file" || continue
2705 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2706 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2712 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2714 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2715 See \`config.log' for more details" "$LINENO" 5; }
2717 rm -f conftest conftest$ac_cv_exeext
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2719 $as_echo "$ac_cv_exeext" >&6; }
2721 rm -f conftest.$ac_ext
2722 EXEEXT=$ac_cv_exeext
2724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2725 /* end confdefs.h. */
2730 FILE *f = fopen ("conftest.out", "w");
2731 return ferror (f) || fclose (f) != 0;
2737 ac_clean_files="$ac_clean_files conftest.out"
2738 # Check that the compiler produces executables we can run. If not, either
2739 # the compiler is broken, or we cross compile.
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2741 $as_echo_n "checking whether we are cross compiling... " >&6; }
2742 if test "$cross_compiling" != yes; then
2743 { { ac_try="$ac_link"
2745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2746 *) ac_try_echo=$ac_try;;
2748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2749 $as_echo "$ac_try_echo"; } >&5
2750 (eval "$ac_link") 2>&5
2752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2753 test $ac_status = 0; }
2754 if { ac_try='./conftest$ac_cv_exeext'
2755 { { case "(($ac_try" in
2756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757 *) ac_try_echo=$ac_try;;
2759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2760 $as_echo "$ac_try_echo"; } >&5
2761 (eval "$ac_try") 2>&5
2763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2764 test $ac_status = 0; }; }; then
2767 if test "$cross_compiling" = maybe; then
2770 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2772 as_fn_error $? "cannot run C compiled programs.
2773 If you meant to cross compile, use \`--host'.
2774 See \`config.log' for more details" "$LINENO" 5; }
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2779 $as_echo "$cross_compiling" >&6; }
2781 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2782 ac_clean_files=$ac_clean_files_save
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2784 $as_echo_n "checking for suffix of object files... " >&6; }
2785 if ${ac_cv_objext+:} false; then :
2786 $as_echo_n "(cached) " >&6
2788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2789 /* end confdefs.h. */
2799 rm -f conftest.o conftest.obj
2800 if { { ac_try="$ac_compile"
2802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2803 *) ac_try_echo=$ac_try;;
2805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2806 $as_echo "$ac_try_echo"; } >&5
2807 (eval "$ac_compile") 2>&5
2809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2810 test $ac_status = 0; }; then :
2811 for ac_file in conftest.o conftest.obj conftest.*; do
2812 test -f "$ac_file" || continue;
2814 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2815 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2820 $as_echo "$as_me: failed program was:" >&5
2821 sed 's/^/| /' conftest.$ac_ext >&5
2823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2825 as_fn_error $? "cannot compute suffix of object files: cannot compile
2826 See \`config.log' for more details" "$LINENO" 5; }
2828 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2831 $as_echo "$ac_cv_objext" >&6; }
2832 OBJEXT=$ac_cv_objext
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2835 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2836 if ${ac_cv_c_compiler_gnu+:} false; then :
2837 $as_echo_n "(cached) " >&6
2839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2840 /* end confdefs.h. */
2853 if ac_fn_c_try_compile "$LINENO"; then :
2858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2859 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2863 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2864 if test $ac_compiler_gnu = yes; then
2869 ac_test_CFLAGS=${CFLAGS+set}
2870 ac_save_CFLAGS=$CFLAGS
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2872 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2873 if ${ac_cv_prog_cc_g+:} false; then :
2874 $as_echo_n "(cached) " >&6
2876 ac_save_c_werror_flag=$ac_c_werror_flag
2877 ac_c_werror_flag=yes
2880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881 /* end confdefs.h. */
2891 if ac_fn_c_try_compile "$LINENO"; then :
2895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2896 /* end confdefs.h. */
2906 if ac_fn_c_try_compile "$LINENO"; then :
2909 ac_c_werror_flag=$ac_save_c_werror_flag
2911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2912 /* end confdefs.h. */
2922 if ac_fn_c_try_compile "$LINENO"; then :
2925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 ac_c_werror_flag=$ac_save_c_werror_flag
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2933 $as_echo "$ac_cv_prog_cc_g" >&6; }
2934 if test "$ac_test_CFLAGS" = set; then
2935 CFLAGS=$ac_save_CFLAGS
2936 elif test $ac_cv_prog_cc_g = yes; then
2937 if test "$GCC" = yes; then
2943 if test "$GCC" = yes; then
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2950 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2951 if ${ac_cv_prog_cc_c89+:} false; then :
2952 $as_echo_n "(cached) " >&6
2954 ac_cv_prog_cc_c89=no
2956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2957 /* end confdefs.h. */
2961 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2962 struct buf { int x; };
2963 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2964 static char *e (p, i)
2970 static char *f (char * (*g) (char **, int), char **p, ...)
2975 s = g (p, va_arg (v,int));
2980 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2981 function prototypes and stuff, but not '\xHH' hex character constants.
2982 These don't provoke an error unfortunately, instead are silently treated
2983 as 'x'. The following induces an error, until -std is added to get
2984 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2985 array size at least. It's necessary to write '\x00'==0 to get something
2986 that's true only with -std. */
2987 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2989 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2990 inside strings and character constants. */
2992 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2994 int test (int i, double x);
2995 struct s1 {int (*f) (int a);};
2996 struct s2 {int (*f) (double a);};
2997 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3003 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3008 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3009 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3011 CC="$ac_save_CC $ac_arg"
3012 if ac_fn_c_try_compile "$LINENO"; then :
3013 ac_cv_prog_cc_c89=$ac_arg
3015 rm -f core conftest.err conftest.$ac_objext
3016 test "x$ac_cv_prog_cc_c89" != "xno" && break
3018 rm -f conftest.$ac_ext
3023 case "x$ac_cv_prog_cc_c89" in
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3026 $as_echo "none needed" >&6; } ;;
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3029 $as_echo "unsupported" >&6; } ;;
3031 CC="$CC $ac_cv_prog_cc_c89"
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3033 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3035 if test "x$ac_cv_prog_cc_c89" != xno; then :
3040 ac_cpp='$CPP $CPPFLAGS'
3041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3046 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3047 if test -f "$ac_dir/install-sh"; then
3049 ac_install_sh="$ac_aux_dir/install-sh -c"
3051 elif test -f "$ac_dir/install.sh"; then
3053 ac_install_sh="$ac_aux_dir/install.sh -c"
3055 elif test -f "$ac_dir/shtool"; then
3057 ac_install_sh="$ac_aux_dir/shtool install -c"
3061 if test -z "$ac_aux_dir"; then
3062 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3065 # These three variables are undocumented and unsupported,
3066 # and are intended to be withdrawn in a future Autoconf release.
3067 # They can cause serious problems if a builder's source tree is in a directory
3068 # whose full name contains unusual characters.
3069 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3070 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3071 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3074 # Find a good install program. We prefer a C program (faster),
3075 # so one script is as good as another. But avoid the broken or
3076 # incompatible versions:
3077 # SysV /etc/install, /usr/sbin/install
3078 # SunOS /usr/etc/install
3079 # IRIX /sbin/install
3081 # AmigaOS /C/install, which installs bootblocks on floppy discs
3082 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3083 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3084 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3085 # OS/2's system install, which has a completely different semantic
3086 # ./install, which can be erroneously created by make from ./install.sh.
3087 # Reject install programs that cannot install multiple files.
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3089 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3090 if test -z "$INSTALL"; then
3091 if ${ac_cv_path_install+:} false; then :
3092 $as_echo_n "(cached) " >&6
3094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3098 test -z "$as_dir" && as_dir=.
3099 # Account for people who put trailing slashes in PATH elements.
3100 case $as_dir/ in #((
3101 ./ | .// | /[cC]/* | \
3102 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3103 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3106 # OSF1 and SCO ODT 3.0 have their own names for install.
3107 # Don't use installbsd from OSF since it installs stuff as root
3109 for ac_prog in ginstall scoinst install; do
3110 for ac_exec_ext in '' $ac_executable_extensions; do
3111 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3112 if test $ac_prog = install &&
3113 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3114 # AIX install. It has an incompatible calling convention.
3116 elif test $ac_prog = install &&
3117 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3118 # program-specific install script used by HP pwplus--don't use.
3121 rm -rf conftest.one conftest.two conftest.dir
3122 echo one > conftest.one
3123 echo two > conftest.two
3125 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3126 test -s conftest.one && test -s conftest.two &&
3127 test -s conftest.dir/conftest.one &&
3128 test -s conftest.dir/conftest.two
3130 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3143 rm -rf conftest.one conftest.two conftest.dir
3146 if test "${ac_cv_path_install+set}" = set; then
3147 INSTALL=$ac_cv_path_install
3149 # As a last resort, use the slow shell script. Don't cache a
3150 # value for INSTALL within a source directory, because that will
3151 # break other packages using the cache if that directory is
3152 # removed, or if the value is a relative name.
3153 INSTALL=$ac_install_sh
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3157 $as_echo "$INSTALL" >&6; }
3159 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3160 # It thinks the first close brace ends the variable substitution.
3161 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3163 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3165 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3169 ac_cpp='$CPP $CPPFLAGS'
3170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3174 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3175 # On Suns, sometimes $CPP names a directory.
3176 if test -n "$CPP" && test -d "$CPP"; then
3179 if test -z "$CPP"; then
3180 if ${ac_cv_prog_CPP+:} false; then :
3181 $as_echo_n "(cached) " >&6
3183 # Double quotes because CPP needs to be expanded
3184 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3187 for ac_c_preproc_warn_flag in '' yes
3189 # Use a header file that comes with gcc, so configuring glibc
3190 # with a fresh cross-compiler works.
3191 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3192 # <limits.h> exists even on freestanding compilers.
3193 # On the NeXT, cc -E runs the code through the compiler's parser,
3194 # not just through cpp. "Syntax error" is here to catch this case.
3195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3196 /* end confdefs.h. */
3198 # include <limits.h>
3200 # include <assert.h>
3204 if ac_fn_c_try_cpp "$LINENO"; then :
3207 # Broken: fails on valid input.
3210 rm -f conftest.err conftest.i conftest.$ac_ext
3212 # OK, works on sane cases. Now check whether nonexistent headers
3213 # can be detected and how.
3214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3215 /* end confdefs.h. */
3216 #include <ac_nonexistent.h>
3218 if ac_fn_c_try_cpp "$LINENO"; then :
3219 # Broken: success on invalid input.
3222 # Passes both tests.
3226 rm -f conftest.err conftest.i conftest.$ac_ext
3229 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3230 rm -f conftest.i conftest.err conftest.$ac_ext
3231 if $ac_preproc_ok; then :
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3244 $as_echo "$CPP" >&6; }
3246 for ac_c_preproc_warn_flag in '' yes
3248 # Use a header file that comes with gcc, so configuring glibc
3249 # with a fresh cross-compiler works.
3250 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3251 # <limits.h> exists even on freestanding compilers.
3252 # On the NeXT, cc -E runs the code through the compiler's parser,
3253 # not just through cpp. "Syntax error" is here to catch this case.
3254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3255 /* end confdefs.h. */
3257 # include <limits.h>
3259 # include <assert.h>
3263 if ac_fn_c_try_cpp "$LINENO"; then :
3266 # Broken: fails on valid input.
3269 rm -f conftest.err conftest.i conftest.$ac_ext
3271 # OK, works on sane cases. Now check whether nonexistent headers
3272 # can be detected and how.
3273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3274 /* end confdefs.h. */
3275 #include <ac_nonexistent.h>
3277 if ac_fn_c_try_cpp "$LINENO"; then :
3278 # Broken: success on invalid input.
3281 # Passes both tests.
3285 rm -f conftest.err conftest.i conftest.$ac_ext
3288 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3289 rm -f conftest.i conftest.err conftest.$ac_ext
3290 if $ac_preproc_ok; then :
3293 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3295 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3296 See \`config.log' for more details" "$LINENO" 5; }
3300 ac_cpp='$CPP $CPPFLAGS'
3301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3306 for ac_header in net/if.h net/route.h
3308 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3309 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "
3310 # include <sys/types.h>
3311 # include <sys/stat.h>
3312 # include <stdlib.h>
3313 # include <stddef.h>
3314 # include <string.h>
3315 # include <inttypes.h>
3316 # include <stdint.h>
3317 # include <unistd.h>
3320 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3321 cat >>confdefs.h <<_ACEOF
3322 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3329 for ac_header in sys/socket.h
3331 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "
3332 # include <sys/types.h>
3333 # include <sys/stat.h>
3334 # include <stdlib.h>
3335 # include <stddef.h>
3336 # include <string.h>
3337 # include <inttypes.h>
3338 # include <stdint.h>
3339 # include <unistd.h>
3342 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
3343 cat >>confdefs.h <<_ACEOF
3344 #define HAVE_SYS_SOCKET_H 1
3351 for ac_header in linux/if_tun.h
3353 ac_fn_c_check_header_compile "$LINENO" "linux/if_tun.h" "ac_cv_header_linux_if_tun_h" "
3354 # include <sys/types.h>
3355 # include <sys/stat.h>
3356 # include <stdlib.h>
3357 # include <stddef.h>
3358 # include <string.h>
3359 # include <inttypes.h>
3360 # include <stdint.h>
3361 # include <unistd.h>
3362 #if HAVE_SYS_SOCKET_H
3363 # include <sys/socket.h>
3367 if test "x$ac_cv_header_linux_if_tun_h" = xyes; then :
3368 cat >>confdefs.h <<_ACEOF
3369 #define HAVE_LINUX_IF_TUN_H 1
3376 for ac_header in stropts.h sys/sockio.h net/if_tun.h
3378 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3379 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "
3380 # include <sys/types.h>
3381 # include <sys/stat.h>
3382 # include <stdlib.h>
3383 # include <stddef.h>
3384 # include <string.h>
3385 # include <inttypes.h>
3386 # include <stdint.h>
3387 # include <unistd.h>
3390 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3391 cat >>confdefs.h <<_ACEOF
3392 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3400 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3401 if ${ac_cv_c_bigendian+:} false; then :
3402 $as_echo_n "(cached) " >&6
3404 ac_cv_c_bigendian=unknown
3405 # See if we're dealing with a universal compiler.
3406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3407 /* end confdefs.h. */
3408 #ifndef __APPLE_CC__
3409 not a universal capable compiler
3414 if ac_fn_c_try_compile "$LINENO"; then :
3416 # Check for potential -arch flags. It is not universal unless
3417 # there are at least two -arch flags with different values.
3420 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3421 if test -n "$ac_prev"; then
3423 i?86 | x86_64 | ppc | ppc64)
3424 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
3427 ac_cv_c_bigendian=universal
3433 elif test "x$ac_word" = "x-arch"; then
3438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3439 if test $ac_cv_c_bigendian = unknown; then
3440 # See if sys/param.h defines the BYTE_ORDER macro.
3441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3442 /* end confdefs.h. */
3443 #include <sys/types.h>
3444 #include <sys/param.h>
3449 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3450 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3459 if ac_fn_c_try_compile "$LINENO"; then :
3460 # It does; now see whether it defined to BIG_ENDIAN or not.
3461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h. */
3463 #include <sys/types.h>
3464 #include <sys/param.h>
3469 #if BYTE_ORDER != BIG_ENDIAN
3477 if ac_fn_c_try_compile "$LINENO"; then :
3478 ac_cv_c_bigendian=yes
3480 ac_cv_c_bigendian=no
3482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3486 if test $ac_cv_c_bigendian = unknown; then
3487 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489 /* end confdefs.h. */
3495 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
3503 if ac_fn_c_try_compile "$LINENO"; then :
3504 # It does; now see whether it defined to _BIG_ENDIAN or not.
3505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3506 /* end confdefs.h. */
3520 if ac_fn_c_try_compile "$LINENO"; then :
3521 ac_cv_c_bigendian=yes
3523 ac_cv_c_bigendian=no
3525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3529 if test $ac_cv_c_bigendian = unknown; then
3530 # Compile a test program.
3531 if test "$cross_compiling" = yes; then :
3532 # Try to guess by grepping values from an object file.
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h. */
3535 short int ascii_mm[] =
3536 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3537 short int ascii_ii[] =
3538 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3539 int use_ascii (int i) {
3540 return ascii_mm[i] + ascii_ii[i];
3542 short int ebcdic_ii[] =
3543 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3544 short int ebcdic_mm[] =
3545 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3546 int use_ebcdic (int i) {
3547 return ebcdic_mm[i] + ebcdic_ii[i];
3554 return use_ascii (foo) == use_ebcdic (foo);
3559 if ac_fn_c_try_compile "$LINENO"; then :
3560 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
3561 ac_cv_c_bigendian=yes
3563 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
3564 if test "$ac_cv_c_bigendian" = unknown; then
3565 ac_cv_c_bigendian=no
3567 # finding both strings is unlikely to happen, but who knows?
3568 ac_cv_c_bigendian=unknown
3572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3575 /* end confdefs.h. */
3577 # include <sys/types.h>
3578 # include <sys/stat.h>
3579 # include <stdlib.h>
3580 # include <stddef.h>
3581 # include <string.h>
3582 # include <inttypes.h>
3583 # include <stdint.h>
3584 # include <unistd.h>
3591 /* Are we little or big endian? From Harbison&Steele. */
3595 char c[sizeof (long int)];
3598 return u.c[sizeof (long int) - 1] == 1;
3604 if ac_fn_c_try_run "$LINENO"; then :
3605 ac_cv_c_bigendian=no
3607 ac_cv_c_bigendian=yes
3609 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3610 conftest.$ac_objext conftest.beam conftest.$ac_ext
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
3616 $as_echo "$ac_cv_c_bigendian" >&6; }
3617 case $ac_cv_c_bigendian in #(
3619 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
3625 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
3629 as_fn_error $? "unknown endianness
3630 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
3635 if test -z "$hard"; then
3636 msg="C to warn about writing to stringliterals"
3638 msg="C to prohibit any write to stringliterals"
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $msg" >&5
3641 $as_echo_n "checking $msg... " >&6; }
3642 if ${ac_cv_prog_cc_no_writeable_strings+:} false; then :
3643 $as_echo_n "(cached) " >&6
3646 cat > conftest.c <<EOF
3651 if (strcpy (test, "test")) return 0;
3655 if test "$GCC" = "yes";
3657 if test -z "$hard"; then
3658 ac_cv_prog_cc_no_writeable_strings="-Wwrite-strings"
3660 ac_cv_prog_cc_no_writeable_strings="-fno-writable-strings -Wwrite-strings"
3663 if test -n "`${CC-cc} -c $ac_cv_prog_cc_no_writeable_strings conftest.c 2>&1`" ; then
3664 ac_cv_prog_cc_no_writeable_strings="suppressed: string.h"
3667 elif $CC -flags 2>&1 | grep "Xc.*strict ANSI C" > /dev/null 2>&1 &&
3668 $CC -c -xstrconst conftest.c > /dev/null 2>&1 &&
3671 # strings go into readonly segment
3672 ac_cv_prog_cc_no_writeable_strings="-xstrconst"
3675 if test -n "`${CC-cc} -c $ac_cv_prog_cc_no_writeable_strings conftest.c 2>&1`" ; then
3676 ac_cv_prog_cc_no_writeable_strings="suppressed: string.h"
3679 elif $CC > /dev/null 2>&1 &&
3680 $CC -c +ESlit conftest.c > /dev/null 2>&1 &&
3683 # strings go into readonly segment
3684 ac_cv_prog_cc_no_writeable_strings="+ESlit"
3687 if test -n "`${CC-cc} -c $ac_cv_prog_cc_no_writeable_strings conftest.c 2>&1`" ; then
3688 ac_cv_prog_cc_no_writeable_strings="suppressed: string.h"
3691 elif ! $CC > /dev/null 2>&1 &&
3692 $CC -c -readonly_strings conftest.c > /dev/null 2>&1 &&
3695 # strings go into readonly segment
3696 ac_cv_prog_cc_no_writeable_strings="-readonly_strings"
3699 if test -n "`${CC-cc} -c $ac_cv_prog_cc_no_writeable_strings conftest.c 2>&1`" ; then
3700 ac_cv_prog_cc_no_writeable_strings="suppressed: string.h"
3704 # -use_readonly_const is the default for IRIX C,
3705 # puts them into .rodata, but they are copied later.
3706 # need to be "-G0 -rdatashared" for strictmode but
3707 # I am not sure what effect that has really.
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_no_writeable_strings" >&5
3714 $as_echo "$ac_cv_prog_cc_no_writeable_strings" >&6; }
3715 if test -z "$WRITESTRINGS" ; then
3716 if test -n "$ac_cv_prog_cc_no_writeable_strings" ; then
3717 case "$ac_cv_prog_cc_no_writeable_strings" in
3718 suppressed*) WRITESTRINGS="" ;; # known but suppressed
3719 *) WRITESTRINGS="$ac_cv_prog_cc_no_writeable_strings" ;;
3726 # Check whether --enable-hacky-parallel was given.
3727 if test "${enable_hacky_parallel+set}" = set; then :
3728 enableval=$enable_hacky_parallel;
3729 case "$enableval" in
3731 y|1|yes) CFLAGS="$CFLAGS -DHACKY_PARALLEL" ;;
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpz_init_set_str in -lgmp" >&5
3741 $as_echo_n "checking for mpz_init_set_str in -lgmp... " >&6; }
3742 if ${ac_cv_lib_gmp_mpz_init_set_str+:} false; then :
3743 $as_echo_n "(cached) " >&6
3745 ac_check_lib_save_LIBS=$LIBS
3747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3748 /* end confdefs.h. */
3750 /* Override any GCC internal prototype to avoid an error.
3751 Use char because int might match the return type of a GCC
3752 builtin and then its argument prototype would still apply. */
3756 char mpz_init_set_str ();
3760 return mpz_init_set_str ();
3765 if ac_fn_c_try_link "$LINENO"; then :
3766 ac_cv_lib_gmp_mpz_init_set_str=yes
3768 ac_cv_lib_gmp_mpz_init_set_str=no
3770 rm -f core conftest.err conftest.$ac_objext \
3771 conftest$ac_exeext conftest.$ac_ext
3772 LIBS=$ac_check_lib_save_LIBS
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_mpz_init_set_str" >&5
3775 $as_echo "$ac_cv_lib_gmp_mpz_init_set_str" >&6; }
3776 if test "x$ac_cv_lib_gmp_mpz_init_set_str" = xyes; then :
3777 cat >>confdefs.h <<_ACEOF
3778 #define HAVE_LIBGMP 1
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpz_init_set_str in -lgmp2" >&5
3786 $as_echo_n "checking for mpz_init_set_str in -lgmp2... " >&6; }
3787 if ${ac_cv_lib_gmp2_mpz_init_set_str+:} false; then :
3788 $as_echo_n "(cached) " >&6
3790 ac_check_lib_save_LIBS=$LIBS
3792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3793 /* end confdefs.h. */
3795 /* Override any GCC internal prototype to avoid an error.
3796 Use char because int might match the return type of a GCC
3797 builtin and then its argument prototype would still apply. */
3801 char mpz_init_set_str ();
3805 return mpz_init_set_str ();
3810 if ac_fn_c_try_link "$LINENO"; then :
3811 ac_cv_lib_gmp2_mpz_init_set_str=yes
3813 ac_cv_lib_gmp2_mpz_init_set_str=no
3815 rm -f core conftest.err conftest.$ac_objext \
3816 conftest$ac_exeext conftest.$ac_ext
3817 LIBS=$ac_check_lib_save_LIBS
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp2_mpz_init_set_str" >&5
3820 $as_echo "$ac_cv_lib_gmp2_mpz_init_set_str" >&6; }
3821 if test "x$ac_cv_lib_gmp2_mpz_init_set_str" = xyes; then :
3822 cat >>confdefs.h <<_ACEOF
3823 #define HAVE_LIBGMP2 1
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init_set_str in -lgmp" >&5
3831 $as_echo_n "checking for __gmpz_init_set_str in -lgmp... " >&6; }
3832 if ${ac_cv_lib_gmp___gmpz_init_set_str+:} false; then :
3833 $as_echo_n "(cached) " >&6
3835 ac_check_lib_save_LIBS=$LIBS
3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3838 /* end confdefs.h. */
3840 /* Override any GCC internal prototype to avoid an error.
3841 Use char because int might match the return type of a GCC
3842 builtin and then its argument prototype would still apply. */
3846 char __gmpz_init_set_str ();
3850 return __gmpz_init_set_str ();
3855 if ac_fn_c_try_link "$LINENO"; then :
3856 ac_cv_lib_gmp___gmpz_init_set_str=yes
3858 ac_cv_lib_gmp___gmpz_init_set_str=no
3860 rm -f core conftest.err conftest.$ac_objext \
3861 conftest$ac_exeext conftest.$ac_ext
3862 LIBS=$ac_check_lib_save_LIBS
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init_set_str" >&5
3865 $as_echo "$ac_cv_lib_gmp___gmpz_init_set_str" >&6; }
3866 if test "x$ac_cv_lib_gmp___gmpz_init_set_str" = xyes; then :
3867 cat >>confdefs.h <<_ACEOF
3868 #define HAVE_LIBGMP 1
3875 ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "
3876 # include <sys/types.h>
3877 # include <sys/stat.h>
3878 # include <stdlib.h>
3879 # include <stddef.h>
3880 # include <string.h>
3881 # include <inttypes.h>
3882 # include <stdint.h>
3883 # include <unistd.h>
3886 if test "x$ac_cv_header_gmp_h" = xyes; then :
3889 as_fn_error $? "gmp.h not found" "$LINENO" 5
3895 ac_fn_c_check_func "$LINENO" "inet_ntoa" "ac_cv_func_inet_ntoa"
3896 if test "x$ac_cv_func_inet_ntoa" = xyes; then :
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lnsl" >&5
3901 $as_echo_n "checking for inet_ntoa in -lnsl... " >&6; }
3902 if ${ac_cv_lib_nsl_inet_ntoa+:} false; then :
3903 $as_echo_n "(cached) " >&6
3905 ac_check_lib_save_LIBS=$LIBS
3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h. */
3910 /* Override any GCC internal prototype to avoid an error.
3911 Use char because int might match the return type of a GCC
3912 builtin and then its argument prototype would still apply. */
3920 return inet_ntoa ();
3925 if ac_fn_c_try_link "$LINENO"; then :
3926 ac_cv_lib_nsl_inet_ntoa=yes
3928 ac_cv_lib_nsl_inet_ntoa=no
3930 rm -f core conftest.err conftest.$ac_objext \
3931 conftest$ac_exeext conftest.$ac_ext
3932 LIBS=$ac_check_lib_save_LIBS
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_ntoa" >&5
3935 $as_echo "$ac_cv_lib_nsl_inet_ntoa" >&6; }
3936 if test "x$ac_cv_lib_nsl_inet_ntoa" = xyes; then :
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: inet_ntoa is in libnsl, urgh. Must use -lnsl." >&5
3940 $as_echo "$as_me: WARNING: inet_ntoa is in libnsl, urgh. Must use -lnsl." >&2;}
3944 as_fn_error $? "cannot find library function inet_ntoa" "$LINENO" 5
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
3954 $as_echo_n "checking for socket in -lsocket... " >&6; }
3955 if ${ac_cv_lib_socket_socket+:} false; then :
3956 $as_echo_n "(cached) " >&6
3958 ac_check_lib_save_LIBS=$LIBS
3959 LIBS="-lsocket $LIBS"
3960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3961 /* end confdefs.h. */
3963 /* Override any GCC internal prototype to avoid an error.
3964 Use char because int might match the return type of a GCC
3965 builtin and then its argument prototype would still apply. */
3978 if ac_fn_c_try_link "$LINENO"; then :
3979 ac_cv_lib_socket_socket=yes
3981 ac_cv_lib_socket_socket=no
3983 rm -f core conftest.err conftest.$ac_objext \
3984 conftest$ac_exeext conftest.$ac_ext
3985 LIBS=$ac_check_lib_save_LIBS
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
3988 $as_echo "$ac_cv_lib_socket_socket" >&6; }
3989 if test "x$ac_cv_lib_socket_socket" = xyes; then :
3990 cat >>confdefs.h <<_ACEOF
3991 #define HAVE_LIBSOCKET 1
3994 LIBS="-lsocket $LIBS"
4000 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
4001 if test "x$ac_cv_func_inet_aton" = xyes; then :
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv" >&5
4006 $as_echo_n "checking for inet_aton in -lresolv... " >&6; }
4007 if ${ac_cv_lib_resolv_inet_aton+:} false; then :
4008 $as_echo_n "(cached) " >&6
4010 ac_check_lib_save_LIBS=$LIBS
4011 LIBS="-lresolv $LIBS"
4012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4013 /* end confdefs.h. */
4015 /* Override any GCC internal prototype to avoid an error.
4016 Use char because int might match the return type of a GCC
4017 builtin and then its argument prototype would still apply. */
4025 return inet_aton ();
4030 if ac_fn_c_try_link "$LINENO"; then :
4031 ac_cv_lib_resolv_inet_aton=yes
4033 ac_cv_lib_resolv_inet_aton=no
4035 rm -f core conftest.err conftest.$ac_objext \
4036 conftest$ac_exeext conftest.$ac_ext
4037 LIBS=$ac_check_lib_save_LIBS
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton" >&5
4040 $as_echo "$ac_cv_lib_resolv_inet_aton" >&6; }
4041 if test "x$ac_cv_lib_resolv_inet_aton" = xyes; then :
4043 LIBS="-lresolv $LIBS";
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: inet_aton is in libresolv, urgh. Must use -lresolv." >&5
4045 $as_echo "$as_me: WARNING: inet_aton is in libresolv, urgh. Must use -lresolv." >&2;}
4049 as_fn_error $? "cannot find library function inet_aton" "$LINENO" 5
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for adns_init in -ladns" >&5
4059 $as_echo_n "checking for adns_init in -ladns... " >&6; }
4060 if ${ac_cv_lib_adns_adns_init+:} false; then :
4061 $as_echo_n "(cached) " >&6
4063 ac_check_lib_save_LIBS=$LIBS
4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h. */
4068 /* Override any GCC internal prototype to avoid an error.
4069 Use char because int might match the return type of a GCC
4070 builtin and then its argument prototype would still apply. */
4078 return adns_init ();
4083 if ac_fn_c_try_link "$LINENO"; then :
4084 ac_cv_lib_adns_adns_init=yes
4086 ac_cv_lib_adns_adns_init=no
4088 rm -f core conftest.err conftest.$ac_objext \
4089 conftest$ac_exeext conftest.$ac_ext
4090 LIBS=$ac_check_lib_save_LIBS
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_adns_adns_init" >&5
4093 $as_echo "$ac_cv_lib_adns_adns_init" >&6; }
4094 if test "x$ac_cv_lib_adns_adns_init" = xyes; then :
4095 cat >>confdefs.h <<_ACEOF
4096 #define HAVE_LIBADNS 1
4103 ac_fn_c_check_header_mongrel "$LINENO" "adns.h" "ac_cv_header_adns_h" "
4104 # include <sys/types.h>
4105 # include <sys/stat.h>
4106 # include <stdlib.h>
4107 # include <stddef.h>
4108 # include <string.h>
4109 # include <inttypes.h>
4110 # include <stdint.h>
4111 # include <unistd.h>
4114 if test "x$ac_cv_header_adns_h" = xyes; then :
4117 as_fn_error $? "adns.h not found" "$LINENO" 5
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking requirements for IPv6 support..." >&5
4123 $as_echo "$as_me: Checking requirements for IPv6 support..." >&6;}
4126 ac_fn_c_check_decl "$LINENO" "AF_INET6" "ac_cv_have_decl_AF_INET6" "
4127 # include <sys/types.h>
4128 # include <sys/stat.h>
4129 # include <stdlib.h>
4130 # include <stddef.h>
4131 # include <string.h>
4132 # include <inttypes.h>
4133 # include <stdint.h>
4134 # include <unistd.h>
4135 #include <netinet/in.h>
4137 if test "x$ac_cv_have_decl_AF_INET6" = xyes; then :
4143 ac_fn_c_check_func "$LINENO" "adns_addr2text" "ac_cv_func_adns_addr2text"
4144 if test "x$ac_cv_func_adns_addr2text" = xyes; then :
4150 if $enable_ipv6; then
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling IPv6 support" >&5
4152 $as_echo "$as_me: Enabling IPv6 support" >&6;}
4154 $as_echo "#define CONFIG_IPV6 1" >>confdefs.h
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling IPv6 support" >&5
4158 $as_echo "$as_me: WARNING: Disabling IPv6 support" >&2;}
4163 _SUBDIRMK_MAKEFILES="$_SUBDIRMK_MAKEFILES common.make"
4164 ac_config_files="$ac_config_files common.make:common.make.in"
4168 ac_config_commands="$ac_config_commands default"
4170 cat >confcache <<\_ACEOF
4171 # This file is a shell script that caches the results of configure
4172 # tests run on this system so they can be shared between configure
4173 # scripts and configure runs, see configure's option --config-cache.
4174 # It is not useful on other systems. If it contains results you don't
4175 # want to keep, you may remove or edit it.
4177 # config.status only pays attention to the cache file if you give it
4178 # the --recheck option to rerun configure.
4180 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4181 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4186 # The following way of writing the cache mishandles newlines in values,
4187 # but we know of no workaround that is simple, portable, and efficient.
4188 # So, we kill variables containing newlines.
4189 # Ultrix sh set writes to stderr and can't be redirected directly,
4190 # and sets the high bit in the cache file unless we assign to the vars.
4192 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4193 eval ac_val=\$$ac_var
4197 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4198 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4201 _ | IFS | as_nl) ;; #(
4202 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4203 *) { eval $ac_var=; unset $ac_var;} ;;
4209 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4210 *${as_nl}ac_space=\ *)
4211 # `set' does not quote correctly, so add quotes: double-quote
4212 # substitution turns \\\\ into \\, and sed turns \\ into \.
4215 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4218 # `set' quotes correctly as required by POSIX, so do not add quotes.
4219 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4228 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4230 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4232 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4233 if test -w "$cache_file"; then
4234 if test "x$cache_file" != "x/dev/null"; then
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4236 $as_echo "$as_me: updating cache $cache_file" >&6;}
4237 if test ! -f "$cache_file" || test -h "$cache_file"; then
4238 cat confcache >"$cache_file"
4240 case $cache_file in #(
4242 mv -f confcache "$cache_file"$$ &&
4243 mv -f "$cache_file"$$ "$cache_file" ;; #(
4245 mv -f confcache "$cache_file" ;;
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4251 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4256 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4257 # Let make expand exec_prefix.
4258 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4260 DEFS=-DHAVE_CONFIG_H
4265 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4266 # 1. Remove the extension, and $U if already installed.
4267 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4268 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4269 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4270 # will be set to the directory where LIBOBJS objects are built.
4271 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4272 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4276 LTLIBOBJS=$ac_ltlibobjs
4281 : "${CONFIG_STATUS=./config.status}"
4283 ac_clean_files_save=$ac_clean_files
4284 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4286 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4288 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4290 # Generated by $as_me.
4291 # Run this file to recreate the current configuration.
4292 # Compiler output produced by configure, useful for debugging
4293 # configure, is in config.log if it exists.
4299 SHELL=\${CONFIG_SHELL-$SHELL}
4302 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4303 ## -------------------- ##
4304 ## M4sh Initialization. ##
4305 ## -------------------- ##
4307 # Be more Bourne compatible
4308 DUALCASE=1; export DUALCASE # for MKS sh
4309 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4312 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4313 # is contrary to our usage. Disable this feature.
4314 alias -g '${1+"$@"}'='"$@"'
4315 setopt NO_GLOB_SUBST
4317 case `(set -o) 2>/dev/null` in #(
4329 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4330 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4331 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4332 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4333 # Prefer a ksh shell builtin over an external printf program on Solaris,
4334 # but without wasting forks for bash or zsh.
4335 if test -z "$BASH_VERSION$ZSH_VERSION" \
4336 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4337 as_echo='print -r --'
4338 as_echo_n='print -rn --'
4339 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4340 as_echo='printf %s\n'
4341 as_echo_n='printf %s'
4343 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4344 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4345 as_echo_n='/usr/ucb/echo -n'
4347 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4348 as_echo_n_body='eval
4352 expr "X$arg" : "X\\(.*\\)$as_nl";
4353 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4355 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4357 export as_echo_n_body
4358 as_echo_n='sh -c $as_echo_n_body as_echo'
4361 as_echo='sh -c $as_echo_body as_echo'
4364 # The user is always right.
4365 if test "${PATH_SEPARATOR+set}" != set; then
4367 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4368 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4375 # We need space, tab and new line, in precisely that order. Quoting is
4376 # there to prevent editors from complaining about space-tab.
4377 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4378 # splitting by setting IFS to empty value.)
4381 # Find who we are. Look in the path if we contain no directory separator.
4384 *[\\/]* ) as_myself=$0 ;;
4385 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4389 test -z "$as_dir" && as_dir=.
4390 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4396 # We did not find ourselves, most probably we were run as `sh COMMAND'
4397 # in which case we are not to be found in the path.
4398 if test "x$as_myself" = x; then
4401 if test ! -f "$as_myself"; then
4402 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4406 # Unset variables that we do not need and which cause bugs (e.g. in
4407 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4408 # suppresses any "Segmentation fault" message there. '((' could
4409 # trigger a bug in pdksh 5.2.14.
4410 for as_var in BASH_ENV ENV MAIL MAILPATH
4411 do eval test x\${$as_var+set} = xset \
4412 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4425 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4428 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4429 # ----------------------------------------
4430 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4431 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4432 # script with STATUS, using 1 if that was 0.
4435 as_status=$1; test $as_status -eq 0 && as_status=1
4437 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4438 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4440 $as_echo "$as_me: error: $2" >&2
4441 as_fn_exit $as_status
4445 # as_fn_set_status STATUS
4446 # -----------------------
4447 # Set $? to STATUS, without forking.
4451 } # as_fn_set_status
4455 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4465 # Portably unset VAR.
4468 { eval $1=; unset $1;}
4470 as_unset=as_fn_unset
4471 # as_fn_append VAR VALUE
4472 # ----------------------
4473 # Append the text in VALUE to the end of the definition contained in VAR. Take
4474 # advantage of any shell optimizations that allow amortized linear growth over
4475 # repeated appends, instead of the typical quadratic growth present in naive
4477 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4478 eval 'as_fn_append ()
4489 # as_fn_arith ARG...
4490 # ------------------
4491 # Perform arithmetic evaluation on the ARGs, and store the result in the
4492 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4493 # must be portable across $(()) and expr.
4494 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4495 eval 'as_fn_arith ()
4502 as_val=`expr "$@" || test $? -eq 1`
4507 if expr a : '\(a\)' >/dev/null 2>&1 &&
4508 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4514 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4515 as_basename=basename
4520 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4526 as_me=`$as_basename -- "$0" ||
4527 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4528 X"$0" : 'X\(//\)$' \| \
4529 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4531 sed '/^.*\/\([^/][^/]*\)\/*$/{
4545 # Avoid depending upon Character Ranges.
4546 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4547 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4548 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4549 as_cr_digits='0123456789'
4550 as_cr_alnum=$as_cr_Letters$as_cr_digits
4552 ECHO_C= ECHO_N= ECHO_T=
4553 case `echo -n x` in #(((((
4555 case `echo 'xy\c'` in
4556 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4558 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4565 rm -f conf$$ conf$$.exe conf$$.file
4566 if test -d conf$$.dir; then
4567 rm -f conf$$.dir/conf$$.file
4570 mkdir conf$$.dir 2>/dev/null
4572 if (echo >conf$$.file) 2>/dev/null; then
4573 if ln -s conf$$.file conf$$ 2>/dev/null; then
4575 # ... but there are two gotchas:
4576 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4577 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4578 # In both cases, we have to default to `cp -pR'.
4579 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4581 elif ln conf$$.file conf$$ 2>/dev/null; then
4589 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4590 rmdir conf$$.dir 2>/dev/null
4595 # Create "$as_dir" as a directory, including parents if necessary.
4600 -*) as_dir=./$as_dir;;
4602 test -d "$as_dir" || eval $as_mkdir_p || {
4606 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4607 *) as_qdir=$as_dir;;
4609 as_dirs="'$as_qdir' $as_dirs"
4610 as_dir=`$as_dirname -- "$as_dir" ||
4611 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4612 X"$as_dir" : 'X\(//\)[^/]' \| \
4613 X"$as_dir" : 'X\(//\)$' \| \
4614 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4615 $as_echo X"$as_dir" |
4616 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4633 test -d "$as_dir" && break
4635 test -z "$as_dirs" || eval "mkdir $as_dirs"
4636 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4640 if mkdir -p . 2>/dev/null; then
4641 as_mkdir_p='mkdir -p "$as_dir"'
4643 test -d ./-p && rmdir ./-p
4648 # as_fn_executable_p FILE
4649 # -----------------------
4650 # Test if FILE is an executable regular file.
4651 as_fn_executable_p ()
4653 test -f "$1" && test -x "$1"
4654 } # as_fn_executable_p
4656 as_executable_p=as_fn_executable_p
4658 # Sed expression to map a string onto a valid CPP name.
4659 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4661 # Sed expression to map a string onto a valid variable name.
4662 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4666 ## ----------------------------------- ##
4667 ## Main body of $CONFIG_STATUS script. ##
4668 ## ----------------------------------- ##
4670 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4673 # Save the log message, to keep $0 and so on meaningful, and to
4674 # report actual input values of CONFIG_FILES etc. instead of their
4675 # values after options handling.
4677 This file was extended by secnet $as_me 0.1.18+, which was
4678 generated by GNU Autoconf 2.69. Invocation command line was
4680 CONFIG_FILES = $CONFIG_FILES
4681 CONFIG_HEADERS = $CONFIG_HEADERS
4682 CONFIG_LINKS = $CONFIG_LINKS
4683 CONFIG_COMMANDS = $CONFIG_COMMANDS
4686 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4691 case $ac_config_files in *"
4692 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4695 case $ac_config_headers in *"
4696 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4701 # Files that config.status was made for.
4702 config_files="$ac_config_files"
4703 config_headers="$ac_config_headers"
4704 config_commands="$ac_config_commands"
4708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4710 \`$as_me' instantiates files and other configuration actions
4711 from templates according to the current configuration. Unless the files
4712 and actions are specified as TAGs, all are instantiated by default.
4714 Usage: $0 [OPTION]... [TAG]...
4716 -h, --help print this help, then exit
4717 -V, --version print version number and configuration settings, then exit
4718 --config print configuration, then exit
4719 -q, --quiet, --silent
4720 do not print progress messages
4721 -d, --debug don't remove temporary files
4722 --recheck update $as_me by reconfiguring in the same conditions
4723 --file=FILE[:TEMPLATE]
4724 instantiate the configuration file FILE
4725 --header=FILE[:TEMPLATE]
4726 instantiate the configuration header FILE
4728 Configuration files:
4731 Configuration headers:
4734 Configuration commands:
4737 Report bugs to <secnet@chiark.greenend.org.uk>."
4740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4741 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4743 secnet config.status 0.1.18+
4744 configured by $0, generated by GNU Autoconf 2.69,
4745 with options \\"\$ac_cs_config\\"
4747 Copyright (C) 2012 Free Software Foundation, Inc.
4748 This config.status script is free software; the Free Software Foundation
4749 gives unlimited permission to copy, distribute and modify it."
4754 test -n "\$AWK" || AWK=awk
4757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4758 # The default lists apply if the user does not specify any file.
4764 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4765 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4769 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4781 # Handling of the options.
4782 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4784 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4785 $as_echo "$ac_cs_version"; exit ;;
4786 --config | --confi | --conf | --con | --co | --c )
4787 $as_echo "$ac_cs_config"; exit ;;
4788 --debug | --debu | --deb | --de | --d | -d )
4790 --file | --fil | --fi | --f )
4793 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4794 '') as_fn_error $? "missing file argument" ;;
4796 as_fn_append CONFIG_FILES " '$ac_optarg'"
4797 ac_need_defaults=false;;
4798 --header | --heade | --head | --hea )
4801 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4803 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4804 ac_need_defaults=false;;
4806 # Conflict between --help and --header
4807 as_fn_error $? "ambiguous option: \`$1'
4808 Try \`$0 --help' for more information.";;
4809 --help | --hel | -h )
4810 $as_echo "$ac_cs_usage"; exit ;;
4811 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4812 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4816 -*) as_fn_error $? "unrecognized option: \`$1'
4817 Try \`$0 --help' for more information." ;;
4819 *) as_fn_append ac_config_targets " $1"
4820 ac_need_defaults=false ;;
4826 ac_configure_extra_args=
4828 if $ac_cs_silent; then
4830 ac_configure_extra_args="$ac_configure_extra_args --silent"
4834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4835 if \$ac_cs_recheck; then
4836 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4838 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4839 CONFIG_SHELL='$SHELL'
4845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4849 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4850 ## Running $as_me. ##
4856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4861 '$srcdir'/subdirmk/generate --srcdir='$srcdir' $subdirmk_subdirs
4866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4868 # Handling of arguments.
4869 for ac_config_target in $ac_config_targets
4871 case $ac_config_target in
4872 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4873 "main.mk") CONFIG_FILES="$CONFIG_FILES main.mk:main.mk.tmp" ;;
4874 "Dir.mk") CONFIG_FILES="$CONFIG_FILES Dir.mk:Dir.mk.tmp" ;;
4875 "Final.mk") CONFIG_FILES="$CONFIG_FILES Final.mk:Final.mk.tmp" ;;
4876 "subdirmk/regen.mk") CONFIG_FILES="$CONFIG_FILES subdirmk/regen.mk:subdirmk/regen.mk.in" ;;
4877 "subdirmk/usual.mk") CONFIG_FILES="$CONFIG_FILES subdirmk/usual.mk:subdirmk/usual.mk.in" ;;
4878 "test-example/Dir.mk") CONFIG_FILES="$CONFIG_FILES test-example/Dir.mk:test-example/Dir.mk.tmp" ;;
4879 "mtest/Dir.mk") CONFIG_FILES="$CONFIG_FILES mtest/Dir.mk:mtest/Dir.mk.tmp" ;;
4880 "stest/Dir.mk") CONFIG_FILES="$CONFIG_FILES stest/Dir.mk:stest/Dir.mk.tmp" ;;
4881 "base91s/Dir.mk") CONFIG_FILES="$CONFIG_FILES base91s/Dir.mk:base91s/Dir.mk.tmp" ;;
4882 "common.make") CONFIG_FILES="$CONFIG_FILES common.make:common.make.in" ;;
4883 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
4885 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4890 # If the user did not use the arguments to specify the items to instantiate,
4891 # then the envvar interface is used. Set only those that are not.
4892 # We use the long form for the default assignment because of an extremely
4893 # bizarre bug on SunOS 4.1.3.
4894 if $ac_need_defaults; then
4895 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4896 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4897 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4900 # Have a temporary directory for convenience. Make it in the build tree
4901 # simply because there is no reason against having it here, and in addition,
4902 # creating and moving files from /tmp can sometimes cause problems.
4903 # Hook for its removal unless debugging.
4904 # Note that there is a small window in which the directory will not be cleaned:
4905 # after its creation but before its name has been assigned to `$tmp'.
4909 trap 'exit_status=$?
4911 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4913 trap 'as_fn_exit 1' 1 2 13 15
4915 # Create a (secure) tmp directory for tmp files.
4918 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4922 tmp=./conf$$-$RANDOM
4923 (umask 077 && mkdir "$tmp")
4924 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4927 # Set up the scripts for CONFIG_FILES section.
4928 # No need to generate them if there are no CONFIG_FILES.
4929 # This happens for instance with `./config.status config.h'.
4930 if test -n "$CONFIG_FILES"; then
4933 ac_cr=`echo X | tr X '\015'`
4934 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4935 # But we know of no other shell where ac_cr would be empty at this
4936 # point, so we can use a bashism as a fallback.
4937 if test "x$ac_cr" = x; then
4938 eval ac_cr=\$\'\\r\'
4940 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4941 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4947 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4952 echo "cat >conf$$subs.awk <<_ACEOF" &&
4953 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4956 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4957 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4959 for ac_last_try in false false false false false :; do
4960 . ./conf$$subs.sh ||
4961 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4963 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4964 if test $ac_delim_n = $ac_delim_num; then
4966 elif $ac_last_try; then
4967 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4969 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4975 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4979 s/^/S["/; s/!.*/"]=/
4989 s/\(.\{148\}\)..*/\1/
4991 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4996 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5003 s/\(.\{148\}\)..*/\1/
5005 s/["\\]/\\&/g; s/^/"/; s/$/"/
5009 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5014 ' <conf$$subs.awk | sed '
5019 ' >>$CONFIG_STATUS || ac_write_fail=1
5020 rm -f conf$$subs.awk
5021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5023 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5024 for (key in S) S_is_set[key] = 1
5030 nfields = split(line, field, "@")
5032 len = length(field[1])
5033 for (i = 2; i < nfields; i++) {
5035 keylen = length(key)
5036 if (S_is_set[key]) {
5038 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5039 len += length(value) + length(field[++i])
5050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5051 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5052 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5055 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5056 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5059 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5060 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5061 # trailing colons and then remove the whole line if VPATH becomes empty
5062 # (actually we leave an empty line to preserve line numbers).
5063 if test "x$srcdir" = x.; then
5064 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5083 fi # test -n "$CONFIG_FILES"
5085 # Set up the scripts for CONFIG_HEADERS section.
5086 # No need to generate them if there are no CONFIG_HEADERS.
5087 # This happens for instance with `./config.status Makefile'.
5088 if test -n "$CONFIG_HEADERS"; then
5089 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5093 # Transform confdefs.h into an awk script `defines.awk', embedded as
5094 # here-document in config.status, that substitutes the proper values into
5095 # config.h.in to produce config.h.
5097 # Create a delimiter string that does not exist in confdefs.h, to ease
5098 # handling of long lines.
5100 for ac_last_try in false false :; do
5101 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5102 if test -z "$ac_tt"; then
5104 elif $ac_last_try; then
5105 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5107 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5111 # For the awk script, D is an array of macro values keyed by name,
5112 # likewise P contains macro parameters if any. Preserve backslash
5113 # newline sequences.
5115 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5117 s/.\{148\}/&'"$ac_delim"'/g
5120 s/^[ ]*#[ ]*define[ ][ ]*/ /
5127 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5129 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5133 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5134 D["\1"]=" \3\\\\\\n"\\/p
5136 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5141 s/.\{148\}/&'"$ac_delim"'/g
5146 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5149 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5151 ' <confdefs.h | sed '
5152 s/'"$ac_delim"'/"\\\
5153 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5156 for (key in D) D_is_set[key] = 1
5159 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5161 split(line, arg, " ")
5162 if (arg[1] == "#") {
5166 defundef = substr(arg[1], 2)
5169 split(mac1, mac2, "(") #)
5171 prefix = substr(line, 1, index(line, defundef) - 1)
5172 if (D_is_set[macro]) {
5173 # Preserve the white space surrounding the "#".
5174 print prefix "define", macro P[macro] D[macro]
5177 # Replace #undef with comments. This is necessary, for example,
5178 # in the case of _POSIX_SOURCE, which is predefined and required
5179 # on some systems where configure will not decide to define it.
5180 if (defundef == "undef") {
5181 print "/*", prefix defundef, macro, "*/"
5189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5190 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5191 fi # test -n "$CONFIG_HEADERS"
5194 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5199 :[FHLC]) ac_mode=$ac_tag; continue;;
5201 case $ac_mode$ac_tag in
5203 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5204 :[FH]-) ac_tag=-:-;;
5205 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5222 -) ac_f="$ac_tmp/stdin";;
5223 *) # Look for the file first in the build tree, then in the source tree
5224 # (if the path is not absolute). The absolute path cannot be DOS-style,
5225 # because $ac_f cannot contain `:'.
5229 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5231 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5233 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5234 as_fn_append ac_file_inputs " '$ac_f'"
5237 # Let's still pretend it is `configure' which instantiates (i.e., don't
5238 # use $as_me), people would be surprised to read:
5239 # /* config.h. Generated by config.status. */
5240 configure_input='Generated from '`
5241 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5243 if test x"$ac_file" != x-; then
5244 configure_input="$ac_file. $configure_input"
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5246 $as_echo "$as_me: creating $ac_file" >&6;}
5248 # Neutralize special characters interpreted by sed in replacement strings.
5249 case $configure_input in #(
5250 *\&* | *\|* | *\\* )
5251 ac_sed_conf_input=`$as_echo "$configure_input" |
5252 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5253 *) ac_sed_conf_input=$configure_input;;
5257 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5258 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5263 ac_dir=`$as_dirname -- "$ac_file" ||
5264 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5265 X"$ac_file" : 'X\(//\)[^/]' \| \
5266 X"$ac_file" : 'X\(//\)$' \| \
5267 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5268 $as_echo X"$ac_file" |
5269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5286 as_dir="$ac_dir"; as_fn_mkdir_p
5290 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5292 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5293 # A ".." for each directory in $ac_dir_suffix.
5294 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5295 case $ac_top_builddir_sub in
5296 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5297 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5300 ac_abs_top_builddir=$ac_pwd
5301 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5302 # for backward compatibility:
5303 ac_top_builddir=$ac_top_build_prefix
5306 .) # We are building in place.
5308 ac_top_srcdir=$ac_top_builddir_sub
5309 ac_abs_top_srcdir=$ac_pwd ;;
5310 [\\/]* | ?:[\\/]* ) # Absolute name.
5311 ac_srcdir=$srcdir$ac_dir_suffix;
5312 ac_top_srcdir=$srcdir
5313 ac_abs_top_srcdir=$srcdir ;;
5315 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5316 ac_top_srcdir=$ac_top_build_prefix$srcdir
5317 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5319 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5329 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5330 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5334 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5335 # If the template does not know about datarootdir, expand it.
5336 # FIXME: This hack should be removed a few years after 2.60.
5337 ac_datarootdir_hack=; ac_datarootdir_seen=
5348 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5349 *datarootdir*) ac_datarootdir_seen=yes;;
5350 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5352 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5355 ac_datarootdir_hack='
5356 s&@datadir@&$datadir&g
5357 s&@docdir@&$docdir&g
5358 s&@infodir@&$infodir&g
5359 s&@localedir@&$localedir&g
5360 s&@mandir@&$mandir&g
5361 s&\\\${datarootdir}&$datarootdir&g' ;;
5365 # Neutralize VPATH when `$srcdir' = `.'.
5366 # Shell code in configure.ac might set extrasub.
5367 # FIXME: do we really want to maintain this feature?
5368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5369 ac_sed_extra="$ac_vpsub
5372 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5374 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5375 s|@configure_input@|$ac_sed_conf_input|;t t
5376 s&@top_builddir@&$ac_top_builddir_sub&;t t
5377 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5378 s&@srcdir@&$ac_srcdir&;t t
5379 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5380 s&@top_srcdir@&$ac_top_srcdir&;t t
5381 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5382 s&@builddir@&$ac_builddir&;t t
5383 s&@abs_builddir@&$ac_abs_builddir&;t t
5384 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5385 s&@INSTALL@&$ac_INSTALL&;t t
5386 $ac_datarootdir_hack
5388 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5389 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5391 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5392 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5393 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5394 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5396 which seems to be undefined. Please make sure it is defined" >&5
5397 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5398 which seems to be undefined. Please make sure it is defined" >&2;}
5400 rm -f "$ac_tmp/stdin"
5402 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5403 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5405 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5411 if test x"$ac_file" != x-; then
5413 $as_echo "/* $configure_input */" \
5414 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5415 } >"$ac_tmp/config.h" \
5416 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5417 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5419 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5422 mv "$ac_tmp/config.h" "$ac_file" \
5423 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5426 $as_echo "/* $configure_input */" \
5427 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5428 || as_fn_error $? "could not create -" "$LINENO" 5
5432 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5433 $as_echo "$as_me: executing $ac_file commands" >&6;}
5438 case $ac_file$ac_mode in
5439 "default":C) echo timestamp >config.stamp ;;
5447 ac_clean_files=$ac_clean_files_save
5449 test $ac_write_fail = 0 ||
5450 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5453 # configure is writing to config.log, and then calls config.status.
5454 # config.status does its own redirection, appending to config.log.
5455 # Unfortunately, on DOS this fails, as config.log is still kept open
5456 # by configure, so config.status won't be able to write to it; its
5457 # output is simply discarded. So we exec the FD to /dev/null,
5458 # effectively closing config.log, so it can be properly (re)opened and
5459 # appended to by config.status. When coming back to configure, we
5460 # need to make the FD available again.
5461 if test "$no_create" != yes; then
5463 ac_config_status_args=
5464 test "$silent" = yes &&
5465 ac_config_status_args="$ac_config_status_args --quiet"
5467 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5469 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5470 # would make configure fail if this is the last instruction.
5471 $ac_cs_success || as_fn_exit 1
5473 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5475 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}