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"
2157 ac_cpp='$CPP $CPPFLAGS'
2158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2163 # If fink is on the path then it is assumed we should use it.
2164 # Extract the first word of "fink", so it can be a program name with args.
2165 set dummy fink; ac_word=$2
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2167 $as_echo_n "checking for $ac_word... " >&6; }
2168 if ${ac_cv_path_FINK+:} false; then :
2169 $as_echo_n "(cached) " >&6
2173 ac_cv_path_FINK="$FINK" # Let the user override the test with a path.
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180 test -z "$as_dir" && as_dir=.
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2183 ac_cv_path_FINK="$as_dir/$ac_word$ac_exec_ext"
2184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2194 FINK=$ac_cv_path_FINK
2195 if test -n "$FINK"; then
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FINK" >&5
2197 $as_echo "$FINK" >&6; }
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2200 $as_echo "no" >&6; }
2204 if test "x$FINK" != x; then
2205 finkdir=`echo $FINK|sed 's,/[^/]*/[^/]*$,,'`
2206 CPPFLAGS="-I$finkdir/include ${CPPFLAGS}"
2207 LDFLAGS="-L$finkdir/lib ${LDFLAGS}"
2210 # This is quite unpleasant. It turns out that most header checking
2211 # macros call AC_INCLUDES_DEFAULT. By default AC_INCLUDES_DEFAULT
2212 # implies AC_HEADER_STDC and a bunch of conditional includes. But
2213 # these header checks are obsolete as the documentation for
2214 # AC_HEADER_STDC says. Instead, define AC_INCLUDES_DEFAULT ourselves.
2215 # The list of headers below is the list from `(autoconf) Default
2216 # Includes' (filtered by hand for the modern ones rather than the
2217 # fallbacks). We must include $1 because AC_INCLUDES_DEFAULT is
2218 # called with an argument giving the check-specific haders.
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2222 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2224 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2225 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2226 $as_echo_n "(cached) " >&6
2228 cat >conftest.make <<\_ACEOF
2231 @echo '@@@%%%=$(MAKE)=@@@%%%'
2233 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2234 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2236 eval ac_cv_prog_make_${ac_make}_set=yes;;
2238 eval ac_cv_prog_make_${ac_make}_set=no;;
2242 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2244 $as_echo "yes" >&6; }
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2248 $as_echo "no" >&6; }
2249 SET_MAKE="MAKE=${MAKE-make}"
2253 ac_cpp='$CPP $CPPFLAGS'
2254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2257 if test -n "$ac_tool_prefix"; then
2258 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2259 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2261 $as_echo_n "checking for $ac_word... " >&6; }
2262 if ${ac_cv_prog_CC+:} false; then :
2263 $as_echo_n "(cached) " >&6
2265 if test -n "$CC"; then
2266 ac_cv_prog_CC="$CC" # Let the user override the test.
2268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2272 test -z "$as_dir" && as_dir=.
2273 for ac_exec_ext in '' $ac_executable_extensions; do
2274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2275 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2286 if test -n "$CC"; then
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2288 $as_echo "$CC" >&6; }
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2291 $as_echo "no" >&6; }
2296 if test -z "$ac_cv_prog_CC"; then
2298 # Extract the first word of "gcc", so it can be a program name with args.
2299 set dummy gcc; ac_word=$2
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2301 $as_echo_n "checking for $ac_word... " >&6; }
2302 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2303 $as_echo_n "(cached) " >&6
2305 if test -n "$ac_ct_CC"; then
2306 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312 test -z "$as_dir" && as_dir=.
2313 for ac_exec_ext in '' $ac_executable_extensions; do
2314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2315 ac_cv_prog_ac_ct_CC="gcc"
2316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2325 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2326 if test -n "$ac_ct_CC"; then
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2328 $as_echo "$ac_ct_CC" >&6; }
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2331 $as_echo "no" >&6; }
2334 if test "x$ac_ct_CC" = x; then
2337 case $cross_compiling:$ac_tool_warned in
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2341 ac_tool_warned=yes ;;
2349 if test -z "$CC"; then
2350 if test -n "$ac_tool_prefix"; then
2351 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2352 set dummy ${ac_tool_prefix}cc; ac_word=$2
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2354 $as_echo_n "checking for $ac_word... " >&6; }
2355 if ${ac_cv_prog_CC+:} false; then :
2356 $as_echo_n "(cached) " >&6
2358 if test -n "$CC"; then
2359 ac_cv_prog_CC="$CC" # Let the user override the test.
2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2365 test -z "$as_dir" && as_dir=.
2366 for ac_exec_ext in '' $ac_executable_extensions; do
2367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2368 ac_cv_prog_CC="${ac_tool_prefix}cc"
2369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2379 if test -n "$CC"; then
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2381 $as_echo "$CC" >&6; }
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2384 $as_echo "no" >&6; }
2390 if test -z "$CC"; then
2391 # Extract the first word of "cc", so it can be a program name with args.
2392 set dummy cc; ac_word=$2
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2394 $as_echo_n "checking for $ac_word... " >&6; }
2395 if ${ac_cv_prog_CC+:} false; then :
2396 $as_echo_n "(cached) " >&6
2398 if test -n "$CC"; then
2399 ac_cv_prog_CC="$CC" # Let the user override the test.
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2406 test -z "$as_dir" && as_dir=.
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2409 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2410 ac_prog_rejected=yes
2414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2421 if test $ac_prog_rejected = yes; then
2422 # We found a bogon in the path, so make sure we never use it.
2423 set dummy $ac_cv_prog_CC
2425 if test $# != 0; then
2426 # We chose a different compiler from the bogus one.
2427 # However, it has the same basename, so the bogon will be chosen
2428 # first if we set CC to just the basename; use the full file name.
2430 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2436 if test -n "$CC"; then
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2438 $as_echo "$CC" >&6; }
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2441 $as_echo "no" >&6; }
2446 if test -z "$CC"; then
2447 if test -n "$ac_tool_prefix"; then
2448 for ac_prog in cl.exe
2450 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2451 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2453 $as_echo_n "checking for $ac_word... " >&6; }
2454 if ${ac_cv_prog_CC+:} false; then :
2455 $as_echo_n "(cached) " >&6
2457 if test -n "$CC"; then
2458 ac_cv_prog_CC="$CC" # Let the user override the test.
2460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464 test -z "$as_dir" && as_dir=.
2465 for ac_exec_ext in '' $ac_executable_extensions; do
2466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2467 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2478 if test -n "$CC"; then
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2480 $as_echo "$CC" >&6; }
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2483 $as_echo "no" >&6; }
2487 test -n "$CC" && break
2490 if test -z "$CC"; then
2492 for ac_prog in cl.exe
2494 # Extract the first word of "$ac_prog", so it can be a program name with args.
2495 set dummy $ac_prog; ac_word=$2
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2497 $as_echo_n "checking for $ac_word... " >&6; }
2498 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2499 $as_echo_n "(cached) " >&6
2501 if test -n "$ac_ct_CC"; then
2502 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2508 test -z "$as_dir" && as_dir=.
2509 for ac_exec_ext in '' $ac_executable_extensions; do
2510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2511 ac_cv_prog_ac_ct_CC="$ac_prog"
2512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2521 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2522 if test -n "$ac_ct_CC"; then
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2524 $as_echo "$ac_ct_CC" >&6; }
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2527 $as_echo "no" >&6; }
2531 test -n "$ac_ct_CC" && break
2534 if test "x$ac_ct_CC" = x; then
2537 case $cross_compiling:$ac_tool_warned in
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2541 ac_tool_warned=yes ;;
2550 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2552 as_fn_error $? "no acceptable C compiler found in \$PATH
2553 See \`config.log' for more details" "$LINENO" 5; }
2555 # Provide some information about the compiler.
2556 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2559 for ac_option in --version -v -V -qversion; do
2560 { { ac_try="$ac_compiler $ac_option >&5"
2562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2563 *) ac_try_echo=$ac_try;;
2565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2566 $as_echo "$ac_try_echo"; } >&5
2567 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2569 if test -s conftest.err; then
2571 ... rest of stderr output deleted ...
2572 10q' conftest.err >conftest.er1
2573 cat conftest.er1 >&5
2575 rm -f conftest.er1 conftest.err
2576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2577 test $ac_status = 0; }
2580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2581 /* end confdefs.h. */
2591 ac_clean_files_save=$ac_clean_files
2592 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2593 # Try to create an executable without -o first, disregard a.out.
2594 # It will help us diagnose broken compilers, and finding out an intuition
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2597 $as_echo_n "checking whether the C compiler works... " >&6; }
2598 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2600 # The possible output files:
2601 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2604 for ac_file in $ac_files
2607 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2608 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2613 if { { ac_try="$ac_link_default"
2615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2619 $as_echo "$ac_try_echo"; } >&5
2620 (eval "$ac_link_default") 2>&5
2622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2623 test $ac_status = 0; }; then :
2624 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2625 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2626 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2627 # so that the user can short-circuit this test for compilers unknown to
2629 for ac_file in $ac_files ''
2631 test -f "$ac_file" || continue
2633 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2636 # We found the default executable, but exeext='' is most
2640 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2642 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2644 # We set ac_cv_exeext here because the later test for it is not
2645 # safe: cross compilers may not add the suffix if given an `-o'
2646 # argument, so we may need to know it at that point already.
2647 # Even if this section looks crufty: it has the advantage of
2654 test "$ac_cv_exeext" = no && ac_cv_exeext=
2659 if test -z "$ac_file"; then :
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2661 $as_echo "no" >&6; }
2662 $as_echo "$as_me: failed program was:" >&5
2663 sed 's/^/| /' conftest.$ac_ext >&5
2665 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2666 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2667 as_fn_error 77 "C compiler cannot create executables
2668 See \`config.log' for more details" "$LINENO" 5; }
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2671 $as_echo "yes" >&6; }
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2674 $as_echo_n "checking for C compiler default output file name... " >&6; }
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2676 $as_echo "$ac_file" >&6; }
2677 ac_exeext=$ac_cv_exeext
2679 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2680 ac_clean_files=$ac_clean_files_save
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2682 $as_echo_n "checking for suffix of executables... " >&6; }
2683 if { { ac_try="$ac_link"
2685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2686 *) ac_try_echo=$ac_try;;
2688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2689 $as_echo "$ac_try_echo"; } >&5
2690 (eval "$ac_link") 2>&5
2692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2693 test $ac_status = 0; }; then :
2694 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2695 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2696 # work properly (i.e., refer to `conftest.exe'), while it won't with
2698 for ac_file in conftest.exe conftest conftest.*; do
2699 test -f "$ac_file" || continue
2701 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2702 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2708 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2710 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2711 See \`config.log' for more details" "$LINENO" 5; }
2713 rm -f conftest conftest$ac_cv_exeext
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2715 $as_echo "$ac_cv_exeext" >&6; }
2717 rm -f conftest.$ac_ext
2718 EXEEXT=$ac_cv_exeext
2720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2721 /* end confdefs.h. */
2726 FILE *f = fopen ("conftest.out", "w");
2727 return ferror (f) || fclose (f) != 0;
2733 ac_clean_files="$ac_clean_files conftest.out"
2734 # Check that the compiler produces executables we can run. If not, either
2735 # the compiler is broken, or we cross compile.
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2737 $as_echo_n "checking whether we are cross compiling... " >&6; }
2738 if test "$cross_compiling" != yes; then
2739 { { ac_try="$ac_link"
2741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2745 $as_echo "$ac_try_echo"; } >&5
2746 (eval "$ac_link") 2>&5
2748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2749 test $ac_status = 0; }
2750 if { ac_try='./conftest$ac_cv_exeext'
2751 { { case "(($ac_try" in
2752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2753 *) ac_try_echo=$ac_try;;
2755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2756 $as_echo "$ac_try_echo"; } >&5
2757 (eval "$ac_try") 2>&5
2759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2760 test $ac_status = 0; }; }; then
2763 if test "$cross_compiling" = maybe; then
2766 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2768 as_fn_error $? "cannot run C compiled programs.
2769 If you meant to cross compile, use \`--host'.
2770 See \`config.log' for more details" "$LINENO" 5; }
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2775 $as_echo "$cross_compiling" >&6; }
2777 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2778 ac_clean_files=$ac_clean_files_save
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2780 $as_echo_n "checking for suffix of object files... " >&6; }
2781 if ${ac_cv_objext+:} false; then :
2782 $as_echo_n "(cached) " >&6
2784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2785 /* end confdefs.h. */
2795 rm -f conftest.o conftest.obj
2796 if { { ac_try="$ac_compile"
2798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2799 *) ac_try_echo=$ac_try;;
2801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2802 $as_echo "$ac_try_echo"; } >&5
2803 (eval "$ac_compile") 2>&5
2805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2806 test $ac_status = 0; }; then :
2807 for ac_file in conftest.o conftest.obj conftest.*; do
2808 test -f "$ac_file" || continue;
2810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2811 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2816 $as_echo "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.$ac_ext >&5
2819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2821 as_fn_error $? "cannot compute suffix of object files: cannot compile
2822 See \`config.log' for more details" "$LINENO" 5; }
2824 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2827 $as_echo "$ac_cv_objext" >&6; }
2828 OBJEXT=$ac_cv_objext
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2831 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2832 if ${ac_cv_c_compiler_gnu+:} false; then :
2833 $as_echo_n "(cached) " >&6
2835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2836 /* end confdefs.h. */
2849 if ac_fn_c_try_compile "$LINENO"; then :
2854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2855 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2859 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2860 if test $ac_compiler_gnu = yes; then
2865 ac_test_CFLAGS=${CFLAGS+set}
2866 ac_save_CFLAGS=$CFLAGS
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2868 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2869 if ${ac_cv_prog_cc_g+:} false; then :
2870 $as_echo_n "(cached) " >&6
2872 ac_save_c_werror_flag=$ac_c_werror_flag
2873 ac_c_werror_flag=yes
2876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2877 /* end confdefs.h. */
2887 if ac_fn_c_try_compile "$LINENO"; then :
2891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2892 /* end confdefs.h. */
2902 if ac_fn_c_try_compile "$LINENO"; then :
2905 ac_c_werror_flag=$ac_save_c_werror_flag
2907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2908 /* end confdefs.h. */
2918 if ac_fn_c_try_compile "$LINENO"; then :
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2926 ac_c_werror_flag=$ac_save_c_werror_flag
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2929 $as_echo "$ac_cv_prog_cc_g" >&6; }
2930 if test "$ac_test_CFLAGS" = set; then
2931 CFLAGS=$ac_save_CFLAGS
2932 elif test $ac_cv_prog_cc_g = yes; then
2933 if test "$GCC" = yes; then
2939 if test "$GCC" = yes; then
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2946 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2947 if ${ac_cv_prog_cc_c89+:} false; then :
2948 $as_echo_n "(cached) " >&6
2950 ac_cv_prog_cc_c89=no
2952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2953 /* end confdefs.h. */
2957 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2958 struct buf { int x; };
2959 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2960 static char *e (p, i)
2966 static char *f (char * (*g) (char **, int), char **p, ...)
2971 s = g (p, va_arg (v,int));
2976 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2977 function prototypes and stuff, but not '\xHH' hex character constants.
2978 These don't provoke an error unfortunately, instead are silently treated
2979 as 'x'. The following induces an error, until -std is added to get
2980 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2981 array size at least. It's necessary to write '\x00'==0 to get something
2982 that's true only with -std. */
2983 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2985 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2986 inside strings and character constants. */
2988 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2990 int test (int i, double x);
2991 struct s1 {int (*f) (int a);};
2992 struct s2 {int (*f) (double a);};
2993 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2999 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3004 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3005 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3007 CC="$ac_save_CC $ac_arg"
3008 if ac_fn_c_try_compile "$LINENO"; then :
3009 ac_cv_prog_cc_c89=$ac_arg
3011 rm -f core conftest.err conftest.$ac_objext
3012 test "x$ac_cv_prog_cc_c89" != "xno" && break
3014 rm -f conftest.$ac_ext
3019 case "x$ac_cv_prog_cc_c89" in
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3022 $as_echo "none needed" >&6; } ;;
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3025 $as_echo "unsupported" >&6; } ;;
3027 CC="$CC $ac_cv_prog_cc_c89"
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3029 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3031 if test "x$ac_cv_prog_cc_c89" != xno; then :
3036 ac_cpp='$CPP $CPPFLAGS'
3037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3042 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3043 if test -f "$ac_dir/install-sh"; then
3045 ac_install_sh="$ac_aux_dir/install-sh -c"
3047 elif test -f "$ac_dir/install.sh"; then
3049 ac_install_sh="$ac_aux_dir/install.sh -c"
3051 elif test -f "$ac_dir/shtool"; then
3053 ac_install_sh="$ac_aux_dir/shtool install -c"
3057 if test -z "$ac_aux_dir"; then
3058 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3061 # These three variables are undocumented and unsupported,
3062 # and are intended to be withdrawn in a future Autoconf release.
3063 # They can cause serious problems if a builder's source tree is in a directory
3064 # whose full name contains unusual characters.
3065 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3066 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3067 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3070 # Find a good install program. We prefer a C program (faster),
3071 # so one script is as good as another. But avoid the broken or
3072 # incompatible versions:
3073 # SysV /etc/install, /usr/sbin/install
3074 # SunOS /usr/etc/install
3075 # IRIX /sbin/install
3077 # AmigaOS /C/install, which installs bootblocks on floppy discs
3078 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3079 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3080 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3081 # OS/2's system install, which has a completely different semantic
3082 # ./install, which can be erroneously created by make from ./install.sh.
3083 # Reject install programs that cannot install multiple files.
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3085 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3086 if test -z "$INSTALL"; then
3087 if ${ac_cv_path_install+:} false; then :
3088 $as_echo_n "(cached) " >&6
3090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3094 test -z "$as_dir" && as_dir=.
3095 # Account for people who put trailing slashes in PATH elements.
3096 case $as_dir/ in #((
3097 ./ | .// | /[cC]/* | \
3098 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3099 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3102 # OSF1 and SCO ODT 3.0 have their own names for install.
3103 # Don't use installbsd from OSF since it installs stuff as root
3105 for ac_prog in ginstall scoinst install; do
3106 for ac_exec_ext in '' $ac_executable_extensions; do
3107 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3108 if test $ac_prog = install &&
3109 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3110 # AIX install. It has an incompatible calling convention.
3112 elif test $ac_prog = install &&
3113 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3114 # program-specific install script used by HP pwplus--don't use.
3117 rm -rf conftest.one conftest.two conftest.dir
3118 echo one > conftest.one
3119 echo two > conftest.two
3121 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3122 test -s conftest.one && test -s conftest.two &&
3123 test -s conftest.dir/conftest.one &&
3124 test -s conftest.dir/conftest.two
3126 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3139 rm -rf conftest.one conftest.two conftest.dir
3142 if test "${ac_cv_path_install+set}" = set; then
3143 INSTALL=$ac_cv_path_install
3145 # As a last resort, use the slow shell script. Don't cache a
3146 # value for INSTALL within a source directory, because that will
3147 # break other packages using the cache if that directory is
3148 # removed, or if the value is a relative name.
3149 INSTALL=$ac_install_sh
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3153 $as_echo "$INSTALL" >&6; }
3155 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3156 # It thinks the first close brace ends the variable substitution.
3157 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3159 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3161 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3165 ac_cpp='$CPP $CPPFLAGS'
3166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3170 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3171 # On Suns, sometimes $CPP names a directory.
3172 if test -n "$CPP" && test -d "$CPP"; then
3175 if test -z "$CPP"; then
3176 if ${ac_cv_prog_CPP+:} false; then :
3177 $as_echo_n "(cached) " >&6
3179 # Double quotes because CPP needs to be expanded
3180 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3183 for ac_c_preproc_warn_flag in '' yes
3185 # Use a header file that comes with gcc, so configuring glibc
3186 # with a fresh cross-compiler works.
3187 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3188 # <limits.h> exists even on freestanding compilers.
3189 # On the NeXT, cc -E runs the code through the compiler's parser,
3190 # not just through cpp. "Syntax error" is here to catch this case.
3191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192 /* end confdefs.h. */
3194 # include <limits.h>
3196 # include <assert.h>
3200 if ac_fn_c_try_cpp "$LINENO"; then :
3203 # Broken: fails on valid input.
3206 rm -f conftest.err conftest.i conftest.$ac_ext
3208 # OK, works on sane cases. Now check whether nonexistent headers
3209 # can be detected and how.
3210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3211 /* end confdefs.h. */
3212 #include <ac_nonexistent.h>
3214 if ac_fn_c_try_cpp "$LINENO"; then :
3215 # Broken: success on invalid input.
3218 # Passes both tests.
3222 rm -f conftest.err conftest.i conftest.$ac_ext
3225 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3226 rm -f conftest.i conftest.err conftest.$ac_ext
3227 if $ac_preproc_ok; then :
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3240 $as_echo "$CPP" >&6; }
3242 for ac_c_preproc_warn_flag in '' yes
3244 # Use a header file that comes with gcc, so configuring glibc
3245 # with a fresh cross-compiler works.
3246 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3247 # <limits.h> exists even on freestanding compilers.
3248 # On the NeXT, cc -E runs the code through the compiler's parser,
3249 # not just through cpp. "Syntax error" is here to catch this case.
3250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3251 /* end confdefs.h. */
3253 # include <limits.h>
3255 # include <assert.h>
3259 if ac_fn_c_try_cpp "$LINENO"; then :
3262 # Broken: fails on valid input.
3265 rm -f conftest.err conftest.i conftest.$ac_ext
3267 # OK, works on sane cases. Now check whether nonexistent headers
3268 # can be detected and how.
3269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270 /* end confdefs.h. */
3271 #include <ac_nonexistent.h>
3273 if ac_fn_c_try_cpp "$LINENO"; then :
3274 # Broken: success on invalid input.
3277 # Passes both tests.
3281 rm -f conftest.err conftest.i conftest.$ac_ext
3284 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3285 rm -f conftest.i conftest.err conftest.$ac_ext
3286 if $ac_preproc_ok; then :
3289 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3291 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3292 See \`config.log' for more details" "$LINENO" 5; }
3296 ac_cpp='$CPP $CPPFLAGS'
3297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3302 for ac_header in net/if.h net/route.h
3304 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3305 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "
3306 # include <sys/types.h>
3307 # include <sys/stat.h>
3308 # include <stdlib.h>
3309 # include <stddef.h>
3310 # include <string.h>
3311 # include <inttypes.h>
3312 # include <stdint.h>
3313 # include <unistd.h>
3316 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3317 cat >>confdefs.h <<_ACEOF
3318 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3325 for ac_header in sys/socket.h
3327 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "
3328 # include <sys/types.h>
3329 # include <sys/stat.h>
3330 # include <stdlib.h>
3331 # include <stddef.h>
3332 # include <string.h>
3333 # include <inttypes.h>
3334 # include <stdint.h>
3335 # include <unistd.h>
3338 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
3339 cat >>confdefs.h <<_ACEOF
3340 #define HAVE_SYS_SOCKET_H 1
3347 for ac_header in linux/if_tun.h
3349 ac_fn_c_check_header_compile "$LINENO" "linux/if_tun.h" "ac_cv_header_linux_if_tun_h" "
3350 # include <sys/types.h>
3351 # include <sys/stat.h>
3352 # include <stdlib.h>
3353 # include <stddef.h>
3354 # include <string.h>
3355 # include <inttypes.h>
3356 # include <stdint.h>
3357 # include <unistd.h>
3358 #if HAVE_SYS_SOCKET_H
3359 # include <sys/socket.h>
3363 if test "x$ac_cv_header_linux_if_tun_h" = xyes; then :
3364 cat >>confdefs.h <<_ACEOF
3365 #define HAVE_LINUX_IF_TUN_H 1
3372 for ac_header in stropts.h sys/sockio.h net/if_tun.h
3374 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3375 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "
3376 # include <sys/types.h>
3377 # include <sys/stat.h>
3378 # include <stdlib.h>
3379 # include <stddef.h>
3380 # include <string.h>
3381 # include <inttypes.h>
3382 # include <stdint.h>
3383 # include <unistd.h>
3386 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3387 cat >>confdefs.h <<_ACEOF
3388 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3396 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3397 if ${ac_cv_c_bigendian+:} false; then :
3398 $as_echo_n "(cached) " >&6
3400 ac_cv_c_bigendian=unknown
3401 # See if we're dealing with a universal compiler.
3402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3403 /* end confdefs.h. */
3404 #ifndef __APPLE_CC__
3405 not a universal capable compiler
3410 if ac_fn_c_try_compile "$LINENO"; then :
3412 # Check for potential -arch flags. It is not universal unless
3413 # there are at least two -arch flags with different values.
3416 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3417 if test -n "$ac_prev"; then
3419 i?86 | x86_64 | ppc | ppc64)
3420 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
3423 ac_cv_c_bigendian=universal
3429 elif test "x$ac_word" = "x-arch"; then
3434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3435 if test $ac_cv_c_bigendian = unknown; then
3436 # See if sys/param.h defines the BYTE_ORDER macro.
3437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438 /* end confdefs.h. */
3439 #include <sys/types.h>
3440 #include <sys/param.h>
3445 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3446 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3455 if ac_fn_c_try_compile "$LINENO"; then :
3456 # It does; now see whether it defined to BIG_ENDIAN or not.
3457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3458 /* end confdefs.h. */
3459 #include <sys/types.h>
3460 #include <sys/param.h>
3465 #if BYTE_ORDER != BIG_ENDIAN
3473 if ac_fn_c_try_compile "$LINENO"; then :
3474 ac_cv_c_bigendian=yes
3476 ac_cv_c_bigendian=no
3478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3482 if test $ac_cv_c_bigendian = unknown; then
3483 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3485 /* end confdefs.h. */
3491 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
3499 if ac_fn_c_try_compile "$LINENO"; then :
3500 # It does; now see whether it defined to _BIG_ENDIAN or not.
3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h. */
3516 if ac_fn_c_try_compile "$LINENO"; then :
3517 ac_cv_c_bigendian=yes
3519 ac_cv_c_bigendian=no
3521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3525 if test $ac_cv_c_bigendian = unknown; then
3526 # Compile a test program.
3527 if test "$cross_compiling" = yes; then :
3528 # Try to guess by grepping values from an object file.
3529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3530 /* end confdefs.h. */
3531 short int ascii_mm[] =
3532 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3533 short int ascii_ii[] =
3534 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3535 int use_ascii (int i) {
3536 return ascii_mm[i] + ascii_ii[i];
3538 short int ebcdic_ii[] =
3539 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3540 short int ebcdic_mm[] =
3541 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3542 int use_ebcdic (int i) {
3543 return ebcdic_mm[i] + ebcdic_ii[i];
3550 return use_ascii (foo) == use_ebcdic (foo);
3555 if ac_fn_c_try_compile "$LINENO"; then :
3556 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
3557 ac_cv_c_bigendian=yes
3559 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
3560 if test "$ac_cv_c_bigendian" = unknown; then
3561 ac_cv_c_bigendian=no
3563 # finding both strings is unlikely to happen, but who knows?
3564 ac_cv_c_bigendian=unknown
3568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h. */
3573 # include <sys/types.h>
3574 # include <sys/stat.h>
3575 # include <stdlib.h>
3576 # include <stddef.h>
3577 # include <string.h>
3578 # include <inttypes.h>
3579 # include <stdint.h>
3580 # include <unistd.h>
3587 /* Are we little or big endian? From Harbison&Steele. */
3591 char c[sizeof (long int)];
3594 return u.c[sizeof (long int) - 1] == 1;
3600 if ac_fn_c_try_run "$LINENO"; then :
3601 ac_cv_c_bigendian=no
3603 ac_cv_c_bigendian=yes
3605 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3606 conftest.$ac_objext conftest.beam conftest.$ac_ext
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
3612 $as_echo "$ac_cv_c_bigendian" >&6; }
3613 case $ac_cv_c_bigendian in #(
3615 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
3621 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
3625 as_fn_error $? "unknown endianness
3626 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
3631 if test -z "$hard"; then
3632 msg="C to warn about writing to stringliterals"
3634 msg="C to prohibit any write to stringliterals"
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $msg" >&5
3637 $as_echo_n "checking $msg... " >&6; }
3638 if ${ac_cv_prog_cc_no_writeable_strings+:} false; then :
3639 $as_echo_n "(cached) " >&6
3642 cat > conftest.c <<EOF
3647 if (strcpy (test, "test")) return 0;
3651 if test "$GCC" = "yes";
3653 if test -z "$hard"; then
3654 ac_cv_prog_cc_no_writeable_strings="-Wwrite-strings"
3656 ac_cv_prog_cc_no_writeable_strings="-fno-writable-strings -Wwrite-strings"
3659 if test -n "`${CC-cc} -c $ac_cv_prog_cc_no_writeable_strings conftest.c 2>&1`" ; then
3660 ac_cv_prog_cc_no_writeable_strings="suppressed: string.h"
3663 elif $CC -flags 2>&1 | grep "Xc.*strict ANSI C" > /dev/null 2>&1 &&
3664 $CC -c -xstrconst conftest.c > /dev/null 2>&1 &&
3667 # strings go into readonly segment
3668 ac_cv_prog_cc_no_writeable_strings="-xstrconst"
3671 if test -n "`${CC-cc} -c $ac_cv_prog_cc_no_writeable_strings conftest.c 2>&1`" ; then
3672 ac_cv_prog_cc_no_writeable_strings="suppressed: string.h"
3675 elif $CC > /dev/null 2>&1 &&
3676 $CC -c +ESlit conftest.c > /dev/null 2>&1 &&
3679 # strings go into readonly segment
3680 ac_cv_prog_cc_no_writeable_strings="+ESlit"
3683 if test -n "`${CC-cc} -c $ac_cv_prog_cc_no_writeable_strings conftest.c 2>&1`" ; then
3684 ac_cv_prog_cc_no_writeable_strings="suppressed: string.h"
3687 elif ! $CC > /dev/null 2>&1 &&
3688 $CC -c -readonly_strings conftest.c > /dev/null 2>&1 &&
3691 # strings go into readonly segment
3692 ac_cv_prog_cc_no_writeable_strings="-readonly_strings"
3695 if test -n "`${CC-cc} -c $ac_cv_prog_cc_no_writeable_strings conftest.c 2>&1`" ; then
3696 ac_cv_prog_cc_no_writeable_strings="suppressed: string.h"
3700 # -use_readonly_const is the default for IRIX C,
3701 # puts them into .rodata, but they are copied later.
3702 # need to be "-G0 -rdatashared" for strictmode but
3703 # I am not sure what effect that has really.
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_no_writeable_strings" >&5
3710 $as_echo "$ac_cv_prog_cc_no_writeable_strings" >&6; }
3711 if test -z "$WRITESTRINGS" ; then
3712 if test -n "$ac_cv_prog_cc_no_writeable_strings" ; then
3713 case "$ac_cv_prog_cc_no_writeable_strings" in
3714 suppressed*) WRITESTRINGS="" ;; # known but suppressed
3715 *) WRITESTRINGS="$ac_cv_prog_cc_no_writeable_strings" ;;
3722 # Check whether --enable-hacky-parallel was given.
3723 if test "${enable_hacky_parallel+set}" = set; then :
3724 enableval=$enable_hacky_parallel;
3725 case "$enableval" in
3727 y|1|yes) CFLAGS="$CFLAGS -DHACKY_PARALLEL" ;;
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpz_init_set_str in -lgmp" >&5
3737 $as_echo_n "checking for mpz_init_set_str in -lgmp... " >&6; }
3738 if ${ac_cv_lib_gmp_mpz_init_set_str+:} false; then :
3739 $as_echo_n "(cached) " >&6
3741 ac_check_lib_save_LIBS=$LIBS
3743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3744 /* end confdefs.h. */
3746 /* Override any GCC internal prototype to avoid an error.
3747 Use char because int might match the return type of a GCC
3748 builtin and then its argument prototype would still apply. */
3752 char mpz_init_set_str ();
3756 return mpz_init_set_str ();
3761 if ac_fn_c_try_link "$LINENO"; then :
3762 ac_cv_lib_gmp_mpz_init_set_str=yes
3764 ac_cv_lib_gmp_mpz_init_set_str=no
3766 rm -f core conftest.err conftest.$ac_objext \
3767 conftest$ac_exeext conftest.$ac_ext
3768 LIBS=$ac_check_lib_save_LIBS
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_mpz_init_set_str" >&5
3771 $as_echo "$ac_cv_lib_gmp_mpz_init_set_str" >&6; }
3772 if test "x$ac_cv_lib_gmp_mpz_init_set_str" = xyes; then :
3773 cat >>confdefs.h <<_ACEOF
3774 #define HAVE_LIBGMP 1
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpz_init_set_str in -lgmp2" >&5
3782 $as_echo_n "checking for mpz_init_set_str in -lgmp2... " >&6; }
3783 if ${ac_cv_lib_gmp2_mpz_init_set_str+:} false; then :
3784 $as_echo_n "(cached) " >&6
3786 ac_check_lib_save_LIBS=$LIBS
3788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h. */
3791 /* Override any GCC internal prototype to avoid an error.
3792 Use char because int might match the return type of a GCC
3793 builtin and then its argument prototype would still apply. */
3797 char mpz_init_set_str ();
3801 return mpz_init_set_str ();
3806 if ac_fn_c_try_link "$LINENO"; then :
3807 ac_cv_lib_gmp2_mpz_init_set_str=yes
3809 ac_cv_lib_gmp2_mpz_init_set_str=no
3811 rm -f core conftest.err conftest.$ac_objext \
3812 conftest$ac_exeext conftest.$ac_ext
3813 LIBS=$ac_check_lib_save_LIBS
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp2_mpz_init_set_str" >&5
3816 $as_echo "$ac_cv_lib_gmp2_mpz_init_set_str" >&6; }
3817 if test "x$ac_cv_lib_gmp2_mpz_init_set_str" = xyes; then :
3818 cat >>confdefs.h <<_ACEOF
3819 #define HAVE_LIBGMP2 1
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init_set_str in -lgmp" >&5
3827 $as_echo_n "checking for __gmpz_init_set_str in -lgmp... " >&6; }
3828 if ${ac_cv_lib_gmp___gmpz_init_set_str+:} false; then :
3829 $as_echo_n "(cached) " >&6
3831 ac_check_lib_save_LIBS=$LIBS
3833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3834 /* end confdefs.h. */
3836 /* Override any GCC internal prototype to avoid an error.
3837 Use char because int might match the return type of a GCC
3838 builtin and then its argument prototype would still apply. */
3842 char __gmpz_init_set_str ();
3846 return __gmpz_init_set_str ();
3851 if ac_fn_c_try_link "$LINENO"; then :
3852 ac_cv_lib_gmp___gmpz_init_set_str=yes
3854 ac_cv_lib_gmp___gmpz_init_set_str=no
3856 rm -f core conftest.err conftest.$ac_objext \
3857 conftest$ac_exeext conftest.$ac_ext
3858 LIBS=$ac_check_lib_save_LIBS
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init_set_str" >&5
3861 $as_echo "$ac_cv_lib_gmp___gmpz_init_set_str" >&6; }
3862 if test "x$ac_cv_lib_gmp___gmpz_init_set_str" = xyes; then :
3863 cat >>confdefs.h <<_ACEOF
3864 #define HAVE_LIBGMP 1
3871 ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "
3872 # include <sys/types.h>
3873 # include <sys/stat.h>
3874 # include <stdlib.h>
3875 # include <stddef.h>
3876 # include <string.h>
3877 # include <inttypes.h>
3878 # include <stdint.h>
3879 # include <unistd.h>
3882 if test "x$ac_cv_header_gmp_h" = xyes; then :
3885 as_fn_error $? "gmp.h not found" "$LINENO" 5
3891 ac_fn_c_check_func "$LINENO" "inet_ntoa" "ac_cv_func_inet_ntoa"
3892 if test "x$ac_cv_func_inet_ntoa" = xyes; then :
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lnsl" >&5
3897 $as_echo_n "checking for inet_ntoa in -lnsl... " >&6; }
3898 if ${ac_cv_lib_nsl_inet_ntoa+:} false; then :
3899 $as_echo_n "(cached) " >&6
3901 ac_check_lib_save_LIBS=$LIBS
3903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3904 /* end confdefs.h. */
3906 /* Override any GCC internal prototype to avoid an error.
3907 Use char because int might match the return type of a GCC
3908 builtin and then its argument prototype would still apply. */
3916 return inet_ntoa ();
3921 if ac_fn_c_try_link "$LINENO"; then :
3922 ac_cv_lib_nsl_inet_ntoa=yes
3924 ac_cv_lib_nsl_inet_ntoa=no
3926 rm -f core conftest.err conftest.$ac_objext \
3927 conftest$ac_exeext conftest.$ac_ext
3928 LIBS=$ac_check_lib_save_LIBS
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_ntoa" >&5
3931 $as_echo "$ac_cv_lib_nsl_inet_ntoa" >&6; }
3932 if test "x$ac_cv_lib_nsl_inet_ntoa" = xyes; then :
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: inet_ntoa is in libnsl, urgh. Must use -lnsl." >&5
3936 $as_echo "$as_me: WARNING: inet_ntoa is in libnsl, urgh. Must use -lnsl." >&2;}
3940 as_fn_error $? "cannot find library function inet_ntoa" "$LINENO" 5
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
3950 $as_echo_n "checking for socket in -lsocket... " >&6; }
3951 if ${ac_cv_lib_socket_socket+:} false; then :
3952 $as_echo_n "(cached) " >&6
3954 ac_check_lib_save_LIBS=$LIBS
3955 LIBS="-lsocket $LIBS"
3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3959 /* Override any GCC internal prototype to avoid an error.
3960 Use char because int might match the return type of a GCC
3961 builtin and then its argument prototype would still apply. */
3974 if ac_fn_c_try_link "$LINENO"; then :
3975 ac_cv_lib_socket_socket=yes
3977 ac_cv_lib_socket_socket=no
3979 rm -f core conftest.err conftest.$ac_objext \
3980 conftest$ac_exeext conftest.$ac_ext
3981 LIBS=$ac_check_lib_save_LIBS
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
3984 $as_echo "$ac_cv_lib_socket_socket" >&6; }
3985 if test "x$ac_cv_lib_socket_socket" = xyes; then :
3986 cat >>confdefs.h <<_ACEOF
3987 #define HAVE_LIBSOCKET 1
3990 LIBS="-lsocket $LIBS"
3996 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
3997 if test "x$ac_cv_func_inet_aton" = xyes; then :
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv" >&5
4002 $as_echo_n "checking for inet_aton in -lresolv... " >&6; }
4003 if ${ac_cv_lib_resolv_inet_aton+:} false; then :
4004 $as_echo_n "(cached) " >&6
4006 ac_check_lib_save_LIBS=$LIBS
4007 LIBS="-lresolv $LIBS"
4008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4009 /* end confdefs.h. */
4011 /* Override any GCC internal prototype to avoid an error.
4012 Use char because int might match the return type of a GCC
4013 builtin and then its argument prototype would still apply. */
4021 return inet_aton ();
4026 if ac_fn_c_try_link "$LINENO"; then :
4027 ac_cv_lib_resolv_inet_aton=yes
4029 ac_cv_lib_resolv_inet_aton=no
4031 rm -f core conftest.err conftest.$ac_objext \
4032 conftest$ac_exeext conftest.$ac_ext
4033 LIBS=$ac_check_lib_save_LIBS
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton" >&5
4036 $as_echo "$ac_cv_lib_resolv_inet_aton" >&6; }
4037 if test "x$ac_cv_lib_resolv_inet_aton" = xyes; then :
4039 LIBS="-lresolv $LIBS";
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: inet_aton is in libresolv, urgh. Must use -lresolv." >&5
4041 $as_echo "$as_me: WARNING: inet_aton is in libresolv, urgh. Must use -lresolv." >&2;}
4045 as_fn_error $? "cannot find library function inet_aton" "$LINENO" 5
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for adns_init in -ladns" >&5
4055 $as_echo_n "checking for adns_init in -ladns... " >&6; }
4056 if ${ac_cv_lib_adns_adns_init+:} false; then :
4057 $as_echo_n "(cached) " >&6
4059 ac_check_lib_save_LIBS=$LIBS
4061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4062 /* end confdefs.h. */
4064 /* Override any GCC internal prototype to avoid an error.
4065 Use char because int might match the return type of a GCC
4066 builtin and then its argument prototype would still apply. */
4074 return adns_init ();
4079 if ac_fn_c_try_link "$LINENO"; then :
4080 ac_cv_lib_adns_adns_init=yes
4082 ac_cv_lib_adns_adns_init=no
4084 rm -f core conftest.err conftest.$ac_objext \
4085 conftest$ac_exeext conftest.$ac_ext
4086 LIBS=$ac_check_lib_save_LIBS
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_adns_adns_init" >&5
4089 $as_echo "$ac_cv_lib_adns_adns_init" >&6; }
4090 if test "x$ac_cv_lib_adns_adns_init" = xyes; then :
4091 cat >>confdefs.h <<_ACEOF
4092 #define HAVE_LIBADNS 1
4099 ac_fn_c_check_header_mongrel "$LINENO" "adns.h" "ac_cv_header_adns_h" "
4100 # include <sys/types.h>
4101 # include <sys/stat.h>
4102 # include <stdlib.h>
4103 # include <stddef.h>
4104 # include <string.h>
4105 # include <inttypes.h>
4106 # include <stdint.h>
4107 # include <unistd.h>
4110 if test "x$ac_cv_header_adns_h" = xyes; then :
4113 as_fn_error $? "adns.h not found" "$LINENO" 5
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking requirements for IPv6 support..." >&5
4119 $as_echo "$as_me: Checking requirements for IPv6 support..." >&6;}
4122 ac_fn_c_check_decl "$LINENO" "AF_INET6" "ac_cv_have_decl_AF_INET6" "
4123 # include <sys/types.h>
4124 # include <sys/stat.h>
4125 # include <stdlib.h>
4126 # include <stddef.h>
4127 # include <string.h>
4128 # include <inttypes.h>
4129 # include <stdint.h>
4130 # include <unistd.h>
4131 #include <netinet/in.h>
4133 if test "x$ac_cv_have_decl_AF_INET6" = xyes; then :
4139 ac_fn_c_check_func "$LINENO" "adns_addr2text" "ac_cv_func_adns_addr2text"
4140 if test "x$ac_cv_func_adns_addr2text" = xyes; then :
4146 if $enable_ipv6; then
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling IPv6 support" >&5
4148 $as_echo "$as_me: Enabling IPv6 support" >&6;}
4150 $as_echo "#define CONFIG_IPV6 1" >>confdefs.h
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling IPv6 support" >&5
4154 $as_echo "$as_me: WARNING: Disabling IPv6 support" >&2;}
4159 _SUBDIRMK_MAKEFILES="$_SUBDIRMK_MAKEFILES common.make"
4160 ac_config_files="$ac_config_files common.make:common.make.in"
4164 ac_config_commands="$ac_config_commands default"
4166 cat >confcache <<\_ACEOF
4167 # This file is a shell script that caches the results of configure
4168 # tests run on this system so they can be shared between configure
4169 # scripts and configure runs, see configure's option --config-cache.
4170 # It is not useful on other systems. If it contains results you don't
4171 # want to keep, you may remove or edit it.
4173 # config.status only pays attention to the cache file if you give it
4174 # the --recheck option to rerun configure.
4176 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4177 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4182 # The following way of writing the cache mishandles newlines in values,
4183 # but we know of no workaround that is simple, portable, and efficient.
4184 # So, we kill variables containing newlines.
4185 # Ultrix sh set writes to stderr and can't be redirected directly,
4186 # and sets the high bit in the cache file unless we assign to the vars.
4188 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4189 eval ac_val=\$$ac_var
4193 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4194 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4197 _ | IFS | as_nl) ;; #(
4198 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4199 *) { eval $ac_var=; unset $ac_var;} ;;
4205 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4206 *${as_nl}ac_space=\ *)
4207 # `set' does not quote correctly, so add quotes: double-quote
4208 # substitution turns \\\\ into \\, and sed turns \\ into \.
4211 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4214 # `set' quotes correctly as required by POSIX, so do not add quotes.
4215 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4224 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4226 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4228 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4229 if test -w "$cache_file"; then
4230 if test "x$cache_file" != "x/dev/null"; then
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4232 $as_echo "$as_me: updating cache $cache_file" >&6;}
4233 if test ! -f "$cache_file" || test -h "$cache_file"; then
4234 cat confcache >"$cache_file"
4236 case $cache_file in #(
4238 mv -f confcache "$cache_file"$$ &&
4239 mv -f "$cache_file"$$ "$cache_file" ;; #(
4241 mv -f confcache "$cache_file" ;;
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4247 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4252 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4253 # Let make expand exec_prefix.
4254 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4256 DEFS=-DHAVE_CONFIG_H
4261 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4262 # 1. Remove the extension, and $U if already installed.
4263 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4264 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4265 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4266 # will be set to the directory where LIBOBJS objects are built.
4267 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4268 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4272 LTLIBOBJS=$ac_ltlibobjs
4277 : "${CONFIG_STATUS=./config.status}"
4279 ac_clean_files_save=$ac_clean_files
4280 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4282 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4284 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4286 # Generated by $as_me.
4287 # Run this file to recreate the current configuration.
4288 # Compiler output produced by configure, useful for debugging
4289 # configure, is in config.log if it exists.
4295 SHELL=\${CONFIG_SHELL-$SHELL}
4298 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4299 ## -------------------- ##
4300 ## M4sh Initialization. ##
4301 ## -------------------- ##
4303 # Be more Bourne compatible
4304 DUALCASE=1; export DUALCASE # for MKS sh
4305 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4308 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4309 # is contrary to our usage. Disable this feature.
4310 alias -g '${1+"$@"}'='"$@"'
4311 setopt NO_GLOB_SUBST
4313 case `(set -o) 2>/dev/null` in #(
4325 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4326 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4327 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4328 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4329 # Prefer a ksh shell builtin over an external printf program on Solaris,
4330 # but without wasting forks for bash or zsh.
4331 if test -z "$BASH_VERSION$ZSH_VERSION" \
4332 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4333 as_echo='print -r --'
4334 as_echo_n='print -rn --'
4335 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4336 as_echo='printf %s\n'
4337 as_echo_n='printf %s'
4339 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4340 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4341 as_echo_n='/usr/ucb/echo -n'
4343 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4344 as_echo_n_body='eval
4348 expr "X$arg" : "X\\(.*\\)$as_nl";
4349 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4351 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4353 export as_echo_n_body
4354 as_echo_n='sh -c $as_echo_n_body as_echo'
4357 as_echo='sh -c $as_echo_body as_echo'
4360 # The user is always right.
4361 if test "${PATH_SEPARATOR+set}" != set; then
4363 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4364 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4371 # We need space, tab and new line, in precisely that order. Quoting is
4372 # there to prevent editors from complaining about space-tab.
4373 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4374 # splitting by setting IFS to empty value.)
4377 # Find who we are. Look in the path if we contain no directory separator.
4380 *[\\/]* ) as_myself=$0 ;;
4381 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4385 test -z "$as_dir" && as_dir=.
4386 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4392 # We did not find ourselves, most probably we were run as `sh COMMAND'
4393 # in which case we are not to be found in the path.
4394 if test "x$as_myself" = x; then
4397 if test ! -f "$as_myself"; then
4398 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4402 # Unset variables that we do not need and which cause bugs (e.g. in
4403 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4404 # suppresses any "Segmentation fault" message there. '((' could
4405 # trigger a bug in pdksh 5.2.14.
4406 for as_var in BASH_ENV ENV MAIL MAILPATH
4407 do eval test x\${$as_var+set} = xset \
4408 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4421 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4424 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4425 # ----------------------------------------
4426 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4427 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4428 # script with STATUS, using 1 if that was 0.
4431 as_status=$1; test $as_status -eq 0 && as_status=1
4433 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4434 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4436 $as_echo "$as_me: error: $2" >&2
4437 as_fn_exit $as_status
4441 # as_fn_set_status STATUS
4442 # -----------------------
4443 # Set $? to STATUS, without forking.
4447 } # as_fn_set_status
4451 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4461 # Portably unset VAR.
4464 { eval $1=; unset $1;}
4466 as_unset=as_fn_unset
4467 # as_fn_append VAR VALUE
4468 # ----------------------
4469 # Append the text in VALUE to the end of the definition contained in VAR. Take
4470 # advantage of any shell optimizations that allow amortized linear growth over
4471 # repeated appends, instead of the typical quadratic growth present in naive
4473 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4474 eval 'as_fn_append ()
4485 # as_fn_arith ARG...
4486 # ------------------
4487 # Perform arithmetic evaluation on the ARGs, and store the result in the
4488 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4489 # must be portable across $(()) and expr.
4490 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4491 eval 'as_fn_arith ()
4498 as_val=`expr "$@" || test $? -eq 1`
4503 if expr a : '\(a\)' >/dev/null 2>&1 &&
4504 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4510 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4511 as_basename=basename
4516 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4522 as_me=`$as_basename -- "$0" ||
4523 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4524 X"$0" : 'X\(//\)$' \| \
4525 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4527 sed '/^.*\/\([^/][^/]*\)\/*$/{
4541 # Avoid depending upon Character Ranges.
4542 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4543 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4544 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4545 as_cr_digits='0123456789'
4546 as_cr_alnum=$as_cr_Letters$as_cr_digits
4548 ECHO_C= ECHO_N= ECHO_T=
4549 case `echo -n x` in #(((((
4551 case `echo 'xy\c'` in
4552 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4554 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4561 rm -f conf$$ conf$$.exe conf$$.file
4562 if test -d conf$$.dir; then
4563 rm -f conf$$.dir/conf$$.file
4566 mkdir conf$$.dir 2>/dev/null
4568 if (echo >conf$$.file) 2>/dev/null; then
4569 if ln -s conf$$.file conf$$ 2>/dev/null; then
4571 # ... but there are two gotchas:
4572 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4573 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4574 # In both cases, we have to default to `cp -pR'.
4575 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4577 elif ln conf$$.file conf$$ 2>/dev/null; then
4585 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4586 rmdir conf$$.dir 2>/dev/null
4591 # Create "$as_dir" as a directory, including parents if necessary.
4596 -*) as_dir=./$as_dir;;
4598 test -d "$as_dir" || eval $as_mkdir_p || {
4602 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4603 *) as_qdir=$as_dir;;
4605 as_dirs="'$as_qdir' $as_dirs"
4606 as_dir=`$as_dirname -- "$as_dir" ||
4607 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4608 X"$as_dir" : 'X\(//\)[^/]' \| \
4609 X"$as_dir" : 'X\(//\)$' \| \
4610 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4611 $as_echo X"$as_dir" |
4612 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4629 test -d "$as_dir" && break
4631 test -z "$as_dirs" || eval "mkdir $as_dirs"
4632 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4636 if mkdir -p . 2>/dev/null; then
4637 as_mkdir_p='mkdir -p "$as_dir"'
4639 test -d ./-p && rmdir ./-p
4644 # as_fn_executable_p FILE
4645 # -----------------------
4646 # Test if FILE is an executable regular file.
4647 as_fn_executable_p ()
4649 test -f "$1" && test -x "$1"
4650 } # as_fn_executable_p
4652 as_executable_p=as_fn_executable_p
4654 # Sed expression to map a string onto a valid CPP name.
4655 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4657 # Sed expression to map a string onto a valid variable name.
4658 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4662 ## ----------------------------------- ##
4663 ## Main body of $CONFIG_STATUS script. ##
4664 ## ----------------------------------- ##
4666 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4669 # Save the log message, to keep $0 and so on meaningful, and to
4670 # report actual input values of CONFIG_FILES etc. instead of their
4671 # values after options handling.
4673 This file was extended by secnet $as_me 0.1.18+, which was
4674 generated by GNU Autoconf 2.69. Invocation command line was
4676 CONFIG_FILES = $CONFIG_FILES
4677 CONFIG_HEADERS = $CONFIG_HEADERS
4678 CONFIG_LINKS = $CONFIG_LINKS
4679 CONFIG_COMMANDS = $CONFIG_COMMANDS
4682 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4687 case $ac_config_files in *"
4688 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4691 case $ac_config_headers in *"
4692 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4697 # Files that config.status was made for.
4698 config_files="$ac_config_files"
4699 config_headers="$ac_config_headers"
4700 config_commands="$ac_config_commands"
4704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4706 \`$as_me' instantiates files and other configuration actions
4707 from templates according to the current configuration. Unless the files
4708 and actions are specified as TAGs, all are instantiated by default.
4710 Usage: $0 [OPTION]... [TAG]...
4712 -h, --help print this help, then exit
4713 -V, --version print version number and configuration settings, then exit
4714 --config print configuration, then exit
4715 -q, --quiet, --silent
4716 do not print progress messages
4717 -d, --debug don't remove temporary files
4718 --recheck update $as_me by reconfiguring in the same conditions
4719 --file=FILE[:TEMPLATE]
4720 instantiate the configuration file FILE
4721 --header=FILE[:TEMPLATE]
4722 instantiate the configuration header FILE
4724 Configuration files:
4727 Configuration headers:
4730 Configuration commands:
4733 Report bugs to <secnet@chiark.greenend.org.uk>."
4736 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4737 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4739 secnet config.status 0.1.18+
4740 configured by $0, generated by GNU Autoconf 2.69,
4741 with options \\"\$ac_cs_config\\"
4743 Copyright (C) 2012 Free Software Foundation, Inc.
4744 This config.status script is free software; the Free Software Foundation
4745 gives unlimited permission to copy, distribute and modify it."
4750 test -n "\$AWK" || AWK=awk
4753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4754 # The default lists apply if the user does not specify any file.
4760 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4761 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4765 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4777 # Handling of the options.
4778 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4780 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4781 $as_echo "$ac_cs_version"; exit ;;
4782 --config | --confi | --conf | --con | --co | --c )
4783 $as_echo "$ac_cs_config"; exit ;;
4784 --debug | --debu | --deb | --de | --d | -d )
4786 --file | --fil | --fi | --f )
4789 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4790 '') as_fn_error $? "missing file argument" ;;
4792 as_fn_append CONFIG_FILES " '$ac_optarg'"
4793 ac_need_defaults=false;;
4794 --header | --heade | --head | --hea )
4797 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4799 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4800 ac_need_defaults=false;;
4802 # Conflict between --help and --header
4803 as_fn_error $? "ambiguous option: \`$1'
4804 Try \`$0 --help' for more information.";;
4805 --help | --hel | -h )
4806 $as_echo "$ac_cs_usage"; exit ;;
4807 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4808 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4812 -*) as_fn_error $? "unrecognized option: \`$1'
4813 Try \`$0 --help' for more information." ;;
4815 *) as_fn_append ac_config_targets " $1"
4816 ac_need_defaults=false ;;
4822 ac_configure_extra_args=
4824 if $ac_cs_silent; then
4826 ac_configure_extra_args="$ac_configure_extra_args --silent"
4830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4831 if \$ac_cs_recheck; then
4832 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4834 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4835 CONFIG_SHELL='$SHELL'
4841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4845 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4846 ## Running $as_me. ##
4852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4857 '$srcdir'/subdirmk/generate --srcdir='$srcdir' $subdirmk_subdirs
4862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4864 # Handling of arguments.
4865 for ac_config_target in $ac_config_targets
4867 case $ac_config_target in
4868 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4869 "main.mk") CONFIG_FILES="$CONFIG_FILES main.mk:main.mk.tmp" ;;
4870 "Dir.mk") CONFIG_FILES="$CONFIG_FILES Dir.mk:Dir.mk.tmp" ;;
4871 "Final.mk") CONFIG_FILES="$CONFIG_FILES Final.mk:Final.mk.tmp" ;;
4872 "subdirmk/regen.mk") CONFIG_FILES="$CONFIG_FILES subdirmk/regen.mk:subdirmk/regen.mk.in" ;;
4873 "subdirmk/usual.mk") CONFIG_FILES="$CONFIG_FILES subdirmk/usual.mk:subdirmk/usual.mk.in" ;;
4874 "test-example/Dir.mk") CONFIG_FILES="$CONFIG_FILES test-example/Dir.mk:test-example/Dir.mk.tmp" ;;
4875 "mtest/Dir.mk") CONFIG_FILES="$CONFIG_FILES mtest/Dir.mk:mtest/Dir.mk.tmp" ;;
4876 "stest/Dir.mk") CONFIG_FILES="$CONFIG_FILES stest/Dir.mk:stest/Dir.mk.tmp" ;;
4877 "common.make") CONFIG_FILES="$CONFIG_FILES common.make:common.make.in" ;;
4878 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
4880 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4885 # If the user did not use the arguments to specify the items to instantiate,
4886 # then the envvar interface is used. Set only those that are not.
4887 # We use the long form for the default assignment because of an extremely
4888 # bizarre bug on SunOS 4.1.3.
4889 if $ac_need_defaults; then
4890 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4891 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4892 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4895 # Have a temporary directory for convenience. Make it in the build tree
4896 # simply because there is no reason against having it here, and in addition,
4897 # creating and moving files from /tmp can sometimes cause problems.
4898 # Hook for its removal unless debugging.
4899 # Note that there is a small window in which the directory will not be cleaned:
4900 # after its creation but before its name has been assigned to `$tmp'.
4904 trap 'exit_status=$?
4906 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4908 trap 'as_fn_exit 1' 1 2 13 15
4910 # Create a (secure) tmp directory for tmp files.
4913 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4917 tmp=./conf$$-$RANDOM
4918 (umask 077 && mkdir "$tmp")
4919 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4922 # Set up the scripts for CONFIG_FILES section.
4923 # No need to generate them if there are no CONFIG_FILES.
4924 # This happens for instance with `./config.status config.h'.
4925 if test -n "$CONFIG_FILES"; then
4928 ac_cr=`echo X | tr X '\015'`
4929 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4930 # But we know of no other shell where ac_cr would be empty at this
4931 # point, so we can use a bashism as a fallback.
4932 if test "x$ac_cr" = x; then
4933 eval ac_cr=\$\'\\r\'
4935 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4936 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4942 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4947 echo "cat >conf$$subs.awk <<_ACEOF" &&
4948 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4951 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4952 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4954 for ac_last_try in false false false false false :; do
4955 . ./conf$$subs.sh ||
4956 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4958 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4959 if test $ac_delim_n = $ac_delim_num; then
4961 elif $ac_last_try; then
4962 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4964 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4970 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4974 s/^/S["/; s/!.*/"]=/
4984 s/\(.\{148\}\)..*/\1/
4986 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4991 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4998 s/\(.\{148\}\)..*/\1/
5000 s/["\\]/\\&/g; s/^/"/; s/$/"/
5004 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5009 ' <conf$$subs.awk | sed '
5014 ' >>$CONFIG_STATUS || ac_write_fail=1
5015 rm -f conf$$subs.awk
5016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5018 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5019 for (key in S) S_is_set[key] = 1
5025 nfields = split(line, field, "@")
5027 len = length(field[1])
5028 for (i = 2; i < nfields; i++) {
5030 keylen = length(key)
5031 if (S_is_set[key]) {
5033 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5034 len += length(value) + length(field[++i])
5045 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5046 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5047 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5050 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5051 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5054 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5055 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5056 # trailing colons and then remove the whole line if VPATH becomes empty
5057 # (actually we leave an empty line to preserve line numbers).
5058 if test "x$srcdir" = x.; then
5059 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5078 fi # test -n "$CONFIG_FILES"
5080 # Set up the scripts for CONFIG_HEADERS section.
5081 # No need to generate them if there are no CONFIG_HEADERS.
5082 # This happens for instance with `./config.status Makefile'.
5083 if test -n "$CONFIG_HEADERS"; then
5084 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5088 # Transform confdefs.h into an awk script `defines.awk', embedded as
5089 # here-document in config.status, that substitutes the proper values into
5090 # config.h.in to produce config.h.
5092 # Create a delimiter string that does not exist in confdefs.h, to ease
5093 # handling of long lines.
5095 for ac_last_try in false false :; do
5096 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5097 if test -z "$ac_tt"; then
5099 elif $ac_last_try; then
5100 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5102 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5106 # For the awk script, D is an array of macro values keyed by name,
5107 # likewise P contains macro parameters if any. Preserve backslash
5108 # newline sequences.
5110 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5112 s/.\{148\}/&'"$ac_delim"'/g
5115 s/^[ ]*#[ ]*define[ ][ ]*/ /
5122 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5124 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5128 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5129 D["\1"]=" \3\\\\\\n"\\/p
5131 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5136 s/.\{148\}/&'"$ac_delim"'/g
5141 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5144 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5146 ' <confdefs.h | sed '
5147 s/'"$ac_delim"'/"\\\
5148 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5151 for (key in D) D_is_set[key] = 1
5154 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5156 split(line, arg, " ")
5157 if (arg[1] == "#") {
5161 defundef = substr(arg[1], 2)
5164 split(mac1, mac2, "(") #)
5166 prefix = substr(line, 1, index(line, defundef) - 1)
5167 if (D_is_set[macro]) {
5168 # Preserve the white space surrounding the "#".
5169 print prefix "define", macro P[macro] D[macro]
5172 # Replace #undef with comments. This is necessary, for example,
5173 # in the case of _POSIX_SOURCE, which is predefined and required
5174 # on some systems where configure will not decide to define it.
5175 if (defundef == "undef") {
5176 print "/*", prefix defundef, macro, "*/"
5184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5185 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5186 fi # test -n "$CONFIG_HEADERS"
5189 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5194 :[FHLC]) ac_mode=$ac_tag; continue;;
5196 case $ac_mode$ac_tag in
5198 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5199 :[FH]-) ac_tag=-:-;;
5200 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5217 -) ac_f="$ac_tmp/stdin";;
5218 *) # Look for the file first in the build tree, then in the source tree
5219 # (if the path is not absolute). The absolute path cannot be DOS-style,
5220 # because $ac_f cannot contain `:'.
5224 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5226 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5228 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5229 as_fn_append ac_file_inputs " '$ac_f'"
5232 # Let's still pretend it is `configure' which instantiates (i.e., don't
5233 # use $as_me), people would be surprised to read:
5234 # /* config.h. Generated by config.status. */
5235 configure_input='Generated from '`
5236 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5238 if test x"$ac_file" != x-; then
5239 configure_input="$ac_file. $configure_input"
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5241 $as_echo "$as_me: creating $ac_file" >&6;}
5243 # Neutralize special characters interpreted by sed in replacement strings.
5244 case $configure_input in #(
5245 *\&* | *\|* | *\\* )
5246 ac_sed_conf_input=`$as_echo "$configure_input" |
5247 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5248 *) ac_sed_conf_input=$configure_input;;
5252 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5253 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5258 ac_dir=`$as_dirname -- "$ac_file" ||
5259 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5260 X"$ac_file" : 'X\(//\)[^/]' \| \
5261 X"$ac_file" : 'X\(//\)$' \| \
5262 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5263 $as_echo X"$ac_file" |
5264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5281 as_dir="$ac_dir"; as_fn_mkdir_p
5285 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5287 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5288 # A ".." for each directory in $ac_dir_suffix.
5289 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5290 case $ac_top_builddir_sub in
5291 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5292 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5295 ac_abs_top_builddir=$ac_pwd
5296 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5297 # for backward compatibility:
5298 ac_top_builddir=$ac_top_build_prefix
5301 .) # We are building in place.
5303 ac_top_srcdir=$ac_top_builddir_sub
5304 ac_abs_top_srcdir=$ac_pwd ;;
5305 [\\/]* | ?:[\\/]* ) # Absolute name.
5306 ac_srcdir=$srcdir$ac_dir_suffix;
5307 ac_top_srcdir=$srcdir
5308 ac_abs_top_srcdir=$srcdir ;;
5310 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5311 ac_top_srcdir=$ac_top_build_prefix$srcdir
5312 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5314 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5324 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5325 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5330 # If the template does not know about datarootdir, expand it.
5331 # FIXME: This hack should be removed a few years after 2.60.
5332 ac_datarootdir_hack=; ac_datarootdir_seen=
5343 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5344 *datarootdir*) ac_datarootdir_seen=yes;;
5345 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5347 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5350 ac_datarootdir_hack='
5351 s&@datadir@&$datadir&g
5352 s&@docdir@&$docdir&g
5353 s&@infodir@&$infodir&g
5354 s&@localedir@&$localedir&g
5355 s&@mandir@&$mandir&g
5356 s&\\\${datarootdir}&$datarootdir&g' ;;
5360 # Neutralize VPATH when `$srcdir' = `.'.
5361 # Shell code in configure.ac might set extrasub.
5362 # FIXME: do we really want to maintain this feature?
5363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5364 ac_sed_extra="$ac_vpsub
5367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5369 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5370 s|@configure_input@|$ac_sed_conf_input|;t t
5371 s&@top_builddir@&$ac_top_builddir_sub&;t t
5372 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5373 s&@srcdir@&$ac_srcdir&;t t
5374 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5375 s&@top_srcdir@&$ac_top_srcdir&;t t
5376 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5377 s&@builddir@&$ac_builddir&;t t
5378 s&@abs_builddir@&$ac_abs_builddir&;t t
5379 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5380 s&@INSTALL@&$ac_INSTALL&;t t
5381 $ac_datarootdir_hack
5383 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5384 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5386 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5387 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5388 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5389 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5391 which seems to be undefined. Please make sure it is defined" >&5
5392 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5393 which seems to be undefined. Please make sure it is defined" >&2;}
5395 rm -f "$ac_tmp/stdin"
5397 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5398 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5400 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5406 if test x"$ac_file" != x-; then
5408 $as_echo "/* $configure_input */" \
5409 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5410 } >"$ac_tmp/config.h" \
5411 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5412 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5414 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5417 mv "$ac_tmp/config.h" "$ac_file" \
5418 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5421 $as_echo "/* $configure_input */" \
5422 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5423 || as_fn_error $? "could not create -" "$LINENO" 5
5427 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5428 $as_echo "$as_me: executing $ac_file commands" >&6;}
5433 case $ac_file$ac_mode in
5434 "default":C) echo timestamp >config.stamp ;;
5442 ac_clean_files=$ac_clean_files_save
5444 test $ac_write_fail = 0 ||
5445 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5448 # configure is writing to config.log, and then calls config.status.
5449 # config.status does its own redirection, appending to config.log.
5450 # Unfortunately, on DOS this fails, as config.log is still kept open
5451 # by configure, so config.status won't be able to write to it; its
5452 # output is simply discarded. So we exec the FD to /dev/null,
5453 # effectively closing config.log, so it can be properly (re)opened and
5454 # appended to by config.status. When coming back to configure, we
5455 # need to make the FD available again.
5456 if test "$no_create" != yes; then
5458 ac_config_status_args=
5459 test "$silent" = yes &&
5460 ac_config_status_args="$ac_config_status_args --quiet"
5462 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5464 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5465 # would make configure fail if this is the last instruction.
5466 $ac_cs_success || as_fn_exit 1
5468 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5470 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}