2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.67 for secnet 0.1.18+.
6 # Report bugs to <secnet@chiark.greenend.org.uk>.
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
20 # Be more Bourne compatible
21 DUALCASE=1; export DUALCASE # for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo_n='print -rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58 as_echo_n='/usr/ucb/echo -n'
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
71 as_echo_n='sh -c $as_echo_n_body as_echo'
74 as_echo='sh -c $as_echo_body as_echo'
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
88 # We need space, tab and new line, in precisely that order. Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
94 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
222 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
227 if test x$as_have_required = xno; then :
228 $as_echo "$0: This script requires a shell more modern than all"
229 $as_echo "$0: the shells that I found on your system."
230 if test x${ZSH_VERSION+set} = xset ; then
231 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
232 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
234 $as_echo "$0: Please tell bug-autoconf@gnu.org and
235 $0: secnet@chiark.greenend.org.uk about your system,
236 $0: including any error possibly output before this
237 $0: message. Then install a modern shell, or manually run
238 $0: the script under such a shell if you do have one."
244 SHELL=${CONFIG_SHELL-/bin/sh}
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
255 # Portably unset VAR.
258 { eval $1=; unset $1;}
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282 # Create "$as_dir" as a directory, including parents if necessary.
287 -*) as_dir=./$as_dir;;
289 test -d "$as_dir" || eval $as_mkdir_p || {
293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 as_dirs="'$as_qdir' $as_dirs"
297 as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299 X"$as_dir" : 'X\(//\)[^/]' \| \
300 X"$as_dir" : 'X\(//\)$' \| \
301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320 test -d "$as_dir" && break
322 test -z "$as_dirs" || eval "mkdir $as_dirs"
323 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334 eval 'as_fn_append ()
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358 as_val=`expr "$@" || test $? -eq 1`
363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
364 # ----------------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with STATUS, using 1 if that was 0.
370 as_status=$1; test $as_status -eq 0 && as_status=1
372 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
375 $as_echo "$as_me: error: $2" >&2
376 as_fn_exit $as_status
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380 test "X`expr 00001 : '.*\(...\)'`" = X001; then
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400 X"$0" : 'X\(//\)$' \| \
401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403 sed '/^.*\/\([^/][^/]*\)\/*$/{
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
425 as_lineno_1=$LINENO as_lineno_1a=$LINENO
426 as_lineno_2=$LINENO as_lineno_2a=$LINENO
427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445 chmod +x "$as_me.lineno" ||
446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
448 # Don't try to exec as it changes $[0], causing all sort of problems
449 # (the dirname of $[0] is not the place where we might find the
450 # original and so on. Autoconf is especially sensitive to this).
452 # Exit status is that of the last command.
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
459 case `echo 'xy\c'` in
460 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471 rm -f conf$$.dir/conf$$.file
474 mkdir conf$$.dir 2>/dev/null
476 if (echo >conf$$.file) 2>/dev/null; then
477 if ln -s conf$$.file conf$$ 2>/dev/null; then
479 # ... but there are two gotchas:
480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482 # In both cases, we have to default to `cp -p'.
483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
485 elif ln conf$$.file conf$$ 2>/dev/null; then
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
496 if mkdir -p . 2>/dev/null; then
497 as_mkdir_p='mkdir -p "$as_dir"'
499 test -d ./-p && rmdir ./-p
503 if test -x / >/dev/null 2>&1; then
506 if ls -dL / >/dev/null 2>&1; then
513 if test -d "$1"; then
519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 ???[sx]*):;;*)false;;esac;fi
524 as_executable_p=$as_test_x
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 test -n "$DJDIR" || exec 7<&0 </dev/null
537 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
538 # so uname gets run too.
539 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
544 ac_default_prefix=/usr/local
546 ac_config_libobj_dir=.
553 # Identity of this package.
554 PACKAGE_NAME='secnet'
555 PACKAGE_TARNAME='secnet'
556 PACKAGE_VERSION='0.1.18+'
557 PACKAGE_STRING='secnet 0.1.18+'
558 PACKAGE_BUGREPORT='secnet@chiark.greenend.org.uk'
561 ac_unique_file="secnet.c"
562 # Factoring default headers for most tests.
563 ac_includes_default="\
565 #ifdef HAVE_SYS_TYPES_H
566 # include <sys/types.h>
568 #ifdef HAVE_SYS_STAT_H
569 # include <sys/stat.h>
575 # ifdef HAVE_STDLIB_H
580 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
585 #ifdef HAVE_STRINGS_H
586 # include <strings.h>
588 #ifdef HAVE_INTTYPES_H
589 # include <inttypes.h>
598 ac_subst_vars='LTLIBOBJS
644 program_transform_name
657 enable_option_checking
658 enable_hacky_parallel
660 ac_precious_vars='build_alias
671 # Initialize some variables set by options.
673 ac_init_version=false
674 ac_unrecognized_opts=
676 # The variables have the same names as the options, with
677 # dashes changed to underlines.
685 program_transform_name=s,x,x,
693 # Installation directory options.
694 # These are left unexpanded so users can "make install exec_prefix=/foo"
695 # and all the variables that are supposed to be based on exec_prefix
696 # by default will actually change.
697 # Use braces instead of parens because sh, perl, etc. also accept them.
698 # (The list follows the same order as the GNU Coding Standards.)
699 bindir='${exec_prefix}/bin'
700 sbindir='${exec_prefix}/sbin'
701 libexecdir='${exec_prefix}/libexec'
702 datarootdir='${prefix}/share'
703 datadir='${datarootdir}'
704 sysconfdir='${prefix}/etc'
705 sharedstatedir='${prefix}/com'
706 localstatedir='${prefix}/var'
707 includedir='${prefix}/include'
708 oldincludedir='/usr/include'
709 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
710 infodir='${datarootdir}/info'
715 libdir='${exec_prefix}/lib'
716 localedir='${datarootdir}/locale'
717 mandir='${datarootdir}/man'
723 # If the previous option needs an argument, assign it.
724 if test -n "$ac_prev"; then
725 eval $ac_prev=\$ac_option
731 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
736 # Accept the important Cygnus configure options, so we can diagnose typos.
738 case $ac_dashdash$ac_option in
742 -bindir | --bindir | --bindi | --bind | --bin | --bi)
744 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
747 -build | --build | --buil | --bui | --bu)
748 ac_prev=build_alias ;;
749 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
750 build_alias=$ac_optarg ;;
752 -cache-file | --cache-file | --cache-fil | --cache-fi \
753 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
754 ac_prev=cache_file ;;
755 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
756 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
757 cache_file=$ac_optarg ;;
760 cache_file=config.cache ;;
762 -datadir | --datadir | --datadi | --datad)
764 -datadir=* | --datadir=* | --datadi=* | --datad=*)
765 datadir=$ac_optarg ;;
767 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
768 | --dataroo | --dataro | --datar)
769 ac_prev=datarootdir ;;
770 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
771 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
772 datarootdir=$ac_optarg ;;
774 -disable-* | --disable-*)
775 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
776 # Reject names that are not valid shell variable names.
777 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
778 as_fn_error $? "invalid feature name: $ac_useropt"
779 ac_useropt_orig=$ac_useropt
780 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
781 case $ac_user_opts in
785 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
786 ac_unrecognized_sep=', ';;
788 eval enable_$ac_useropt=no ;;
790 -docdir | --docdir | --docdi | --doc | --do)
792 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
795 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
797 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
800 -enable-* | --enable-*)
801 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
802 # Reject names that are not valid shell variable names.
803 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
804 as_fn_error $? "invalid feature name: $ac_useropt"
805 ac_useropt_orig=$ac_useropt
806 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
807 case $ac_user_opts in
811 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
812 ac_unrecognized_sep=', ';;
814 eval enable_$ac_useropt=\$ac_optarg ;;
816 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
817 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
818 | --exec | --exe | --ex)
819 ac_prev=exec_prefix ;;
820 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
821 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
822 | --exec=* | --exe=* | --ex=*)
823 exec_prefix=$ac_optarg ;;
825 -gas | --gas | --ga | --g)
826 # Obsolete; use --with-gas.
829 -help | --help | --hel | --he | -h)
831 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
832 ac_init_help=recursive ;;
833 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
834 ac_init_help=short ;;
836 -host | --host | --hos | --ho)
837 ac_prev=host_alias ;;
838 -host=* | --host=* | --hos=* | --ho=*)
839 host_alias=$ac_optarg ;;
841 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
843 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
845 htmldir=$ac_optarg ;;
847 -includedir | --includedir | --includedi | --included | --include \
848 | --includ | --inclu | --incl | --inc)
849 ac_prev=includedir ;;
850 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
851 | --includ=* | --inclu=* | --incl=* | --inc=*)
852 includedir=$ac_optarg ;;
854 -infodir | --infodir | --infodi | --infod | --info | --inf)
856 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
857 infodir=$ac_optarg ;;
859 -libdir | --libdir | --libdi | --libd)
861 -libdir=* | --libdir=* | --libdi=* | --libd=*)
864 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
865 | --libexe | --libex | --libe)
866 ac_prev=libexecdir ;;
867 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
868 | --libexe=* | --libex=* | --libe=*)
869 libexecdir=$ac_optarg ;;
871 -localedir | --localedir | --localedi | --localed | --locale)
873 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
874 localedir=$ac_optarg ;;
876 -localstatedir | --localstatedir | --localstatedi | --localstated \
877 | --localstate | --localstat | --localsta | --localst | --locals)
878 ac_prev=localstatedir ;;
879 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
880 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
881 localstatedir=$ac_optarg ;;
883 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
885 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
889 # Obsolete; use --without-fp.
892 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
893 | --no-cr | --no-c | -n)
896 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
897 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
900 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
901 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
902 | --oldin | --oldi | --old | --ol | --o)
903 ac_prev=oldincludedir ;;
904 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
905 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
906 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
907 oldincludedir=$ac_optarg ;;
909 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
911 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
914 -program-prefix | --program-prefix | --program-prefi | --program-pref \
915 | --program-pre | --program-pr | --program-p)
916 ac_prev=program_prefix ;;
917 -program-prefix=* | --program-prefix=* | --program-prefi=* \
918 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
919 program_prefix=$ac_optarg ;;
921 -program-suffix | --program-suffix | --program-suffi | --program-suff \
922 | --program-suf | --program-su | --program-s)
923 ac_prev=program_suffix ;;
924 -program-suffix=* | --program-suffix=* | --program-suffi=* \
925 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
926 program_suffix=$ac_optarg ;;
928 -program-transform-name | --program-transform-name \
929 | --program-transform-nam | --program-transform-na \
930 | --program-transform-n | --program-transform- \
931 | --program-transform | --program-transfor \
932 | --program-transfo | --program-transf \
933 | --program-trans | --program-tran \
934 | --progr-tra | --program-tr | --program-t)
935 ac_prev=program_transform_name ;;
936 -program-transform-name=* | --program-transform-name=* \
937 | --program-transform-nam=* | --program-transform-na=* \
938 | --program-transform-n=* | --program-transform-=* \
939 | --program-transform=* | --program-transfor=* \
940 | --program-transfo=* | --program-transf=* \
941 | --program-trans=* | --program-tran=* \
942 | --progr-tra=* | --program-tr=* | --program-t=*)
943 program_transform_name=$ac_optarg ;;
945 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
947 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
950 -psdir | --psdir | --psdi | --psd | --ps)
952 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
955 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
956 | -silent | --silent | --silen | --sile | --sil)
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
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 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1125 If a cross compiler is detected then cross compile mode will be used" >&2
1126 elif test "x$build_alias" != "x$host_alias"; then
1132 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1134 test "$silent" = yes && exec 6>/dev/null
1137 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1138 ac_ls_di=`ls -di .` &&
1139 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1140 as_fn_error $? "working directory cannot be determined"
1141 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1142 as_fn_error $? "pwd does not report name of working directory"
1145 # Find the source files, if location was not specified.
1146 if test -z "$srcdir"; then
1147 ac_srcdir_defaulted=yes
1148 # Try the directory containing this script, then the parent directory.
1149 ac_confdir=`$as_dirname -- "$as_myself" ||
1150 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1151 X"$as_myself" : 'X\(//\)[^/]' \| \
1152 X"$as_myself" : 'X\(//\)$' \| \
1153 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1154 $as_echo X"$as_myself" |
1155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1173 if test ! -r "$srcdir/$ac_unique_file"; then
1177 ac_srcdir_defaulted=no
1179 if test ! -r "$srcdir/$ac_unique_file"; then
1180 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1181 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1183 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1185 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1187 # When building in place, set srcdir=.
1188 if test "$ac_abs_confdir" = "$ac_pwd"; then
1191 # Remove unnecessary trailing slashes from srcdir.
1192 # Double slashes in file names in object file debugging info
1193 # mess up M-x gdb in Emacs.
1195 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1197 for ac_var in $ac_precious_vars; do
1198 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1199 eval ac_env_${ac_var}_value=\$${ac_var}
1200 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1201 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1205 # Report the --help message.
1207 if test "$ac_init_help" = "long"; then
1208 # Omit some internal or obsolete options to make the list less imposing.
1209 # This message is too long to be a string in the A/UX 3.1 sh.
1211 \`configure' configures secnet 0.1.18+ to adapt to many kinds of systems.
1213 Usage: $0 [OPTION]... [VAR=VALUE]...
1215 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1216 VAR=VALUE. See below for descriptions of some of the useful variables.
1218 Defaults for the options are specified in brackets.
1221 -h, --help display this help and exit
1222 --help=short display options specific to this package
1223 --help=recursive display the short help of all the included packages
1224 -V, --version display version information and exit
1225 -q, --quiet, --silent do not print \`checking ...' messages
1226 --cache-file=FILE cache test results in FILE [disabled]
1227 -C, --config-cache alias for \`--cache-file=config.cache'
1228 -n, --no-create do not create output files
1229 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1231 Installation directories:
1232 --prefix=PREFIX install architecture-independent files in PREFIX
1233 [$ac_default_prefix]
1234 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1237 By default, \`make install' will install all the files in
1238 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1239 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1240 for instance \`--prefix=\$HOME'.
1242 For better control, use the options below.
1244 Fine tuning of the installation directories:
1245 --bindir=DIR user executables [EPREFIX/bin]
1246 --sbindir=DIR system admin executables [EPREFIX/sbin]
1247 --libexecdir=DIR program executables [EPREFIX/libexec]
1248 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1249 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1250 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1251 --libdir=DIR object code libraries [EPREFIX/lib]
1252 --includedir=DIR C header files [PREFIX/include]
1253 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1254 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1255 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1256 --infodir=DIR info documentation [DATAROOTDIR/info]
1257 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1258 --mandir=DIR man documentation [DATAROOTDIR/man]
1259 --docdir=DIR documentation root [DATAROOTDIR/doc/secnet]
1260 --htmldir=DIR html documentation [DOCDIR]
1261 --dvidir=DIR dvi documentation [DOCDIR]
1262 --pdfdir=DIR pdf documentation [DOCDIR]
1263 --psdir=DIR ps documentation [DOCDIR]
1270 if test -n "$ac_init_help"; then
1271 case $ac_init_help in
1272 short | recursive ) echo "Configuration of secnet 0.1.18+:";;
1277 --disable-option-checking ignore unrecognized --enable/--with options
1278 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1279 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1280 --enable-hacky-parallel parallelise slow cryptography (default is no)
1282 Some influential environment variables:
1283 CC C compiler command
1284 CFLAGS C compiler flags
1285 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1286 nonstandard directory <lib dir>
1287 LIBS libraries to pass to the linker, e.g. -l<library>
1288 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1289 you have headers in a nonstandard directory <include dir>
1292 Use these variables to override the choices made by `configure' or to help
1293 it to find libraries and programs with nonstandard names/locations.
1295 Report bugs to <secnet@chiark.greenend.org.uk>.
1300 if test "$ac_init_help" = "recursive"; then
1301 # If there are subdirs, report their specific --help.
1302 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1303 test -d "$ac_dir" ||
1304 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1309 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1311 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1312 # A ".." for each directory in $ac_dir_suffix.
1313 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1314 case $ac_top_builddir_sub in
1315 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1316 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1319 ac_abs_top_builddir=$ac_pwd
1320 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1321 # for backward compatibility:
1322 ac_top_builddir=$ac_top_build_prefix
1325 .) # We are building in place.
1327 ac_top_srcdir=$ac_top_builddir_sub
1328 ac_abs_top_srcdir=$ac_pwd ;;
1329 [\\/]* | ?:[\\/]* ) # Absolute name.
1330 ac_srcdir=$srcdir$ac_dir_suffix;
1331 ac_top_srcdir=$srcdir
1332 ac_abs_top_srcdir=$srcdir ;;
1334 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1335 ac_top_srcdir=$ac_top_build_prefix$srcdir
1336 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1338 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1340 cd "$ac_dir" || { ac_status=$?; continue; }
1341 # Check for guested configure.
1342 if test -f "$ac_srcdir/configure.gnu"; then
1344 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1345 elif test -f "$ac_srcdir/configure"; then
1347 $SHELL "$ac_srcdir/configure" --help=recursive
1349 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1351 cd "$ac_pwd" || { ac_status=$?; break; }
1355 test -n "$ac_init_help" && exit $ac_status
1356 if $ac_init_version; then
1358 secnet configure 0.1.18+
1359 generated by GNU Autoconf 2.67
1361 Copyright (C) 2010 Free Software Foundation, Inc.
1362 This configure script is free software; the Free Software Foundation
1363 gives unlimited permission to copy, distribute and modify it.
1368 ## ------------------------ ##
1369 ## Autoconf initialization. ##
1370 ## ------------------------ ##
1372 # ac_fn_c_try_compile LINENO
1373 # --------------------------
1374 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1375 ac_fn_c_try_compile ()
1377 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1378 rm -f conftest.$ac_objext
1379 if { { ac_try="$ac_compile"
1381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1382 *) ac_try_echo=$ac_try;;
1384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1385 $as_echo "$ac_try_echo"; } >&5
1386 (eval "$ac_compile") 2>conftest.err
1388 if test -s conftest.err; then
1389 grep -v '^ *+' conftest.err >conftest.er1
1390 cat conftest.er1 >&5
1391 mv -f conftest.er1 conftest.err
1393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1394 test $ac_status = 0; } && {
1395 test -z "$ac_c_werror_flag" ||
1396 test ! -s conftest.err
1397 } && test -s conftest.$ac_objext; then :
1400 $as_echo "$as_me: failed program was:" >&5
1401 sed 's/^/| /' conftest.$ac_ext >&5
1405 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1406 as_fn_set_status $ac_retval
1408 } # ac_fn_c_try_compile
1410 # ac_fn_c_try_cpp LINENO
1411 # ----------------------
1412 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1415 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1416 if { { ac_try="$ac_cpp conftest.$ac_ext"
1418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1419 *) ac_try_echo=$ac_try;;
1421 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1422 $as_echo "$ac_try_echo"; } >&5
1423 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1425 if test -s conftest.err; then
1426 grep -v '^ *+' conftest.err >conftest.er1
1427 cat conftest.er1 >&5
1428 mv -f conftest.er1 conftest.err
1430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1431 test $ac_status = 0; } > conftest.i && {
1432 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1433 test ! -s conftest.err
1437 $as_echo "$as_me: failed program was:" >&5
1438 sed 's/^/| /' conftest.$ac_ext >&5
1442 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1443 as_fn_set_status $ac_retval
1447 # ac_fn_c_try_run LINENO
1448 # ----------------------
1449 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1450 # that executables *can* be run.
1453 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1454 if { { ac_try="$ac_link"
1456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1457 *) ac_try_echo=$ac_try;;
1459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1460 $as_echo "$ac_try_echo"; } >&5
1461 (eval "$ac_link") 2>&5
1463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1464 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1465 { { case "(($ac_try" in
1466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1467 *) ac_try_echo=$ac_try;;
1469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1470 $as_echo "$ac_try_echo"; } >&5
1471 (eval "$ac_try") 2>&5
1473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1474 test $ac_status = 0; }; }; then :
1477 $as_echo "$as_me: program exited with status $ac_status" >&5
1478 $as_echo "$as_me: failed program was:" >&5
1479 sed 's/^/| /' conftest.$ac_ext >&5
1481 ac_retval=$ac_status
1483 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1484 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1485 as_fn_set_status $ac_retval
1489 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1490 # -------------------------------------------------------
1491 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1492 # the include files in INCLUDES and setting the cache variable VAR
1494 ac_fn_c_check_header_mongrel ()
1496 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1497 if eval "test \"\${$3+set}\"" = set; then :
1498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1499 $as_echo_n "checking for $2... " >&6; }
1500 if eval "test \"\${$3+set}\"" = set; then :
1501 $as_echo_n "(cached) " >&6
1504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1505 $as_echo "$ac_res" >&6; }
1507 # Is the header compilable?
1508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1509 $as_echo_n "checking $2 usability... " >&6; }
1510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1511 /* end confdefs.h. */
1515 if ac_fn_c_try_compile "$LINENO"; then :
1516 ac_header_compiler=yes
1518 ac_header_compiler=no
1520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1522 $as_echo "$ac_header_compiler" >&6; }
1524 # Is the header present?
1525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1526 $as_echo_n "checking $2 presence... " >&6; }
1527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1528 /* end confdefs.h. */
1531 if ac_fn_c_try_cpp "$LINENO"; then :
1532 ac_header_preproc=yes
1534 ac_header_preproc=no
1536 rm -f conftest.err conftest.i conftest.$ac_ext
1537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1538 $as_echo "$ac_header_preproc" >&6; }
1540 # So? What about this header?
1541 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1544 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1546 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1550 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1552 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1554 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1556 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1558 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1559 ( $as_echo "## -------------------------------------------- ##
1560 ## Report this to secnet@chiark.greenend.org.uk ##
1561 ## -------------------------------------------- ##"
1562 ) | sed "s/^/$as_me: WARNING: /" >&2
1565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1566 $as_echo_n "checking for $2... " >&6; }
1567 if eval "test \"\${$3+set}\"" = set; then :
1568 $as_echo_n "(cached) " >&6
1570 eval "$3=\$ac_header_compiler"
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1574 $as_echo "$ac_res" >&6; }
1576 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1578 } # ac_fn_c_check_header_mongrel
1580 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1581 # -------------------------------------------------------
1582 # Tests whether HEADER exists and can be compiled using the include files in
1583 # INCLUDES, setting the cache variable VAR accordingly.
1584 ac_fn_c_check_header_compile ()
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1588 $as_echo_n "checking for $2... " >&6; }
1589 if eval "test \"\${$3+set}\"" = set; then :
1590 $as_echo_n "(cached) " >&6
1592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1593 /* end confdefs.h. */
1597 if ac_fn_c_try_compile "$LINENO"; then :
1602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1606 $as_echo "$ac_res" >&6; }
1607 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1609 } # ac_fn_c_check_header_compile
1611 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1612 # --------------------------------------------
1613 # Tries to find the compile-time value of EXPR in a program that includes
1614 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1616 ac_fn_c_compute_int ()
1618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619 if test "$cross_compiling" = yes; then
1620 # Depending upon the size, compute the lo and hi bounds.
1621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1622 /* end confdefs.h. */
1627 static int test_array [1 - 2 * !(($2) >= 0)];
1634 if ac_fn_c_try_compile "$LINENO"; then :
1637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1638 /* end confdefs.h. */
1643 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1650 if ac_fn_c_try_compile "$LINENO"; then :
1651 ac_hi=$ac_mid; break
1653 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1654 if test $ac_lo -le $ac_mid; then
1658 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1664 /* end confdefs.h. */
1669 static int test_array [1 - 2 * !(($2) < 0)];
1676 if ac_fn_c_try_compile "$LINENO"; then :
1679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1680 /* end confdefs.h. */
1685 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1692 if ac_fn_c_try_compile "$LINENO"; then :
1693 ac_lo=$ac_mid; break
1695 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1696 if test $ac_mid -le $ac_hi; then
1700 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1710 # Binary search between lo and hi bounds.
1711 while test "x$ac_lo" != "x$ac_hi"; do
1712 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1714 /* end confdefs.h. */
1719 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1726 if ac_fn_c_try_compile "$LINENO"; then :
1729 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1734 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1739 /* end confdefs.h. */
1741 static long int longval () { return $2; }
1742 static unsigned long int ulongval () { return $2; }
1749 FILE *f = fopen ("conftest.val", "w");
1754 long int i = longval ();
1757 fprintf (f, "%ld", i);
1761 unsigned long int i = ulongval ();
1764 fprintf (f, "%lu", i);
1766 /* Do not output a trailing newline, as this causes \r\n confusion
1767 on some platforms. */
1768 return ferror (f) || fclose (f) != 0;
1774 if ac_fn_c_try_run "$LINENO"; then :
1775 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1779 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1780 conftest.$ac_objext conftest.beam conftest.$ac_ext
1784 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1785 as_fn_set_status $ac_retval
1787 } # ac_fn_c_compute_int
1789 # ac_fn_c_try_link LINENO
1790 # -----------------------
1791 # Try to link conftest.$ac_ext, and return whether this succeeded.
1794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795 rm -f conftest.$ac_objext conftest$ac_exeext
1796 if { { ac_try="$ac_link"
1798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1799 *) ac_try_echo=$ac_try;;
1801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802 $as_echo "$ac_try_echo"; } >&5
1803 (eval "$ac_link") 2>conftest.err
1805 if test -s conftest.err; then
1806 grep -v '^ *+' conftest.err >conftest.er1
1807 cat conftest.er1 >&5
1808 mv -f conftest.er1 conftest.err
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811 test $ac_status = 0; } && {
1812 test -z "$ac_c_werror_flag" ||
1813 test ! -s conftest.err
1814 } && test -s conftest$ac_exeext && {
1815 test "$cross_compiling" = yes ||
1816 $as_test_x conftest$ac_exeext
1820 $as_echo "$as_me: failed program was:" >&5
1821 sed 's/^/| /' conftest.$ac_ext >&5
1825 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1826 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1827 # interfere with the next link command; also delete a directory that is
1828 # left behind by Apple's compiler. We do this before executing the actions.
1829 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1830 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1831 as_fn_set_status $ac_retval
1833 } # ac_fn_c_try_link
1834 cat >config.log <<_ACEOF
1835 This file contains any messages produced by compilers while
1836 running configure, to aid debugging if configure makes a mistake.
1838 It was created by secnet $as_me 0.1.18+, which was
1839 generated by GNU Autoconf 2.67. Invocation command line was
1851 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1852 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1853 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1854 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1855 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1857 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1858 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1860 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1861 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1862 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1863 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1864 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1865 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1866 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1874 test -z "$as_dir" && as_dir=.
1875 $as_echo "PATH: $as_dir"
1891 # Keep a trace of the command line.
1892 # Strip out --no-create and --no-recursion so they do not pile up.
1893 # Strip out --silent because we don't want to record it for future runs.
1894 # Also quote any args containing shell meta-characters.
1895 # Make two passes to allow for proper duplicate-argument suppression.
1899 ac_must_keep_next=false
1905 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1906 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1907 | -silent | --silent | --silen | --sile | --sil)
1910 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1913 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1915 as_fn_append ac_configure_args1 " '$ac_arg'"
1916 if test $ac_must_keep_next = true; then
1917 ac_must_keep_next=false # Got value, back to normal.
1920 *=* | --config-cache | -C | -disable-* | --disable-* \
1921 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1922 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1923 | -with-* | --with-* | -without-* | --without-* | --x)
1924 case "$ac_configure_args0 " in
1925 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1928 -* ) ac_must_keep_next=true ;;
1931 as_fn_append ac_configure_args " '$ac_arg'"
1936 { ac_configure_args0=; unset ac_configure_args0;}
1937 { ac_configure_args1=; unset ac_configure_args1;}
1939 # When interrupted or exit'd, cleanup temporary files, and complete
1940 # config.log. We remove comments because anyway the quotes in there
1941 # would cause problems or look ugly.
1942 # WARNING: Use '\'' to represent an apostrophe within the trap.
1943 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1944 trap 'exit_status=$?
1945 # Save into config.log some information that might help in debugging.
1949 $as_echo "## ---------------- ##
1950 ## Cache variables. ##
1951 ## ---------------- ##"
1953 # The following way of writing the cache mishandles newlines in values,
1955 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1956 eval ac_val=\$$ac_var
1960 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1961 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1964 _ | IFS | as_nl) ;; #(
1965 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1966 *) { eval $ac_var=; unset $ac_var;} ;;
1971 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1972 *${as_nl}ac_space=\ *)
1974 "s/'\''/'\''\\\\'\'''\''/g;
1975 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1978 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1985 $as_echo "## ----------------- ##
1986 ## Output variables. ##
1987 ## ----------------- ##"
1989 for ac_var in $ac_subst_vars
1991 eval ac_val=\$$ac_var
1993 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1995 $as_echo "$ac_var='\''$ac_val'\''"
1999 if test -n "$ac_subst_files"; then
2000 $as_echo "## ------------------- ##
2001 ## File substitutions. ##
2002 ## ------------------- ##"
2004 for ac_var in $ac_subst_files
2006 eval ac_val=\$$ac_var
2008 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2010 $as_echo "$ac_var='\''$ac_val'\''"
2015 if test -s confdefs.h; then
2016 $as_echo "## ----------- ##
2023 test "$ac_signal" != 0 &&
2024 $as_echo "$as_me: caught signal $ac_signal"
2025 $as_echo "$as_me: exit $exit_status"
2027 rm -f core *.core core.conftest.* &&
2028 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2031 for ac_signal in 1 2 13 15; do
2032 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2036 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2037 rm -f -r conftest* confdefs.h
2039 $as_echo "/* confdefs.h */" > confdefs.h
2041 # Predefined preprocessor variables.
2043 cat >>confdefs.h <<_ACEOF
2044 #define PACKAGE_NAME "$PACKAGE_NAME"
2047 cat >>confdefs.h <<_ACEOF
2048 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2051 cat >>confdefs.h <<_ACEOF
2052 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2055 cat >>confdefs.h <<_ACEOF
2056 #define PACKAGE_STRING "$PACKAGE_STRING"
2059 cat >>confdefs.h <<_ACEOF
2060 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2063 cat >>confdefs.h <<_ACEOF
2064 #define PACKAGE_URL "$PACKAGE_URL"
2068 # Let the site file select an alternate cache file if it wants to.
2069 # Prefer an explicitly selected file to automatically selected ones.
2072 if test -n "$CONFIG_SITE"; then
2073 # We do not want a PATH search for config.site.
2074 case $CONFIG_SITE in #((
2075 -*) ac_site_file1=./$CONFIG_SITE;;
2076 */*) ac_site_file1=$CONFIG_SITE;;
2077 *) ac_site_file1=./$CONFIG_SITE;;
2079 elif test "x$prefix" != xNONE; then
2080 ac_site_file1=$prefix/share/config.site
2081 ac_site_file2=$prefix/etc/config.site
2083 ac_site_file1=$ac_default_prefix/share/config.site
2084 ac_site_file2=$ac_default_prefix/etc/config.site
2086 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2088 test "x$ac_site_file" = xNONE && continue
2089 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2091 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2092 sed 's/^/| /' "$ac_site_file" >&5
2094 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2096 as_fn_error $? "failed to load site script $ac_site_file
2097 See \`config.log' for more details" "$LINENO" 5 ; }
2101 if test -r "$cache_file"; then
2102 # Some versions of bash will fail to source /dev/null (special files
2103 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2104 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2106 $as_echo "$as_me: loading cache $cache_file" >&6;}
2108 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2109 *) . "./$cache_file";;
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2114 $as_echo "$as_me: creating cache $cache_file" >&6;}
2118 # Check that the precious variables saved in the cache have kept the same
2120 ac_cache_corrupted=false
2121 for ac_var in $ac_precious_vars; do
2122 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2123 eval ac_new_set=\$ac_env_${ac_var}_set
2124 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2125 eval ac_new_val=\$ac_env_${ac_var}_value
2126 case $ac_old_set,$ac_new_set in
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2129 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2130 ac_cache_corrupted=: ;;
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2133 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2134 ac_cache_corrupted=: ;;
2137 if test "x$ac_old_val" != "x$ac_new_val"; then
2138 # differences in whitespace do not lead to failure.
2139 ac_old_val_w=`echo x $ac_old_val`
2140 ac_new_val_w=`echo x $ac_new_val`
2141 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2143 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2144 ac_cache_corrupted=:
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2147 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2148 eval $ac_var=\$ac_old_val
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2151 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2153 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2156 # Pass precious variables to config.status.
2157 if test "$ac_new_set" = set; then
2159 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2160 *) ac_arg=$ac_var=$ac_new_val ;;
2162 case " $ac_configure_args " in
2163 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2164 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2168 if $ac_cache_corrupted; then
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2172 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2173 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2175 ## -------------------- ##
2176 ## Main body of script. ##
2177 ## -------------------- ##
2180 ac_cpp='$CPP $CPPFLAGS'
2181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2187 ac_config_headers="$ac_config_headers config.h"
2194 ac_cpp='$CPP $CPPFLAGS'
2195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2200 # If fink is on the path then it is assumed we should use it.
2201 # Extract the first word of "fink", so it can be a program name with args.
2202 set dummy fink; ac_word=$2
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2204 $as_echo_n "checking for $ac_word... " >&6; }
2205 if test "${ac_cv_path_FINK+set}" = set; then :
2206 $as_echo_n "(cached) " >&6
2210 ac_cv_path_FINK="$FINK" # Let the user override the test with a path.
2213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2217 test -z "$as_dir" && as_dir=.
2218 for ac_exec_ext in '' $ac_executable_extensions; do
2219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2220 ac_cv_path_FINK="$as_dir/$ac_word$ac_exec_ext"
2221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2231 FINK=$ac_cv_path_FINK
2232 if test -n "$FINK"; then
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FINK" >&5
2234 $as_echo "$FINK" >&6; }
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2237 $as_echo "no" >&6; }
2241 if test "x$FINK" != x; then
2242 finkdir=`echo $FINK|sed 's,/[^/]*/[^/]*$,,'`
2243 CPPFLAGS="-I$finkdir/include ${CPPFLAGS}"
2244 LDFLAGS="-L$finkdir/lib ${LDFLAGS}"
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2248 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2250 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2251 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2252 $as_echo_n "(cached) " >&6
2254 cat >conftest.make <<\_ACEOF
2257 @echo '@@@%%%=$(MAKE)=@@@%%%'
2259 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2260 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2262 eval ac_cv_prog_make_${ac_make}_set=yes;;
2264 eval ac_cv_prog_make_${ac_make}_set=no;;
2268 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2270 $as_echo "yes" >&6; }
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2274 $as_echo "no" >&6; }
2275 SET_MAKE="MAKE=${MAKE-make}"
2279 ac_cpp='$CPP $CPPFLAGS'
2280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2283 if test -n "$ac_tool_prefix"; then
2284 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2285 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2287 $as_echo_n "checking for $ac_word... " >&6; }
2288 if test "${ac_cv_prog_CC+set}" = set; then :
2289 $as_echo_n "(cached) " >&6
2291 if test -n "$CC"; then
2292 ac_cv_prog_CC="$CC" # Let the user override the test.
2294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2298 test -z "$as_dir" && as_dir=.
2299 for ac_exec_ext in '' $ac_executable_extensions; do
2300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2301 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2312 if test -n "$CC"; then
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2314 $as_echo "$CC" >&6; }
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2317 $as_echo "no" >&6; }
2322 if test -z "$ac_cv_prog_CC"; then
2324 # Extract the first word of "gcc", so it can be a program name with args.
2325 set dummy gcc; ac_word=$2
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2327 $as_echo_n "checking for $ac_word... " >&6; }
2328 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2329 $as_echo_n "(cached) " >&6
2331 if test -n "$ac_ct_CC"; then
2332 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338 test -z "$as_dir" && as_dir=.
2339 for ac_exec_ext in '' $ac_executable_extensions; do
2340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2341 ac_cv_prog_ac_ct_CC="gcc"
2342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2351 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2352 if test -n "$ac_ct_CC"; then
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2354 $as_echo "$ac_ct_CC" >&6; }
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2357 $as_echo "no" >&6; }
2360 if test "x$ac_ct_CC" = x; then
2363 case $cross_compiling:$ac_tool_warned in
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2367 ac_tool_warned=yes ;;
2375 if test -z "$CC"; then
2376 if test -n "$ac_tool_prefix"; then
2377 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2378 set dummy ${ac_tool_prefix}cc; ac_word=$2
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2380 $as_echo_n "checking for $ac_word... " >&6; }
2381 if test "${ac_cv_prog_CC+set}" = set; then :
2382 $as_echo_n "(cached) " >&6
2384 if test -n "$CC"; then
2385 ac_cv_prog_CC="$CC" # Let the user override the test.
2387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2391 test -z "$as_dir" && as_dir=.
2392 for ac_exec_ext in '' $ac_executable_extensions; do
2393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2394 ac_cv_prog_CC="${ac_tool_prefix}cc"
2395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2405 if test -n "$CC"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2407 $as_echo "$CC" >&6; }
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2410 $as_echo "no" >&6; }
2416 if test -z "$CC"; then
2417 # Extract the first word of "cc", so it can be a program name with args.
2418 set dummy cc; ac_word=$2
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2420 $as_echo_n "checking for $ac_word... " >&6; }
2421 if test "${ac_cv_prog_CC+set}" = set; then :
2422 $as_echo_n "(cached) " >&6
2424 if test -n "$CC"; then
2425 ac_cv_prog_CC="$CC" # Let the user override the test.
2428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2432 test -z "$as_dir" && as_dir=.
2433 for ac_exec_ext in '' $ac_executable_extensions; do
2434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2435 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2436 ac_prog_rejected=yes
2440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2447 if test $ac_prog_rejected = yes; then
2448 # We found a bogon in the path, so make sure we never use it.
2449 set dummy $ac_cv_prog_CC
2451 if test $# != 0; then
2452 # We chose a different compiler from the bogus one.
2453 # However, it has the same basename, so the bogon will be chosen
2454 # first if we set CC to just the basename; use the full file name.
2456 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2462 if test -n "$CC"; then
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2464 $as_echo "$CC" >&6; }
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2467 $as_echo "no" >&6; }
2472 if test -z "$CC"; then
2473 if test -n "$ac_tool_prefix"; then
2474 for ac_prog in cl.exe
2476 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2477 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2479 $as_echo_n "checking for $ac_word... " >&6; }
2480 if test "${ac_cv_prog_CC+set}" = set; then :
2481 $as_echo_n "(cached) " >&6
2483 if test -n "$CC"; then
2484 ac_cv_prog_CC="$CC" # Let the user override the test.
2486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2490 test -z "$as_dir" && as_dir=.
2491 for ac_exec_ext in '' $ac_executable_extensions; do
2492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2493 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2504 if test -n "$CC"; then
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2506 $as_echo "$CC" >&6; }
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2509 $as_echo "no" >&6; }
2513 test -n "$CC" && break
2516 if test -z "$CC"; then
2518 for ac_prog in cl.exe
2520 # Extract the first word of "$ac_prog", so it can be a program name with args.
2521 set dummy $ac_prog; ac_word=$2
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2523 $as_echo_n "checking for $ac_word... " >&6; }
2524 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2525 $as_echo_n "(cached) " >&6
2527 if test -n "$ac_ct_CC"; then
2528 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2534 test -z "$as_dir" && as_dir=.
2535 for ac_exec_ext in '' $ac_executable_extensions; do
2536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2537 ac_cv_prog_ac_ct_CC="$ac_prog"
2538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2547 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2548 if test -n "$ac_ct_CC"; then
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2550 $as_echo "$ac_ct_CC" >&6; }
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2553 $as_echo "no" >&6; }
2557 test -n "$ac_ct_CC" && break
2560 if test "x$ac_ct_CC" = x; then
2563 case $cross_compiling:$ac_tool_warned in
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2567 ac_tool_warned=yes ;;
2576 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2578 as_fn_error $? "no acceptable C compiler found in \$PATH
2579 See \`config.log' for more details" "$LINENO" 5 ; }
2581 # Provide some information about the compiler.
2582 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2585 for ac_option in --version -v -V -qversion; do
2586 { { ac_try="$ac_compiler $ac_option >&5"
2588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2589 *) ac_try_echo=$ac_try;;
2591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2592 $as_echo "$ac_try_echo"; } >&5
2593 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2595 if test -s conftest.err; then
2597 ... rest of stderr output deleted ...
2598 10q' conftest.err >conftest.er1
2599 cat conftest.er1 >&5
2601 rm -f conftest.er1 conftest.err
2602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2603 test $ac_status = 0; }
2606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2607 /* end confdefs.h. */
2617 ac_clean_files_save=$ac_clean_files
2618 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2619 # Try to create an executable without -o first, disregard a.out.
2620 # It will help us diagnose broken compilers, and finding out an intuition
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2623 $as_echo_n "checking whether the C compiler works... " >&6; }
2624 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2626 # The possible output files:
2627 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2630 for ac_file in $ac_files
2633 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2634 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2639 if { { ac_try="$ac_link_default"
2641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2642 *) ac_try_echo=$ac_try;;
2644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2645 $as_echo "$ac_try_echo"; } >&5
2646 (eval "$ac_link_default") 2>&5
2648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2649 test $ac_status = 0; }; then :
2650 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2651 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2652 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2653 # so that the user can short-circuit this test for compilers unknown to
2655 for ac_file in $ac_files ''
2657 test -f "$ac_file" || continue
2659 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2662 # We found the default executable, but exeext='' is most
2666 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2668 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2670 # We set ac_cv_exeext here because the later test for it is not
2671 # safe: cross compilers may not add the suffix if given an `-o'
2672 # argument, so we may need to know it at that point already.
2673 # Even if this section looks crufty: it has the advantage of
2680 test "$ac_cv_exeext" = no && ac_cv_exeext=
2685 if test -z "$ac_file"; then :
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2687 $as_echo "no" >&6; }
2688 $as_echo "$as_me: failed program was:" >&5
2689 sed 's/^/| /' conftest.$ac_ext >&5
2691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2693 as_fn_error 77 "C compiler cannot create executables
2694 See \`config.log' for more details" "$LINENO" 5 ; }
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2697 $as_echo "yes" >&6; }
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2700 $as_echo_n "checking for C compiler default output file name... " >&6; }
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2702 $as_echo "$ac_file" >&6; }
2703 ac_exeext=$ac_cv_exeext
2705 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2706 ac_clean_files=$ac_clean_files_save
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2708 $as_echo_n "checking for suffix of executables... " >&6; }
2709 if { { ac_try="$ac_link"
2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2715 $as_echo "$ac_try_echo"; } >&5
2716 (eval "$ac_link") 2>&5
2718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2719 test $ac_status = 0; }; then :
2720 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2721 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2722 # work properly (i.e., refer to `conftest.exe'), while it won't with
2724 for ac_file in conftest.exe conftest conftest.*; do
2725 test -f "$ac_file" || continue
2727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2728 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2736 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2737 See \`config.log' for more details" "$LINENO" 5 ; }
2739 rm -f conftest conftest$ac_cv_exeext
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2741 $as_echo "$ac_cv_exeext" >&6; }
2743 rm -f conftest.$ac_ext
2744 EXEEXT=$ac_cv_exeext
2746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2747 /* end confdefs.h. */
2752 FILE *f = fopen ("conftest.out", "w");
2753 return ferror (f) || fclose (f) != 0;
2759 ac_clean_files="$ac_clean_files conftest.out"
2760 # Check that the compiler produces executables we can run. If not, either
2761 # the compiler is broken, or we cross compile.
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2763 $as_echo_n "checking whether we are cross compiling... " >&6; }
2764 if test "$cross_compiling" != yes; then
2765 { { ac_try="$ac_link"
2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2771 $as_echo "$ac_try_echo"; } >&5
2772 (eval "$ac_link") 2>&5
2774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2775 test $ac_status = 0; }
2776 if { ac_try='./conftest$ac_cv_exeext'
2777 { { case "(($ac_try" in
2778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2779 *) ac_try_echo=$ac_try;;
2781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2782 $as_echo "$ac_try_echo"; } >&5
2783 (eval "$ac_try") 2>&5
2785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2786 test $ac_status = 0; }; }; then
2789 if test "$cross_compiling" = maybe; then
2792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2794 as_fn_error $? "cannot run C compiled programs.
2795 If you meant to cross compile, use \`--host'.
2796 See \`config.log' for more details" "$LINENO" 5 ; }
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2801 $as_echo "$cross_compiling" >&6; }
2803 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2804 ac_clean_files=$ac_clean_files_save
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2806 $as_echo_n "checking for suffix of object files... " >&6; }
2807 if test "${ac_cv_objext+set}" = set; then :
2808 $as_echo_n "(cached) " >&6
2810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2811 /* end confdefs.h. */
2821 rm -f conftest.o conftest.obj
2822 if { { ac_try="$ac_compile"
2824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2825 *) ac_try_echo=$ac_try;;
2827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2828 $as_echo "$ac_try_echo"; } >&5
2829 (eval "$ac_compile") 2>&5
2831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2832 test $ac_status = 0; }; then :
2833 for ac_file in conftest.o conftest.obj conftest.*; do
2834 test -f "$ac_file" || continue;
2836 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2837 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2842 $as_echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.$ac_ext >&5
2845 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2847 as_fn_error $? "cannot compute suffix of object files: cannot compile
2848 See \`config.log' for more details" "$LINENO" 5 ; }
2850 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2853 $as_echo "$ac_cv_objext" >&6; }
2854 OBJEXT=$ac_cv_objext
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2857 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2858 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2859 $as_echo_n "(cached) " >&6
2861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2862 /* end confdefs.h. */
2875 if ac_fn_c_try_compile "$LINENO"; then :
2880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2881 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2885 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2886 if test $ac_compiler_gnu = yes; then
2891 ac_test_CFLAGS=${CFLAGS+set}
2892 ac_save_CFLAGS=$CFLAGS
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2894 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2895 if test "${ac_cv_prog_cc_g+set}" = set; then :
2896 $as_echo_n "(cached) " >&6
2898 ac_save_c_werror_flag=$ac_c_werror_flag
2899 ac_c_werror_flag=yes
2902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2903 /* end confdefs.h. */
2913 if ac_fn_c_try_compile "$LINENO"; then :
2917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2918 /* end confdefs.h. */
2928 if ac_fn_c_try_compile "$LINENO"; then :
2931 ac_c_werror_flag=$ac_save_c_werror_flag
2933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2934 /* end confdefs.h. */
2944 if ac_fn_c_try_compile "$LINENO"; then :
2947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2952 ac_c_werror_flag=$ac_save_c_werror_flag
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2955 $as_echo "$ac_cv_prog_cc_g" >&6; }
2956 if test "$ac_test_CFLAGS" = set; then
2957 CFLAGS=$ac_save_CFLAGS
2958 elif test $ac_cv_prog_cc_g = yes; then
2959 if test "$GCC" = yes; then
2965 if test "$GCC" = yes; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2972 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2973 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2974 $as_echo_n "(cached) " >&6
2976 ac_cv_prog_cc_c89=no
2978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2979 /* end confdefs.h. */
2982 #include <sys/types.h>
2983 #include <sys/stat.h>
2984 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2985 struct buf { int x; };
2986 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2987 static char *e (p, i)
2993 static char *f (char * (*g) (char **, int), char **p, ...)
2998 s = g (p, va_arg (v,int));
3003 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3004 function prototypes and stuff, but not '\xHH' hex character constants.
3005 These don't provoke an error unfortunately, instead are silently treated
3006 as 'x'. The following induces an error, until -std is added to get
3007 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3008 array size at least. It's necessary to write '\x00'==0 to get something
3009 that's true only with -std. */
3010 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3012 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3013 inside strings and character constants. */
3015 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3017 int test (int i, double x);
3018 struct s1 {int (*f) (int a);};
3019 struct s2 {int (*f) (double a);};
3020 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3026 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3031 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3032 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3034 CC="$ac_save_CC $ac_arg"
3035 if ac_fn_c_try_compile "$LINENO"; then :
3036 ac_cv_prog_cc_c89=$ac_arg
3038 rm -f core conftest.err conftest.$ac_objext
3039 test "x$ac_cv_prog_cc_c89" != "xno" && break
3041 rm -f conftest.$ac_ext
3046 case "x$ac_cv_prog_cc_c89" in
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3049 $as_echo "none needed" >&6; } ;;
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3052 $as_echo "unsupported" >&6; } ;;
3054 CC="$CC $ac_cv_prog_cc_c89"
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3056 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3058 if test "x$ac_cv_prog_cc_c89" != xno; then :
3063 ac_cpp='$CPP $CPPFLAGS'
3064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3069 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3070 if test -f "$ac_dir/install-sh"; then
3072 ac_install_sh="$ac_aux_dir/install-sh -c"
3074 elif test -f "$ac_dir/install.sh"; then
3076 ac_install_sh="$ac_aux_dir/install.sh -c"
3078 elif test -f "$ac_dir/shtool"; then
3080 ac_install_sh="$ac_aux_dir/shtool install -c"
3084 if test -z "$ac_aux_dir"; then
3085 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3088 # These three variables are undocumented and unsupported,
3089 # and are intended to be withdrawn in a future Autoconf release.
3090 # They can cause serious problems if a builder's source tree is in a directory
3091 # whose full name contains unusual characters.
3092 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3093 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3094 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3097 # Find a good install program. We prefer a C program (faster),
3098 # so one script is as good as another. But avoid the broken or
3099 # incompatible versions:
3100 # SysV /etc/install, /usr/sbin/install
3101 # SunOS /usr/etc/install
3102 # IRIX /sbin/install
3104 # AmigaOS /C/install, which installs bootblocks on floppy discs
3105 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3106 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3107 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3108 # OS/2's system install, which has a completely different semantic
3109 # ./install, which can be erroneously created by make from ./install.sh.
3110 # Reject install programs that cannot install multiple files.
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3112 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3113 if test -z "$INSTALL"; then
3114 if test "${ac_cv_path_install+set}" = set; then :
3115 $as_echo_n "(cached) " >&6
3117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3121 test -z "$as_dir" && as_dir=.
3122 # Account for people who put trailing slashes in PATH elements.
3123 case $as_dir/ in #((
3124 ./ | .// | /[cC]/* | \
3125 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3126 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3129 # OSF1 and SCO ODT 3.0 have their own names for install.
3130 # Don't use installbsd from OSF since it installs stuff as root
3132 for ac_prog in ginstall scoinst install; do
3133 for ac_exec_ext in '' $ac_executable_extensions; do
3134 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3135 if test $ac_prog = install &&
3136 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3137 # AIX install. It has an incompatible calling convention.
3139 elif test $ac_prog = install &&
3140 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3141 # program-specific install script used by HP pwplus--don't use.
3144 rm -rf conftest.one conftest.two conftest.dir
3145 echo one > conftest.one
3146 echo two > conftest.two
3148 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3149 test -s conftest.one && test -s conftest.two &&
3150 test -s conftest.dir/conftest.one &&
3151 test -s conftest.dir/conftest.two
3153 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3166 rm -rf conftest.one conftest.two conftest.dir
3169 if test "${ac_cv_path_install+set}" = set; then
3170 INSTALL=$ac_cv_path_install
3172 # As a last resort, use the slow shell script. Don't cache a
3173 # value for INSTALL within a source directory, because that will
3174 # break other packages using the cache if that directory is
3175 # removed, or if the value is a relative name.
3176 INSTALL=$ac_install_sh
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3180 $as_echo "$INSTALL" >&6; }
3182 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3183 # It thinks the first close brace ends the variable substitution.
3184 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3186 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3188 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3190 # Extract the first word of "rm", so it can be a program name with args.
3191 set dummy rm; ac_word=$2
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3193 $as_echo_n "checking for $ac_word... " >&6; }
3194 if test "${ac_cv_path_RM+set}" = set; then :
3195 $as_echo_n "(cached) " >&6
3199 ac_cv_path_RM="$RM" # Let the user override the test with a path.
3202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3206 test -z "$as_dir" && as_dir=.
3207 for ac_exec_ext in '' $ac_executable_extensions; do
3208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
3210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3221 if test -n "$RM"; then
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
3223 $as_echo "$RM" >&6; }
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226 $as_echo "no" >&6; }
3232 ac_cpp='$CPP $CPPFLAGS'
3233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3237 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3238 # On Suns, sometimes $CPP names a directory.
3239 if test -n "$CPP" && test -d "$CPP"; then
3242 if test -z "$CPP"; then
3243 if test "${ac_cv_prog_CPP+set}" = set; then :
3244 $as_echo_n "(cached) " >&6
3246 # Double quotes because CPP needs to be expanded
3247 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3250 for ac_c_preproc_warn_flag in '' yes
3252 # Use a header file that comes with gcc, so configuring glibc
3253 # with a fresh cross-compiler works.
3254 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3255 # <limits.h> exists even on freestanding compilers.
3256 # On the NeXT, cc -E runs the code through the compiler's parser,
3257 # not just through cpp. "Syntax error" is here to catch this case.
3258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3261 # include <limits.h>
3263 # include <assert.h>
3267 if ac_fn_c_try_cpp "$LINENO"; then :
3270 # Broken: fails on valid input.
3273 rm -f conftest.err conftest.i conftest.$ac_ext
3275 # OK, works on sane cases. Now check whether nonexistent headers
3276 # can be detected and how.
3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3279 #include <ac_nonexistent.h>
3281 if ac_fn_c_try_cpp "$LINENO"; then :
3282 # Broken: success on invalid input.
3285 # Passes both tests.
3289 rm -f conftest.err conftest.i conftest.$ac_ext
3292 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3293 rm -f conftest.i conftest.err conftest.$ac_ext
3294 if $ac_preproc_ok; then :
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3307 $as_echo "$CPP" >&6; }
3309 for ac_c_preproc_warn_flag in '' yes
3311 # Use a header file that comes with gcc, so configuring glibc
3312 # with a fresh cross-compiler works.
3313 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3314 # <limits.h> exists even on freestanding compilers.
3315 # On the NeXT, cc -E runs the code through the compiler's parser,
3316 # not just through cpp. "Syntax error" is here to catch this case.
3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3320 # include <limits.h>
3322 # include <assert.h>
3326 if ac_fn_c_try_cpp "$LINENO"; then :
3329 # Broken: fails on valid input.
3332 rm -f conftest.err conftest.i conftest.$ac_ext
3334 # OK, works on sane cases. Now check whether nonexistent headers
3335 # can be detected and how.
3336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337 /* end confdefs.h. */
3338 #include <ac_nonexistent.h>
3340 if ac_fn_c_try_cpp "$LINENO"; then :
3341 # Broken: success on invalid input.
3344 # Passes both tests.
3348 rm -f conftest.err conftest.i conftest.$ac_ext
3351 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3352 rm -f conftest.i conftest.err conftest.$ac_ext
3353 if $ac_preproc_ok; then :
3356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3358 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3359 See \`config.log' for more details" "$LINENO" 5 ; }
3363 ac_cpp='$CPP $CPPFLAGS'
3364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3370 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3371 if test "${ac_cv_path_GREP+set}" = set; then :
3372 $as_echo_n "(cached) " >&6
3374 if test -z "$GREP"; then
3375 ac_path_GREP_found=false
3376 # Loop through the user's path and test for each of PROGNAME-LIST
3377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3378 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3381 test -z "$as_dir" && as_dir=.
3382 for ac_prog in grep ggrep; do
3383 for ac_exec_ext in '' $ac_executable_extensions; do
3384 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3385 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3386 # Check for GNU ac_path_GREP and select it if it is found.
3387 # Check for GNU $ac_path_GREP
3388 case `"$ac_path_GREP" --version 2>&1` in
3390 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3393 $as_echo_n 0123456789 >"conftest.in"
3396 cat "conftest.in" "conftest.in" >"conftest.tmp"
3397 mv "conftest.tmp" "conftest.in"
3398 cp "conftest.in" "conftest.nl"
3399 $as_echo 'GREP' >> "conftest.nl"
3400 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3401 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3402 as_fn_arith $ac_count + 1 && ac_count=$as_val
3403 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3404 # Best one so far, save it but keep looking for a better one
3405 ac_cv_path_GREP="$ac_path_GREP"
3406 ac_path_GREP_max=$ac_count
3408 # 10*(2^10) chars as input seems more than enough
3409 test $ac_count -gt 10 && break
3411 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3414 $ac_path_GREP_found && break 3
3419 if test -z "$ac_cv_path_GREP"; then
3420 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3423 ac_cv_path_GREP=$GREP
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3428 $as_echo "$ac_cv_path_GREP" >&6; }
3429 GREP="$ac_cv_path_GREP"
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3433 $as_echo_n "checking for egrep... " >&6; }
3434 if test "${ac_cv_path_EGREP+set}" = set; then :
3435 $as_echo_n "(cached) " >&6
3437 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3438 then ac_cv_path_EGREP="$GREP -E"
3440 if test -z "$EGREP"; then
3441 ac_path_EGREP_found=false
3442 # Loop through the user's path and test for each of PROGNAME-LIST
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3447 test -z "$as_dir" && as_dir=.
3448 for ac_prog in egrep; do
3449 for ac_exec_ext in '' $ac_executable_extensions; do
3450 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3451 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3452 # Check for GNU ac_path_EGREP and select it if it is found.
3453 # Check for GNU $ac_path_EGREP
3454 case `"$ac_path_EGREP" --version 2>&1` in
3456 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3459 $as_echo_n 0123456789 >"conftest.in"
3462 cat "conftest.in" "conftest.in" >"conftest.tmp"
3463 mv "conftest.tmp" "conftest.in"
3464 cp "conftest.in" "conftest.nl"
3465 $as_echo 'EGREP' >> "conftest.nl"
3466 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3467 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3468 as_fn_arith $ac_count + 1 && ac_count=$as_val
3469 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3470 # Best one so far, save it but keep looking for a better one
3471 ac_cv_path_EGREP="$ac_path_EGREP"
3472 ac_path_EGREP_max=$ac_count
3474 # 10*(2^10) chars as input seems more than enough
3475 test $ac_count -gt 10 && break
3477 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3480 $ac_path_EGREP_found && break 3
3485 if test -z "$ac_cv_path_EGREP"; then
3486 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3489 ac_cv_path_EGREP=$EGREP
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3495 $as_echo "$ac_cv_path_EGREP" >&6; }
3496 EGREP="$ac_cv_path_EGREP"
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3500 $as_echo_n "checking for ANSI C header files... " >&6; }
3501 if test "${ac_cv_header_stdc+set}" = set; then :
3502 $as_echo_n "(cached) " >&6
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3519 if ac_fn_c_try_compile "$LINENO"; then :
3520 ac_cv_header_stdc=yes
3522 ac_cv_header_stdc=no
3524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3526 if test $ac_cv_header_stdc = yes; then
3527 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529 /* end confdefs.h. */
3533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3534 $EGREP "memchr" >/dev/null 2>&1; then :
3537 ac_cv_header_stdc=no
3543 if test $ac_cv_header_stdc = yes; then
3544 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3546 /* end confdefs.h. */
3550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3551 $EGREP "free" >/dev/null 2>&1; then :
3554 ac_cv_header_stdc=no
3560 if test $ac_cv_header_stdc = yes; then
3561 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3562 if test "$cross_compiling" = yes; then :
3565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566 /* end confdefs.h. */
3569 #if ((' ' & 0x0FF) == 0x020)
3570 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3571 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3573 # define ISLOWER(c) \
3574 (('a' <= (c) && (c) <= 'i') \
3575 || ('j' <= (c) && (c) <= 'r') \
3576 || ('s' <= (c) && (c) <= 'z'))
3577 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3580 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3585 for (i = 0; i < 256; i++)
3586 if (XOR (islower (i), ISLOWER (i))
3587 || toupper (i) != TOUPPER (i))
3592 if ac_fn_c_try_run "$LINENO"; then :
3595 ac_cv_header_stdc=no
3597 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3598 conftest.$ac_objext conftest.beam conftest.$ac_ext
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3604 $as_echo "$ac_cv_header_stdc" >&6; }
3605 if test $ac_cv_header_stdc = yes; then
3607 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3611 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3612 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3613 inttypes.h stdint.h unistd.h
3615 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3616 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3618 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3619 cat >>confdefs.h <<_ACEOF
3620 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3628 for ac_header in stdint.h inttypes.h
3630 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3631 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3632 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3633 cat >>confdefs.h <<_ACEOF
3634 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3641 for ac_header in net/if.h net/route.h
3643 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3644 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3645 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3646 cat >>confdefs.h <<_ACEOF
3647 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3654 for ac_header in sys/socket.h
3656 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
3657 if test "x$ac_cv_header_sys_socket_h" = x""yes; then :
3658 cat >>confdefs.h <<_ACEOF
3659 #define HAVE_SYS_SOCKET_H 1
3666 for ac_header in linux/if.h
3668 ac_fn_c_check_header_compile "$LINENO" "linux/if.h" "ac_cv_header_linux_if_h" "#if HAVE_SYS_SOCKET_H
3669 # include <sys/socket.h>
3673 if test "x$ac_cv_header_linux_if_h" = x""yes; then :
3674 cat >>confdefs.h <<_ACEOF
3675 #define HAVE_LINUX_IF_H 1
3682 for ac_header in stropts.h sys/sockio.h net/if_tun.h
3684 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3685 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3686 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3687 cat >>confdefs.h <<_ACEOF
3688 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3696 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3697 if test "${ac_cv_c_bigendian+set}" = set; then :
3698 $as_echo_n "(cached) " >&6
3700 ac_cv_c_bigendian=unknown
3701 # See if we're dealing with a universal compiler.
3702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3703 /* end confdefs.h. */
3704 #ifndef __APPLE_CC__
3705 not a universal capable compiler
3710 if ac_fn_c_try_compile "$LINENO"; then :
3712 # Check for potential -arch flags. It is not universal unless
3713 # there are at least two -arch flags with different values.
3716 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3717 if test -n "$ac_prev"; then
3719 i?86 | x86_64 | ppc | ppc64)
3720 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
3723 ac_cv_c_bigendian=universal
3729 elif test "x$ac_word" = "x-arch"; then
3734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3735 if test $ac_cv_c_bigendian = unknown; then
3736 # See if sys/param.h defines the BYTE_ORDER macro.
3737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3738 /* end confdefs.h. */
3739 #include <sys/types.h>
3740 #include <sys/param.h>
3745 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3746 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3755 if ac_fn_c_try_compile "$LINENO"; then :
3756 # It does; now see whether it defined to BIG_ENDIAN or not.
3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3758 /* end confdefs.h. */
3759 #include <sys/types.h>
3760 #include <sys/param.h>
3765 #if BYTE_ORDER != BIG_ENDIAN
3773 if ac_fn_c_try_compile "$LINENO"; then :
3774 ac_cv_c_bigendian=yes
3776 ac_cv_c_bigendian=no
3778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3782 if test $ac_cv_c_bigendian = unknown; then
3783 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3785 /* end confdefs.h. */
3791 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
3799 if ac_fn_c_try_compile "$LINENO"; then :
3800 # It does; now see whether it defined to _BIG_ENDIAN or not.
3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3802 /* end confdefs.h. */
3816 if ac_fn_c_try_compile "$LINENO"; then :
3817 ac_cv_c_bigendian=yes
3819 ac_cv_c_bigendian=no
3821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3825 if test $ac_cv_c_bigendian = unknown; then
3826 # Compile a test program.
3827 if test "$cross_compiling" = yes; then :
3828 # Try to guess by grepping values from an object file.
3829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3830 /* end confdefs.h. */
3831 short int ascii_mm[] =
3832 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3833 short int ascii_ii[] =
3834 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3835 int use_ascii (int i) {
3836 return ascii_mm[i] + ascii_ii[i];
3838 short int ebcdic_ii[] =
3839 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3840 short int ebcdic_mm[] =
3841 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3842 int use_ebcdic (int i) {
3843 return ebcdic_mm[i] + ebcdic_ii[i];
3850 return use_ascii (foo) == use_ebcdic (foo);
3855 if ac_fn_c_try_compile "$LINENO"; then :
3856 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
3857 ac_cv_c_bigendian=yes
3859 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
3860 if test "$ac_cv_c_bigendian" = unknown; then
3861 ac_cv_c_bigendian=no
3863 # finding both strings is unlikely to happen, but who knows?
3864 ac_cv_c_bigendian=unknown
3868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3871 /* end confdefs.h. */
3872 $ac_includes_default
3877 /* Are we little or big endian? From Harbison&Steele. */
3881 char c[sizeof (long int)];
3884 return u.c[sizeof (long int) - 1] == 1;
3890 if ac_fn_c_try_run "$LINENO"; then :
3891 ac_cv_c_bigendian=no
3893 ac_cv_c_bigendian=yes
3895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3896 conftest.$ac_objext conftest.beam conftest.$ac_ext
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
3902 $as_echo "$ac_cv_c_bigendian" >&6; }
3903 case $ac_cv_c_bigendian in #(
3905 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
3911 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
3915 as_fn_error $? "unknown endianness
3916 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
3919 # The cast to long int works around a bug in the HP C Compiler
3920 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3921 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3922 # This bug is HP SR number 8606223364.
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long long" >&5
3924 $as_echo_n "checking size of unsigned long long... " >&6; }
3925 if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then :
3926 $as_echo_n "(cached) " >&6
3928 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long long))" "ac_cv_sizeof_unsigned_long_long" "$ac_includes_default"; then :
3931 if test "$ac_cv_type_unsigned_long_long" = yes; then
3932 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3934 as_fn_error 77 "cannot compute sizeof (unsigned long long)
3935 See \`config.log' for more details" "$LINENO" 5 ; }
3937 ac_cv_sizeof_unsigned_long_long=0
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long_long" >&5
3943 $as_echo "$ac_cv_sizeof_unsigned_long_long" >&6; }
3947 cat >>confdefs.h <<_ACEOF
3948 #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
3952 # The cast to long int works around a bug in the HP C Compiler
3953 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3954 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3955 # This bug is HP SR number 8606223364.
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
3957 $as_echo_n "checking size of unsigned long... " >&6; }
3958 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then :
3959 $as_echo_n "(cached) " >&6
3961 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
3964 if test "$ac_cv_type_unsigned_long" = yes; then
3965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3967 as_fn_error 77 "cannot compute sizeof (unsigned long)
3968 See \`config.log' for more details" "$LINENO" 5 ; }
3970 ac_cv_sizeof_unsigned_long=0
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
3976 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
3980 cat >>confdefs.h <<_ACEOF
3981 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
3985 # The cast to long int works around a bug in the HP C Compiler
3986 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3987 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3988 # This bug is HP SR number 8606223364.
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
3990 $as_echo_n "checking size of unsigned int... " >&6; }
3991 if test "${ac_cv_sizeof_unsigned_int+set}" = set; then :
3992 $as_echo_n "(cached) " >&6
3994 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
3997 if test "$ac_cv_type_unsigned_int" = yes; then
3998 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4000 as_fn_error 77 "cannot compute sizeof (unsigned int)
4001 See \`config.log' for more details" "$LINENO" 5 ; }
4003 ac_cv_sizeof_unsigned_int=0
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
4009 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
4013 cat >>confdefs.h <<_ACEOF
4014 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
4018 # The cast to long int works around a bug in the HP C Compiler
4019 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4020 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4021 # This bug is HP SR number 8606223364.
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
4023 $as_echo_n "checking size of unsigned short... " >&6; }
4024 if test "${ac_cv_sizeof_unsigned_short+set}" = set; then :
4025 $as_echo_n "(cached) " >&6
4027 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
4030 if test "$ac_cv_type_unsigned_short" = yes; then
4031 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4032 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4033 as_fn_error 77 "cannot compute sizeof (unsigned short)
4034 See \`config.log' for more details" "$LINENO" 5 ; }
4036 ac_cv_sizeof_unsigned_short=0
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
4042 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
4046 cat >>confdefs.h <<_ACEOF
4047 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
4051 # The cast to long int works around a bug in the HP C Compiler
4052 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4053 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4054 # This bug is HP SR number 8606223364.
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned char" >&5
4056 $as_echo_n "checking size of unsigned char... " >&6; }
4057 if test "${ac_cv_sizeof_unsigned_char+set}" = set; then :
4058 $as_echo_n "(cached) " >&6
4060 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned char))" "ac_cv_sizeof_unsigned_char" "$ac_includes_default"; then :
4063 if test "$ac_cv_type_unsigned_char" = yes; then
4064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4066 as_fn_error 77 "cannot compute sizeof (unsigned char)
4067 See \`config.log' for more details" "$LINENO" 5 ; }
4069 ac_cv_sizeof_unsigned_char=0
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_char" >&5
4075 $as_echo "$ac_cv_sizeof_unsigned_char" >&6; }
4079 cat >>confdefs.h <<_ACEOF
4080 #define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char
4086 if test -z "$hard"; then
4087 msg="C to warn about writing to stringliterals"
4089 msg="C to prohibit any write to stringliterals"
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $msg" >&5
4092 $as_echo_n "checking $msg... " >&6; }
4093 if test "${ac_cv_prog_cc_no_writeable_strings+set}" = set; then :
4094 $as_echo_n "(cached) " >&6
4097 cat > conftest.c <<EOF
4102 if (strcpy (test, "test")) return 0;
4106 if test "$GCC" = "yes";
4108 if test -z "$hard"; then
4109 ac_cv_prog_cc_no_writeable_strings="-Wwrite-strings"
4111 ac_cv_prog_cc_no_writeable_strings="-fno-writable-strings -Wwrite-strings"
4114 if test -n "`${CC-cc} -c $ac_cv_prog_cc_no_writeable_strings conftest.c 2>&1`" ; then
4115 ac_cv_prog_cc_no_writeable_strings="suppressed: string.h"
4118 elif $CC -flags 2>&1 | grep "Xc.*strict ANSI C" > /dev/null 2>&1 &&
4119 $CC -c -xstrconst conftest.c > /dev/null 2>&1 &&
4122 # strings go into readonly segment
4123 ac_cv_prog_cc_no_writeable_strings="-xstrconst"
4126 if test -n "`${CC-cc} -c $ac_cv_prog_cc_no_writeable_strings conftest.c 2>&1`" ; then
4127 ac_cv_prog_cc_no_writeable_strings="suppressed: string.h"
4130 elif $CC > /dev/null 2>&1 &&
4131 $CC -c +ESlit conftest.c > /dev/null 2>&1 &&
4134 # strings go into readonly segment
4135 ac_cv_prog_cc_no_writeable_strings="+ESlit"
4138 if test -n "`${CC-cc} -c $ac_cv_prog_cc_no_writeable_strings conftest.c 2>&1`" ; then
4139 ac_cv_prog_cc_no_writeable_strings="suppressed: string.h"
4142 elif ! $CC > /dev/null 2>&1 &&
4143 $CC -c -readonly_strings conftest.c > /dev/null 2>&1 &&
4146 # strings go into readonly segment
4147 ac_cv_prog_cc_no_writeable_strings="-readonly_strings"
4150 if test -n "`${CC-cc} -c $ac_cv_prog_cc_no_writeable_strings conftest.c 2>&1`" ; then
4151 ac_cv_prog_cc_no_writeable_strings="suppressed: string.h"
4155 # -use_readonly_const is the default for IRIX C,
4156 # puts them into .rodata, but they are copied later.
4157 # need to be "-G0 -rdatashared" for strictmode but
4158 # I am not sure what effect that has really.
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_no_writeable_strings" >&5
4165 $as_echo "$ac_cv_prog_cc_no_writeable_strings" >&6; }
4166 if test -z "$WRITESTRINGS" ; then
4167 if test -n "$ac_cv_prog_cc_no_writeable_strings" ; then
4168 case "$ac_cv_prog_cc_no_writeable_strings" in
4169 suppressed*) WRITESTRINGS="" ;; # known but suppressed
4170 *) WRITESTRINGS="$ac_cv_prog_cc_no_writeable_strings" ;;
4177 # Check whether --enable-hacky-parallel was given.
4178 if test "${enable_hacky_parallel+set}" = set; then :
4179 enableval=$enable_hacky_parallel;
4180 case "$enableval" in
4182 y|1|yes) CFLAGS="$CFLAGS -DHACKY_PARALLEL" ;;
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpz_init_set_str in -lgmp" >&5
4192 $as_echo_n "checking for mpz_init_set_str in -lgmp... " >&6; }
4193 if test "${ac_cv_lib_gmp_mpz_init_set_str+set}" = set; then :
4194 $as_echo_n "(cached) " >&6
4196 ac_check_lib_save_LIBS=$LIBS
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4201 /* Override any GCC internal prototype to avoid an error.
4202 Use char because int might match the return type of a GCC
4203 builtin and then its argument prototype would still apply. */
4207 char mpz_init_set_str ();
4211 return mpz_init_set_str ();
4216 if ac_fn_c_try_link "$LINENO"; then :
4217 ac_cv_lib_gmp_mpz_init_set_str=yes
4219 ac_cv_lib_gmp_mpz_init_set_str=no
4221 rm -f core conftest.err conftest.$ac_objext \
4222 conftest$ac_exeext conftest.$ac_ext
4223 LIBS=$ac_check_lib_save_LIBS
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_mpz_init_set_str" >&5
4226 $as_echo "$ac_cv_lib_gmp_mpz_init_set_str" >&6; }
4227 if test "x$ac_cv_lib_gmp_mpz_init_set_str" = x""yes; then :
4228 cat >>confdefs.h <<_ACEOF
4229 #define HAVE_LIBGMP 1
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpz_init_set_str in -lgmp2" >&5
4237 $as_echo_n "checking for mpz_init_set_str in -lgmp2... " >&6; }
4238 if test "${ac_cv_lib_gmp2_mpz_init_set_str+set}" = set; then :
4239 $as_echo_n "(cached) " >&6
4241 ac_check_lib_save_LIBS=$LIBS
4243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4244 /* end confdefs.h. */
4246 /* Override any GCC internal prototype to avoid an error.
4247 Use char because int might match the return type of a GCC
4248 builtin and then its argument prototype would still apply. */
4252 char mpz_init_set_str ();
4256 return mpz_init_set_str ();
4261 if ac_fn_c_try_link "$LINENO"; then :
4262 ac_cv_lib_gmp2_mpz_init_set_str=yes
4264 ac_cv_lib_gmp2_mpz_init_set_str=no
4266 rm -f core conftest.err conftest.$ac_objext \
4267 conftest$ac_exeext conftest.$ac_ext
4268 LIBS=$ac_check_lib_save_LIBS
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp2_mpz_init_set_str" >&5
4271 $as_echo "$ac_cv_lib_gmp2_mpz_init_set_str" >&6; }
4272 if test "x$ac_cv_lib_gmp2_mpz_init_set_str" = x""yes; then :
4273 cat >>confdefs.h <<_ACEOF
4274 #define HAVE_LIBGMP2 1
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init_set_str in -lgmp" >&5
4282 $as_echo_n "checking for __gmpz_init_set_str in -lgmp... " >&6; }
4283 if test "${ac_cv_lib_gmp___gmpz_init_set_str+set}" = set; then :
4284 $as_echo_n "(cached) " >&6
4286 ac_check_lib_save_LIBS=$LIBS
4288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4289 /* end confdefs.h. */
4291 /* Override any GCC internal prototype to avoid an error.
4292 Use char because int might match the return type of a GCC
4293 builtin and then its argument prototype would still apply. */
4297 char __gmpz_init_set_str ();
4301 return __gmpz_init_set_str ();
4306 if ac_fn_c_try_link "$LINENO"; then :
4307 ac_cv_lib_gmp___gmpz_init_set_str=yes
4309 ac_cv_lib_gmp___gmpz_init_set_str=no
4311 rm -f core conftest.err conftest.$ac_objext \
4312 conftest$ac_exeext conftest.$ac_ext
4313 LIBS=$ac_check_lib_save_LIBS
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init_set_str" >&5
4316 $as_echo "$ac_cv_lib_gmp___gmpz_init_set_str" >&6; }
4317 if test "x$ac_cv_lib_gmp___gmpz_init_set_str" = x""yes; then :
4318 cat >>confdefs.h <<_ACEOF
4319 #define HAVE_LIBGMP 1
4326 ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
4327 if test "x$ac_cv_header_gmp_h" = x""yes; then :
4330 as_fn_error $? "gmp.h not found" "$LINENO" 5
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yywrap in -lfl" >&5
4335 $as_echo_n "checking for yywrap in -lfl... " >&6; }
4336 if test "${ac_cv_lib_fl_yywrap+set}" = set; then :
4337 $as_echo_n "(cached) " >&6
4339 ac_check_lib_save_LIBS=$LIBS
4341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4342 /* end confdefs.h. */
4344 /* Override any GCC internal prototype to avoid an error.
4345 Use char because int might match the return type of a GCC
4346 builtin and then its argument prototype would still apply. */
4359 if ac_fn_c_try_link "$LINENO"; then :
4360 ac_cv_lib_fl_yywrap=yes
4362 ac_cv_lib_fl_yywrap=no
4364 rm -f core conftest.err conftest.$ac_objext \
4365 conftest$ac_exeext conftest.$ac_ext
4366 LIBS=$ac_check_lib_save_LIBS
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fl_yywrap" >&5
4369 $as_echo "$ac_cv_lib_fl_yywrap" >&6; }
4370 if test "x$ac_cv_lib_fl_yywrap" = x""yes; then :
4371 cat >>confdefs.h <<_ACEOF
4372 #define HAVE_LIBFL 1
4379 if test "$ac_cv_lib_fl_yywrap" != yes; then
4380 as_fn_error $? "A compatible libfl is required" "$LINENO" 5
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lnsl" >&5
4383 $as_echo_n "checking for inet_ntoa in -lnsl... " >&6; }
4384 if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then :
4385 $as_echo_n "(cached) " >&6
4387 ac_check_lib_save_LIBS=$LIBS
4389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390 /* end confdefs.h. */
4392 /* Override any GCC internal prototype to avoid an error.
4393 Use char because int might match the return type of a GCC
4394 builtin and then its argument prototype would still apply. */
4402 return inet_ntoa ();
4407 if ac_fn_c_try_link "$LINENO"; then :
4408 ac_cv_lib_nsl_inet_ntoa=yes
4410 ac_cv_lib_nsl_inet_ntoa=no
4412 rm -f core conftest.err conftest.$ac_objext \
4413 conftest$ac_exeext conftest.$ac_ext
4414 LIBS=$ac_check_lib_save_LIBS
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_ntoa" >&5
4417 $as_echo "$ac_cv_lib_nsl_inet_ntoa" >&6; }
4418 if test "x$ac_cv_lib_nsl_inet_ntoa" = x""yes; then :
4419 cat >>confdefs.h <<_ACEOF
4420 #define HAVE_LIBNSL 1
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
4428 $as_echo_n "checking for socket in -lsocket... " >&6; }
4429 if test "${ac_cv_lib_socket_socket+set}" = set; then :
4430 $as_echo_n "(cached) " >&6
4432 ac_check_lib_save_LIBS=$LIBS
4433 LIBS="-lsocket $LIBS"
4434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4435 /* end confdefs.h. */
4437 /* Override any GCC internal prototype to avoid an error.
4438 Use char because int might match the return type of a GCC
4439 builtin and then its argument prototype would still apply. */
4452 if ac_fn_c_try_link "$LINENO"; then :
4453 ac_cv_lib_socket_socket=yes
4455 ac_cv_lib_socket_socket=no
4457 rm -f core conftest.err conftest.$ac_objext \
4458 conftest$ac_exeext conftest.$ac_ext
4459 LIBS=$ac_check_lib_save_LIBS
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
4462 $as_echo "$ac_cv_lib_socket_socket" >&6; }
4463 if test "x$ac_cv_lib_socket_socket" = x""yes; then :
4464 cat >>confdefs.h <<_ACEOF
4465 #define HAVE_LIBSOCKET 1
4468 LIBS="-lsocket $LIBS"
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv" >&5
4473 $as_echo_n "checking for inet_aton in -lresolv... " >&6; }
4474 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then :
4475 $as_echo_n "(cached) " >&6
4477 ac_check_lib_save_LIBS=$LIBS
4478 LIBS="-lresolv $LIBS"
4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4482 /* Override any GCC internal prototype to avoid an error.
4483 Use char because int might match the return type of a GCC
4484 builtin and then its argument prototype would still apply. */
4492 return inet_aton ();
4497 if ac_fn_c_try_link "$LINENO"; then :
4498 ac_cv_lib_resolv_inet_aton=yes
4500 ac_cv_lib_resolv_inet_aton=no
4502 rm -f core conftest.err conftest.$ac_objext \
4503 conftest$ac_exeext conftest.$ac_ext
4504 LIBS=$ac_check_lib_save_LIBS
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton" >&5
4507 $as_echo "$ac_cv_lib_resolv_inet_aton" >&6; }
4508 if test "x$ac_cv_lib_resolv_inet_aton" = x""yes; then :
4509 cat >>confdefs.h <<_ACEOF
4510 #define HAVE_LIBRESOLV 1
4513 LIBS="-lresolv $LIBS"
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for adns_init in -ladns" >&5
4518 $as_echo_n "checking for adns_init in -ladns... " >&6; }
4519 if test "${ac_cv_lib_adns_adns_init+set}" = set; then :
4520 $as_echo_n "(cached) " >&6
4522 ac_check_lib_save_LIBS=$LIBS
4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4527 /* Override any GCC internal prototype to avoid an error.
4528 Use char because int might match the return type of a GCC
4529 builtin and then its argument prototype would still apply. */
4537 return adns_init ();
4542 if ac_fn_c_try_link "$LINENO"; then :
4543 ac_cv_lib_adns_adns_init=yes
4545 ac_cv_lib_adns_adns_init=no
4547 rm -f core conftest.err conftest.$ac_objext \
4548 conftest$ac_exeext conftest.$ac_ext
4549 LIBS=$ac_check_lib_save_LIBS
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_adns_adns_init" >&5
4552 $as_echo "$ac_cv_lib_adns_adns_init" >&6; }
4553 if test "x$ac_cv_lib_adns_adns_init" = x""yes; then :
4554 cat >>confdefs.h <<_ACEOF
4555 #define HAVE_LIBADNS 1
4562 ac_fn_c_check_header_mongrel "$LINENO" "adns.h" "ac_cv_header_adns_h" "$ac_includes_default"
4563 if test "x$ac_cv_header_adns_h" = x""yes; then :
4566 as_fn_error $? "adns.h not found" "$LINENO" 5
4571 ac_config_files="$ac_config_files Makefile"
4573 ac_config_commands="$ac_config_commands default"
4575 cat >confcache <<\_ACEOF
4576 # This file is a shell script that caches the results of configure
4577 # tests run on this system so they can be shared between configure
4578 # scripts and configure runs, see configure's option --config-cache.
4579 # It is not useful on other systems. If it contains results you don't
4580 # want to keep, you may remove or edit it.
4582 # config.status only pays attention to the cache file if you give it
4583 # the --recheck option to rerun configure.
4585 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4586 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4591 # The following way of writing the cache mishandles newlines in values,
4592 # but we know of no workaround that is simple, portable, and efficient.
4593 # So, we kill variables containing newlines.
4594 # Ultrix sh set writes to stderr and can't be redirected directly,
4595 # and sets the high bit in the cache file unless we assign to the vars.
4597 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4598 eval ac_val=\$$ac_var
4602 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4603 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4606 _ | IFS | as_nl) ;; #(
4607 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4608 *) { eval $ac_var=; unset $ac_var;} ;;
4614 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4615 *${as_nl}ac_space=\ *)
4616 # `set' does not quote correctly, so add quotes: double-quote
4617 # substitution turns \\\\ into \\, and sed turns \\ into \.
4620 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4623 # `set' quotes correctly as required by POSIX, so do not add quotes.
4624 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4633 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4635 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4637 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4638 if test -w "$cache_file"; then
4639 test "x$cache_file" != "x/dev/null" &&
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4641 $as_echo "$as_me: updating cache $cache_file" >&6;}
4642 cat confcache >$cache_file
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4645 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4650 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4651 # Let make expand exec_prefix.
4652 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4654 DEFS=-DHAVE_CONFIG_H
4659 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4660 # 1. Remove the extension, and $U if already installed.
4661 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4662 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4663 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4664 # will be set to the directory where LIBOBJS objects are built.
4665 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4666 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4670 LTLIBOBJS=$ac_ltlibobjs
4675 : ${CONFIG_STATUS=./config.status}
4677 ac_clean_files_save=$ac_clean_files
4678 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4680 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4682 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4684 # Generated by $as_me.
4685 # Run this file to recreate the current configuration.
4686 # Compiler output produced by configure, useful for debugging
4687 # configure, is in config.log if it exists.
4693 SHELL=\${CONFIG_SHELL-$SHELL}
4696 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4697 ## -------------------- ##
4698 ## M4sh Initialization. ##
4699 ## -------------------- ##
4701 # Be more Bourne compatible
4702 DUALCASE=1; export DUALCASE # for MKS sh
4703 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4706 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4707 # is contrary to our usage. Disable this feature.
4708 alias -g '${1+"$@"}'='"$@"'
4709 setopt NO_GLOB_SUBST
4711 case `(set -o) 2>/dev/null` in #(
4723 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4724 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4725 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4726 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4727 # Prefer a ksh shell builtin over an external printf program on Solaris,
4728 # but without wasting forks for bash or zsh.
4729 if test -z "$BASH_VERSION$ZSH_VERSION" \
4730 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4731 as_echo='print -r --'
4732 as_echo_n='print -rn --'
4733 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4734 as_echo='printf %s\n'
4735 as_echo_n='printf %s'
4737 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4738 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4739 as_echo_n='/usr/ucb/echo -n'
4741 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4742 as_echo_n_body='eval
4746 expr "X$arg" : "X\\(.*\\)$as_nl";
4747 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4749 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4751 export as_echo_n_body
4752 as_echo_n='sh -c $as_echo_n_body as_echo'
4755 as_echo='sh -c $as_echo_body as_echo'
4758 # The user is always right.
4759 if test "${PATH_SEPARATOR+set}" != set; then
4761 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4762 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4769 # We need space, tab and new line, in precisely that order. Quoting is
4770 # there to prevent editors from complaining about space-tab.
4771 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4772 # splitting by setting IFS to empty value.)
4775 # Find who we are. Look in the path if we contain no directory separator.
4777 *[\\/]* ) as_myself=$0 ;;
4778 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4782 test -z "$as_dir" && as_dir=.
4783 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4789 # We did not find ourselves, most probably we were run as `sh COMMAND'
4790 # in which case we are not to be found in the path.
4791 if test "x$as_myself" = x; then
4794 if test ! -f "$as_myself"; then
4795 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4799 # Unset variables that we do not need and which cause bugs (e.g. in
4800 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4801 # suppresses any "Segmentation fault" message there. '((' could
4802 # trigger a bug in pdksh 5.2.14.
4803 for as_var in BASH_ENV ENV MAIL MAILPATH
4804 do eval test x\${$as_var+set} = xset \
4805 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4818 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4821 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4822 # ----------------------------------------
4823 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4824 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4825 # script with STATUS, using 1 if that was 0.
4828 as_status=$1; test $as_status -eq 0 && as_status=1
4830 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4831 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4833 $as_echo "$as_me: error: $2" >&2
4834 as_fn_exit $as_status
4838 # as_fn_set_status STATUS
4839 # -----------------------
4840 # Set $? to STATUS, without forking.
4844 } # as_fn_set_status
4848 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4858 # Portably unset VAR.
4861 { eval $1=; unset $1;}
4863 as_unset=as_fn_unset
4864 # as_fn_append VAR VALUE
4865 # ----------------------
4866 # Append the text in VALUE to the end of the definition contained in VAR. Take
4867 # advantage of any shell optimizations that allow amortized linear growth over
4868 # repeated appends, instead of the typical quadratic growth present in naive
4870 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4871 eval 'as_fn_append ()
4882 # as_fn_arith ARG...
4883 # ------------------
4884 # Perform arithmetic evaluation on the ARGs, and store the result in the
4885 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4886 # must be portable across $(()) and expr.
4887 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4888 eval 'as_fn_arith ()
4895 as_val=`expr "$@" || test $? -eq 1`
4900 if expr a : '\(a\)' >/dev/null 2>&1 &&
4901 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4907 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4908 as_basename=basename
4913 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4919 as_me=`$as_basename -- "$0" ||
4920 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4921 X"$0" : 'X\(//\)$' \| \
4922 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4924 sed '/^.*\/\([^/][^/]*\)\/*$/{
4938 # Avoid depending upon Character Ranges.
4939 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4940 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4941 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4942 as_cr_digits='0123456789'
4943 as_cr_alnum=$as_cr_Letters$as_cr_digits
4945 ECHO_C= ECHO_N= ECHO_T=
4946 case `echo -n x` in #(((((
4948 case `echo 'xy\c'` in
4949 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4951 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4958 rm -f conf$$ conf$$.exe conf$$.file
4959 if test -d conf$$.dir; then
4960 rm -f conf$$.dir/conf$$.file
4963 mkdir conf$$.dir 2>/dev/null
4965 if (echo >conf$$.file) 2>/dev/null; then
4966 if ln -s conf$$.file conf$$ 2>/dev/null; then
4968 # ... but there are two gotchas:
4969 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4970 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4971 # In both cases, we have to default to `cp -p'.
4972 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4974 elif ln conf$$.file conf$$ 2>/dev/null; then
4982 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4983 rmdir conf$$.dir 2>/dev/null
4988 # Create "$as_dir" as a directory, including parents if necessary.
4993 -*) as_dir=./$as_dir;;
4995 test -d "$as_dir" || eval $as_mkdir_p || {
4999 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5000 *) as_qdir=$as_dir;;
5002 as_dirs="'$as_qdir' $as_dirs"
5003 as_dir=`$as_dirname -- "$as_dir" ||
5004 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5005 X"$as_dir" : 'X\(//\)[^/]' \| \
5006 X"$as_dir" : 'X\(//\)$' \| \
5007 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5008 $as_echo X"$as_dir" |
5009 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5026 test -d "$as_dir" && break
5028 test -z "$as_dirs" || eval "mkdir $as_dirs"
5029 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5033 if mkdir -p . 2>/dev/null; then
5034 as_mkdir_p='mkdir -p "$as_dir"'
5036 test -d ./-p && rmdir ./-p
5040 if test -x / >/dev/null 2>&1; then
5043 if ls -dL / >/dev/null 2>&1; then
5050 if test -d "$1"; then
5056 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5057 ???[sx]*):;;*)false;;esac;fi
5061 as_executable_p=$as_test_x
5063 # Sed expression to map a string onto a valid CPP name.
5064 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5066 # Sed expression to map a string onto a valid variable name.
5067 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5071 ## ----------------------------------- ##
5072 ## Main body of $CONFIG_STATUS script. ##
5073 ## ----------------------------------- ##
5075 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5078 # Save the log message, to keep $0 and so on meaningful, and to
5079 # report actual input values of CONFIG_FILES etc. instead of their
5080 # values after options handling.
5082 This file was extended by secnet $as_me 0.1.18+, which was
5083 generated by GNU Autoconf 2.67. Invocation command line was
5085 CONFIG_FILES = $CONFIG_FILES
5086 CONFIG_HEADERS = $CONFIG_HEADERS
5087 CONFIG_LINKS = $CONFIG_LINKS
5088 CONFIG_COMMANDS = $CONFIG_COMMANDS
5091 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5096 case $ac_config_files in *"
5097 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5100 case $ac_config_headers in *"
5101 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5105 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5106 # Files that config.status was made for.
5107 config_files="$ac_config_files"
5108 config_headers="$ac_config_headers"
5109 config_commands="$ac_config_commands"
5113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5115 \`$as_me' instantiates files and other configuration actions
5116 from templates according to the current configuration. Unless the files
5117 and actions are specified as TAGs, all are instantiated by default.
5119 Usage: $0 [OPTION]... [TAG]...
5121 -h, --help print this help, then exit
5122 -V, --version print version number and configuration settings, then exit
5123 --config print configuration, then exit
5124 -q, --quiet, --silent
5125 do not print progress messages
5126 -d, --debug don't remove temporary files
5127 --recheck update $as_me by reconfiguring in the same conditions
5128 --file=FILE[:TEMPLATE]
5129 instantiate the configuration file FILE
5130 --header=FILE[:TEMPLATE]
5131 instantiate the configuration header FILE
5133 Configuration files:
5136 Configuration headers:
5139 Configuration commands:
5142 Report bugs to <secnet@chiark.greenend.org.uk>."
5145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5146 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5148 secnet config.status 0.1.18+
5149 configured by $0, generated by GNU Autoconf 2.67,
5150 with options \\"\$ac_cs_config\\"
5152 Copyright (C) 2010 Free Software Foundation, Inc.
5153 This config.status script is free software; the Free Software Foundation
5154 gives unlimited permission to copy, distribute and modify it."
5159 test -n "\$AWK" || AWK=awk
5162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5163 # The default lists apply if the user does not specify any file.
5169 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5170 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5174 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5186 # Handling of the options.
5187 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5189 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5190 $as_echo "$ac_cs_version"; exit ;;
5191 --config | --confi | --conf | --con | --co | --c )
5192 $as_echo "$ac_cs_config"; exit ;;
5193 --debug | --debu | --deb | --de | --d | -d )
5195 --file | --fil | --fi | --f )
5198 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5199 '') as_fn_error $? "missing file argument" ;;
5201 as_fn_append CONFIG_FILES " '$ac_optarg'"
5202 ac_need_defaults=false;;
5203 --header | --heade | --head | --hea )
5206 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5208 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5209 ac_need_defaults=false;;
5211 # Conflict between --help and --header
5212 as_fn_error $? "ambiguous option: \`$1'
5213 Try \`$0 --help' for more information.";;
5214 --help | --hel | -h )
5215 $as_echo "$ac_cs_usage"; exit ;;
5216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5217 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5221 -*) as_fn_error $? "unrecognized option: \`$1'
5222 Try \`$0 --help' for more information." ;;
5224 *) as_fn_append ac_config_targets " $1"
5225 ac_need_defaults=false ;;
5231 ac_configure_extra_args=
5233 if $ac_cs_silent; then
5235 ac_configure_extra_args="$ac_configure_extra_args --silent"
5239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5240 if \$ac_cs_recheck; then
5241 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5243 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5244 CONFIG_SHELL='$SHELL'
5250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5254 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5255 ## Running $as_me. ##
5261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5266 # Handling of arguments.
5267 for ac_config_target in $ac_config_targets
5269 case $ac_config_target in
5270 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5271 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5272 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5274 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
5279 # If the user did not use the arguments to specify the items to instantiate,
5280 # then the envvar interface is used. Set only those that are not.
5281 # We use the long form for the default assignment because of an extremely
5282 # bizarre bug on SunOS 4.1.3.
5283 if $ac_need_defaults; then
5284 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5285 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5286 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5289 # Have a temporary directory for convenience. Make it in the build tree
5290 # simply because there is no reason against having it here, and in addition,
5291 # creating and moving files from /tmp can sometimes cause problems.
5292 # Hook for its removal unless debugging.
5293 # Note that there is a small window in which the directory will not be cleaned:
5294 # after its creation but before its name has been assigned to `$tmp'.
5298 trap 'exit_status=$?
5299 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5301 trap 'as_fn_exit 1' 1 2 13 15
5303 # Create a (secure) tmp directory for tmp files.
5306 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5307 test -n "$tmp" && test -d "$tmp"
5310 tmp=./conf$$-$RANDOM
5311 (umask 077 && mkdir "$tmp")
5312 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5314 # Set up the scripts for CONFIG_FILES section.
5315 # No need to generate them if there are no CONFIG_FILES.
5316 # This happens for instance with `./config.status config.h'.
5317 if test -n "$CONFIG_FILES"; then
5320 ac_cr=`echo X | tr X '\015'`
5321 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5322 # But we know of no other shell where ac_cr would be empty at this
5323 # point, so we can use a bashism as a fallback.
5324 if test "x$ac_cr" = x; then
5325 eval ac_cr=\$\'\\r\'
5327 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5328 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5334 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5339 echo "cat >conf$$subs.awk <<_ACEOF" &&
5340 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5343 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5344 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5346 for ac_last_try in false false false false false :; do
5347 . ./conf$$subs.sh ||
5348 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5350 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5351 if test $ac_delim_n = $ac_delim_num; then
5353 elif $ac_last_try; then
5354 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5356 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5362 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5366 s/^/S["/; s/!.*/"]=/
5376 s/\(.\{148\}\)..*/\1/
5378 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5383 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5390 s/\(.\{148\}\)..*/\1/
5392 s/["\\]/\\&/g; s/^/"/; s/$/"/
5396 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5401 ' <conf$$subs.awk | sed '
5406 ' >>$CONFIG_STATUS || ac_write_fail=1
5407 rm -f conf$$subs.awk
5408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5410 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5411 for (key in S) S_is_set[key] = 1
5417 nfields = split(line, field, "@")
5419 len = length(field[1])
5420 for (i = 2; i < nfields; i++) {
5422 keylen = length(key)
5423 if (S_is_set[key]) {
5425 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5426 len += length(value) + length(field[++i])
5437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5438 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5439 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5442 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5443 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5446 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5447 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5448 # trailing colons and then remove the whole line if VPATH becomes empty
5449 # (actually we leave an empty line to preserve line numbers).
5450 if test "x$srcdir" = x.; then
5451 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5470 fi # test -n "$CONFIG_FILES"
5472 # Set up the scripts for CONFIG_HEADERS section.
5473 # No need to generate them if there are no CONFIG_HEADERS.
5474 # This happens for instance with `./config.status Makefile'.
5475 if test -n "$CONFIG_HEADERS"; then
5476 cat >"$tmp/defines.awk" <<\_ACAWK ||
5480 # Transform confdefs.h into an awk script `defines.awk', embedded as
5481 # here-document in config.status, that substitutes the proper values into
5482 # config.h.in to produce config.h.
5484 # Create a delimiter string that does not exist in confdefs.h, to ease
5485 # handling of long lines.
5487 for ac_last_try in false false :; do
5488 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5489 if test -z "$ac_t"; then
5491 elif $ac_last_try; then
5492 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5494 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5498 # For the awk script, D is an array of macro values keyed by name,
5499 # likewise P contains macro parameters if any. Preserve backslash
5500 # newline sequences.
5502 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5504 s/.\{148\}/&'"$ac_delim"'/g
5507 s/^[ ]*#[ ]*define[ ][ ]*/ /
5514 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5516 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5520 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5521 D["\1"]=" \3\\\\\\n"\\/p
5523 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5528 s/.\{148\}/&'"$ac_delim"'/g
5533 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5536 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5538 ' <confdefs.h | sed '
5539 s/'"$ac_delim"'/"\\\
5540 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5543 for (key in D) D_is_set[key] = 1
5546 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5548 split(line, arg, " ")
5549 if (arg[1] == "#") {
5553 defundef = substr(arg[1], 2)
5556 split(mac1, mac2, "(") #)
5558 prefix = substr(line, 1, index(line, defundef) - 1)
5559 if (D_is_set[macro]) {
5560 # Preserve the white space surrounding the "#".
5561 print prefix "define", macro P[macro] D[macro]
5564 # Replace #undef with comments. This is necessary, for example,
5565 # in the case of _POSIX_SOURCE, which is predefined and required
5566 # on some systems where configure will not decide to define it.
5567 if (defundef == "undef") {
5568 print "/*", prefix defundef, macro, "*/"
5576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5577 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5578 fi # test -n "$CONFIG_HEADERS"
5581 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5586 :[FHLC]) ac_mode=$ac_tag; continue;;
5588 case $ac_mode$ac_tag in
5590 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
5591 :[FH]-) ac_tag=-:-;;
5592 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5609 -) ac_f="$tmp/stdin";;
5610 *) # Look for the file first in the build tree, then in the source tree
5611 # (if the path is not absolute). The absolute path cannot be DOS-style,
5612 # because $ac_f cannot contain `:'.
5616 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5618 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
5620 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5621 as_fn_append ac_file_inputs " '$ac_f'"
5624 # Let's still pretend it is `configure' which instantiates (i.e., don't
5625 # use $as_me), people would be surprised to read:
5626 # /* config.h. Generated by config.status. */
5627 configure_input='Generated from '`
5628 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5630 if test x"$ac_file" != x-; then
5631 configure_input="$ac_file. $configure_input"
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5633 $as_echo "$as_me: creating $ac_file" >&6;}
5635 # Neutralize special characters interpreted by sed in replacement strings.
5636 case $configure_input in #(
5637 *\&* | *\|* | *\\* )
5638 ac_sed_conf_input=`$as_echo "$configure_input" |
5639 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5640 *) ac_sed_conf_input=$configure_input;;
5644 *:-:* | *:-) cat >"$tmp/stdin" \
5645 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5650 ac_dir=`$as_dirname -- "$ac_file" ||
5651 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5652 X"$ac_file" : 'X\(//\)[^/]' \| \
5653 X"$ac_file" : 'X\(//\)$' \| \
5654 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5655 $as_echo X"$ac_file" |
5656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5673 as_dir="$ac_dir"; as_fn_mkdir_p
5677 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5679 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5680 # A ".." for each directory in $ac_dir_suffix.
5681 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5682 case $ac_top_builddir_sub in
5683 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5684 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5687 ac_abs_top_builddir=$ac_pwd
5688 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5689 # for backward compatibility:
5690 ac_top_builddir=$ac_top_build_prefix
5693 .) # We are building in place.
5695 ac_top_srcdir=$ac_top_builddir_sub
5696 ac_abs_top_srcdir=$ac_pwd ;;
5697 [\\/]* | ?:[\\/]* ) # Absolute name.
5698 ac_srcdir=$srcdir$ac_dir_suffix;
5699 ac_top_srcdir=$srcdir
5700 ac_abs_top_srcdir=$srcdir ;;
5702 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5703 ac_top_srcdir=$ac_top_build_prefix$srcdir
5704 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5706 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5716 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5717 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5722 # If the template does not know about datarootdir, expand it.
5723 # FIXME: This hack should be removed a few years after 2.60.
5724 ac_datarootdir_hack=; ac_datarootdir_seen=
5735 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5736 *datarootdir*) ac_datarootdir_seen=yes;;
5737 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5739 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5742 ac_datarootdir_hack='
5743 s&@datadir@&$datadir&g
5744 s&@docdir@&$docdir&g
5745 s&@infodir@&$infodir&g
5746 s&@localedir@&$localedir&g
5747 s&@mandir@&$mandir&g
5748 s&\\\${datarootdir}&$datarootdir&g' ;;
5752 # Neutralize VPATH when `$srcdir' = `.'.
5753 # Shell code in configure.ac might set extrasub.
5754 # FIXME: do we really want to maintain this feature?
5755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5756 ac_sed_extra="$ac_vpsub
5759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5761 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5762 s|@configure_input@|$ac_sed_conf_input|;t t
5763 s&@top_builddir@&$ac_top_builddir_sub&;t t
5764 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5765 s&@srcdir@&$ac_srcdir&;t t
5766 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5767 s&@top_srcdir@&$ac_top_srcdir&;t t
5768 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5769 s&@builddir@&$ac_builddir&;t t
5770 s&@abs_builddir@&$ac_abs_builddir&;t t
5771 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5772 s&@INSTALL@&$ac_INSTALL&;t t
5773 $ac_datarootdir_hack
5775 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5776 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5778 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5779 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5780 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5782 which seems to be undefined. Please make sure it is defined" >&5
5783 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5784 which seems to be undefined. Please make sure it is defined" >&2;}
5788 -) cat "$tmp/out" && rm -f "$tmp/out";;
5789 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5791 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5797 if test x"$ac_file" != x-; then
5799 $as_echo "/* $configure_input */" \
5800 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5801 } >"$tmp/config.h" \
5802 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5803 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5805 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5808 mv "$tmp/config.h" "$ac_file" \
5809 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5812 $as_echo "/* $configure_input */" \
5813 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5814 || as_fn_error $? "could not create -" "$LINENO" 5
5818 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5819 $as_echo "$as_me: executing $ac_file commands" >&6;}
5824 case $ac_file$ac_mode in
5825 "default":C) echo timestamp >stamp-h ;;
5833 ac_clean_files=$ac_clean_files_save
5835 test $ac_write_fail = 0 ||
5836 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5839 # configure is writing to config.log, and then calls config.status.
5840 # config.status does its own redirection, appending to config.log.
5841 # Unfortunately, on DOS this fails, as config.log is still kept open
5842 # by configure, so config.status won't be able to write to it; its
5843 # output is simply discarded. So we exec the FD to /dev/null,
5844 # effectively closing config.log, so it can be properly (re)opened and
5845 # appended to by config.status. When coming back to configure, we
5846 # need to make the FD available again.
5847 if test "$no_create" != yes; then
5849 ac_config_status_args=
5850 test "$silent" = yes &&
5851 ac_config_status_args="$ac_config_status_args --quiet"
5853 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5855 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5856 # would make configure fail if this is the last instruction.
5857 $ac_cs_success || as_fn_exit 1
5859 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5861 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}