2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for nbd 2.8.8.
5 # Report bugs to <wouter@debian.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME
='nbd'
577 PACKAGE_VERSION
='2.8.8'
578 PACKAGE_STRING
='nbd 2.8.8'
579 PACKAGE_BUGREPORT
='wouter@debian.org'
581 # Factoring default headers for most tests.
582 ac_includes_default
="\
584 #ifdef HAVE_SYS_TYPES_H
585 # include <sys/types.h>
587 #ifdef HAVE_SYS_STAT_H
588 # include <sys/stat.h>
594 # ifdef HAVE_STDLIB_H
599 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
604 #ifdef HAVE_STRINGS_H
605 # include <strings.h>
607 #ifdef HAVE_INTTYPES_H
608 # include <inttypes.h>
626 program_transform_name
667 INSTALL_STRIP_PROGRAM
676 MAINTAINER_MODE_FALSE
708 ac_precious_vars
='build_alias
719 # Initialize some variables set by options.
721 ac_init_version
=false
722 # The variables have the same names as the options, with
723 # dashes changed to underlines.
731 program_transform_name
=s
,x
,x
,
739 # Installation directory options.
740 # These are left unexpanded so users can "make install exec_prefix=/foo"
741 # and all the variables that are supposed to be based on exec_prefix
742 # by default will actually change.
743 # Use braces instead of parens because sh, perl, etc. also accept them.
744 # (The list follows the same order as the GNU Coding Standards.)
745 bindir
='${exec_prefix}/bin'
746 sbindir
='${exec_prefix}/sbin'
747 libexecdir
='${exec_prefix}/libexec'
748 datarootdir
='${prefix}/share'
749 datadir
='${datarootdir}'
750 sysconfdir
='${prefix}/etc'
751 sharedstatedir
='${prefix}/com'
752 localstatedir
='${prefix}/var'
753 includedir
='${prefix}/include'
754 oldincludedir
='/usr/include'
755 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
756 infodir
='${datarootdir}/info'
761 libdir
='${exec_prefix}/lib'
762 localedir
='${datarootdir}/locale'
763 mandir
='${datarootdir}/man'
769 # If the previous option needs an argument, assign it.
770 if test -n "$ac_prev"; then
771 eval $ac_prev=\
$ac_option
777 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
781 # Accept the important Cygnus configure options, so we can diagnose typos.
783 case $ac_dashdash$ac_option in
787 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
789 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
792 -build |
--build |
--buil |
--bui |
--bu)
793 ac_prev
=build_alias
;;
794 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
795 build_alias
=$ac_optarg ;;
797 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
798 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
799 ac_prev
=cache_file
;;
800 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
801 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
802 cache_file
=$ac_optarg ;;
805 cache_file
=config.cache
;;
807 -datadir |
--datadir |
--datadi |
--datad)
809 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
810 datadir
=$ac_optarg ;;
812 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
813 |
--dataroo |
--dataro |
--datar)
814 ac_prev
=datarootdir
;;
815 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
816 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
817 datarootdir
=$ac_optarg ;;
819 -disable-* |
--disable-*)
820 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
821 # Reject names that are not valid shell variable names.
822 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
823 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
824 { (exit 1); exit 1; }; }
825 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
826 eval enable_
$ac_feature=no
;;
828 -docdir |
--docdir |
--docdi |
--doc |
--do)
830 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
833 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
835 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
838 -enable-* |
--enable-*)
839 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
840 # Reject names that are not valid shell variable names.
841 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
842 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
843 { (exit 1); exit 1; }; }
844 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
845 eval enable_
$ac_feature=\
$ac_optarg ;;
847 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
848 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
849 |
--exec |
--exe |
--ex)
850 ac_prev
=exec_prefix
;;
851 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
852 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
853 |
--exec=* |
--exe=* |
--ex=*)
854 exec_prefix
=$ac_optarg ;;
856 -gas |
--gas |
--ga |
--g)
857 # Obsolete; use --with-gas.
860 -help |
--help |
--hel |
--he |
-h)
862 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
863 ac_init_help
=recursive
;;
864 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
865 ac_init_help
=short
;;
867 -host |
--host |
--hos |
--ho)
868 ac_prev
=host_alias
;;
869 -host=* |
--host=* |
--hos=* |
--ho=*)
870 host_alias
=$ac_optarg ;;
872 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
874 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
876 htmldir
=$ac_optarg ;;
878 -includedir |
--includedir |
--includedi |
--included |
--include \
879 |
--includ |
--inclu |
--incl |
--inc)
880 ac_prev
=includedir
;;
881 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
882 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
883 includedir
=$ac_optarg ;;
885 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
887 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
888 infodir
=$ac_optarg ;;
890 -libdir |
--libdir |
--libdi |
--libd)
892 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
895 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
896 |
--libexe |
--libex |
--libe)
897 ac_prev
=libexecdir
;;
898 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
899 |
--libexe=* |
--libex=* |
--libe=*)
900 libexecdir
=$ac_optarg ;;
902 -localedir |
--localedir |
--localedi |
--localed |
--locale)
904 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
905 localedir
=$ac_optarg ;;
907 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
908 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
909 ac_prev
=localstatedir
;;
910 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
911 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
912 localstatedir
=$ac_optarg ;;
914 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
916 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
920 # Obsolete; use --without-fp.
923 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
924 |
--no-cr |
--no-c |
-n)
927 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
928 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
931 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
932 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
933 |
--oldin |
--oldi |
--old |
--ol |
--o)
934 ac_prev
=oldincludedir
;;
935 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
936 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
937 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
938 oldincludedir
=$ac_optarg ;;
940 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
942 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
945 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
946 |
--program-pre |
--program-pr |
--program-p)
947 ac_prev
=program_prefix
;;
948 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
949 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
950 program_prefix
=$ac_optarg ;;
952 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
953 |
--program-suf |
--program-su |
--program-s)
954 ac_prev
=program_suffix
;;
955 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
956 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
957 program_suffix
=$ac_optarg ;;
959 -program-transform-name |
--program-transform-name \
960 |
--program-transform-nam |
--program-transform-na \
961 |
--program-transform-n |
--program-transform- \
962 |
--program-transform |
--program-transfor \
963 |
--program-transfo |
--program-transf \
964 |
--program-trans |
--program-tran \
965 |
--progr-tra |
--program-tr |
--program-t)
966 ac_prev
=program_transform_name
;;
967 -program-transform-name=* |
--program-transform-name=* \
968 |
--program-transform-nam=* |
--program-transform-na=* \
969 |
--program-transform-n=* |
--program-transform-=* \
970 |
--program-transform=* |
--program-transfor=* \
971 |
--program-transfo=* |
--program-transf=* \
972 |
--program-trans=* |
--program-tran=* \
973 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
974 program_transform_name
=$ac_optarg ;;
976 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
978 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
981 -psdir |
--psdir |
--psdi |
--psd |
--ps)
983 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
986 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
987 |
-silent |
--silent |
--silen |
--sile |
--sil)
990 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
992 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
994 sbindir
=$ac_optarg ;;
996 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
997 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
998 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1000 ac_prev
=sharedstatedir
;;
1001 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1002 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1003 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1005 sharedstatedir
=$ac_optarg ;;
1007 -site |
--site |
--sit)
1009 -site=* |
--site=* |
--sit=*)
1012 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1014 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1015 srcdir
=$ac_optarg ;;
1017 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1018 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1019 ac_prev
=sysconfdir
;;
1020 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1021 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1022 sysconfdir
=$ac_optarg ;;
1024 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1025 ac_prev
=target_alias
;;
1026 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1027 target_alias
=$ac_optarg ;;
1029 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1032 -version |
--version |
--versio |
--versi |
--vers |
-V)
1033 ac_init_version
=: ;;
1036 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1039 { echo "$as_me: error: invalid package name: $ac_package" >&2
1040 { (exit 1); exit 1; }; }
1041 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1042 eval with_
$ac_package=\
$ac_optarg ;;
1044 -without-* |
--without-*)
1045 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1048 { echo "$as_me: error: invalid package name: $ac_package" >&2
1049 { (exit 1); exit 1; }; }
1050 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1051 eval with_
$ac_package=no
;;
1054 # Obsolete; use --with-x.
1057 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1058 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1059 ac_prev
=x_includes
;;
1060 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1061 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1062 x_includes
=$ac_optarg ;;
1064 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1065 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1066 ac_prev
=x_libraries
;;
1067 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1068 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1069 x_libraries
=$ac_optarg ;;
1071 -*) { echo "$as_me: error: unrecognized option: $ac_option
1072 Try \`$0 --help' for more information." >&2
1073 { (exit 1); exit 1; }; }
1077 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1080 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1081 { (exit 1); exit 1; }; }
1082 eval $ac_envvar=\
$ac_optarg
1083 export $ac_envvar ;;
1086 # FIXME: should be removed in autoconf 3.0.
1087 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1088 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1089 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1090 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1096 if test -n "$ac_prev"; then
1097 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1098 { echo "$as_me: error: missing argument to $ac_option" >&2
1099 { (exit 1); exit 1; }; }
1102 # Be sure to have absolute directory names.
1103 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1104 datadir sysconfdir sharedstatedir localstatedir includedir \
1105 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1106 libdir localedir mandir
1108 eval ac_val
=\$
$ac_var
1110 [\\/$
]* | ?
:[\\/]* ) continue;;
1111 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1113 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1114 { (exit 1); exit 1; }; }
1117 # There might be people who depend on the old broken behavior: `$host'
1118 # used to hold the argument of --host etc.
1119 # FIXME: To remove some day.
1122 target
=$target_alias
1124 # FIXME: To remove some day.
1125 if test "x$host_alias" != x
; then
1126 if test "x$build_alias" = x
; then
1127 cross_compiling
=maybe
1128 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1129 If a cross compiler is detected then cross compile mode will be used." >&2
1130 elif test "x$build_alias" != "x$host_alias"; then
1136 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1138 test "$silent" = yes && exec 6>/dev
/null
1141 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1142 ac_ls_di
=`ls -di .` &&
1143 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1144 { echo "$as_me: error: Working directory cannot be determined" >&2
1145 { (exit 1); exit 1; }; }
1146 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1147 { echo "$as_me: error: pwd does not report name of working directory" >&2
1148 { (exit 1); exit 1; }; }
1151 # Find the source files, if location was not specified.
1152 if test -z "$srcdir"; then
1153 ac_srcdir_defaulted
=yes
1154 # Try the directory containing this script, then the parent directory.
1155 ac_confdir
=`$as_dirname -- "$0" ||
1156 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1157 X"$0" : 'X\(//\)[^/]' \| \
1158 X"$0" : 'X\(//\)$' \| \
1159 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1179 if test ! -r "$srcdir/$ac_unique_file"; then
1183 ac_srcdir_defaulted
=no
1185 if test ! -r "$srcdir/$ac_unique_file"; then
1186 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1187 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1188 { (exit 1); exit 1; }; }
1190 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1192 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1193 { (exit 1); exit 1; }; }
1195 # When building in place, set srcdir=.
1196 if test "$ac_abs_confdir" = "$ac_pwd"; then
1199 # Remove unnecessary trailing slashes from srcdir.
1200 # Double slashes in file names in object file debugging info
1201 # mess up M-x gdb in Emacs.
1203 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1205 for ac_var
in $ac_precious_vars; do
1206 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1207 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1208 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1209 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1213 # Report the --help message.
1215 if test "$ac_init_help" = "long"; then
1216 # Omit some internal or obsolete options to make the list less imposing.
1217 # This message is too long to be a string in the A/UX 3.1 sh.
1219 \`configure' configures nbd 2.8.8 to adapt to many kinds of systems.
1221 Usage: $0 [OPTION]... [VAR=VALUE]...
1223 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1224 VAR=VALUE. See below for descriptions of some of the useful variables.
1226 Defaults for the options are specified in brackets.
1229 -h, --help display this help and exit
1230 --help=short display options specific to this package
1231 --help=recursive display the short help of all the included packages
1232 -V, --version display version information and exit
1233 -q, --quiet, --silent do not print \`checking...' messages
1234 --cache-file=FILE cache test results in FILE [disabled]
1235 -C, --config-cache alias for \`--cache-file=config.cache'
1236 -n, --no-create do not create output files
1237 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1239 Installation directories:
1240 --prefix=PREFIX install architecture-independent files in PREFIX
1241 [$ac_default_prefix]
1242 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1245 By default, \`make install' will install all the files in
1246 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1247 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1248 for instance \`--prefix=\$HOME'.
1250 For better control, use the options below.
1252 Fine tuning of the installation directories:
1253 --bindir=DIR user executables [EPREFIX/bin]
1254 --sbindir=DIR system admin executables [EPREFIX/sbin]
1255 --libexecdir=DIR program executables [EPREFIX/libexec]
1256 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1257 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1258 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1259 --libdir=DIR object code libraries [EPREFIX/lib]
1260 --includedir=DIR C header files [PREFIX/include]
1261 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1262 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1263 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1264 --infodir=DIR info documentation [DATAROOTDIR/info]
1265 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1266 --mandir=DIR man documentation [DATAROOTDIR/man]
1267 --docdir=DIR documentation root [DATAROOTDIR/doc/nbd]
1268 --htmldir=DIR html documentation [DOCDIR]
1269 --dvidir=DIR dvi documentation [DOCDIR]
1270 --pdfdir=DIR pdf documentation [DOCDIR]
1271 --psdir=DIR ps documentation [DOCDIR]
1277 --program-prefix=PREFIX prepend PREFIX to installed program names
1278 --program-suffix=SUFFIX append SUFFIX to installed program names
1279 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1283 if test -n "$ac_init_help"; then
1284 case $ac_init_help in
1285 short | recursive
) echo "Configuration of nbd 2.8.8:";;
1290 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1291 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1292 --enable-maintainer-mode enable make rules and dependencies not useful
1293 (and sometimes confusing
) to the casual installer
1294 --disable-lfs Disable Large File Support
(enabled by default
)
1295 --disable-syslog Disable Syslog logging
(enabled by default
)
1296 --disable-dependency-tracking speeds up one-time build
1297 --enable-dependency-tracking do not reject slow dependency extractors
1298 --disable-glibtest do not try to compile and run a
test GLIB program
1300 Some influential environment variables
:
1301 CC C compiler
command
1302 CFLAGS C compiler flags
1303 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1304 nonstandard directory
<lib dir
>
1305 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1306 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1307 you have headers
in a nonstandard directory
<include dir
>
1310 Use these variables to override the choices made by
`configure' or to help
1311 it to find libraries and programs with nonstandard names/locations.
1313 Report bugs to <wouter@debian.org>.
1318 if test "$ac_init_help" = "recursive"; then
1319 # If there are subdirs, report their specific --help.
1320 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1321 test -d "$ac_dir" || continue
1325 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1327 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1328 # A ".." for each directory in $ac_dir_suffix.
1329 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1330 case $ac_top_builddir_sub in
1331 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1332 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1335 ac_abs_top_builddir=$ac_pwd
1336 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1337 # for backward compatibility:
1338 ac_top_builddir=$ac_top_build_prefix
1341 .) # We are building in place.
1343 ac_top_srcdir=$ac_top_builddir_sub
1344 ac_abs_top_srcdir=$ac_pwd ;;
1345 [\\/]* | ?:[\\/]* ) # Absolute name.
1346 ac_srcdir=$srcdir$ac_dir_suffix;
1347 ac_top_srcdir=$srcdir
1348 ac_abs_top_srcdir=$srcdir ;;
1350 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1351 ac_top_srcdir=$ac_top_build_prefix$srcdir
1352 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1354 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1356 cd "$ac_dir" || { ac_status=$?; continue; }
1357 # Check for guested configure.
1358 if test -f "$ac_srcdir/configure.gnu"; then
1360 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1361 elif test -f "$ac_srcdir/configure"; then
1363 $SHELL "$ac_srcdir/configure" --help=recursive
1365 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1367 cd "$ac_pwd" || { ac_status=$?; break; }
1371 test -n "$ac_init_help" && exit $ac_status
1372 if $ac_init_version; then
1375 generated by GNU Autoconf 2.61
1377 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1378 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1379 This configure script is free software; the Free Software Foundation
1380 gives unlimited permission to copy, distribute and modify it.
1384 cat >config.log <<_ACEOF
1385 This file contains any messages produced by compilers while
1386 running configure, to aid debugging if configure makes a mistake.
1388 It was created by nbd $as_me 2.8.8, which was
1389 generated by GNU Autoconf 2.61. Invocation command line was
1401 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1402 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1403 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1404 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1405 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1407 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1408 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1410 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1411 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1412 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1413 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1414 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1415 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1416 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1424 test -z "$as_dir" && as_dir=.
1425 echo "PATH: $as_dir"
1441 # Keep a trace of the command line.
1442 # Strip out --no-create and --no-recursion so they do not pile up.
1443 # Strip out --silent because we don't want to record it for future runs.
1444 # Also quote any args containing shell meta-characters.
1445 # Make two passes to allow for proper duplicate-argument suppression.
1449 ac_must_keep_next=false
1455 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1456 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1457 | -silent | --silent | --silen | --sile | --sil)
1460 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1463 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1465 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1466 if test $ac_must_keep_next = true; then
1467 ac_must_keep_next=false # Got value, back to normal.
1470 *=* | --config-cache | -C | -disable-* | --disable-* \
1471 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1472 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1473 | -with-* | --with-* | -without-* | --without-* | --x)
1474 case "$ac_configure_args0 " in
1475 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1478 -* ) ac_must_keep_next=true ;;
1481 ac_configure_args="$ac_configure_args '$ac_arg'"
1486 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1487 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1489 # When interrupted or exit'd, cleanup temporary files, and complete
1490 # config.log. We remove comments because anyway the quotes in there
1491 # would cause problems or look ugly.
1492 # WARNING: Use '\'' to represent an apostrophe within the trap.
1493 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1494 trap 'exit_status=$?
1495 # Save into config.log some information that might help in debugging.
1500 ## ---------------- ##
1501 ## Cache variables. ##
1502 ## ---------------- ##
1505 # The following way of writing the cache mishandles newlines in values,
1507 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1508 eval ac_val=\$$ac_var
1512 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1513 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1516 _ | IFS | as_nl) ;; #(
1517 *) $as_unset $ac_var ;;
1522 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1523 *${as_nl}ac_space=\ *)
1525 "s/'\''/'\''\\\\'\'''\''/g;
1526 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1529 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1537 ## ----------------- ##
1538 ## Output variables. ##
1539 ## ----------------- ##
1542 for ac_var in $ac_subst_vars
1544 eval ac_val=\$$ac_var
1546 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1548 echo "$ac_var='\''$ac_val'\''"
1552 if test -n "$ac_subst_files"; then
1554 ## ------------------- ##
1555 ## File substitutions. ##
1556 ## ------------------- ##
1559 for ac_var in $ac_subst_files
1561 eval ac_val=\$$ac_var
1563 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1565 echo "$ac_var='\''$ac_val'\''"
1570 if test -s confdefs.h; then
1580 test "$ac_signal" != 0 &&
1581 echo "$as_me: caught signal $ac_signal"
1582 echo "$as_me: exit $exit_status"
1584 rm -f core *.core core.conftest.* &&
1585 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1588 for ac_signal in 1 2 13 15; do
1589 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1593 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1594 rm -f -r conftest* confdefs.h
1596 # Predefined preprocessor variables.
1598 cat >>confdefs.h <<_ACEOF
1599 #define PACKAGE_NAME "$PACKAGE_NAME"
1603 cat >>confdefs.h <<_ACEOF
1604 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1608 cat >>confdefs.h <<_ACEOF
1609 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1613 cat >>confdefs.h <<_ACEOF
1614 #define PACKAGE_STRING "$PACKAGE_STRING"
1618 cat >>confdefs.h <<_ACEOF
1619 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1623 # Let the site file select an alternate cache file if it wants to.
1624 # Prefer explicitly selected file to automatically selected ones.
1625 if test -n "$CONFIG_SITE"; then
1626 set x "$CONFIG_SITE"
1627 elif test "x$prefix" != xNONE; then
1628 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1630 set x "$ac_default_prefix/share/config.site" \
1631 "$ac_default_prefix/etc/config.site"
1636 if test -r "$ac_site_file"; then
1637 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1638 echo "$as_me: loading site script $ac_site_file" >&6;}
1639 sed 's/^/| /' "$ac_site_file" >&5
1644 if test -r "$cache_file"; then
1645 # Some versions of bash will fail to source /dev/null (special
1646 # files actually), so we avoid doing that.
1647 if test -f "$cache_file"; then
1648 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1649 echo "$as_me: loading cache $cache_file" >&6;}
1651 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1652 *) . "./$cache_file";;
1656 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1657 echo "$as_me: creating cache $cache_file" >&6;}
1661 # Check that the precious variables saved in the cache have kept the same
1663 ac_cache_corrupted=false
1664 for ac_var in $ac_precious_vars; do
1665 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1666 eval ac_new_set=\$ac_env_${ac_var}_set
1667 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1668 eval ac_new_val=\$ac_env_${ac_var}_value
1669 case $ac_old_set,$ac_new_set in
1671 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1672 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1673 ac_cache_corrupted=: ;;
1675 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1676 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1677 ac_cache_corrupted=: ;;
1680 if test "x$ac_old_val" != "x$ac_new_val"; then
1681 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1682 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1683 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1684 echo "$as_me: former value
: $ac_old_val" >&2;}
1685 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1686 echo "$as_me: current value
: $ac_new_val" >&2;}
1687 ac_cache_corrupted=:
1690 # Pass precious variables to config.status.
1691 if test "$ac_new_set" = set; then
1693 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1694 *) ac_arg=$ac_var=$ac_new_val ;;
1696 case " $ac_configure_args " in
1697 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1698 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1702 if $ac_cache_corrupted; then
1703 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1704 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1705 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1706 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1707 { (exit 1); exit 1; }; }
1735 ac_cpp='$CPP $CPPFLAGS'
1736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1741 am__api_version="1.9"
1743 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1744 if test -f "$ac_dir/install-sh"; then
1746 ac_install_sh="$ac_aux_dir/install-sh -c"
1748 elif test -f "$ac_dir/install.sh"; then
1750 ac_install_sh="$ac_aux_dir/install.sh -c"
1752 elif test -f "$ac_dir/shtool"; then
1754 ac_install_sh="$ac_aux_dir/shtool install -c"
1758 if test -z "$ac_aux_dir"; then
1759 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1760 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1761 { (exit 1); exit 1; }; }
1764 # These three variables are undocumented and unsupported,
1765 # and are intended to be withdrawn in a future Autoconf release.
1766 # They can cause serious problems if a builder's source tree is in a directory
1767 # whose full name contains unusual characters.
1768 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1769 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1770 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1773 # Find a good install program. We prefer a C program (faster),
1774 # so one script is as good as another. But avoid the broken or
1775 # incompatible versions:
1776 # SysV /etc/install, /usr/sbin/install
1777 # SunOS /usr/etc/install
1778 # IRIX /sbin/install
1780 # AmigaOS /C/install, which installs bootblocks on floppy discs
1781 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1782 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1783 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1784 # OS/2's system install, which has a completely different semantic
1785 # ./install, which can be erroneously created by make from ./install.sh.
1786 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1787 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1788 if test -z "$INSTALL"; then
1789 if test "${ac_cv_path_install+set}" = set; then
1790 echo $ECHO_N "(cached) $ECHO_C" >&6
1792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1796 test -z "$as_dir" && as_dir=.
1797 # Account for people who put trailing slashes in PATH elements.
1799 ./ | .// | /cC/* | \
1800 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1801 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1804 # OSF1 and SCO ODT 3.0 have their own names for install.
1805 # Don't use installbsd from OSF since it installs stuff as root
1807 for ac_prog in ginstall scoinst install; do
1808 for ac_exec_ext in '' $ac_executable_extensions; do
1809 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1810 if test $ac_prog = install &&
1811 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1812 # AIX install. It has an incompatible calling convention.
1814 elif test $ac_prog = install &&
1815 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1816 # program-specific install script used by HP pwplus--don't use.
1819 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1832 if test "${ac_cv_path_install+set}" = set; then
1833 INSTALL=$ac_cv_path_install
1835 # As a last resort, use the slow shell script. Don't cache a
1836 # value for INSTALL within a source directory, because that will
1837 # break other packages using the cache if that directory is
1838 # removed, or if the value is a relative name.
1839 INSTALL=$ac_install_sh
1842 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1843 echo "${ECHO_T}$INSTALL" >&6; }
1845 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1846 # It thinks the first close brace ends the variable substitution.
1847 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1849 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1851 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1853 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1854 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1857 echo timestamp > conftest.file
1858 # Do `set' in a subshell so we don't clobber the current shell
's
1859 # arguments. Must try -L first in case configure is actually a
1860 # symlink; some systems play weird games with the mod time of symlinks
1861 # (eg FreeBSD returns the mod time of the symlink's containing
1864 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1865 if test "$*" = "X"; then
1867 set X
`ls -t $srcdir/configure conftest.file`
1870 if test "$*" != "X $srcdir/configure conftest.file" \
1871 && test "$*" != "X conftest.file $srcdir/configure"; then
1873 # If neither matched, then we have a broken ls. This can happen
1874 # if, for instance, CONFIG_SHELL is bash and it inherits a
1875 # broken ls alias from the environment. This has actually
1876 # happened. Such a system could not be considered "sane".
1877 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1878 alias in your environment" >&5
1879 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1880 alias in your environment" >&2;}
1881 { (exit 1); exit 1; }; }
1884 test "$2" = conftest.
file
1890 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1891 Check your system clock" >&5
1892 echo "$as_me: error: newly created file is older than distributed files!
1893 Check your system clock" >&2;}
1894 { (exit 1); exit 1; }; }
1896 { echo "$as_me:$LINENO: result: yes" >&5
1897 echo "${ECHO_T}yes" >&6; }
1898 test "$program_prefix" != NONE
&&
1899 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1900 # Use a double $ so make ignores it.
1901 test "$program_suffix" != NONE
&&
1902 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1903 # Double any \ or $. echo might interpret backslashes.
1904 # By default was `s,x,x', remove it if useless.
1905 cat <<\_ACEOF
>conftest.
sed
1906 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1908 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1911 # expand $ac_aux_dir to an absolute path
1912 am_aux_dir
=`cd $ac_aux_dir && pwd`
1914 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1915 # Use eval to expand $SHELL
1916 if eval "$MISSING --run true"; then
1917 am_missing_run
="$MISSING --run "
1920 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1921 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1924 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1925 # We used to keeping the `.' as first argument, in order to
1926 # allow $(mkdir_p) to be used without argument. As in
1927 # $(mkdir_p) $(somedir)
1928 # where $(somedir) is conditionally defined. However this is wrong
1930 # 1. if the package is installed by a user who cannot write `.'
1931 # make install will fail,
1932 # 2. the above comment should most certainly read
1933 # $(mkdir_p) $(DESTDIR)$(somedir)
1934 # so it does not work when $(somedir) is undefined and
1935 # $(DESTDIR) is not.
1936 # To support the latter case, we have to write
1937 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1938 # so the `.' trick is pointless.
1939 mkdir_p
='mkdir -p --'
1941 # On NextStep and OpenStep, the `mkdir' command does not
1942 # recognize any option. It will interpret all options as
1943 # directories to create, and then abort because `.' already
1945 for d
in .
/-p .
/--version;
1947 test -d $d && rmdir $d
1949 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1950 if test -f "$ac_aux_dir/mkinstalldirs"; then
1951 mkdir_p
='$(mkinstalldirs)'
1953 mkdir_p
='$(install_sh) -d'
1957 for ac_prog
in gawk mawk nawk
awk
1959 # Extract the first word of "$ac_prog", so it can be a program name with args.
1960 set dummy
$ac_prog; ac_word
=$2
1961 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1963 if test "${ac_cv_prog_AWK+set}" = set; then
1964 echo $ECHO_N "(cached) $ECHO_C" >&6
1966 if test -n "$AWK"; then
1967 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1973 test -z "$as_dir" && as_dir
=.
1974 for ac_exec_ext
in '' $ac_executable_extensions; do
1975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1976 ac_cv_prog_AWK
="$ac_prog"
1977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1987 if test -n "$AWK"; then
1988 { echo "$as_me:$LINENO: result: $AWK" >&5
1989 echo "${ECHO_T}$AWK" >&6; }
1991 { echo "$as_me:$LINENO: result: no" >&5
1992 echo "${ECHO_T}no" >&6; }
1996 test -n "$AWK" && break
1999 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2000 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2001 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2002 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2003 echo $ECHO_N "(cached) $ECHO_C" >&6
2005 cat >conftest.
make <<\_ACEOF
2008 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2010 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2011 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2013 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2015 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2019 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2020 { echo "$as_me:$LINENO: result: yes" >&5
2021 echo "${ECHO_T}yes" >&6; }
2024 { echo "$as_me:$LINENO: result: no" >&5
2025 echo "${ECHO_T}no" >&6; }
2026 SET_MAKE
="MAKE=${MAKE-make}"
2029 rm -rf .tst
2>/dev
/null
2030 mkdir .tst
2>/dev
/null
2031 if test -d .tst
; then
2036 rmdir .tst
2>/dev
/null
2038 # test to see if srcdir already configured
2039 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2040 test -f $srcdir/config.status
; then
2041 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2042 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2043 { (exit 1); exit 1; }; }
2046 # test whether we have cygpath
2047 if test -z "$CYGPATH_W"; then
2048 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2049 CYGPATH_W
='cygpath -w'
2056 # Define the identity of the package.
2061 cat >>confdefs.h
<<_ACEOF
2062 #define PACKAGE "$PACKAGE"
2066 cat >>confdefs.h
<<_ACEOF
2067 #define VERSION "$VERSION"
2070 # Some tools Automake needs.
2072 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2075 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2078 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2081 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2084 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2086 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2088 # Installed binaries are usually stripped using `strip' when the user
2089 # run `make install-strip'. However `strip' might not be the right
2090 # tool to use in cross-compilation environments, therefore Automake
2091 # will honor the `STRIP' environment variable to overrule this program.
2092 if test "$cross_compiling" != no
; then
2093 if test -n "$ac_tool_prefix"; then
2094 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2095 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2098 if test "${ac_cv_prog_STRIP+set}" = set; then
2099 echo $ECHO_N "(cached) $ECHO_C" >&6
2101 if test -n "$STRIP"; then
2102 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2108 test -z "$as_dir" && as_dir
=.
2109 for ac_exec_ext
in '' $ac_executable_extensions; do
2110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2111 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2121 STRIP
=$ac_cv_prog_STRIP
2122 if test -n "$STRIP"; then
2123 { echo "$as_me:$LINENO: result: $STRIP" >&5
2124 echo "${ECHO_T}$STRIP" >&6; }
2126 { echo "$as_me:$LINENO: result: no" >&5
2127 echo "${ECHO_T}no" >&6; }
2132 if test -z "$ac_cv_prog_STRIP"; then
2134 # Extract the first word of "strip", so it can be a program name with args.
2135 set dummy strip
; ac_word
=$2
2136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2138 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2139 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 if test -n "$ac_ct_STRIP"; then
2142 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2148 test -z "$as_dir" && as_dir
=.
2149 for ac_exec_ext
in '' $ac_executable_extensions; do
2150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2151 ac_cv_prog_ac_ct_STRIP
="strip"
2152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2162 if test -n "$ac_ct_STRIP"; then
2163 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2164 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2166 { echo "$as_me:$LINENO: result: no" >&5
2167 echo "${ECHO_T}no" >&6; }
2170 if test "x$ac_ct_STRIP" = x
; then
2173 case $cross_compiling:$ac_tool_warned in
2175 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2176 whose name does not start with the host triplet. If you think this
2177 configuration is useful to you, please write to autoconf@gnu.org." >&5
2178 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2179 whose name does not start with the host triplet. If you think this
2180 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2181 ac_tool_warned
=yes ;;
2186 STRIP
="$ac_cv_prog_STRIP"
2190 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2192 # We need awk for the "check" target. The system "awk" is bad on
2194 # Always define AMTAR for backward compatibility.
2196 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2198 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2204 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2205 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2206 # Check whether --enable-maintainer-mode was given.
2207 if test "${enable_maintainer_mode+set}" = set; then
2208 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2210 USE_MAINTAINER_MODE
=no
2213 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2214 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2217 if test $USE_MAINTAINER_MODE = yes; then
2218 MAINTAINER_MODE_TRUE
=
2219 MAINTAINER_MODE_FALSE
='#'
2221 MAINTAINER_MODE_TRUE
='#'
2222 MAINTAINER_MODE_FALSE
=
2225 MAINT
=$MAINTAINER_MODE_TRUE
2229 # Check whether --enable-lfs was given.
2230 if test "${enable_lfs+set}" = set; then
2231 enableval
=$enable_lfs;
2232 if test "x$enableval" = "xyes" ; then
2244 { echo "$as_me:$LINENO: checking whether Large File Support should be enabled" >&5
2245 echo $ECHO_N "checking whether Large File Support should be enabled... $ECHO_C" >&6; }
2246 if test $NBD_LFS -eq 1; then
2248 cat >>confdefs.h
<<\_ACEOF
2252 { echo "$as_me:$LINENO: result: yes" >&5
2253 echo "${ECHO_T}yes" >&6; }
2255 cat >>confdefs.h
<<\_ACEOF
2259 { echo "$as_me:$LINENO: result: no" >&5
2260 echo "${ECHO_T}no" >&6; }
2263 # Check whether --enable-syslog was given.
2264 if test "${enable_syslog+set}" = set; then
2265 enableval
=$enable_syslog;
2266 if test "x$enableval" = "xyes" ; then
2277 { echo "$as_me:$LINENO: checking whether syslog logging is requested" >&5
2278 echo $ECHO_N "checking whether syslog logging is requested... $ECHO_C" >&6; }
2279 if test $ISSERVER -eq 1; then
2281 cat >>confdefs.h
<<\_ACEOF
2285 { echo "$as_me:$LINENO: result: yes" >&5
2286 echo "${ECHO_T}yes" >&6; }
2288 { echo "$as_me:$LINENO: result: no" >&5
2289 echo "${ECHO_T}no" >&6; }
2293 ac_cpp
='$CPP $CPPFLAGS'
2294 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2295 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2296 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2297 if test -n "$ac_tool_prefix"; then
2298 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2299 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2302 if test "${ac_cv_prog_CC+set}" = set; then
2303 echo $ECHO_N "(cached) $ECHO_C" >&6
2305 if test -n "$CC"; then
2306 ac_cv_prog_CC
="$CC" # Let the user override the test.
2308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2312 test -z "$as_dir" && as_dir
=.
2313 for ac_exec_ext
in '' $ac_executable_extensions; do
2314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2315 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2326 if test -n "$CC"; then
2327 { echo "$as_me:$LINENO: result: $CC" >&5
2328 echo "${ECHO_T}$CC" >&6; }
2330 { echo "$as_me:$LINENO: result: no" >&5
2331 echo "${ECHO_T}no" >&6; }
2336 if test -z "$ac_cv_prog_CC"; then
2338 # Extract the first word of "gcc", so it can be a program name with args.
2339 set dummy gcc
; ac_word
=$2
2340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2342 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2343 echo $ECHO_N "(cached) $ECHO_C" >&6
2345 if test -n "$ac_ct_CC"; then
2346 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2352 test -z "$as_dir" && as_dir
=.
2353 for ac_exec_ext
in '' $ac_executable_extensions; do
2354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2355 ac_cv_prog_ac_ct_CC
="gcc"
2356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2365 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2366 if test -n "$ac_ct_CC"; then
2367 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2368 echo "${ECHO_T}$ac_ct_CC" >&6; }
2370 { echo "$as_me:$LINENO: result: no" >&5
2371 echo "${ECHO_T}no" >&6; }
2374 if test "x$ac_ct_CC" = x
; then
2377 case $cross_compiling:$ac_tool_warned in
2379 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2380 whose name does not start with the host triplet. If you think this
2381 configuration is useful to you, please write to autoconf@gnu.org." >&5
2382 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2383 whose name does not start with the host triplet. If you think this
2384 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2385 ac_tool_warned
=yes ;;
2393 if test -z "$CC"; then
2394 if test -n "$ac_tool_prefix"; then
2395 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2396 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2399 if test "${ac_cv_prog_CC+set}" = set; then
2400 echo $ECHO_N "(cached) $ECHO_C" >&6
2402 if test -n "$CC"; then
2403 ac_cv_prog_CC
="$CC" # Let the user override the test.
2405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2409 test -z "$as_dir" && as_dir
=.
2410 for ac_exec_ext
in '' $ac_executable_extensions; do
2411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2412 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2423 if test -n "$CC"; then
2424 { echo "$as_me:$LINENO: result: $CC" >&5
2425 echo "${ECHO_T}$CC" >&6; }
2427 { echo "$as_me:$LINENO: result: no" >&5
2428 echo "${ECHO_T}no" >&6; }
2434 if test -z "$CC"; then
2435 # Extract the first word of "cc", so it can be a program name with args.
2436 set dummy cc
; ac_word
=$2
2437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2439 if test "${ac_cv_prog_CC+set}" = set; then
2440 echo $ECHO_N "(cached) $ECHO_C" >&6
2442 if test -n "$CC"; then
2443 ac_cv_prog_CC
="$CC" # Let the user override the test.
2446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2450 test -z "$as_dir" && as_dir
=.
2451 for ac_exec_ext
in '' $ac_executable_extensions; do
2452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2453 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2454 ac_prog_rejected
=yes
2458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2465 if test $ac_prog_rejected = yes; then
2466 # We found a bogon in the path, so make sure we never use it.
2467 set dummy
$ac_cv_prog_CC
2469 if test $# != 0; then
2470 # We chose a different compiler from the bogus one.
2471 # However, it has the same basename, so the bogon will be chosen
2472 # first if we set CC to just the basename; use the full file name.
2474 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2480 if test -n "$CC"; then
2481 { echo "$as_me:$LINENO: result: $CC" >&5
2482 echo "${ECHO_T}$CC" >&6; }
2484 { echo "$as_me:$LINENO: result: no" >&5
2485 echo "${ECHO_T}no" >&6; }
2490 if test -z "$CC"; then
2491 if test -n "$ac_tool_prefix"; then
2492 for ac_prog
in cl.exe
2494 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2495 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2498 if test "${ac_cv_prog_CC+set}" = set; then
2499 echo $ECHO_N "(cached) $ECHO_C" >&6
2501 if test -n "$CC"; then
2502 ac_cv_prog_CC
="$CC" # Let the user override the test.
2504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2508 test -z "$as_dir" && as_dir
=.
2509 for ac_exec_ext
in '' $ac_executable_extensions; do
2510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2511 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2522 if test -n "$CC"; then
2523 { echo "$as_me:$LINENO: result: $CC" >&5
2524 echo "${ECHO_T}$CC" >&6; }
2526 { echo "$as_me:$LINENO: result: no" >&5
2527 echo "${ECHO_T}no" >&6; }
2531 test -n "$CC" && break
2534 if test -z "$CC"; then
2536 for ac_prog
in cl.exe
2538 # Extract the first word of "$ac_prog", so it can be a program name with args.
2539 set dummy
$ac_prog; ac_word
=$2
2540 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2542 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 if test -n "$ac_ct_CC"; then
2546 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2552 test -z "$as_dir" && as_dir
=.
2553 for ac_exec_ext
in '' $ac_executable_extensions; do
2554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2555 ac_cv_prog_ac_ct_CC
="$ac_prog"
2556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2565 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2566 if test -n "$ac_ct_CC"; then
2567 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2568 echo "${ECHO_T}$ac_ct_CC" >&6; }
2570 { echo "$as_me:$LINENO: result: no" >&5
2571 echo "${ECHO_T}no" >&6; }
2575 test -n "$ac_ct_CC" && break
2578 if test "x$ac_ct_CC" = x
; then
2581 case $cross_compiling:$ac_tool_warned in
2583 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2584 whose name does not start with the host triplet. If you think this
2585 configuration is useful to you, please write to autoconf@gnu.org." >&5
2586 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2587 whose name does not start with the host triplet. If you think this
2588 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2589 ac_tool_warned
=yes ;;
2598 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2599 See \`config.log' for more details." >&5
2600 echo "$as_me: error: no acceptable C compiler found in \$PATH
2601 See \`config.log' for more details." >&2;}
2602 { (exit 1); exit 1; }; }
2604 # Provide some information about the compiler.
2605 echo "$as_me:$LINENO: checking for C compiler version" >&5
2606 ac_compiler
=`set X $ac_compile; echo $2`
2607 { (ac_try
="$ac_compiler --version >&5"
2609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2610 *) ac_try_echo=$ac_try;;
2612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2613 (eval "$ac_compiler --version >&5") 2>&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); }
2617 { (ac_try="$ac_compiler -v >&5"
2619 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2620 *) ac_try_echo
=$ac_try;;
2622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2623 (eval "$ac_compiler -v >&5") 2>&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); }
2627 { (ac_try
="$ac_compiler -V >&5"
2629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2630 *) ac_try_echo=$ac_try;;
2632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2633 (eval "$ac_compiler -V >&5") 2>&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }
2638 cat >conftest.$ac_ext <<_ACEOF
2641 cat confdefs.h >>conftest.$ac_ext
2642 cat >>conftest.$ac_ext <<_ACEOF
2643 /* end confdefs.h. */
2653 ac_clean_files_save=$ac_clean_files
2654 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2655 # Try to create an executable without -o first, disregard a.out.
2656 # It will help us diagnose broken compilers, and finding out an intuition
2658 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2659 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2660 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2662 # List of possible output files, starting from the most likely.
2663 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2664 # only as a last resort. b.out is created by i960 compilers.
2665 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2667 # The IRIX 6 linker writes into existing files which may not be
2668 # executable, retaining their permissions. Remove them first so a
2669 # subsequent execution test works.
2671 for ac_file in $ac_files
2674 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2675 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2680 if { (ac_try="$ac_link_default"
2682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2683 *) ac_try_echo=$ac_try;;
2685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2686 (eval "$ac_link_default") 2>&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); }; then
2690 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2691 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2692 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2693 # so that the user can short-circuit this test for compilers unknown to
2695 for ac_file
in $ac_files ''
2697 test -f "$ac_file" ||
continue
2699 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2702 # We found the default executable, but exeext='' is most
2706 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2708 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2710 # We set ac_cv_exeext here because the later test for it is not
2711 # safe: cross compilers may not add the suffix if given an `-o'
2712 # argument, so we may need to know it at that point already.
2713 # Even if this section looks crufty: it has the advantage of
2720 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2726 { echo "$as_me:$LINENO: result: $ac_file" >&5
2727 echo "${ECHO_T}$ac_file" >&6; }
2728 if test -z "$ac_file"; then
2729 echo "$as_me: failed program was:" >&5
2730 sed 's/^/| /' conftest.
$ac_ext >&5
2732 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2733 See \`config.log' for more details." >&5
2734 echo "$as_me: error: C compiler cannot create executables
2735 See \`config.log' for more details." >&2;}
2736 { (exit 77); exit 77; }; }
2739 ac_exeext
=$ac_cv_exeext
2741 # Check that the compiler produces executables we can run. If not, either
2742 # the compiler is broken, or we cross compile.
2743 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2744 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2745 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2746 # If not cross compiling, check that we can run a simple program.
2747 if test "$cross_compiling" != yes; then
2748 if { ac_try
='./$ac_file'
2749 { (case "(($ac_try" in
2750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2751 *) ac_try_echo=$ac_try;;
2753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2754 (eval "$ac_try") 2>&5
2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757 (exit $ac_status); }; }; then
2760 if test "$cross_compiling" = maybe; then
2763 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2764 If you meant to cross compile, use \`--host'.
2765 See \`config.log' for more details.
" >&5
2766 echo "$as_me: error
: cannot run C compiled programs.
2767 If you meant to cross compile
, use \
`--host'.
2768 See \`config.log
' for more details." >&2;}
2769 { (exit 1); exit 1; }; }
2773 { echo "$as_me:$LINENO: result: yes" >&5
2774 echo "${ECHO_T}yes" >&6; }
2776 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2777 ac_clean_files=$ac_clean_files_save
2778 # Check that the compiler produces executables we can run. If not, either
2779 # the compiler is broken, or we cross compile.
2780 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2781 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2782 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2783 echo "${ECHO_T}$cross_compiling" >&6; }
2785 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2786 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2787 if { (ac_try="$ac_link"
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2793 (eval "$ac_link") 2>&5
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); }; then
2797 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2798 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2799 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2801 for ac_file
in conftest.exe conftest conftest.
*; do
2802 test -f "$ac_file" ||
continue
2804 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2805 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2811 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2812 See \`config.log' for more details." >&5
2813 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2814 See \`config.log' for more details." >&2;}
2815 { (exit 1); exit 1; }; }
2818 rm -f conftest
$ac_cv_exeext
2819 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2820 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2822 rm -f conftest.
$ac_ext
2823 EXEEXT
=$ac_cv_exeext
2825 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2826 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2827 if test "${ac_cv_objext+set}" = set; then
2828 echo $ECHO_N "(cached) $ECHO_C" >&6
2830 cat >conftest.
$ac_ext <<_ACEOF
2833 cat confdefs.h
>>conftest.
$ac_ext
2834 cat >>conftest.
$ac_ext <<_ACEOF
2835 /* end confdefs.h. */
2845 rm -f conftest.o conftest.obj
2846 if { (ac_try
="$ac_compile"
2848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2849 *) ac_try_echo=$ac_try;;
2851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2852 (eval "$ac_compile") 2>&5
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); }; then
2856 for ac_file in conftest.o conftest.obj conftest.*; do
2857 test -f "$ac_file" || continue;
2859 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2860 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2865 echo "$as_me: failed program was:" >&5
2866 sed 's/^/| /' conftest.$ac_ext >&5
2868 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2869 See \`config.log
' for more details." >&5
2870 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2871 See \`config.log' for more details.
" >&2;}
2872 { (exit 1); exit 1; }; }
2875 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2877 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2878 echo "${ECHO_T}$ac_cv_objext" >&6; }
2879 OBJEXT=$ac_cv_objext
2881 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2882 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2883 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2884 echo $ECHO_N "(cached
) $ECHO_C" >&6
2886 cat >conftest.$ac_ext <<_ACEOF
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2904 rm -f conftest.$ac_objext
2905 if { (ac_try="$ac_compile"
2907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2908 *) ac_try_echo=$ac_try;;
2910 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2911 (eval "$ac_compile") 2>conftest.er1
2913 grep -v '^ *+' conftest.er1 >conftest.err
2915 cat conftest.err >&5
2916 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2917 (exit $ac_status); } && {
2918 test -z "$ac_c_werror_flag" ||
2919 test ! -s conftest.err
2920 } && test -s conftest.$ac_objext; then
2923 echo "$as_me: failed program was
:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2933 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2934 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2935 GCC=`test $ac_compiler_gnu = yes && echo yes`
2936 ac_test_CFLAGS=${CFLAGS+set}
2937 ac_save_CFLAGS=$CFLAGS
2938 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2939 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2940 if test "${ac_cv_prog_cc_g+set}" = set; then
2941 echo $ECHO_N "(cached
) $ECHO_C" >&6
2943 ac_save_c_werror_flag=$ac_c_werror_flag
2944 ac_c_werror_flag=yes
2947 cat >conftest.$ac_ext <<_ACEOF
2950 cat confdefs.h >>conftest.$ac_ext
2951 cat >>conftest.$ac_ext <<_ACEOF
2952 /* end confdefs.h. */
2962 rm -f conftest.$ac_objext
2963 if { (ac_try="$ac_compile"
2965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2966 *) ac_try_echo=$ac_try;;
2968 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2969 (eval "$ac_compile") 2>conftest.er1
2971 grep -v '^ *+' conftest.er1 >conftest.err
2973 cat conftest.err >&5
2974 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2975 (exit $ac_status); } && {
2976 test -z "$ac_c_werror_flag" ||
2977 test ! -s conftest.err
2978 } && test -s conftest.$ac_objext; then
2981 echo "$as_me: failed program was
:" >&5
2982 sed 's/^/| /' conftest.$ac_ext >&5
2985 cat >conftest.$ac_ext <<_ACEOF
2988 cat confdefs.h >>conftest.$ac_ext
2989 cat >>conftest.$ac_ext <<_ACEOF
2990 /* end confdefs.h. */
3000 rm -f conftest.$ac_objext
3001 if { (ac_try="$ac_compile"
3003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3004 *) ac_try_echo=$ac_try;;
3006 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3007 (eval "$ac_compile") 2>conftest.er1
3009 grep -v '^ *+' conftest.er1 >conftest.err
3011 cat conftest.err >&5
3012 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3013 (exit $ac_status); } && {
3014 test -z "$ac_c_werror_flag" ||
3015 test ! -s conftest.err
3016 } && test -s conftest.$ac_objext; then
3019 echo "$as_me: failed program was
:" >&5
3020 sed 's/^/| /' conftest.$ac_ext >&5
3022 ac_c_werror_flag=$ac_save_c_werror_flag
3024 cat >conftest.$ac_ext <<_ACEOF
3027 cat confdefs.h >>conftest.$ac_ext
3028 cat >>conftest.$ac_ext <<_ACEOF
3029 /* end confdefs.h. */
3039 rm -f conftest.$ac_objext
3040 if { (ac_try="$ac_compile"
3042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3043 *) ac_try_echo=$ac_try;;
3045 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3046 (eval "$ac_compile") 2>conftest.er1
3048 grep -v '^ *+' conftest.er1 >conftest.err
3050 cat conftest.err >&5
3051 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3052 (exit $ac_status); } && {
3053 test -z "$ac_c_werror_flag" ||
3054 test ! -s conftest.err
3055 } && test -s conftest.$ac_objext; then
3058 echo "$as_me: failed program was
:" >&5
3059 sed 's/^/| /' conftest.$ac_ext >&5
3064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3071 ac_c_werror_flag=$ac_save_c_werror_flag
3073 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3074 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3075 if test "$ac_test_CFLAGS" = set; then
3076 CFLAGS=$ac_save_CFLAGS
3077 elif test $ac_cv_prog_cc_g = yes; then
3078 if test "$GCC" = yes; then
3084 if test "$GCC" = yes; then
3090 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3091 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3092 if test "${ac_cv_prog_cc_c89+set}" = set; then
3093 echo $ECHO_N "(cached
) $ECHO_C" >&6
3095 ac_cv_prog_cc_c89=no
3097 cat >conftest.$ac_ext <<_ACEOF
3100 cat confdefs.h >>conftest.$ac_ext
3101 cat >>conftest.$ac_ext <<_ACEOF
3102 /* end confdefs.h. */
3105 #include <sys/types.h>
3106 #include <sys/stat.h>
3107 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3108 struct buf { int x; };
3109 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3110 static char *e (p, i)
3116 static char *f (char * (*g) (char **, int), char **p, ...)
3121 s = g (p, va_arg (v,int));
3126 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3127 function prototypes and stuff, but not '\xHH' hex character constants.
3128 These don't provoke an error unfortunately, instead are silently treated
3129 as 'x'. The following induces an error, until -std is added to get
3130 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3131 array size at least. It's necessary to write '\x00'==0 to get something
3132 that's true only with -std. */
3133 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3135 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3136 inside strings and character constants. */
3138 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3140 int test (int i, double x);
3141 struct s1 {int (*f) (int a);};
3142 struct s2 {int (*f) (double a);};
3143 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3149 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3154 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3155 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3157 CC="$ac_save_CC $ac_arg"
3158 rm -f conftest.$ac_objext
3159 if { (ac_try="$ac_compile"
3161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3162 *) ac_try_echo=$ac_try;;
3164 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3165 (eval "$ac_compile") 2>conftest.er1
3167 grep -v '^ *+' conftest.er1 >conftest.err
3169 cat conftest.err >&5
3170 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3171 (exit $ac_status); } && {
3172 test -z "$ac_c_werror_flag" ||
3173 test ! -s conftest.err
3174 } && test -s conftest.$ac_objext; then
3175 ac_cv_prog_cc_c89=$ac_arg
3177 echo "$as_me: failed program was
:" >&5
3178 sed 's/^/| /' conftest.$ac_ext >&5
3183 rm -f core conftest.err conftest.$ac_objext
3184 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3186 rm -f conftest.$ac_ext
3191 case "x
$ac_cv_prog_cc_c89" in
3193 { echo "$as_me:$LINENO: result
: none needed
" >&5
3194 echo "${ECHO_T}none needed
" >&6; } ;;
3196 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3197 echo "${ECHO_T}unsupported
" >&6; } ;;
3199 CC="$CC $ac_cv_prog_cc_c89"
3200 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3201 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3206 ac_cpp='$CPP $CPPFLAGS'
3207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3210 DEPDIR="${am__leading_dot}deps
"
3212 ac_config_commands="$ac_config_commands depfiles
"
3215 am_make=${MAKE-make}
3216 cat > confinc << 'END'
3221 # If we don't find an include directive, just comment out the code.
3222 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3223 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3227 # First try GNU make style include.
3228 echo "include confinc" > confmf
3229 # We grep out `Entering directory' and `Leaving directory'
3230 # messages which can occur if `w' ends up in MAKEFLAGS.
3231 # In particular we don't look at `^make:' because GNU make might
3232 # be invoked under some other name (usually "gmake"), in which
3233 # case it prints its new name instead of `make'.
3234 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3239 # Now try BSD make style include.
3240 if test "$am__include" = "#"; then
3241 echo '.include "confinc"' > confmf
3242 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3243 am__include
=.include
3250 { echo "$as_me:$LINENO: result: $_am_result" >&5
3251 echo "${ECHO_T}$_am_result" >&6; }
3252 rm -f confinc confmf
3254 # Check whether --enable-dependency-tracking was given.
3255 if test "${enable_dependency_tracking+set}" = set; then
3256 enableval
=$enable_dependency_tracking;
3259 if test "x$enable_dependency_tracking" != xno
; then
3260 am_depcomp
="$ac_aux_dir/depcomp"
3265 if test "x$enable_dependency_tracking" != xno; then
3276 depcc
="$CC" am_compiler_list
=
3278 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3279 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3280 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3281 echo $ECHO_N "(cached) $ECHO_C" >&6
3283 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3284 # We make a subdir and do the tests there. Otherwise we can end up
3285 # making bogus files that we don't know about and never remove. For
3286 # instance it was reported that on HP-UX the gcc test will end up
3287 # making a dummy file named `D' -- because `-MD' means `put the output
3290 # Copy depcomp to subdir because otherwise we won't find it if we're
3291 # using a relative directory.
3292 cp "$am_depcomp" conftest.dir
3294 # We will build objects and dependencies in a subdirectory because
3295 # it helps to detect inapplicable dependency modes. For instance
3296 # both Tru64's cc and ICC support -MD to output dependencies as a
3297 # side effect of compilation, but ICC will put the dependencies in
3298 # the current directory while Tru64 will put them in the object
3302 am_cv_CC_dependencies_compiler_type
=none
3303 if test "$am_compiler_list" = ""; then
3304 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3306 for depmode
in $am_compiler_list; do
3307 # Setup a source with many dependencies, because some compilers
3308 # like to wrap large dependency lists on column 80 (with \), and
3309 # we should not choose a depcomp mode which is confused by this.
3311 # We need to recreate these files for each test, as the compiler may
3312 # overwrite some of them when testing with obscure command lines.
3313 # This happens at least with the AIX C compiler.
3315 for i
in 1 2 3 4 5 6; do
3316 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3317 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3318 # Solaris 8's {/usr,}/bin/sh.
3319 touch sub
/conftst
$i.h
3321 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3325 # after this tag, mechanisms are not by side-effect, so they'll
3326 # only be used when explicitly requested
3327 if test "x$enable_dependency_tracking" = xyes
; then
3335 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3336 # mode. It turns out that the SunPro C++ compiler does not properly
3337 # handle `-M -o', and we need to detect this.
3338 if depmode
=$depmode \
3339 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3340 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3341 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3342 >/dev
/null
2>conftest.err
&&
3343 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3344 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3345 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3346 # icc doesn't choke on unknown options, it will just issue warnings
3347 # or remarks (even with -Werror). So we grep stderr for any message
3348 # that says an option was ignored or not supported.
3349 # When given -MP, icc 7.0 and 7.1 complain thusly:
3350 # icc: Command line warning: ignoring option '-M'; no argument required
3351 # The diagnosis changed in icc 8.0:
3352 # icc: Command line remark: option '-MP' not supported
3353 if (grep 'ignoring option' conftest.err ||
3354 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3355 am_cv_CC_dependencies_compiler_type
=$depmode
3364 am_cv_CC_dependencies_compiler_type
=none
3368 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3369 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3370 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3375 test "x$enable_dependency_tracking" != xno \
3376 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3378 am__fastdepCC_FALSE
='#'
3380 am__fastdepCC_TRUE
='#'
3381 am__fastdepCC_FALSE
=
3386 ac_cpp
='$CPP $CPPFLAGS'
3387 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3388 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3389 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3390 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3391 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3392 # On Suns, sometimes $CPP names a directory.
3393 if test -n "$CPP" && test -d "$CPP"; then
3396 if test -z "$CPP"; then
3397 if test "${ac_cv_prog_CPP+set}" = set; then
3398 echo $ECHO_N "(cached) $ECHO_C" >&6
3400 # Double quotes because CPP needs to be expanded
3401 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3404 for ac_c_preproc_warn_flag
in '' yes
3406 # Use a header file that comes with gcc, so configuring glibc
3407 # with a fresh cross-compiler works.
3408 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3409 # <limits.h> exists even on freestanding compilers.
3410 # On the NeXT, cc -E runs the code through the compiler's parser,
3411 # not just through cpp. "Syntax error" is here to catch this case.
3412 cat >conftest.
$ac_ext <<_ACEOF
3415 cat confdefs.h
>>conftest.
$ac_ext
3416 cat >>conftest.
$ac_ext <<_ACEOF
3417 /* end confdefs.h. */
3419 # include <limits.h>
3421 # include <assert.h>
3425 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3427 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3428 *) ac_try_echo=$ac_try;;
3430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3431 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3433 grep -v '^ *+' conftest.er1 >conftest.err
3435 cat conftest.err >&5
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); } >/dev/null && {
3438 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3439 test ! -s conftest.err
3443 echo "$as_me: failed program was:" >&5
3444 sed 's/^/| /' conftest.$ac_ext >&5
3446 # Broken: fails on valid input.
3450 rm -f conftest.err conftest.$ac_ext
3452 # OK, works on sane cases. Now check whether nonexistent headers
3453 # can be detected and how.
3454 cat >conftest.$ac_ext <<_ACEOF
3457 cat confdefs.h >>conftest.$ac_ext
3458 cat >>conftest.$ac_ext <<_ACEOF
3459 /* end confdefs.h. */
3460 #include <ac_nonexistent.h>
3462 if { (ac_try="$ac_cpp conftest.$ac_ext"
3464 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3465 *) ac_try_echo
=$ac_try;;
3467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3468 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3470 grep -v '^ *+' conftest.er1
>conftest.err
3472 cat conftest.err
>&5
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); } >/dev
/null
&& {
3475 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3476 test ! -s conftest.err
3478 # Broken: success on invalid input.
3481 echo "$as_me: failed program was:" >&5
3482 sed 's/^/| /' conftest.
$ac_ext >&5
3484 # Passes both tests.
3489 rm -f conftest.err conftest.
$ac_ext
3492 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3493 rm -f conftest.err conftest.
$ac_ext
3494 if $ac_preproc_ok; then
3506 { echo "$as_me:$LINENO: result: $CPP" >&5
3507 echo "${ECHO_T}$CPP" >&6; }
3509 for ac_c_preproc_warn_flag
in '' yes
3511 # Use a header file that comes with gcc, so configuring glibc
3512 # with a fresh cross-compiler works.
3513 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3514 # <limits.h> exists even on freestanding compilers.
3515 # On the NeXT, cc -E runs the code through the compiler's parser,
3516 # not just through cpp. "Syntax error" is here to catch this case.
3517 cat >conftest.
$ac_ext <<_ACEOF
3520 cat confdefs.h
>>conftest.
$ac_ext
3521 cat >>conftest.
$ac_ext <<_ACEOF
3522 /* end confdefs.h. */
3524 # include <limits.h>
3526 # include <assert.h>
3530 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3533 *) ac_try_echo=$ac_try;;
3535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3536 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3538 grep -v '^ *+' conftest.er1 >conftest.err
3540 cat conftest.err >&5
3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); } >/dev/null && {
3543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3544 test ! -s conftest.err
3548 echo "$as_me: failed program was:" >&5
3549 sed 's/^/| /' conftest.$ac_ext >&5
3551 # Broken: fails on valid input.
3555 rm -f conftest.err conftest.$ac_ext
3557 # OK, works on sane cases. Now check whether nonexistent headers
3558 # can be detected and how.
3559 cat >conftest.$ac_ext <<_ACEOF
3562 cat confdefs.h >>conftest.$ac_ext
3563 cat >>conftest.$ac_ext <<_ACEOF
3564 /* end confdefs.h. */
3565 #include <ac_nonexistent.h>
3567 if { (ac_try="$ac_cpp conftest.$ac_ext"
3569 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3570 *) ac_try_echo
=$ac_try;;
3572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3573 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3575 grep -v '^ *+' conftest.er1
>conftest.err
3577 cat conftest.err
>&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); } >/dev
/null
&& {
3580 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3581 test ! -s conftest.err
3583 # Broken: success on invalid input.
3586 echo "$as_me: failed program was:" >&5
3587 sed 's/^/| /' conftest.
$ac_ext >&5
3589 # Passes both tests.
3594 rm -f conftest.err conftest.
$ac_ext
3597 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3598 rm -f conftest.err conftest.
$ac_ext
3599 if $ac_preproc_ok; then
3602 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3603 See \`config.log' for more details." >&5
3604 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3605 See \`config.log' for more details." >&2;}
3606 { (exit 1); exit 1; }; }
3610 ac_cpp
='$CPP $CPPFLAGS'
3611 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3612 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3613 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3615 # Find a good install program. We prefer a C program (faster),
3616 # so one script is as good as another. But avoid the broken or
3617 # incompatible versions:
3618 # SysV /etc/install, /usr/sbin/install
3619 # SunOS /usr/etc/install
3620 # IRIX /sbin/install
3622 # AmigaOS /C/install, which installs bootblocks on floppy discs
3623 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3624 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3625 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3626 # OS/2's system install, which has a completely different semantic
3627 # ./install, which can be erroneously created by make from ./install.sh.
3628 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3629 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3630 if test -z "$INSTALL"; then
3631 if test "${ac_cv_path_install+set}" = set; then
3632 echo $ECHO_N "(cached) $ECHO_C" >&6
3634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3638 test -z "$as_dir" && as_dir
=.
3639 # Account for people who put trailing slashes in PATH elements.
3641 .
/ | .
// |
/cC
/* | \
3642 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3643 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3646 # OSF1 and SCO ODT 3.0 have their own names for install.
3647 # Don't use installbsd from OSF since it installs stuff as root
3649 for ac_prog
in ginstall scoinst
install; do
3650 for ac_exec_ext
in '' $ac_executable_extensions; do
3651 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3652 if test $ac_prog = install &&
3653 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3654 # AIX install. It has an incompatible calling convention.
3656 elif test $ac_prog = install &&
3657 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3658 # program-specific install script used by HP pwplus--don't use.
3661 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3674 if test "${ac_cv_path_install+set}" = set; then
3675 INSTALL
=$ac_cv_path_install
3677 # As a last resort, use the slow shell script. Don't cache a
3678 # value for INSTALL within a source directory, because that will
3679 # break other packages using the cache if that directory is
3680 # removed, or if the value is a relative name.
3681 INSTALL
=$ac_install_sh
3684 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3685 echo "${ECHO_T}$INSTALL" >&6; }
3687 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3688 # It thinks the first close brace ends the variable substitution.
3689 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3691 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3693 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3697 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3698 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3699 if test "${ac_cv_path_GREP+set}" = set; then
3700 echo $ECHO_N "(cached) $ECHO_C" >&6
3702 # Extract the first word of "grep ggrep" to use in msg output
3703 if test -z "$GREP"; then
3704 set dummy
grep ggrep
; ac_prog_name
=$2
3705 if test "${ac_cv_path_GREP+set}" = set; then
3706 echo $ECHO_N "(cached) $ECHO_C" >&6
3708 ac_path_GREP_found
=false
3709 # Loop through the user's path and test for each of PROGNAME-LIST
3710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3711 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3714 test -z "$as_dir" && as_dir
=.
3715 for ac_prog
in grep ggrep
; do
3716 for ac_exec_ext
in '' $ac_executable_extensions; do
3717 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3718 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3719 # Check for GNU ac_path_GREP and select it if it is found.
3720 # Check for GNU $ac_path_GREP
3721 case `"$ac_path_GREP" --version 2>&1` in
3723 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3726 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3729 cat "conftest.in" "conftest.in" >"conftest.tmp"
3730 mv "conftest.tmp" "conftest.in"
3731 cp "conftest.in" "conftest.nl"
3732 echo 'GREP' >> "conftest.nl"
3733 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3734 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3735 ac_count
=`expr $ac_count + 1`
3736 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3737 # Best one so far, save it but keep looking for a better one
3738 ac_cv_path_GREP
="$ac_path_GREP"
3739 ac_path_GREP_max
=$ac_count
3741 # 10*(2^10) chars as input seems more than enough
3742 test $ac_count -gt 10 && break
3744 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3748 $ac_path_GREP_found && break 3
3758 GREP
="$ac_cv_path_GREP"
3759 if test -z "$GREP"; then
3760 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3761 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3762 { (exit 1); exit 1; }; }
3766 ac_cv_path_GREP
=$GREP
3771 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3772 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3773 GREP
="$ac_cv_path_GREP"
3776 { echo "$as_me:$LINENO: checking for egrep" >&5
3777 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3778 if test "${ac_cv_path_EGREP+set}" = set; then
3779 echo $ECHO_N "(cached) $ECHO_C" >&6
3781 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3782 then ac_cv_path_EGREP
="$GREP -E"
3784 # Extract the first word of "egrep" to use in msg output
3785 if test -z "$EGREP"; then
3786 set dummy
egrep; ac_prog_name
=$2
3787 if test "${ac_cv_path_EGREP+set}" = set; then
3788 echo $ECHO_N "(cached) $ECHO_C" >&6
3790 ac_path_EGREP_found
=false
3791 # Loop through the user's path and test for each of PROGNAME-LIST
3792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3793 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3796 test -z "$as_dir" && as_dir
=.
3797 for ac_prog
in egrep; do
3798 for ac_exec_ext
in '' $ac_executable_extensions; do
3799 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3800 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3801 # Check for GNU ac_path_EGREP and select it if it is found.
3802 # Check for GNU $ac_path_EGREP
3803 case `"$ac_path_EGREP" --version 2>&1` in
3805 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3808 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3811 cat "conftest.in" "conftest.in" >"conftest.tmp"
3812 mv "conftest.tmp" "conftest.in"
3813 cp "conftest.in" "conftest.nl"
3814 echo 'EGREP' >> "conftest.nl"
3815 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3816 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3817 ac_count
=`expr $ac_count + 1`
3818 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3819 # Best one so far, save it but keep looking for a better one
3820 ac_cv_path_EGREP
="$ac_path_EGREP"
3821 ac_path_EGREP_max
=$ac_count
3823 # 10*(2^10) chars as input seems more than enough
3824 test $ac_count -gt 10 && break
3826 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3830 $ac_path_EGREP_found && break 3
3840 EGREP
="$ac_cv_path_EGREP"
3841 if test -z "$EGREP"; then
3842 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3843 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3844 { (exit 1); exit 1; }; }
3848 ac_cv_path_EGREP
=$EGREP
3854 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3855 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3856 EGREP
="$ac_cv_path_EGREP"
3859 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3860 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3861 if test "${ac_cv_header_stdc+set}" = set; then
3862 echo $ECHO_N "(cached) $ECHO_C" >&6
3864 cat >conftest.
$ac_ext <<_ACEOF
3867 cat confdefs.h
>>conftest.
$ac_ext
3868 cat >>conftest.
$ac_ext <<_ACEOF
3869 /* end confdefs.h. */
3883 rm -f conftest.
$ac_objext
3884 if { (ac_try
="$ac_compile"
3886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3887 *) ac_try_echo=$ac_try;;
3889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3890 (eval "$ac_compile") 2>conftest.er1
3892 grep -v '^ *+' conftest.er1 >conftest.err
3894 cat conftest.err >&5
3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); } && {
3897 test -z "$ac_c_werror_flag" ||
3898 test ! -s conftest.err
3899 } && test -s conftest.$ac_objext; then
3900 ac_cv_header_stdc=yes
3902 echo "$as_me: failed program was:" >&5
3903 sed 's/^/| /' conftest.$ac_ext >&5
3905 ac_cv_header_stdc=no
3908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3910 if test $ac_cv_header_stdc = yes; then
3911 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3912 cat >conftest.$ac_ext <<_ACEOF
3915 cat confdefs.h >>conftest.$ac_ext
3916 cat >>conftest.$ac_ext <<_ACEOF
3917 /* end confdefs.h. */
3921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3922 $EGREP "memchr" >/dev/null 2>&1; then
3925 ac_cv_header_stdc=no
3931 if test $ac_cv_header_stdc = yes; then
3932 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3933 cat >conftest.$ac_ext <<_ACEOF
3936 cat confdefs.h >>conftest.$ac_ext
3937 cat >>conftest.$ac_ext <<_ACEOF
3938 /* end confdefs.h. */
3942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3943 $EGREP "free" >/dev/null 2>&1; then
3946 ac_cv_header_stdc=no
3952 if test $ac_cv_header_stdc = yes; then
3953 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3954 if test "$cross_compiling" = yes; then
3957 cat >conftest.$ac_ext <<_ACEOF
3960 cat confdefs.h >>conftest.$ac_ext
3961 cat >>conftest.$ac_ext <<_ACEOF
3962 /* end confdefs.h. */
3965 #if ((' ' & 0x0FF) == 0x020)
3966 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3967 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3969 # define ISLOWER(c) \
3970 (('a' <= (c) && (c) <= 'i') \
3971 || ('j' <= (c) && (c) <= 'r') \
3972 || ('s' <= (c) && (c) <= 'z'))
3973 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3976 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3981 for (i = 0; i < 256; i++)
3982 if (XOR (islower (i), ISLOWER (i))
3983 || toupper (i) != TOUPPER (i))
3988 rm -f conftest$ac_exeext
3989 if { (ac_try="$ac_link"
3991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3992 *) ac_try_echo
=$ac_try;;
3994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3995 (eval "$ac_link") 2>&5
3997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3999 { (case "(($ac_try" in
4000 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4001 *) ac_try_echo=$ac_try;;
4003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4004 (eval "$ac_try") 2>&5
4006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007 (exit $ac_status); }; }; then
4010 echo "$as_me: program exited with status $ac_status" >&5
4011 echo "$as_me: failed program was:" >&5
4012 sed 's/^/| /' conftest.$ac_ext >&5
4015 ac_cv_header_stdc=no
4017 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4023 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4024 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4025 if test $ac_cv_header_stdc = yes; then
4027 cat >>confdefs.h <<\_ACEOF
4028 #define STDC_HEADERS 1
4033 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4043 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4044 inttypes.h stdint.h unistd.h
4046 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4047 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4049 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4050 echo $ECHO_N "(cached) $ECHO_C" >&6
4052 cat >conftest.$ac_ext <<_ACEOF
4055 cat confdefs.h >>conftest.$ac_ext
4056 cat >>conftest.$ac_ext <<_ACEOF
4057 /* end confdefs.h. */
4058 $ac_includes_default
4060 #include <$ac_header>
4062 rm -f conftest.$ac_objext
4063 if { (ac_try="$ac_compile"
4065 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4066 *) ac_try_echo
=$ac_try;;
4068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4069 (eval "$ac_compile") 2>conftest.er1
4071 grep -v '^ *+' conftest.er1
>conftest.err
4073 cat conftest.err
>&5
4074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4075 (exit $ac_status); } && {
4076 test -z "$ac_c_werror_flag" ||
4077 test ! -s conftest.err
4078 } && test -s conftest.
$ac_objext; then
4079 eval "$as_ac_Header=yes"
4081 echo "$as_me: failed program was:" >&5
4082 sed 's/^/| /' conftest.
$ac_ext >&5
4084 eval "$as_ac_Header=no"
4087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4089 ac_res
=`eval echo '${'$as_ac_Header'}'`
4090 { echo "$as_me:$LINENO: result: $ac_res" >&5
4091 echo "${ECHO_T}$ac_res" >&6; }
4092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4093 cat >>confdefs.h
<<_ACEOF
4094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4102 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4103 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4104 if test "${ac_cv_c_bigendian+set}" = set; then
4105 echo $ECHO_N "(cached) $ECHO_C" >&6
4107 # See if sys/param.h defines the BYTE_ORDER macro.
4108 cat >conftest.
$ac_ext <<_ACEOF
4111 cat confdefs.h
>>conftest.
$ac_ext
4112 cat >>conftest.
$ac_ext <<_ACEOF
4113 /* end confdefs.h. */
4114 #include <sys/types.h>
4115 #include <sys/param.h>
4120 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
4121 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
4129 rm -f conftest.
$ac_objext
4130 if { (ac_try
="$ac_compile"
4132 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4133 *) ac_try_echo=$ac_try;;
4135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4136 (eval "$ac_compile") 2>conftest.er1
4138 grep -v '^ *+' conftest.er1 >conftest.err
4140 cat conftest.err >&5
4141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142 (exit $ac_status); } && {
4143 test -z "$ac_c_werror_flag" ||
4144 test ! -s conftest.err
4145 } && test -s conftest.$ac_objext; then
4146 # It does; now see whether it defined to BIG_ENDIAN or not.
4147 cat >conftest.$ac_ext <<_ACEOF
4150 cat confdefs.h >>conftest.$ac_ext
4151 cat >>conftest.$ac_ext <<_ACEOF
4152 /* end confdefs.h. */
4153 #include <sys/types.h>
4154 #include <sys/param.h>
4159 #if BYTE_ORDER != BIG_ENDIAN
4167 rm -f conftest.$ac_objext
4168 if { (ac_try="$ac_compile"
4170 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4171 *) ac_try_echo
=$ac_try;;
4173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4174 (eval "$ac_compile") 2>conftest.er1
4176 grep -v '^ *+' conftest.er1
>conftest.err
4178 cat conftest.err
>&5
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); } && {
4181 test -z "$ac_c_werror_flag" ||
4182 test ! -s conftest.err
4183 } && test -s conftest.
$ac_objext; then
4184 ac_cv_c_bigendian
=yes
4186 echo "$as_me: failed program was:" >&5
4187 sed 's/^/| /' conftest.
$ac_ext >&5
4189 ac_cv_c_bigendian
=no
4192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4194 echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.
$ac_ext >&5
4197 # It does not; compile a test program.
4198 if test "$cross_compiling" = yes; then
4199 # try to guess the endianness by grepping values into an object file
4200 ac_cv_c_bigendian
=unknown
4201 cat >conftest.
$ac_ext <<_ACEOF
4204 cat confdefs.h
>>conftest.
$ac_ext
4205 cat >>conftest.
$ac_ext <<_ACEOF
4206 /* end confdefs.h. */
4207 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4208 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4209 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4210 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4211 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4212 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4216 _ascii (); _ebcdic ();
4221 rm -f conftest.
$ac_objext
4222 if { (ac_try
="$ac_compile"
4224 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4225 *) ac_try_echo=$ac_try;;
4227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4228 (eval "$ac_compile") 2>conftest.er1
4230 grep -v '^ *+' conftest.er1 >conftest.err
4232 cat conftest.err >&5
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); } && {
4235 test -z "$ac_c_werror_flag" ||
4236 test ! -s conftest.err
4237 } && test -s conftest.$ac_objext; then
4238 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4239 ac_cv_c_bigendian=yes
4241 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4242 if test "$ac_cv_c_bigendian" = unknown; then
4243 ac_cv_c_bigendian=no
4245 # finding both strings is unlikely to happen, but who knows?
4246 ac_cv_c_bigendian=unknown
4250 echo "$as_me: failed program was:" >&5
4251 sed 's/^/| /' conftest.$ac_ext >&5
4256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4258 cat >conftest.$ac_ext <<_ACEOF
4261 cat confdefs.h >>conftest.$ac_ext
4262 cat >>conftest.$ac_ext <<_ACEOF
4263 /* end confdefs.h. */
4264 $ac_includes_default
4269 /* Are we little or big endian? From Harbison&Steele. */
4273 char c[sizeof (long int)];
4276 return u.c[sizeof (long int) - 1] == 1;
4282 rm -f conftest$ac_exeext
4283 if { (ac_try="$ac_link"
4285 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4286 *) ac_try_echo
=$ac_try;;
4288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4289 (eval "$ac_link") 2>&5
4291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4292 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4293 { (case "(($ac_try" in
4294 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4298 (eval "$ac_try") 2>&5
4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301 (exit $ac_status); }; }; then
4302 ac_cv_c_bigendian=no
4304 echo "$as_me: program exited with status $ac_status" >&5
4305 echo "$as_me: failed program was:" >&5
4306 sed 's/^/| /' conftest.$ac_ext >&5
4309 ac_cv_c_bigendian=yes
4311 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4319 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4320 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4321 case $ac_cv_c_bigendian in
4324 cat >>confdefs.h <<\_ACEOF
4325 #define WORDS_BIGENDIAN 1
4331 { { echo "$as_me:$LINENO: error: unknown endianness
4332 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4333 echo "$as_me: error: unknown endianness
4334 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4335 { (exit 1); exit 1; }; } ;;
4338 { echo "$as_me:$LINENO: checking for inline" >&5
4339 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
4340 if test "${ac_cv_c_inline+set}" = set; then
4341 echo $ECHO_N "(cached) $ECHO_C" >&6
4344 for ac_kw in inline __inline__ __inline; do
4345 cat >conftest.$ac_ext <<_ACEOF
4348 cat confdefs.h >>conftest.$ac_ext
4349 cat >>conftest.$ac_ext <<_ACEOF
4350 /* end confdefs.h. */
4353 static $ac_kw foo_t static_foo () {return 0; }
4354 $ac_kw foo_t foo () {return 0; }
4358 rm -f conftest.$ac_objext
4359 if { (ac_try="$ac_compile"
4361 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4362 *) ac_try_echo
=$ac_try;;
4364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4365 (eval "$ac_compile") 2>conftest.er1
4367 grep -v '^ *+' conftest.er1
>conftest.err
4369 cat conftest.err
>&5
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); } && {
4372 test -z "$ac_c_werror_flag" ||
4373 test ! -s conftest.err
4374 } && test -s conftest.
$ac_objext; then
4375 ac_cv_c_inline
=$ac_kw
4377 echo "$as_me: failed program was:" >&5
4378 sed 's/^/| /' conftest.
$ac_ext >&5
4383 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4384 test "$ac_cv_c_inline" != no
&& break
4388 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4389 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
4392 case $ac_cv_c_inline in
4395 case $ac_cv_c_inline in
4397 *) ac_val
=$ac_cv_c_inline;;
4399 cat >>confdefs.h
<<_ACEOF
4401 #define inline $ac_val
4407 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4408 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4409 if test "${ac_cv_c_const+set}" = set; then
4410 echo $ECHO_N "(cached) $ECHO_C" >&6
4412 cat >conftest.
$ac_ext <<_ACEOF
4415 cat confdefs.h
>>conftest.
$ac_ext
4416 cat >>conftest.
$ac_ext <<_ACEOF
4417 /* end confdefs.h. */
4422 /* FIXME: Include the comments suggested by Paul. */
4424 /* Ultrix mips cc rejects this. */
4425 typedef int charset[2];
4427 /* SunOS 4.1.1 cc rejects this. */
4428 char const *const *pcpcc;
4430 /* NEC SVR4.0.2 mips cc rejects this. */
4431 struct point {int x, y;};
4432 static struct point const zero = {0,0};
4433 /* AIX XL C 1.02.0.0 rejects this.
4434 It does not let you subtract one const X* pointer from another in
4435 an arm of an if-expression whose if-part is not a constant
4437 const char *g = "string";
4438 pcpcc = &g + (g ? g-g : 0);
4439 /* HPUX 7.0 cc rejects these. */
4441 ppc = (char**) pcpcc;
4442 pcpcc = (char const *const *) ppc;
4443 { /* SCO 3.2v4 cc rejects this. */
4445 char const *s = 0 ? (char *) 0 : (char const *) 0;
4450 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4452 const int *foo = &x[0];
4455 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4456 typedef const int *iptr;
4460 { /* AIX XL C 1.02.0.0 rejects this saying
4461 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4462 struct s { int j; const int *ap[3]; };
4463 struct s *b; b->j = 5;
4465 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4469 return !cs[0] && !zero.x;
4476 rm -f conftest.
$ac_objext
4477 if { (ac_try
="$ac_compile"
4479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4480 *) ac_try_echo=$ac_try;;
4482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4483 (eval "$ac_compile") 2>conftest.er1
4485 grep -v '^ *+' conftest.er1 >conftest.err
4487 cat conftest.err >&5
4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489 (exit $ac_status); } && {
4490 test -z "$ac_c_werror_flag" ||
4491 test ! -s conftest.err
4492 } && test -s conftest.$ac_objext; then
4495 echo "$as_me: failed program was:" >&5
4496 sed 's/^/| /' conftest.$ac_ext >&5
4501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4503 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4504 echo "${ECHO_T}$ac_cv_c_const" >&6; }
4505 if test $ac_cv_c_const = no; then
4507 cat >>confdefs.h <<\_ACEOF
4513 { echo "$as_me:$LINENO: checking for unsigned short int" >&5
4514 echo $ECHO_N "checking for unsigned short int... $ECHO_C" >&6; }
4515 if test "${ac_cv_type_unsigned_short_int+set}" = set; then
4516 echo $ECHO_N "(cached) $ECHO_C" >&6
4518 cat >conftest.$ac_ext <<_ACEOF
4521 cat confdefs.h >>conftest.$ac_ext
4522 cat >>conftest.$ac_ext <<_ACEOF
4523 /* end confdefs.h. */
4524 $ac_includes_default
4525 typedef unsigned short int ac__type_new_;
4529 if ((ac__type_new_ *) 0)
4531 if (sizeof (ac__type_new_))
4537 rm -f conftest.$ac_objext
4538 if { (ac_try="$ac_compile"
4540 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4541 *) ac_try_echo
=$ac_try;;
4543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4544 (eval "$ac_compile") 2>conftest.er1
4546 grep -v '^ *+' conftest.er1
>conftest.err
4548 cat conftest.err
>&5
4549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4550 (exit $ac_status); } && {
4551 test -z "$ac_c_werror_flag" ||
4552 test ! -s conftest.err
4553 } && test -s conftest.
$ac_objext; then
4554 ac_cv_type_unsigned_short_int
=yes
4556 echo "$as_me: failed program was:" >&5
4557 sed 's/^/| /' conftest.
$ac_ext >&5
4559 ac_cv_type_unsigned_short_int
=no
4562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4564 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short_int" >&5
4565 echo "${ECHO_T}$ac_cv_type_unsigned_short_int" >&6; }
4567 # The cast to long int works around a bug in the HP C Compiler
4568 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4569 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4570 # This bug is HP SR number 8606223364.
4571 { echo "$as_me:$LINENO: checking size of unsigned short int" >&5
4572 echo $ECHO_N "checking size of unsigned short int... $ECHO_C" >&6; }
4573 if test "${ac_cv_sizeof_unsigned_short_int+set}" = set; then
4574 echo $ECHO_N "(cached) $ECHO_C" >&6
4576 if test "$cross_compiling" = yes; then
4577 # Depending upon the size, compute the lo and hi bounds.
4578 cat >conftest.
$ac_ext <<_ACEOF
4581 cat confdefs.h
>>conftest.
$ac_ext
4582 cat >>conftest.
$ac_ext <<_ACEOF
4583 /* end confdefs.h. */
4584 $ac_includes_default
4585 typedef unsigned short int ac__type_sizeof_;
4589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
4596 rm -f conftest.
$ac_objext
4597 if { (ac_try
="$ac_compile"
4599 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4600 *) ac_try_echo=$ac_try;;
4602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4603 (eval "$ac_compile") 2>conftest.er1
4605 grep -v '^ *+' conftest.er1 >conftest.err
4607 cat conftest.err >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); } && {
4610 test -z "$ac_c_werror_flag" ||
4611 test ! -s conftest.err
4612 } && test -s conftest.$ac_objext; then
4615 cat >conftest.$ac_ext <<_ACEOF
4618 cat confdefs.h >>conftest.$ac_ext
4619 cat >>conftest.$ac_ext <<_ACEOF
4620 /* end confdefs.h. */
4621 $ac_includes_default
4622 typedef unsigned short int ac__type_sizeof_;
4626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4633 rm -f conftest.$ac_objext
4634 if { (ac_try="$ac_compile"
4636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4637 *) ac_try_echo
=$ac_try;;
4639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4640 (eval "$ac_compile") 2>conftest.er1
4642 grep -v '^ *+' conftest.er1
>conftest.err
4644 cat conftest.err
>&5
4645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646 (exit $ac_status); } && {
4647 test -z "$ac_c_werror_flag" ||
4648 test ! -s conftest.err
4649 } && test -s conftest.
$ac_objext; then
4650 ac_hi
=$ac_mid; break
4652 echo "$as_me: failed program was:" >&5
4653 sed 's/^/| /' conftest.
$ac_ext >&5
4655 ac_lo
=`expr $ac_mid + 1`
4656 if test $ac_lo -le $ac_mid; then
4660 ac_mid
=`expr 2 '*' $ac_mid + 1`
4663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4666 echo "$as_me: failed program was:" >&5
4667 sed 's/^/| /' conftest.
$ac_ext >&5
4669 cat >conftest.
$ac_ext <<_ACEOF
4672 cat confdefs.h
>>conftest.
$ac_ext
4673 cat >>conftest.
$ac_ext <<_ACEOF
4674 /* end confdefs.h. */
4675 $ac_includes_default
4676 typedef unsigned short int ac__type_sizeof_;
4680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
4687 rm -f conftest.
$ac_objext
4688 if { (ac_try
="$ac_compile"
4690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4691 *) ac_try_echo=$ac_try;;
4693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4694 (eval "$ac_compile") 2>conftest.er1
4696 grep -v '^ *+' conftest.er1 >conftest.err
4698 cat conftest.err >&5
4699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700 (exit $ac_status); } && {
4701 test -z "$ac_c_werror_flag" ||
4702 test ! -s conftest.err
4703 } && test -s conftest.$ac_objext; then
4706 cat >conftest.$ac_ext <<_ACEOF
4709 cat confdefs.h >>conftest.$ac_ext
4710 cat >>conftest.$ac_ext <<_ACEOF
4711 /* end confdefs.h. */
4712 $ac_includes_default
4713 typedef unsigned short int ac__type_sizeof_;
4717 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
4724 rm -f conftest.$ac_objext
4725 if { (ac_try="$ac_compile"
4727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4728 *) ac_try_echo
=$ac_try;;
4730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4731 (eval "$ac_compile") 2>conftest.er1
4733 grep -v '^ *+' conftest.er1
>conftest.err
4735 cat conftest.err
>&5
4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4737 (exit $ac_status); } && {
4738 test -z "$ac_c_werror_flag" ||
4739 test ! -s conftest.err
4740 } && test -s conftest.
$ac_objext; then
4741 ac_lo
=$ac_mid; break
4743 echo "$as_me: failed program was:" >&5
4744 sed 's/^/| /' conftest.
$ac_ext >&5
4746 ac_hi
=`expr '(' $ac_mid ')' - 1`
4747 if test $ac_mid -le $ac_hi; then
4751 ac_mid
=`expr 2 '*' $ac_mid`
4754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4757 echo "$as_me: failed program was:" >&5
4758 sed 's/^/| /' conftest.
$ac_ext >&5
4763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4767 # Binary search between lo and hi bounds.
4768 while test "x$ac_lo" != "x$ac_hi"; do
4769 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4770 cat >conftest.
$ac_ext <<_ACEOF
4773 cat confdefs.h
>>conftest.
$ac_ext
4774 cat >>conftest.
$ac_ext <<_ACEOF
4775 /* end confdefs.h. */
4776 $ac_includes_default
4777 typedef unsigned short int ac__type_sizeof_;
4781 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4788 rm -f conftest.
$ac_objext
4789 if { (ac_try
="$ac_compile"
4791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4792 *) ac_try_echo=$ac_try;;
4794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4795 (eval "$ac_compile") 2>conftest.er1
4797 grep -v '^ *+' conftest.er1 >conftest.err
4799 cat conftest.err >&5
4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); } && {
4802 test -z "$ac_c_werror_flag" ||
4803 test ! -s conftest.err
4804 } && test -s conftest.$ac_objext; then
4807 echo "$as_me: failed program was:" >&5
4808 sed 's/^/| /' conftest.$ac_ext >&5
4810 ac_lo=`expr '(' $ac_mid ')' + 1`
4813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4816 ?*) ac_cv_sizeof_unsigned_short_int=$ac_lo;;
4817 '') if test "$ac_cv_type_unsigned_short_int" = yes; then
4818 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short int)
4819 See \`config.log
' for more details." >&5
4820 echo "$as_me: error: cannot compute sizeof (unsigned short int)
4821 See \`config.log' for more details.
" >&2;}
4822 { (exit 77); exit 77; }; }
4824 ac_cv_sizeof_unsigned_short_int=0
4828 cat >conftest.$ac_ext <<_ACEOF
4831 cat confdefs.h >>conftest.$ac_ext
4832 cat >>conftest.$ac_ext <<_ACEOF
4833 /* end confdefs.h. */
4834 $ac_includes_default
4835 typedef unsigned short int ac__type_sizeof_;
4836 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
4837 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
4844 FILE *f = fopen ("conftest.val
", "w
");
4847 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
4849 long int i = longval ();
4850 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4852 fprintf (f, "%ld
\n", i);
4856 unsigned long int i = ulongval ();
4857 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4859 fprintf (f, "%lu
\n", i);
4861 return ferror (f) || fclose (f) != 0;
4867 rm -f conftest$ac_exeext
4868 if { (ac_try="$ac_link"
4870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4871 *) ac_try_echo=$ac_try;;
4873 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4874 (eval "$ac_link") 2>&5
4876 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4877 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4878 { (case "(($ac_try" in
4879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4880 *) ac_try_echo=$ac_try;;
4882 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4883 (eval "$ac_try") 2>&5
4885 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4886 (exit $ac_status); }; }; then
4887 ac_cv_sizeof_unsigned_short_int=`cat conftest.val`
4889 echo "$as_me: program exited with status
$ac_status" >&5
4890 echo "$as_me: failed program was
:" >&5
4891 sed 's/^/| /' conftest.$ac_ext >&5
4894 if test "$ac_cv_type_unsigned_short_int" = yes; then
4895 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned short int
)
4896 See \
`config.log' for more details." >&5
4897 echo "$as_me: error: cannot compute sizeof (unsigned short int)
4898 See \`config.log
' for more details." >&2;}
4899 { (exit 77); exit 77; }; }
4901 ac_cv_sizeof_unsigned_short_int=0
4904 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4908 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short_int" >&5
4909 echo "${ECHO_T}$ac_cv_sizeof_unsigned_short_int" >&6; }
4913 cat >>confdefs.h <<_ACEOF
4914 #define SIZEOF_UNSIGNED_SHORT_INT $ac_cv_sizeof_unsigned_short_int
4918 { echo "$as_me:$LINENO: checking for unsigned int" >&5
4919 echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6; }
4920 if test "${ac_cv_type_unsigned_int+set}" = set; then
4921 echo $ECHO_N "(cached) $ECHO_C" >&6
4923 cat >conftest.$ac_ext <<_ACEOF
4926 cat confdefs.h >>conftest.$ac_ext
4927 cat >>conftest.$ac_ext <<_ACEOF
4928 /* end confdefs.h. */
4929 $ac_includes_default
4930 typedef unsigned int ac__type_new_;
4934 if ((ac__type_new_ *) 0)
4936 if (sizeof (ac__type_new_))
4942 rm -f conftest.$ac_objext
4943 if { (ac_try="$ac_compile"
4945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4946 *) ac_try_echo=$ac_try;;
4948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4949 (eval "$ac_compile") 2>conftest.er1
4951 grep -v '^
*+' conftest.er1 >conftest.err
4953 cat conftest.err >&5
4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955 (exit $ac_status); } && {
4956 test -z "$ac_c_werror_flag" ||
4957 test ! -s conftest.err
4958 } && test -s conftest.$ac_objext; then
4959 ac_cv_type_unsigned_int=yes
4961 echo "$as_me: failed program was:" >&5
4962 sed 's
/^
/|
/' conftest.$ac_ext >&5
4964 ac_cv_type_unsigned_int=no
4967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4969 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
4970 echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6; }
4972 # The cast to long int works around a bug in the HP C Compiler
4973 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4974 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4975 # This bug is HP SR number 8606223364.
4976 { echo "$as_me:$LINENO: checking size of unsigned int" >&5
4977 echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6; }
4978 if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
4979 echo $ECHO_N "(cached) $ECHO_C" >&6
4981 if test "$cross_compiling" = yes; then
4982 # Depending upon the size, compute the lo and hi bounds.
4983 cat >conftest.
$ac_ext <<_ACEOF
4986 cat confdefs.h
>>conftest.
$ac_ext
4987 cat >>conftest.
$ac_ext <<_ACEOF
4988 /* end confdefs.h. */
4989 $ac_includes_default
4990 typedef unsigned int ac__type_sizeof_;
4994 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5001 rm -f conftest.
$ac_objext
5002 if { (ac_try
="$ac_compile"
5004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5005 *) ac_try_echo=$ac_try;;
5007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5008 (eval "$ac_compile") 2>conftest.er1
5010 grep -v '^ *+' conftest.er1 >conftest.err
5012 cat conftest.err >&5
5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); } && {
5015 test -z "$ac_c_werror_flag" ||
5016 test ! -s conftest.err
5017 } && test -s conftest.$ac_objext; then
5020 cat >conftest.$ac_ext <<_ACEOF
5023 cat confdefs.h >>conftest.$ac_ext
5024 cat >>conftest.$ac_ext <<_ACEOF
5025 /* end confdefs.h. */
5026 $ac_includes_default
5027 typedef unsigned int ac__type_sizeof_;
5031 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5038 rm -f conftest.$ac_objext
5039 if { (ac_try="$ac_compile"
5041 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5042 *) ac_try_echo
=$ac_try;;
5044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5045 (eval "$ac_compile") 2>conftest.er1
5047 grep -v '^ *+' conftest.er1
>conftest.err
5049 cat conftest.err
>&5
5050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051 (exit $ac_status); } && {
5052 test -z "$ac_c_werror_flag" ||
5053 test ! -s conftest.err
5054 } && test -s conftest.
$ac_objext; then
5055 ac_hi
=$ac_mid; break
5057 echo "$as_me: failed program was:" >&5
5058 sed 's/^/| /' conftest.
$ac_ext >&5
5060 ac_lo
=`expr $ac_mid + 1`
5061 if test $ac_lo -le $ac_mid; then
5065 ac_mid
=`expr 2 '*' $ac_mid + 1`
5068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5071 echo "$as_me: failed program was:" >&5
5072 sed 's/^/| /' conftest.
$ac_ext >&5
5074 cat >conftest.
$ac_ext <<_ACEOF
5077 cat confdefs.h
>>conftest.
$ac_ext
5078 cat >>conftest.
$ac_ext <<_ACEOF
5079 /* end confdefs.h. */
5080 $ac_includes_default
5081 typedef unsigned int ac__type_sizeof_;
5085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5092 rm -f conftest.
$ac_objext
5093 if { (ac_try
="$ac_compile"
5095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5096 *) ac_try_echo=$ac_try;;
5098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5099 (eval "$ac_compile") 2>conftest.er1
5101 grep -v '^ *+' conftest.er1 >conftest.err
5103 cat conftest.err >&5
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); } && {
5106 test -z "$ac_c_werror_flag" ||
5107 test ! -s conftest.err
5108 } && test -s conftest.$ac_objext; then
5111 cat >conftest.$ac_ext <<_ACEOF
5114 cat confdefs.h >>conftest.$ac_ext
5115 cat >>conftest.$ac_ext <<_ACEOF
5116 /* end confdefs.h. */
5117 $ac_includes_default
5118 typedef unsigned int ac__type_sizeof_;
5122 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5129 rm -f conftest.$ac_objext
5130 if { (ac_try="$ac_compile"
5132 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5133 *) ac_try_echo
=$ac_try;;
5135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5136 (eval "$ac_compile") 2>conftest.er1
5138 grep -v '^ *+' conftest.er1
>conftest.err
5140 cat conftest.err
>&5
5141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5142 (exit $ac_status); } && {
5143 test -z "$ac_c_werror_flag" ||
5144 test ! -s conftest.err
5145 } && test -s conftest.
$ac_objext; then
5146 ac_lo
=$ac_mid; break
5148 echo "$as_me: failed program was:" >&5
5149 sed 's/^/| /' conftest.
$ac_ext >&5
5151 ac_hi
=`expr '(' $ac_mid ')' - 1`
5152 if test $ac_mid -le $ac_hi; then
5156 ac_mid
=`expr 2 '*' $ac_mid`
5159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5162 echo "$as_me: failed program was:" >&5
5163 sed 's/^/| /' conftest.
$ac_ext >&5
5168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5172 # Binary search between lo and hi bounds.
5173 while test "x$ac_lo" != "x$ac_hi"; do
5174 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5175 cat >conftest.
$ac_ext <<_ACEOF
5178 cat confdefs.h
>>conftest.
$ac_ext
5179 cat >>conftest.
$ac_ext <<_ACEOF
5180 /* end confdefs.h. */
5181 $ac_includes_default
5182 typedef unsigned int ac__type_sizeof_;
5186 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5193 rm -f conftest.
$ac_objext
5194 if { (ac_try
="$ac_compile"
5196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5197 *) ac_try_echo=$ac_try;;
5199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5200 (eval "$ac_compile") 2>conftest.er1
5202 grep -v '^ *+' conftest.er1 >conftest.err
5204 cat conftest.err >&5
5205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5206 (exit $ac_status); } && {
5207 test -z "$ac_c_werror_flag" ||
5208 test ! -s conftest.err
5209 } && test -s conftest.$ac_objext; then
5212 echo "$as_me: failed program was:" >&5
5213 sed 's/^/| /' conftest.$ac_ext >&5
5215 ac_lo=`expr '(' $ac_mid ')' + 1`
5218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5221 ?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
5222 '') if test "$ac_cv_type_unsigned_int" = yes; then
5223 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
5224 See \`config.log
' for more details." >&5
5225 echo "$as_me: error: cannot compute sizeof (unsigned int)
5226 See \`config.log' for more details.
" >&2;}
5227 { (exit 77); exit 77; }; }
5229 ac_cv_sizeof_unsigned_int=0
5233 cat >conftest.$ac_ext <<_ACEOF
5236 cat confdefs.h >>conftest.$ac_ext
5237 cat >>conftest.$ac_ext <<_ACEOF
5238 /* end confdefs.h. */
5239 $ac_includes_default
5240 typedef unsigned int ac__type_sizeof_;
5241 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5242 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5249 FILE *f = fopen ("conftest.val
", "w
");
5252 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5254 long int i = longval ();
5255 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5257 fprintf (f, "%ld
\n", i);
5261 unsigned long int i = ulongval ();
5262 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5264 fprintf (f, "%lu
\n", i);
5266 return ferror (f) || fclose (f) != 0;
5272 rm -f conftest$ac_exeext
5273 if { (ac_try="$ac_link"
5275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5276 *) ac_try_echo=$ac_try;;
5278 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5279 (eval "$ac_link") 2>&5
5281 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5282 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5283 { (case "(($ac_try" in
5284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5285 *) ac_try_echo=$ac_try;;
5287 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5288 (eval "$ac_try") 2>&5
5290 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5291 (exit $ac_status); }; }; then
5292 ac_cv_sizeof_unsigned_int=`cat conftest.val`
5294 echo "$as_me: program exited with status
$ac_status" >&5
5295 echo "$as_me: failed program was
:" >&5
5296 sed 's/^/| /' conftest.$ac_ext >&5
5299 if test "$ac_cv_type_unsigned_int" = yes; then
5300 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned int
)
5301 See \
`config.log' for more details." >&5
5302 echo "$as_me: error: cannot compute sizeof (unsigned int)
5303 See \`config.log
' for more details." >&2;}
5304 { (exit 77); exit 77; }; }
5306 ac_cv_sizeof_unsigned_int=0
5309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5313 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
5314 echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6; }
5318 cat >>confdefs.h <<_ACEOF
5319 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
5323 { echo "$as_me:$LINENO: checking for unsigned long int" >&5
5324 echo $ECHO_N "checking for unsigned long int... $ECHO_C" >&6; }
5325 if test "${ac_cv_type_unsigned_long_int+set}" = set; then
5326 echo $ECHO_N "(cached) $ECHO_C" >&6
5328 cat >conftest.$ac_ext <<_ACEOF
5331 cat confdefs.h >>conftest.$ac_ext
5332 cat >>conftest.$ac_ext <<_ACEOF
5333 /* end confdefs.h. */
5334 $ac_includes_default
5335 typedef unsigned long int ac__type_new_;
5339 if ((ac__type_new_ *) 0)
5341 if (sizeof (ac__type_new_))
5347 rm -f conftest.$ac_objext
5348 if { (ac_try="$ac_compile"
5350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5351 *) ac_try_echo=$ac_try;;
5353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5354 (eval "$ac_compile") 2>conftest.er1
5356 grep -v '^
*+' conftest.er1 >conftest.err
5358 cat conftest.err >&5
5359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360 (exit $ac_status); } && {
5361 test -z "$ac_c_werror_flag" ||
5362 test ! -s conftest.err
5363 } && test -s conftest.$ac_objext; then
5364 ac_cv_type_unsigned_long_int=yes
5366 echo "$as_me: failed program was:" >&5
5367 sed 's
/^
/|
/' conftest.$ac_ext >&5
5369 ac_cv_type_unsigned_long_int=no
5372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5374 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_int" >&5
5375 echo "${ECHO_T}$ac_cv_type_unsigned_long_int" >&6; }
5377 # The cast to long int works around a bug in the HP C Compiler
5378 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5379 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5380 # This bug is HP SR number 8606223364.
5381 { echo "$as_me:$LINENO: checking size of unsigned long int" >&5
5382 echo $ECHO_N "checking size of unsigned long int... $ECHO_C" >&6; }
5383 if test "${ac_cv_sizeof_unsigned_long_int+set}" = set; then
5384 echo $ECHO_N "(cached) $ECHO_C" >&6
5386 if test "$cross_compiling" = yes; then
5387 # Depending upon the size, compute the lo and hi bounds.
5388 cat >conftest.
$ac_ext <<_ACEOF
5391 cat confdefs.h
>>conftest.
$ac_ext
5392 cat >>conftest.
$ac_ext <<_ACEOF
5393 /* end confdefs.h. */
5394 $ac_includes_default
5395 typedef unsigned long int ac__type_sizeof_;
5399 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5406 rm -f conftest.
$ac_objext
5407 if { (ac_try
="$ac_compile"
5409 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5410 *) ac_try_echo=$ac_try;;
5412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5413 (eval "$ac_compile") 2>conftest.er1
5415 grep -v '^ *+' conftest.er1 >conftest.err
5417 cat conftest.err >&5
5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5419 (exit $ac_status); } && {
5420 test -z "$ac_c_werror_flag" ||
5421 test ! -s conftest.err
5422 } && test -s conftest.$ac_objext; then
5425 cat >conftest.$ac_ext <<_ACEOF
5428 cat confdefs.h >>conftest.$ac_ext
5429 cat >>conftest.$ac_ext <<_ACEOF
5430 /* end confdefs.h. */
5431 $ac_includes_default
5432 typedef unsigned long int ac__type_sizeof_;
5436 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5443 rm -f conftest.$ac_objext
5444 if { (ac_try="$ac_compile"
5446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5447 *) ac_try_echo
=$ac_try;;
5449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5450 (eval "$ac_compile") 2>conftest.er1
5452 grep -v '^ *+' conftest.er1
>conftest.err
5454 cat conftest.err
>&5
5455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5456 (exit $ac_status); } && {
5457 test -z "$ac_c_werror_flag" ||
5458 test ! -s conftest.err
5459 } && test -s conftest.
$ac_objext; then
5460 ac_hi
=$ac_mid; break
5462 echo "$as_me: failed program was:" >&5
5463 sed 's/^/| /' conftest.
$ac_ext >&5
5465 ac_lo
=`expr $ac_mid + 1`
5466 if test $ac_lo -le $ac_mid; then
5470 ac_mid
=`expr 2 '*' $ac_mid + 1`
5473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5476 echo "$as_me: failed program was:" >&5
5477 sed 's/^/| /' conftest.
$ac_ext >&5
5479 cat >conftest.
$ac_ext <<_ACEOF
5482 cat confdefs.h
>>conftest.
$ac_ext
5483 cat >>conftest.
$ac_ext <<_ACEOF
5484 /* end confdefs.h. */
5485 $ac_includes_default
5486 typedef unsigned long int ac__type_sizeof_;
5490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5497 rm -f conftest.
$ac_objext
5498 if { (ac_try
="$ac_compile"
5500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5501 *) ac_try_echo=$ac_try;;
5503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5504 (eval "$ac_compile") 2>conftest.er1
5506 grep -v '^ *+' conftest.er1 >conftest.err
5508 cat conftest.err >&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); } && {
5511 test -z "$ac_c_werror_flag" ||
5512 test ! -s conftest.err
5513 } && test -s conftest.$ac_objext; then
5516 cat >conftest.$ac_ext <<_ACEOF
5519 cat confdefs.h >>conftest.$ac_ext
5520 cat >>conftest.$ac_ext <<_ACEOF
5521 /* end confdefs.h. */
5522 $ac_includes_default
5523 typedef unsigned long int ac__type_sizeof_;
5527 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5534 rm -f conftest.$ac_objext
5535 if { (ac_try="$ac_compile"
5537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5538 *) ac_try_echo
=$ac_try;;
5540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5541 (eval "$ac_compile") 2>conftest.er1
5543 grep -v '^ *+' conftest.er1
>conftest.err
5545 cat conftest.err
>&5
5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547 (exit $ac_status); } && {
5548 test -z "$ac_c_werror_flag" ||
5549 test ! -s conftest.err
5550 } && test -s conftest.
$ac_objext; then
5551 ac_lo
=$ac_mid; break
5553 echo "$as_me: failed program was:" >&5
5554 sed 's/^/| /' conftest.
$ac_ext >&5
5556 ac_hi
=`expr '(' $ac_mid ')' - 1`
5557 if test $ac_mid -le $ac_hi; then
5561 ac_mid
=`expr 2 '*' $ac_mid`
5564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5567 echo "$as_me: failed program was:" >&5
5568 sed 's/^/| /' conftest.
$ac_ext >&5
5573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5577 # Binary search between lo and hi bounds.
5578 while test "x$ac_lo" != "x$ac_hi"; do
5579 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5580 cat >conftest.
$ac_ext <<_ACEOF
5583 cat confdefs.h
>>conftest.
$ac_ext
5584 cat >>conftest.
$ac_ext <<_ACEOF
5585 /* end confdefs.h. */
5586 $ac_includes_default
5587 typedef unsigned long int ac__type_sizeof_;
5591 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5598 rm -f conftest.
$ac_objext
5599 if { (ac_try
="$ac_compile"
5601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5602 *) ac_try_echo=$ac_try;;
5604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5605 (eval "$ac_compile") 2>conftest.er1
5607 grep -v '^ *+' conftest.er1 >conftest.err
5609 cat conftest.err >&5
5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611 (exit $ac_status); } && {
5612 test -z "$ac_c_werror_flag" ||
5613 test ! -s conftest.err
5614 } && test -s conftest.$ac_objext; then
5617 echo "$as_me: failed program was:" >&5
5618 sed 's/^/| /' conftest.$ac_ext >&5
5620 ac_lo=`expr '(' $ac_mid ')' + 1`
5623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5626 ?*) ac_cv_sizeof_unsigned_long_int=$ac_lo;;
5627 '') if test "$ac_cv_type_unsigned_long_int" = yes; then
5628 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long int)
5629 See \`config.log
' for more details." >&5
5630 echo "$as_me: error: cannot compute sizeof (unsigned long int)
5631 See \`config.log' for more details.
" >&2;}
5632 { (exit 77); exit 77; }; }
5634 ac_cv_sizeof_unsigned_long_int=0
5638 cat >conftest.$ac_ext <<_ACEOF
5641 cat confdefs.h >>conftest.$ac_ext
5642 cat >>conftest.$ac_ext <<_ACEOF
5643 /* end confdefs.h. */
5644 $ac_includes_default
5645 typedef unsigned long int ac__type_sizeof_;
5646 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5647 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5654 FILE *f = fopen ("conftest.val
", "w
");
5657 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5659 long int i = longval ();
5660 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5662 fprintf (f, "%ld
\n", i);
5666 unsigned long int i = ulongval ();
5667 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5669 fprintf (f, "%lu
\n", i);
5671 return ferror (f) || fclose (f) != 0;
5677 rm -f conftest$ac_exeext
5678 if { (ac_try="$ac_link"
5680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5681 *) ac_try_echo=$ac_try;;
5683 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5684 (eval "$ac_link") 2>&5
5686 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5687 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5688 { (case "(($ac_try" in
5689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5690 *) ac_try_echo=$ac_try;;
5692 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5693 (eval "$ac_try") 2>&5
5695 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5696 (exit $ac_status); }; }; then
5697 ac_cv_sizeof_unsigned_long_int=`cat conftest.val`
5699 echo "$as_me: program exited with status
$ac_status" >&5
5700 echo "$as_me: failed program was
:" >&5
5701 sed 's/^/| /' conftest.$ac_ext >&5
5704 if test "$ac_cv_type_unsigned_long_int" = yes; then
5705 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned long int
)
5706 See \
`config.log' for more details." >&5
5707 echo "$as_me: error: cannot compute sizeof (unsigned long int)
5708 See \`config.log
' for more details." >&2;}
5709 { (exit 77); exit 77; }; }
5711 ac_cv_sizeof_unsigned_long_int=0
5714 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5718 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_int" >&5
5719 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_int" >&6; }
5723 cat >>confdefs.h <<_ACEOF
5724 #define SIZEOF_UNSIGNED_LONG_INT $ac_cv_sizeof_unsigned_long_int
5728 { echo "$as_me:$LINENO: checking for unsigned long long int" >&5
5729 echo $ECHO_N "checking for unsigned long long int... $ECHO_C" >&6; }
5730 if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then
5731 echo $ECHO_N "(cached) $ECHO_C" >&6
5733 cat >conftest.$ac_ext <<_ACEOF
5736 cat confdefs.h >>conftest.$ac_ext
5737 cat >>conftest.$ac_ext <<_ACEOF
5738 /* end confdefs.h. */
5739 $ac_includes_default
5740 typedef unsigned long long int ac__type_new_;
5744 if ((ac__type_new_ *) 0)
5746 if (sizeof (ac__type_new_))
5752 rm -f conftest.$ac_objext
5753 if { (ac_try="$ac_compile"
5755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5756 *) ac_try_echo=$ac_try;;
5758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5759 (eval "$ac_compile") 2>conftest.er1
5761 grep -v '^
*+' conftest.er1 >conftest.err
5763 cat conftest.err >&5
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); } && {
5766 test -z "$ac_c_werror_flag" ||
5767 test ! -s conftest.err
5768 } && test -s conftest.$ac_objext; then
5769 ac_cv_type_unsigned_long_long_int=yes
5771 echo "$as_me: failed program was:" >&5
5772 sed 's
/^
/|
/' conftest.$ac_ext >&5
5774 ac_cv_type_unsigned_long_long_int=no
5777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5779 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long_int" >&5
5780 echo "${ECHO_T}$ac_cv_type_unsigned_long_long_int" >&6; }
5782 # The cast to long int works around a bug in the HP C Compiler
5783 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5784 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5785 # This bug is HP SR number 8606223364.
5786 { echo "$as_me:$LINENO: checking size of unsigned long long int" >&5
5787 echo $ECHO_N "checking size of unsigned long long int... $ECHO_C" >&6; }
5788 if test "${ac_cv_sizeof_unsigned_long_long_int+set}" = set; then
5789 echo $ECHO_N "(cached) $ECHO_C" >&6
5791 if test "$cross_compiling" = yes; then
5792 # Depending upon the size, compute the lo and hi bounds.
5793 cat >conftest.
$ac_ext <<_ACEOF
5796 cat confdefs.h
>>conftest.
$ac_ext
5797 cat >>conftest.
$ac_ext <<_ACEOF
5798 /* end confdefs.h. */
5799 $ac_includes_default
5800 typedef unsigned long long int ac__type_sizeof_;
5804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5811 rm -f conftest.
$ac_objext
5812 if { (ac_try
="$ac_compile"
5814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5815 *) ac_try_echo=$ac_try;;
5817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5818 (eval "$ac_compile") 2>conftest.er1
5820 grep -v '^ *+' conftest.er1 >conftest.err
5822 cat conftest.err >&5
5823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824 (exit $ac_status); } && {
5825 test -z "$ac_c_werror_flag" ||
5826 test ! -s conftest.err
5827 } && test -s conftest.$ac_objext; then
5830 cat >conftest.$ac_ext <<_ACEOF
5833 cat confdefs.h >>conftest.$ac_ext
5834 cat >>conftest.$ac_ext <<_ACEOF
5835 /* end confdefs.h. */
5836 $ac_includes_default
5837 typedef unsigned long long int ac__type_sizeof_;
5841 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5848 rm -f conftest.$ac_objext
5849 if { (ac_try="$ac_compile"
5851 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5852 *) ac_try_echo
=$ac_try;;
5854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5855 (eval "$ac_compile") 2>conftest.er1
5857 grep -v '^ *+' conftest.er1
>conftest.err
5859 cat conftest.err
>&5
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); } && {
5862 test -z "$ac_c_werror_flag" ||
5863 test ! -s conftest.err
5864 } && test -s conftest.
$ac_objext; then
5865 ac_hi
=$ac_mid; break
5867 echo "$as_me: failed program was:" >&5
5868 sed 's/^/| /' conftest.
$ac_ext >&5
5870 ac_lo
=`expr $ac_mid + 1`
5871 if test $ac_lo -le $ac_mid; then
5875 ac_mid
=`expr 2 '*' $ac_mid + 1`
5878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5881 echo "$as_me: failed program was:" >&5
5882 sed 's/^/| /' conftest.
$ac_ext >&5
5884 cat >conftest.
$ac_ext <<_ACEOF
5887 cat confdefs.h
>>conftest.
$ac_ext
5888 cat >>conftest.
$ac_ext <<_ACEOF
5889 /* end confdefs.h. */
5890 $ac_includes_default
5891 typedef unsigned long long int ac__type_sizeof_;
5895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5902 rm -f conftest.
$ac_objext
5903 if { (ac_try
="$ac_compile"
5905 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5906 *) ac_try_echo=$ac_try;;
5908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5909 (eval "$ac_compile") 2>conftest.er1
5911 grep -v '^ *+' conftest.er1 >conftest.err
5913 cat conftest.err >&5
5914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5915 (exit $ac_status); } && {
5916 test -z "$ac_c_werror_flag" ||
5917 test ! -s conftest.err
5918 } && test -s conftest.$ac_objext; then
5921 cat >conftest.$ac_ext <<_ACEOF
5924 cat confdefs.h >>conftest.$ac_ext
5925 cat >>conftest.$ac_ext <<_ACEOF
5926 /* end confdefs.h. */
5927 $ac_includes_default
5928 typedef unsigned long long int ac__type_sizeof_;
5932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5939 rm -f conftest.$ac_objext
5940 if { (ac_try="$ac_compile"
5942 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5943 *) ac_try_echo
=$ac_try;;
5945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5946 (eval "$ac_compile") 2>conftest.er1
5948 grep -v '^ *+' conftest.er1
>conftest.err
5950 cat conftest.err
>&5
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); } && {
5953 test -z "$ac_c_werror_flag" ||
5954 test ! -s conftest.err
5955 } && test -s conftest.
$ac_objext; then
5956 ac_lo
=$ac_mid; break
5958 echo "$as_me: failed program was:" >&5
5959 sed 's/^/| /' conftest.
$ac_ext >&5
5961 ac_hi
=`expr '(' $ac_mid ')' - 1`
5962 if test $ac_mid -le $ac_hi; then
5966 ac_mid
=`expr 2 '*' $ac_mid`
5969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5972 echo "$as_me: failed program was:" >&5
5973 sed 's/^/| /' conftest.
$ac_ext >&5
5978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5982 # Binary search between lo and hi bounds.
5983 while test "x$ac_lo" != "x$ac_hi"; do
5984 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5985 cat >conftest.
$ac_ext <<_ACEOF
5988 cat confdefs.h
>>conftest.
$ac_ext
5989 cat >>conftest.
$ac_ext <<_ACEOF
5990 /* end confdefs.h. */
5991 $ac_includes_default
5992 typedef unsigned long long int ac__type_sizeof_;
5996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6003 rm -f conftest.
$ac_objext
6004 if { (ac_try
="$ac_compile"
6006 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6007 *) ac_try_echo=$ac_try;;
6009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6010 (eval "$ac_compile") 2>conftest.er1
6012 grep -v '^ *+' conftest.er1 >conftest.err
6014 cat conftest.err >&5
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); } && {
6017 test -z "$ac_c_werror_flag" ||
6018 test ! -s conftest.err
6019 } && test -s conftest.$ac_objext; then
6022 echo "$as_me: failed program was:" >&5
6023 sed 's/^/| /' conftest.$ac_ext >&5
6025 ac_lo=`expr '(' $ac_mid ')' + 1`
6028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6031 ?*) ac_cv_sizeof_unsigned_long_long_int=$ac_lo;;
6032 '') if test "$ac_cv_type_unsigned_long_long_int" = yes; then
6033 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long int)
6034 See \`config.log
' for more details." >&5
6035 echo "$as_me: error: cannot compute sizeof (unsigned long long int)
6036 See \`config.log' for more details.
" >&2;}
6037 { (exit 77); exit 77; }; }
6039 ac_cv_sizeof_unsigned_long_long_int=0
6043 cat >conftest.$ac_ext <<_ACEOF
6046 cat confdefs.h >>conftest.$ac_ext
6047 cat >>conftest.$ac_ext <<_ACEOF
6048 /* end confdefs.h. */
6049 $ac_includes_default
6050 typedef unsigned long long int ac__type_sizeof_;
6051 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6052 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6059 FILE *f = fopen ("conftest.val
", "w
");
6062 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6064 long int i = longval ();
6065 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6067 fprintf (f, "%ld
\n", i);
6071 unsigned long int i = ulongval ();
6072 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6074 fprintf (f, "%lu
\n", i);
6076 return ferror (f) || fclose (f) != 0;
6082 rm -f conftest$ac_exeext
6083 if { (ac_try="$ac_link"
6085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6086 *) ac_try_echo=$ac_try;;
6088 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6089 (eval "$ac_link") 2>&5
6091 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6092 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6093 { (case "(($ac_try" in
6094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6095 *) ac_try_echo=$ac_try;;
6097 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6098 (eval "$ac_try") 2>&5
6100 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6101 (exit $ac_status); }; }; then
6102 ac_cv_sizeof_unsigned_long_long_int=`cat conftest.val`
6104 echo "$as_me: program exited with status
$ac_status" >&5
6105 echo "$as_me: failed program was
:" >&5
6106 sed 's/^/| /' conftest.$ac_ext >&5
6109 if test "$ac_cv_type_unsigned_long_long_int" = yes; then
6110 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned long long int
)
6111 See \
`config.log' for more details." >&5
6112 echo "$as_me: error: cannot compute sizeof (unsigned long long int)
6113 See \`config.log
' for more details." >&2;}
6114 { (exit 77); exit 77; }; }
6116 ac_cv_sizeof_unsigned_long_long_int=0
6119 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6123 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long_int" >&5
6124 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long_int" >&6; }
6128 cat >>confdefs.h <<_ACEOF
6129 #define SIZEOF_UNSIGNED_LONG_LONG_INT $ac_cv_sizeof_unsigned_long_long_int
6141 for ac_func in llseek alarm gethostbyname inet_ntoa memset socket strerror strstr
6143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6144 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6146 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6147 echo $ECHO_N "(cached) $ECHO_C" >&6
6149 cat >conftest.$ac_ext <<_ACEOF
6152 cat confdefs.h >>conftest.$ac_ext
6153 cat >>conftest.$ac_ext <<_ACEOF
6154 /* end confdefs.h. */
6155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6157 #define $ac_func innocuous_$ac_func
6159 /* System header to define __stub macros and hopefully few prototypes,
6160 which can conflict with char $ac_func (); below.
6161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6162 <limits.h> exists even on freestanding compilers. */
6165 # include <limits.h>
6167 # include <assert.h>
6172 /* Override any GCC internal prototype to avoid an error.
6173 Use char because int might match the return type of a GCC
6174 builtin and then its argument prototype would still apply. */
6179 /* The GNU C library defines this for functions which it implements
6180 to always fail with ENOSYS. Some functions are actually named
6181 something starting with __ and the normal name is an alias. */
6182 #if defined __stub_$ac_func || defined __stub___$ac_func
6194 rm -f conftest.$ac_objext conftest$ac_exeext
6195 if { (ac_try="$ac_link"
6197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6198 *) ac_try_echo=$ac_try;;
6200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6201 (eval "$ac_link") 2>conftest.er1
6203 grep -v '^
*+' conftest.er1 >conftest.err
6205 cat conftest.err >&5
6206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6207 (exit $ac_status); } && {
6208 test -z "$ac_c_werror_flag" ||
6209 test ! -s conftest.err
6210 } && test -s conftest$ac_exeext &&
6211 $as_test_x conftest$ac_exeext; then
6212 eval "$as_ac_var=yes"
6214 echo "$as_me: failed program was:" >&5
6215 sed 's
/^
/|
/' conftest.$ac_ext >&5
6217 eval "$as_ac_var=no"
6220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6221 conftest$ac_exeext conftest.$ac_ext
6223 ac_res=`eval echo '${'$as_ac_var'}'`
6224 { echo "$as_me:$LINENO: result: $ac_res" >&5
6225 echo "${ECHO_T}$ac_res" >&6; }
6226 if test `eval echo '${'$as_ac_var'}'` = yes; then
6227 cat >>confdefs.h <<_ACEOF
6228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6234 { echo "$as_me:$LINENO: checking for pid_t" >&5
6235 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
6236 if test "${ac_cv_type_pid_t+set}" = set; then
6237 echo $ECHO_N "(cached) $ECHO_C" >&6
6239 cat >conftest.$ac_ext <<_ACEOF
6242 cat confdefs.h >>conftest.$ac_ext
6243 cat >>conftest.$ac_ext <<_ACEOF
6244 /* end confdefs.h. */
6245 $ac_includes_default
6246 typedef pid_t ac__type_new_;
6250 if ((ac__type_new_ *) 0)
6252 if (sizeof (ac__type_new_))
6258 rm -f conftest.$ac_objext
6259 if { (ac_try="$ac_compile"
6261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6262 *) ac_try_echo=$ac_try;;
6264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6265 (eval "$ac_compile") 2>conftest.er1
6267 grep -v '^
*+' conftest.er1 >conftest.err
6269 cat conftest.err >&5
6270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6271 (exit $ac_status); } && {
6272 test -z "$ac_c_werror_flag" ||
6273 test ! -s conftest.err
6274 } && test -s conftest.$ac_objext; then
6275 ac_cv_type_pid_t=yes
6277 echo "$as_me: failed program was:" >&5
6278 sed 's
/^
/|
/' conftest.$ac_ext >&5
6283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6285 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6286 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
6287 if test $ac_cv_type_pid_t = yes; then
6291 cat >>confdefs.h <<_ACEOF
6298 for ac_header in vfork.h
6300 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6301 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6302 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6304 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6305 echo $ECHO_N "(cached) $ECHO_C" >&6
6307 ac_res=`eval echo '${'$as_ac_Header'}'`
6308 { echo "$as_me:$LINENO: result: $ac_res" >&5
6309 echo "${ECHO_T}$ac_res" >&6; }
6311 # Is the header compilable?
6312 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6313 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6314 cat >conftest.$ac_ext <<_ACEOF
6317 cat confdefs.h >>conftest.$ac_ext
6318 cat >>conftest.$ac_ext <<_ACEOF
6319 /* end confdefs.h. */
6320 $ac_includes_default
6321 #include <$ac_header>
6323 rm -f conftest.$ac_objext
6324 if { (ac_try="$ac_compile"
6326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6327 *) ac_try_echo=$ac_try;;
6329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6330 (eval "$ac_compile") 2>conftest.er1
6332 grep -v '^
*+' conftest.er1 >conftest.err
6334 cat conftest.err >&5
6335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6336 (exit $ac_status); } && {
6337 test -z "$ac_c_werror_flag" ||
6338 test ! -s conftest.err
6339 } && test -s conftest.$ac_objext; then
6340 ac_header_compiler=yes
6342 echo "$as_me: failed program was:" >&5
6343 sed 's
/^
/|
/' conftest.$ac_ext >&5
6345 ac_header_compiler=no
6348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6349 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6350 echo "${ECHO_T}$ac_header_compiler" >&6; }
6352 # Is the header present?
6353 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6354 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6355 cat >conftest.$ac_ext <<_ACEOF
6358 cat confdefs.h >>conftest.$ac_ext
6359 cat >>conftest.$ac_ext <<_ACEOF
6360 /* end confdefs.h. */
6361 #include <$ac_header>
6363 if { (ac_try="$ac_cpp conftest.$ac_ext"
6365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6366 *) ac_try_echo=$ac_try;;
6368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6369 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6371 grep -v '^
*+' conftest.er1 >conftest.err
6373 cat conftest.err >&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); } >/dev/null && {
6376 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6377 test ! -s conftest.err
6379 ac_header_preproc=yes
6381 echo "$as_me: failed program was:" >&5
6382 sed 's
/^
/|
/' conftest.$ac_ext >&5
6384 ac_header_preproc=no
6387 rm -f conftest.err conftest.$ac_ext
6388 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6389 echo "${ECHO_T}$ac_header_preproc" >&6; }
6391 # So? What about this header?
6392 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6394 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6395 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6396 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
6397 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
6398 ac_header_preproc=yes
6401 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6402 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6403 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6404 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6405 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6406 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6407 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6408 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
6410 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
6411 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6412 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6414 ## -------------------------------- ##
6415 ## Report this to wouter@debian.org ##
6416 ## -------------------------------- ##
6418 ) | sed "s/^/$as_me: WARNING: /" >&2
6421 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6423 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6424 echo $ECHO_N "(cached) $ECHO_C" >&6
6426 eval "$as_ac_Header=\$ac_header_preproc"
6428 ac_res=`eval echo '${'$as_ac_Header'}'`
6429 { echo "$as_me:$LINENO: result: $ac_res" >&5
6430 echo "${ECHO_T}$ac_res" >&6; }
6433 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6434 cat >>confdefs.h <<_ACEOF
6435 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6444 for ac_func in fork vfork
6446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6447 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6449 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6450 echo $ECHO_N "(cached) $ECHO_C" >&6
6452 cat >conftest.$ac_ext <<_ACEOF
6455 cat confdefs.h >>conftest.$ac_ext
6456 cat >>conftest.$ac_ext <<_ACEOF
6457 /* end confdefs.h. */
6458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6460 #define $ac_func innocuous_$ac_func
6462 /* System header to define __stub macros and hopefully few prototypes,
6463 which can conflict with char $ac_func (); below.
6464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6465 <limits.h> exists even on freestanding compilers. */
6468 # include <limits.h>
6470 # include <assert.h>
6475 /* Override any GCC internal prototype to avoid an error.
6476 Use char because int might match the return type of a GCC
6477 builtin and then its argument prototype would still apply. */
6482 /* The GNU C library defines this for functions which it implements
6483 to always fail with ENOSYS. Some functions are actually named
6484 something starting with __ and the normal name is an alias. */
6485 #if defined __stub_$ac_func || defined __stub___$ac_func
6497 rm -f conftest.$ac_objext conftest$ac_exeext
6498 if { (ac_try="$ac_link"
6500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6501 *) ac_try_echo=$ac_try;;
6503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6504 (eval "$ac_link") 2>conftest.er1
6506 grep -v '^
*+' conftest.er1 >conftest.err
6508 cat conftest.err >&5
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); } && {
6511 test -z "$ac_c_werror_flag" ||
6512 test ! -s conftest.err
6513 } && test -s conftest$ac_exeext &&
6514 $as_test_x conftest$ac_exeext; then
6515 eval "$as_ac_var=yes"
6517 echo "$as_me: failed program was:" >&5
6518 sed 's
/^
/|
/' conftest.$ac_ext >&5
6520 eval "$as_ac_var=no"
6523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6524 conftest$ac_exeext conftest.$ac_ext
6526 ac_res=`eval echo '${'$as_ac_var'}'`
6527 { echo "$as_me:$LINENO: result: $ac_res" >&5
6528 echo "${ECHO_T}$ac_res" >&6; }
6529 if test `eval echo '${'$as_ac_var'}'` = yes; then
6530 cat >>confdefs.h <<_ACEOF
6531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6537 if test "x$ac_cv_func_fork" = xyes; then
6538 { echo "$as_me:$LINENO: checking for working fork" >&5
6539 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
6540 if test "${ac_cv_func_fork_works+set}" = set; then
6541 echo $ECHO_N "(cached) $ECHO_C" >&6
6543 if test "$cross_compiling" = yes; then
6544 ac_cv_func_fork_works=cross
6546 cat >conftest.$ac_ext <<_ACEOF
6549 cat confdefs.h >>conftest.$ac_ext
6550 cat >>conftest.$ac_ext <<_ACEOF
6551 /* end confdefs.h. */
6552 $ac_includes_default
6557 /* By Ruediger Kuhlmann. */
6564 rm -f conftest$ac_exeext
6565 if { (ac_try="$ac_link"
6567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6568 *) ac_try_echo=$ac_try;;
6570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6571 (eval "$ac_link") 2>&5
6573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6574 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
6575 { (case "(($ac_try" in
6576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6577 *) ac_try_echo=$ac_try;;
6579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6580 (eval "$ac_try") 2>&5
6582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583 (exit $ac_status); }; }; then
6584 ac_cv_func_fork_works=yes
6586 echo "$as_me: program exited with status $ac_status" >&5
6587 echo "$as_me: failed program was:" >&5
6588 sed 's
/^
/|
/' conftest.$ac_ext >&5
6591 ac_cv_func_fork_works=no
6593 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6598 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
6599 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
6602 ac_cv_func_fork_works=$ac_cv_func_fork
6604 if test "x$ac_cv_func_fork_works" = xcross; then
6606 *-*-amigaos* | *-*-msdosdjgpp*)
6607 # Override, as these systems have only a dummy fork() stub
6608 ac_cv_func_fork_works=no
6611 ac_cv_func_fork_works=yes
6614 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
6615 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
6617 ac_cv_func_vfork_works=$ac_cv_func_vfork
6618 if test "x$ac_cv_func_vfork" = xyes; then
6619 { echo "$as_me:$LINENO: checking for working vfork" >&5
6620 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
6621 if test "${ac_cv_func_vfork_works+set}" = set; then
6622 echo $ECHO_N "(cached) $ECHO_C" >&6
6624 if test "$cross_compiling" = yes; then
6625 ac_cv_func_vfork_works=cross
6627 cat >conftest.$ac_ext <<_ACEOF
6630 cat confdefs.h >>conftest.$ac_ext
6631 cat >>conftest.$ac_ext <<_ACEOF
6632 /* end confdefs.h. */
6633 /* Thanks to Paul Eggert for this test. */
6634 $ac_includes_default
6635 #include <sys/wait.h>
6639 /* On some sparc systems, changes by the child to local and incoming
6640 argument registers are propagated back to the parent. The compiler
6641 is told about this with #include <vfork.h>, but some compilers
6642 (e.g. gcc -O) don't grok
<vfork.h
>. Test
for this by using a
6643 static variable whose address is put into a register that is
6644 clobbered by the vfork.
*/
6647 sparc_address_test
(int arg
)
6649 sparc_address_test
(arg
) int arg
;
6670 pid_t parent
= getpid
();
6673 sparc_address_test
(0);
6678 /* Here is another
test for sparc vfork register problems. This
6679 test uses lots of
local variables
, at least as many
local
6680 variables as main has allocated so far including compiler
6681 temporaries.
4 locals are enough
for gcc
1.40.3 on a Solaris
6682 4.1.3 sparc
, but we use
8 to be safe. A buggy compiler should
6683 reuse the register of parent
for one of the
local variables
,
6684 since it will think that parent can
't possibly be used any more
6685 in this routine. Assigning to the local variable will thus
6686 munge parent in the parent process. */
6688 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
6689 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
6690 /* Convince the compiler that p..p7 are live; otherwise, it might
6691 use the same hardware register for all 8 local variables. */
6692 if (p != p1 || p != p2 || p != p3 || p != p4
6693 || p != p5 || p != p6 || p != p7)
6696 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
6697 from child
file descriptors. If the child closes a descriptor
6698 before it execs or exits
, this munges the parent
's descriptor
6699 as well. Test for this by closing stdout in the child. */
6700 _exit(close(fileno(stdout)) != 0);
6705 while (wait(&status) != child)
6708 /* Was there some problem with vforking? */
6711 /* Did the child fail? (This shouldn't happen.
) */
6714 /* Did the vfork
/compiler bug occur?
*/
6715 || parent
!= getpid
()
6717 /* Did the
file descriptor bug occur?
*/
6718 || fstat
(fileno
(stdout
), &st
) != 0
6723 rm -f conftest
$ac_exeext
6724 if { (ac_try
="$ac_link"
6726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6727 *) ac_try_echo=$ac_try;;
6729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6730 (eval "$ac_link") 2>&5
6732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6734 { (case "(($ac_try" in
6735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6736 *) ac_try_echo
=$ac_try;;
6738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6739 (eval "$ac_try") 2>&5
6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742 (exit $ac_status); }; }; then
6743 ac_cv_func_vfork_works
=yes
6745 echo "$as_me: program exited with status $ac_status" >&5
6746 echo "$as_me: failed program was:" >&5
6747 sed 's/^/| /' conftest.
$ac_ext >&5
6750 ac_cv_func_vfork_works
=no
6752 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6757 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
6758 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
6761 if test "x$ac_cv_func_fork_works" = xcross
; then
6762 ac_cv_func_vfork_works
=$ac_cv_func_vfork
6763 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
6764 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
6767 if test "x$ac_cv_func_vfork_works" = xyes
; then
6769 cat >>confdefs.h
<<\_ACEOF
6770 #define HAVE_WORKING_VFORK 1
6775 cat >>confdefs.h
<<\_ACEOF
6780 if test "x$ac_cv_func_fork_works" = xyes
; then
6782 cat >>confdefs.h
<<\_ACEOF
6783 #define HAVE_WORKING_FORK 1
6788 { echo "$as_me:$LINENO: checking for function prototypes" >&5
6789 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
6790 if test "$ac_cv_prog_cc_c89" != no
; then
6791 { echo "$as_me:$LINENO: result: yes" >&5
6792 echo "${ECHO_T}yes" >&6; }
6794 cat >>confdefs.h
<<\_ACEOF
6795 #define PROTOTYPES 1
6799 cat >>confdefs.h
<<\_ACEOF
6800 #define __PROTOTYPES 1
6804 { echo "$as_me:$LINENO: result: no" >&5
6805 echo "${ECHO_T}no" >&6; }
6808 { echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
6809 echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6; }
6810 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
6811 echo $ECHO_N "(cached) $ECHO_C" >&6
6813 ac_cv_func_setvbuf_reversed
=no
6814 cat >conftest.
$ac_ext <<_ACEOF
6817 cat confdefs.h
>>conftest.
$ac_ext
6818 cat >>conftest.
$ac_ext <<_ACEOF
6819 /* end confdefs.h. */
6822 int (setvbuf) (FILE *, int, char *, size_t);
6827 char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
6832 rm -f conftest.
$ac_objext conftest
$ac_exeext
6833 if { (ac_try
="$ac_link"
6835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6836 *) ac_try_echo=$ac_try;;
6838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6839 (eval "$ac_link") 2>conftest.er1
6841 grep -v '^ *+' conftest.er1 >conftest.err
6843 cat conftest.err >&5
6844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6845 (exit $ac_status); } && {
6846 test -z "$ac_c_werror_flag" ||
6847 test ! -s conftest.err
6848 } && test -s conftest$ac_exeext &&
6849 $as_test_x conftest$ac_exeext; then
6850 cat >conftest.$ac_ext <<_ACEOF
6853 cat confdefs.h >>conftest.$ac_ext
6854 cat >>conftest.$ac_ext <<_ACEOF
6855 /* end confdefs.h. */
6858 int (setvbuf) (FILE *, int, char *, size_t);
6863 char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
6868 rm -f conftest.$ac_objext conftest$ac_exeext
6869 if { (ac_try="$ac_link"
6871 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6872 *) ac_try_echo
=$ac_try;;
6874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6875 (eval "$ac_link") 2>conftest.er1
6877 grep -v '^ *+' conftest.er1
>conftest.err
6879 cat conftest.err
>&5
6880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881 (exit $ac_status); } && {
6882 test -z "$ac_c_werror_flag" ||
6883 test ! -s conftest.err
6884 } && test -s conftest
$ac_exeext &&
6885 $as_test_x conftest
$ac_exeext; then
6886 # It compiles and links either way, so it must not be declared
6887 # with a prototype and most likely this is a K&R C compiler.
6889 if test "$cross_compiling" = yes; then
6890 : # Assume setvbuf is not reversed when cross-compiling.
6892 cat >conftest.
$ac_ext <<_ACEOF
6895 cat confdefs.h
>>conftest.
$ac_ext
6896 cat >>conftest.
$ac_ext <<_ACEOF
6897 /* end confdefs.h. */
6898 $ac_includes_default
6902 /* This call has the arguments reversed.
6903 A reversed system may check and see that the address of buf
6904 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
6906 if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
6909 return 0; /* Non-reversed systems SEGV here. */
6914 rm -f conftest
$ac_exeext
6915 if { (ac_try
="$ac_link"
6917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6918 *) ac_try_echo=$ac_try;;
6920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6921 (eval "$ac_link") 2>&5
6923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6924 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6925 { (case "(($ac_try" in
6926 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6927 *) ac_try_echo
=$ac_try;;
6929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6930 (eval "$ac_try") 2>&5
6932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6933 (exit $ac_status); }; }; then
6934 ac_cv_func_setvbuf_reversed
=yes
6936 echo "$as_me: program exited with status $ac_status" >&5
6937 echo "$as_me: failed program was:" >&5
6938 sed 's/^/| /' conftest.
$ac_ext >&5
6941 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6945 ac_cv_func_setvbuf_reversed
=yes
6947 echo "$as_me: failed program was:" >&5
6948 sed 's/^/| /' conftest.
$ac_ext >&5
6953 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6954 conftest
$ac_exeext conftest.
$ac_ext
6956 echo "$as_me: failed program was:" >&5
6957 sed 's/^/| /' conftest.
$ac_ext >&5
6962 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6963 conftest
$ac_exeext conftest.
$ac_ext
6965 { echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5
6966 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6; }
6967 if test $ac_cv_func_setvbuf_reversed = yes; then
6969 cat >>confdefs.h
<<\_ACEOF
6970 #define SETVBUF_REVERSED 1
6975 { echo "$as_me:$LINENO: checking whether client should be built" >&5
6976 echo $ECHO_N "checking whether client should be built... $ECHO_C" >&6; }
6978 *Linux
*) sbin_PROGRAMS
=nbd-client
6979 man8_MANS
=nbd-client
.8
6980 { echo "$as_me:$LINENO: result: yes" >&5
6981 echo "${ECHO_T}yes" >&6; }
6983 *) { echo "$as_me:$LINENO: result: no" >&5
6984 echo "${ECHO_T}no" >&6; } ;;
6986 { echo "$as_me:$LINENO: checking where to find a working nbd.h" >&5
6987 echo $ECHO_N "checking where to find a working nbd.h... $ECHO_C" >&6; }
6988 cat >conftest.
$ac_ext <<_ACEOF
6991 cat confdefs.h
>>conftest.
$ac_ext
6992 cat >>conftest.
$ac_ext <<_ACEOF
6993 /* end confdefs.h. */
7003 int foo=NBD_CMD_DISC
7008 rm -f conftest.
$ac_objext
7009 if { (ac_try
="$ac_compile"
7011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7012 *) ac_try_echo=$ac_try;;
7014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7015 (eval "$ac_compile") 2>conftest.er1
7017 grep -v '^ *+' conftest.er1 >conftest.err
7019 cat conftest.err >&5
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); } && {
7022 test -z "$ac_c_werror_flag" ||
7023 test ! -s conftest.err
7024 } && test -s conftest.$ac_objext; then
7026 cat >>confdefs.h <<\_ACEOF
7027 #define NBD_H_LOCAL 1
7032 echo "$as_me: failed program was:" >&5
7033 sed 's/^/| /' conftest.$ac_ext >&5
7035 cat >conftest.$ac_ext <<_ACEOF
7038 cat confdefs.h >>conftest.$ac_ext
7039 cat >>conftest.$ac_ext <<_ACEOF
7040 /* end confdefs.h. */
7045 #include <linux/nbd.h>
7050 int foo=NBD_CMD_DISC
7055 rm -f conftest.$ac_objext
7056 if { (ac_try="$ac_compile"
7058 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7059 *) ac_try_echo
=$ac_try;;
7061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7062 (eval "$ac_compile") 2>conftest.er1
7064 grep -v '^ *+' conftest.er1
>conftest.err
7066 cat conftest.err
>&5
7067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7068 (exit $ac_status); } && {
7069 test -z "$ac_c_werror_flag" ||
7070 test ! -s conftest.err
7071 } && test -s conftest.
$ac_objext; then
7073 cat >>confdefs.h
<<\_ACEOF
7074 #define NBD_H_LINUX 1
7076 NBD_H
='<linux/nbd.h>'
7078 echo "$as_me: failed program was:" >&5
7079 sed 's/^/| /' conftest.
$ac_ext >&5
7081 { { echo "$as_me:$LINENO: error: Could not find an nbd.h from kernel 2.6 or above." >&5
7082 echo "$as_me: error: Could not find an nbd.h from kernel 2.6 or above." >&2;}
7083 { (exit 1); exit 1; }; }
7087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7094 if test $NBD_H = '<linux/nbd.h>'
7096 { echo "$as_me:$LINENO: WARNING: there is a local nbd.h, but it is from the 2.4-series of kernels. Using the system-provided, working, nbd.h" >&5
7097 echo "$as_me: WARNING: there is a local nbd.h, but it is from the 2.4-series of kernels. Using the system-provided, working, nbd.h" >&2;}
7100 { echo "$as_me:$LINENO: result: $NBD_H" >&5
7101 echo "${ECHO_T}$NBD_H" >&6; }
7103 for ac_header
in sys
/mount.h
7105 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7106 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7108 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7109 echo $ECHO_N "(cached) $ECHO_C" >&6
7111 cat >conftest.
$ac_ext <<_ACEOF
7114 cat confdefs.h
>>conftest.
$ac_ext
7115 cat >>conftest.
$ac_ext <<_ACEOF
7116 /* end confdefs.h. */
7117 #include <sys/param.h>
7120 #include <$ac_header>
7122 rm -f conftest.
$ac_objext
7123 if { (ac_try
="$ac_compile"
7125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7126 *) ac_try_echo=$ac_try;;
7128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7129 (eval "$ac_compile") 2>conftest.er1
7131 grep -v '^ *+' conftest.er1 >conftest.err
7133 cat conftest.err >&5
7134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135 (exit $ac_status); } && {
7136 test -z "$ac_c_werror_flag" ||
7137 test ! -s conftest.err
7138 } && test -s conftest.$ac_objext; then
7139 eval "$as_ac_Header=yes"
7141 echo "$as_me: failed program was:" >&5
7142 sed 's/^/| /' conftest.$ac_ext >&5
7144 eval "$as_ac_Header=no"
7147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7149 ac_res=`eval echo '${'$as_ac_Header'}'`
7150 { echo "$as_me:$LINENO: result: $ac_res" >&5
7151 echo "${ECHO_T}$ac_res" >&6; }
7152 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7153 cat >>confdefs.h <<_ACEOF
7154 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7168 for ac_header in arpa/inet.h fcntl.h netdb.h netinet/in.h sys/ioctl.h sys/socket.h syslog.h
7170 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7171 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7172 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7174 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7175 echo $ECHO_N "(cached) $ECHO_C" >&6
7177 ac_res=`eval echo '${'$as_ac_Header'}'`
7178 { echo "$as_me:$LINENO: result: $ac_res" >&5
7179 echo "${ECHO_T}$ac_res" >&6; }
7181 # Is the header compilable?
7182 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7183 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7184 cat >conftest.$ac_ext <<_ACEOF
7187 cat confdefs.h >>conftest.$ac_ext
7188 cat >>conftest.$ac_ext <<_ACEOF
7189 /* end confdefs.h. */
7190 $ac_includes_default
7191 #include <$ac_header>
7193 rm -f conftest.$ac_objext
7194 if { (ac_try="$ac_compile"
7196 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7197 *) ac_try_echo
=$ac_try;;
7199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7200 (eval "$ac_compile") 2>conftest.er1
7202 grep -v '^ *+' conftest.er1
>conftest.err
7204 cat conftest.err
>&5
7205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7206 (exit $ac_status); } && {
7207 test -z "$ac_c_werror_flag" ||
7208 test ! -s conftest.err
7209 } && test -s conftest.
$ac_objext; then
7210 ac_header_compiler
=yes
7212 echo "$as_me: failed program was:" >&5
7213 sed 's/^/| /' conftest.
$ac_ext >&5
7215 ac_header_compiler
=no
7218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7219 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7220 echo "${ECHO_T}$ac_header_compiler" >&6; }
7222 # Is the header present?
7223 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7224 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7225 cat >conftest.
$ac_ext <<_ACEOF
7228 cat confdefs.h
>>conftest.
$ac_ext
7229 cat >>conftest.
$ac_ext <<_ACEOF
7230 /* end confdefs.h. */
7231 #include <$ac_header>
7233 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7235 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7236 *) ac_try_echo=$ac_try;;
7238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7239 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7241 grep -v '^ *+' conftest.er1 >conftest.err
7243 cat conftest.err >&5
7244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7245 (exit $ac_status); } >/dev/null && {
7246 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7247 test ! -s conftest.err
7249 ac_header_preproc=yes
7251 echo "$as_me: failed program was:" >&5
7252 sed 's/^/| /' conftest.$ac_ext >&5
7254 ac_header_preproc=no
7257 rm -f conftest.err conftest.$ac_ext
7258 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7259 echo "${ECHO_T}$ac_header_preproc" >&6; }
7261 # So? What about this header?
7262 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7264 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7265 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7267 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7268 ac_header_preproc=yes
7271 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7272 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7273 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7274 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7275 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7276 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7277 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7278 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7280 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7281 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7282 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7284 ## -------------------------------- ##
7285 ## Report this to wouter@debian.org ##
7286 ## -------------------------------- ##
7288 ) | sed "s/^/$as_me: WARNING: /" >&2
7291 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7293 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7294 echo $ECHO_N "(cached) $ECHO_C" >&6
7296 eval "$as_ac_Header=\$ac_header_preproc"
7298 ac_res=`eval echo '${'$as_ac_Header'}'`
7299 { echo "$as_me:$LINENO: result: $ac_res" >&5
7300 echo "${ECHO_T}$ac_res" >&6; }
7303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7304 cat >>confdefs.h <<_ACEOF
7305 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7312 # Check whether --enable-glibtest was given.
7313 if test "${enable_glibtest+set}" = set; then
7314 enableval=$enable_glibtest;
7320 pkg_config_args=glib-2.0
7325 pkg_config_args="$pkg_config_args gmodule-2.0"
7328 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
7331 pkg_config_args="$pkg_config_args gobject-2.0"
7334 pkg_config_args="$pkg_config_args gthread-2.0"
7339 # Extract the first word of "pkg-config", so it can be a program name with args.
7340 set dummy pkg-config; ac_word=$2
7341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7343 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7344 echo $ECHO_N "(cached) $ECHO_C" >&6
7348 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7355 test -z "$as_dir" && as_dir=.
7356 for ac_exec_ext in '' $ac_executable_extensions; do
7357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7358 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7366 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
7370 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7371 if test -n "$PKG_CONFIG"; then
7372 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7373 echo "${ECHO_T}$PKG_CONFIG" >&6; }
7375 { echo "$as_me:$LINENO: result: no" >&5
7376 echo "${ECHO_T}no" >&6; }
7383 if test x$PKG_CONFIG != xno ; then
7384 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
7387 echo *** pkg-config too old; version 0.7 or better required.
7395 min_glib_version=2.2.0
7396 { echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5
7397 echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6; }
7399 if test x$PKG_CONFIG != xno ; then
7400 ## don't try to run the test against uninstalled libtool libs
7401 if $PKG_CONFIG --uninstalled $pkg_config_args; then
7402 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
7406 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
7413 if test x"$no_glib" = x ; then
7414 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0
`
7415 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0
`
7416 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0
`
7418 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
7419 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
7420 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
7421 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7422 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
7423 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7424 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
7425 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7426 if test "x$enable_glibtest" = "xyes" ; then
7427 ac_save_CFLAGS="$CFLAGS"
7428 ac_save_LIBS="$LIBS"
7429 CFLAGS="$CFLAGS $GLIB_CFLAGS"
7430 LIBS="$GLIB_LIBS $LIBS"
7432 if test "$cross_compiling" = yes; then
7433 echo $ac_n "cross compiling; assumed OK... $ac_c"
7435 cat >conftest.$ac_ext <<_ACEOF
7438 cat confdefs.h >>conftest.$ac_ext
7439 cat >>conftest.$ac_ext <<_ACEOF
7440 /* end confdefs.h. */
7449 int major, minor, micro;
7452 system ("touch conf.glibtest");
7454 /* HP/UX 9 (%@#!) writes to sscanf strings */
7455 tmp_version = g_strdup("$min_glib_version");
7456 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
7457 printf("%s, bad version string\n", "$min_glib_version");
7461 if ((glib_major_version != $glib_config_major_version) ||
7462 (glib_minor_version != $glib_config_minor_version) ||
7463 (glib_micro_version != $glib_config_micro_version))
7465 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
7466 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
7467 glib_major_version, glib_minor_version, glib_micro_version);
7468 printf ("*** was found! If pkg-config was correct, then it is best\n");
7469 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
7470 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
7471 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
7472 printf("*** required on your system.\n");
7473 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
7474 printf("*** to point to the correct configuration files\n");
7476 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
7477 (glib_minor_version != GLIB_MINOR_VERSION) ||
7478 (glib_micro_version != GLIB_MICRO_VERSION))
7480 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
7481 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
7482 printf("*** library (version %d.%d.%d)\n",
7483 glib_major_version, glib_minor_version, glib_micro_version);
7487 if ((glib_major_version > major) ||
7488 ((glib_major_version == major) && (glib_minor_version > minor)) ||
7489 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
7495 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
7496 glib_major_version, glib_minor_version, glib_micro_version);
7497 printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
7498 major, minor, micro);
7499 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
7501 printf("*** If you have already installed a sufficiently new version, this error\n");
7502 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
7503 printf("*** being found. The easiest way to fix this is to remove the old version\n");
7504 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
7505 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
7506 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
7507 printf("*** so that the correct libraries are found at run-time))\n");
7514 rm -f conftest$ac_exeext
7515 if { (ac_try="$ac_link"
7517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7518 *) ac_try_echo
=$ac_try;;
7520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7521 (eval "$ac_link") 2>&5
7523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7524 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7525 { (case "(($ac_try" in
7526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7527 *) ac_try_echo=$ac_try;;
7529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7530 (eval "$ac_try") 2>&5
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); }; }; then
7536 echo "$as_me: program exited with status $ac_status" >&5
7537 echo "$as_me: failed program was:" >&5
7538 sed 's/^/| /' conftest.$ac_ext >&5
7543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7547 CFLAGS="$ac_save_CFLAGS"
7548 LIBS="$ac_save_LIBS"
7551 if test "x$no_glib" = x ; then
7552 { echo "$as_me:$LINENO: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
7553 echo "${ECHO_T}yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
7556 { echo "$as_me:$LINENO: result: no" >&5
7557 echo "${ECHO_T}no" >&6; }
7558 if test "$PKG_CONFIG" = "no" ; then
7559 echo "*** A new enough version of pkg-config was not found."
7560 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
7562 if test -f conf.glibtest ; then
7565 echo "*** Could not run GLIB test program, checking why..."
7566 ac_save_CFLAGS="$CFLAGS"
7567 ac_save_LIBS="$LIBS"
7568 CFLAGS="$CFLAGS $GLIB_CFLAGS"
7569 LIBS="$LIBS $GLIB_LIBS"
7570 cat >conftest.$ac_ext <<_ACEOF
7573 cat confdefs.h >>conftest.$ac_ext
7574 cat >>conftest.$ac_ext <<_ACEOF
7575 /* end confdefs.h. */
7583 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
7588 rm -f conftest.$ac_objext conftest$ac_exeext
7589 if { (ac_try="$ac_link"
7591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7592 *) ac_try_echo
=$ac_try;;
7594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7595 (eval "$ac_link") 2>conftest.er1
7597 grep -v '^ *+' conftest.er1
>conftest.err
7599 cat conftest.err
>&5
7600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7601 (exit $ac_status); } && {
7602 test -z "$ac_c_werror_flag" ||
7603 test ! -s conftest.err
7604 } && test -s conftest
$ac_exeext &&
7605 $as_test_x conftest
$ac_exeext; then
7606 echo "*** The test program compiled, but did not run. This usually means"
7607 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
7608 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
7609 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7610 echo "*** to the installed location Also, make sure you have run ldconfig if that"
7611 echo "*** is required on your system"
7613 echo "*** If you have an old version installed, it is best to remove it, although"
7614 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7616 echo "$as_me: failed program was:" >&5
7617 sed 's/^/| /' conftest.
$ac_ext >&5
7619 echo "*** The test program failed to compile or link. See the file config.log for the"
7620 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
7623 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7624 conftest
$ac_exeext conftest.
$ac_ext
7625 CFLAGS
="$ac_save_CFLAGS"
7626 LIBS
="$ac_save_LIBS"
7634 { { echo "$as_me:$LINENO: error: Missing glib" >&5
7635 echo "$as_me: error: Missing glib" >&2;}
7636 { (exit 1); exit 1; }; }
7645 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
7646 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
7647 if test "${ac_cv_header_sys_wait_h+set}" = set; then
7648 echo $ECHO_N "(cached) $ECHO_C" >&6
7650 cat >conftest.
$ac_ext <<_ACEOF
7653 cat confdefs.h
>>conftest.
$ac_ext
7654 cat >>conftest.
$ac_ext <<_ACEOF
7655 /* end confdefs.h. */
7656 #include <sys/types.h>
7657 #include <sys/wait.h>
7659 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
7662 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
7670 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
7675 rm -f conftest.
$ac_objext
7676 if { (ac_try
="$ac_compile"
7678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7679 *) ac_try_echo=$ac_try;;
7681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7682 (eval "$ac_compile") 2>conftest.er1
7684 grep -v '^ *+' conftest.er1 >conftest.err
7686 cat conftest.err >&5
7687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7688 (exit $ac_status); } && {
7689 test -z "$ac_c_werror_flag" ||
7690 test ! -s conftest.err
7691 } && test -s conftest.$ac_objext; then
7692 ac_cv_header_sys_wait_h=yes
7694 echo "$as_me: failed program was:" >&5
7695 sed 's/^/| /' conftest.$ac_ext >&5
7697 ac_cv_header_sys_wait_h=no
7700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7702 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
7703 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
7704 if test $ac_cv_header_sys_wait_h = yes; then
7706 cat >>confdefs.h <<\_ACEOF
7707 #define HAVE_SYS_WAIT_H 1
7712 { echo "$as_me:$LINENO: checking for off_t" >&5
7713 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
7714 if test "${ac_cv_type_off_t+set}" = set; then
7715 echo $ECHO_N "(cached) $ECHO_C" >&6
7717 cat >conftest.$ac_ext <<_ACEOF
7720 cat confdefs.h >>conftest.$ac_ext
7721 cat >>conftest.$ac_ext <<_ACEOF
7722 /* end confdefs.h. */
7723 $ac_includes_default
7724 typedef off_t ac__type_new_;
7728 if ((ac__type_new_ *) 0)
7730 if (sizeof (ac__type_new_))
7736 rm -f conftest.$ac_objext
7737 if { (ac_try="$ac_compile"
7739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7740 *) ac_try_echo
=$ac_try;;
7742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7743 (eval "$ac_compile") 2>conftest.er1
7745 grep -v '^ *+' conftest.er1
>conftest.err
7747 cat conftest.err
>&5
7748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749 (exit $ac_status); } && {
7750 test -z "$ac_c_werror_flag" ||
7751 test ! -s conftest.err
7752 } && test -s conftest.
$ac_objext; then
7753 ac_cv_type_off_t
=yes
7755 echo "$as_me: failed program was:" >&5
7756 sed 's/^/| /' conftest.
$ac_ext >&5
7761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7763 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7764 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
7765 if test $ac_cv_type_off_t = yes; then
7769 cat >>confdefs.h
<<_ACEOF
7770 #define off_t long int
7775 { echo "$as_me:$LINENO: checking for pid_t" >&5
7776 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
7777 if test "${ac_cv_type_pid_t+set}" = set; then
7778 echo $ECHO_N "(cached) $ECHO_C" >&6
7780 cat >conftest.
$ac_ext <<_ACEOF
7783 cat confdefs.h
>>conftest.
$ac_ext
7784 cat >>conftest.
$ac_ext <<_ACEOF
7785 /* end confdefs.h. */
7786 $ac_includes_default
7787 typedef pid_t ac__type_new_;
7791 if ((ac__type_new_ *) 0)
7793 if (sizeof (ac__type_new_))
7799 rm -f conftest.
$ac_objext
7800 if { (ac_try
="$ac_compile"
7802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7803 *) ac_try_echo=$ac_try;;
7805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7806 (eval "$ac_compile") 2>conftest.er1
7808 grep -v '^ *+' conftest.er1 >conftest.err
7810 cat conftest.err >&5
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); } && {
7813 test -z "$ac_c_werror_flag" ||
7814 test ! -s conftest.err
7815 } && test -s conftest.$ac_objext; then
7816 ac_cv_type_pid_t=yes
7818 echo "$as_me: failed program was:" >&5
7819 sed 's/^/| /' conftest.$ac_ext >&5
7824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7826 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7827 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
7828 if test $ac_cv_type_pid_t = yes; then
7832 cat >>confdefs.h <<_ACEOF
7840 ac_config_headers="$ac_config_headers config.h"
7842 ac_config_files="$ac_config_files Makefile Doxyfile"
7844 cat >confcache <<\_ACEOF
7845 # This file is a shell script that caches the results of configure
7846 # tests run on this system so they can be shared between configure
7847 # scripts and configure runs, see configure's option --config-cache.
7848 # It is not useful on other systems. If it contains results you don't
7849 # want to keep, you may remove or edit it.
7851 # config.status only pays attention to the cache file if you give it
7852 # the --recheck option to rerun configure.
7854 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
7855 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7860 # The following way of writing the cache mishandles newlines in values,
7861 # but we know of no workaround that is simple, portable, and efficient.
7862 # So, we kill variables containing newlines.
7863 # Ultrix sh set writes to stderr and can't be redirected directly,
7864 # and sets the high bit in the cache file unless we assign to the vars.
7866 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7867 eval ac_val
=\$
$ac_var
7871 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
7872 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
7875 _ | IFS | as_nl
) ;; #(
7876 *) $as_unset $ac_var ;;
7882 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7883 *${as_nl}ac_space
=\
*)
7884 # `set' does not quote correctly, so add quotes (double-quote
7885 # substitution turns \\\\ into \\, and sed turns \\ into \).
7888 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7891 # `set' quotes correctly as required by POSIX, so do not add quotes.
7892 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7901 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7903 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7905 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7906 if test -w "$cache_file"; then
7907 test "x$cache_file" != "x/dev/null" &&
7908 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
7909 echo "$as_me: updating cache $cache_file" >&6;}
7910 cat confcache
>$cache_file
7912 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7913 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7918 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7919 # Let make expand exec_prefix.
7920 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7922 DEFS
=-DHAVE_CONFIG_H
7926 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7927 # 1. Remove the extension, and $U if already installed.
7928 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7929 ac_i
=`echo "$ac_i" | sed "$ac_script"`
7930 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7931 # will be set to the directory where LIBOBJS objects are built.
7932 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7933 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7937 LTLIBOBJS
=$ac_ltlibobjs
7940 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7941 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7942 Usually this means the macro was only invoked conditionally." >&5
7943 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7944 Usually this means the macro was only invoked conditionally." >&2;}
7945 { (exit 1); exit 1; }; }
7947 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7948 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7949 Usually this means the macro was only invoked conditionally." >&5
7950 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7951 Usually this means the macro was only invoked conditionally." >&2;}
7952 { (exit 1); exit 1; }; }
7954 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7955 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7956 Usually this means the macro was only invoked conditionally." >&5
7957 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7958 Usually this means the macro was only invoked conditionally." >&2;}
7959 { (exit 1); exit 1; }; }
7962 : ${CONFIG_STATUS=./config.status}
7963 ac_clean_files_save
=$ac_clean_files
7964 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7965 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7966 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7967 cat >$CONFIG_STATUS <<_ACEOF
7969 # Generated by $as_me.
7970 # Run this file to recreate the current configuration.
7971 # Compiler output produced by configure, useful for debugging
7972 # configure, is in config.log if it exists.
7977 SHELL=\${CONFIG_SHELL-$SHELL}
7980 cat >>$CONFIG_STATUS <<\_ACEOF
7981 ## --------------------- ##
7982 ## M4sh Initialization. ##
7983 ## --------------------- ##
7985 # Be more Bourne compatible
7986 DUALCASE
=1; export DUALCASE
# for MKS sh
7987 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7990 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7991 # is contrary to our usage. Disable this feature.
7992 alias -g '${1+"$@"}'='"$@"'
7993 setopt NO_GLOB_SUBST
7995 case `(set -o) 2>/dev/null` in
7996 *posix
*) set -o posix
;;
8005 # Avoid depending upon Character Ranges.
8006 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8007 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8008 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8009 as_cr_digits
='0123456789'
8010 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8012 # The user is always right.
8013 if test "${PATH_SEPARATOR+set}" != set; then
8014 echo "#! /bin/sh" >conf$$.sh
8015 echo "exit 0" >>conf$$.sh
8017 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8025 # Support unset when possible.
8026 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8034 # We need space, tab and new line, in precisely that order. Quoting is
8035 # there to prevent editors from complaining about space-tab.
8036 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8037 # splitting by setting IFS to empty value.)
8042 # Find who we are. Look in the path if we contain no directory separator.
8044 *[\\/]* ) as_myself
=$0 ;;
8045 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8049 test -z "$as_dir" && as_dir
=.
8050 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8056 # We did not find ourselves, most probably we were run as `sh COMMAND'
8057 # in which case we are not to be found in the path.
8058 if test "x$as_myself" = x
; then
8061 if test ! -f "$as_myself"; then
8062 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8063 { (exit 1); exit 1; }
8066 # Work around bugs in pre-3.0 UWIN ksh.
8067 for as_var
in ENV MAIL MAILPATH
8068 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
8076 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8077 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8078 LC_TELEPHONE LC_TIME
8080 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8081 eval $as_var=C
; export $as_var
8083 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
8087 # Required to use basename.
8088 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8089 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8095 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8096 as_basename
=basename
8102 # Name of the executable.
8103 as_me
=`$as_basename -- "$0" ||
8104 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8105 X"$0" : 'X\(//\)$' \| \
8106 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8108 sed '/^.*\/\([^/][^/]*\)\/*$/{
8129 test "x$as_lineno_1" != "x$as_lineno_2" &&
8130 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
8132 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8133 # uniformly replaced by the line number. The first 'sed' inserts a
8134 # line-number line after each line using $LINENO; the second 'sed'
8135 # does the real work. The second script uses 'N' to pair each
8136 # line-number line with the line containing $LINENO, and appends
8137 # trailing '-' during substitution so that $LINENO is not a special
8139 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8140 # scripts with optimization help from Paolo Bonzini. Blame Lee
8141 # E. McMahon (1931-1989) for sed's syntax. :-)
8153 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8157 chmod +x
"$as_me.lineno" ||
8158 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8159 { (exit 1); exit 1; }; }
8161 # Don't try to exec as it changes $[0], causing all sort of problems
8162 # (the dirname of $[0] is not the place where we might find the
8163 # original and so on. Autoconf is especially sensitive to this).
8165 # Exit status is that of the last command.
8170 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8176 ECHO_C
= ECHO_N
= ECHO_T
=
8179 case `echo 'x\c'` in
8180 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8187 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8188 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8194 rm -f conf$$ conf$$.exe conf$$.
file
8195 if test -d conf$$.dir
; then
8196 rm -f conf$$.dir
/conf$$.
file
8202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8204 # ... but there are two gotchas:
8205 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8206 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8207 # In both cases, we have to default to `cp -p'.
8208 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8210 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8215 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8216 rmdir conf$$.dir
2>/dev
/null
8218 if mkdir
-p .
2>/dev
/null
; then
8221 test -d .
/-p && rmdir .
/-p
8225 if test -x / >/dev
/null
2>&1; then
8228 if ls -dL / >/dev
/null
2>&1; then
8235 if test -d "$1"; then
8241 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8242 ???[sx]*):;;*)false;;esac;fi
8246 as_executable_p
=$as_test_x
8248 # Sed expression to map a string onto a valid CPP name.
8249 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8251 # Sed expression to map a string onto a valid variable name.
8252 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8257 # Save the log message, to keep $[0] and so on meaningful, and to
8258 # report actual input values of CONFIG_FILES etc. instead of their
8259 # values after options handling.
8261 This file was extended by nbd $as_me 2.8.8, which was
8262 generated by GNU Autoconf 2.61. Invocation command line was
8264 CONFIG_FILES = $CONFIG_FILES
8265 CONFIG_HEADERS = $CONFIG_HEADERS
8266 CONFIG_LINKS = $CONFIG_LINKS
8267 CONFIG_COMMANDS = $CONFIG_COMMANDS
8270 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8275 cat >>$CONFIG_STATUS <<_ACEOF
8276 # Files that config.status was made for.
8277 config_files="$ac_config_files"
8278 config_headers="$ac_config_headers"
8279 config_commands="$ac_config_commands"
8283 cat >>$CONFIG_STATUS <<\_ACEOF
8285 \`$as_me' instantiates files from templates according to the
8286 current configuration.
8288 Usage: $0 [OPTIONS] [FILE]...
8290 -h, --help print this help, then exit
8291 -V, --version print version number and configuration settings, then exit
8292 -q, --quiet do not print progress messages
8293 -d, --debug don't remove temporary files
8294 --recheck update $as_me by reconfiguring in the same conditions
8295 --file=FILE[:TEMPLATE]
8296 instantiate the configuration file FILE
8297 --header=FILE[:TEMPLATE]
8298 instantiate the configuration header FILE
8300 Configuration files:
8303 Configuration headers:
8306 Configuration commands:
8309 Report bugs to <bug-autoconf@gnu.org>."
8312 cat >>$CONFIG_STATUS <<_ACEOF
8314 nbd config.status 2.8.8
8315 configured by $0, generated by GNU Autoconf 2.61,
8316 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8318 Copyright (C) 2006 Free Software Foundation, Inc.
8319 This config.status script is free software; the Free Software Foundation
8320 gives unlimited permission to copy, distribute and modify it."
8327 cat >>$CONFIG_STATUS <<\_ACEOF
8328 # If no file are specified by the user, then we need to provide default
8329 # value. By we need to know if files were specified by the user.
8335 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8336 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8347 # Handling of the options.
8348 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8350 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8351 echo "$ac_cs_version"; exit ;;
8352 --debug |
--debu |
--deb |
--de |
--d |
-d )
8354 --file |
--fil |
--fi |
--f )
8356 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8357 ac_need_defaults
=false
;;
8358 --header |
--heade |
--head |
--hea )
8360 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8361 ac_need_defaults
=false
;;
8363 # Conflict between --help and --header
8364 { echo "$as_me: error: ambiguous option: $1
8365 Try \`$0 --help' for more information." >&2
8366 { (exit 1); exit 1; }; };;
8367 --help |
--hel |
-h )
8368 echo "$ac_cs_usage"; exit ;;
8369 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8370 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8374 -*) { echo "$as_me: error: unrecognized option: $1
8375 Try \`$0 --help' for more information." >&2
8376 { (exit 1); exit 1; }; } ;;
8378 *) ac_config_targets
="$ac_config_targets $1"
8379 ac_need_defaults
=false
;;
8385 ac_configure_extra_args
=
8387 if $ac_cs_silent; then
8389 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8393 cat >>$CONFIG_STATUS <<_ACEOF
8394 if \$ac_cs_recheck; then
8395 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8398 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8402 cat >>$CONFIG_STATUS <<\_ACEOF
8406 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8407 ## Running $as_me. ##
8413 cat >>$CONFIG_STATUS <<_ACEOF
8417 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8421 cat >>$CONFIG_STATUS <<\_ACEOF
8423 # Handling of arguments.
8424 for ac_config_target
in $ac_config_targets
8426 case $ac_config_target in
8427 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8428 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
8429 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8430 "Doxyfile") CONFIG_FILES
="$CONFIG_FILES Doxyfile" ;;
8432 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8433 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8434 { (exit 1); exit 1; }; };;
8439 # If the user did not use the arguments to specify the items to instantiate,
8440 # then the envvar interface is used. Set only those that are not.
8441 # We use the long form for the default assignment because of an extremely
8442 # bizarre bug on SunOS 4.1.3.
8443 if $ac_need_defaults; then
8444 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8445 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8446 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8449 # Have a temporary directory for convenience. Make it in the build tree
8450 # simply because there is no reason against having it here, and in addition,
8451 # creating and moving files from /tmp can sometimes cause problems.
8452 # Hook for its removal unless debugging.
8453 # Note that there is a small window in which the directory will not be cleaned:
8454 # after its creation but before its name has been assigned to `$tmp'.
8458 trap 'exit_status=$?
8459 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8461 trap '{ (exit 1); exit 1; }' 1 2 13 15
8463 # Create a (secure) tmp directory for tmp files.
8466 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8467 test -n "$tmp" && test -d "$tmp"
8470 tmp
=.
/conf$$
-$RANDOM
8471 (umask 077 && mkdir
"$tmp")
8474 echo "$me: cannot create a temporary directory in ." >&2
8475 { (exit 1); exit 1; }
8479 # Set up the sed scripts for CONFIG_FILES section.
8482 # No need to generate the scripts if there are no CONFIG_FILES.
8483 # This happens for instance when ./config.status config.h
8484 if test -n "$CONFIG_FILES"; then
8491 for ac_last_try
in false false false false false
:; do
8492 cat >conf$
$subs.
sed <<_ACEOF
8493 SHELL!$SHELL$ac_delim
8494 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
8495 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
8496 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
8497 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
8498 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
8499 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
8500 exec_prefix!$exec_prefix$ac_delim
8501 prefix!$prefix$ac_delim
8502 program_transform_name!$program_transform_name$ac_delim
8503 bindir!$bindir$ac_delim
8504 sbindir!$sbindir$ac_delim
8505 libexecdir!$libexecdir$ac_delim
8506 datarootdir!$datarootdir$ac_delim
8507 datadir!$datadir$ac_delim
8508 sysconfdir!$sysconfdir$ac_delim
8509 sharedstatedir!$sharedstatedir$ac_delim
8510 localstatedir!$localstatedir$ac_delim
8511 includedir!$includedir$ac_delim
8512 oldincludedir!$oldincludedir$ac_delim
8513 docdir!$docdir$ac_delim
8514 infodir!$infodir$ac_delim
8515 htmldir!$htmldir$ac_delim
8516 dvidir!$dvidir$ac_delim
8517 pdfdir!$pdfdir$ac_delim
8518 psdir!$psdir$ac_delim
8519 libdir!$libdir$ac_delim
8520 localedir!$localedir$ac_delim
8521 mandir!$mandir$ac_delim
8523 ECHO_C!$ECHO_C$ac_delim
8524 ECHO_N!$ECHO_N$ac_delim
8525 ECHO_T!$ECHO_T$ac_delim
8527 build_alias!$build_alias$ac_delim
8528 host_alias!$host_alias$ac_delim
8529 target_alias!$target_alias$ac_delim
8530 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
8531 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
8532 INSTALL_DATA!$INSTALL_DATA$ac_delim
8533 CYGPATH_W!$CYGPATH_W$ac_delim
8534 PACKAGE!$PACKAGE$ac_delim
8535 VERSION!$VERSION$ac_delim
8536 ACLOCAL!$ACLOCAL$ac_delim
8537 AUTOCONF!$AUTOCONF$ac_delim
8538 AUTOMAKE!$AUTOMAKE$ac_delim
8539 AUTOHEADER!$AUTOHEADER$ac_delim
8540 MAKEINFO!$MAKEINFO$ac_delim
8541 install_sh!$install_sh$ac_delim
8542 STRIP!$STRIP$ac_delim
8543 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
8544 mkdir_p!$mkdir_p$ac_delim
8546 SET_MAKE!$SET_MAKE$ac_delim
8547 am__leading_dot!$am__leading_dot$ac_delim
8548 AMTAR!$AMTAR$ac_delim
8549 am__tar!$am__tar$ac_delim
8550 am__untar!$am__untar$ac_delim
8551 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
8552 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
8553 MAINT!$MAINT$ac_delim
8555 CFLAGS!$CFLAGS$ac_delim
8556 LDFLAGS!$LDFLAGS$ac_delim
8557 CPPFLAGS!$CPPFLAGS$ac_delim
8558 ac_ct_CC!$ac_ct_CC$ac_delim
8559 EXEEXT!$EXEEXT$ac_delim
8560 OBJEXT!$OBJEXT$ac_delim
8561 DEPDIR!$DEPDIR$ac_delim
8562 am__include!$am__include$ac_delim
8563 am__quote!$am__quote$ac_delim
8564 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
8565 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
8566 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
8567 CCDEPMODE!$CCDEPMODE$ac_delim
8568 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
8569 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
8572 EGREP!$EGREP$ac_delim
8573 PKG_CONFIG!$PKG_CONFIG$ac_delim
8574 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
8575 GLIB_LIBS!$GLIB_LIBS$ac_delim
8576 GLIB_GENMARSHAL!$GLIB_GENMARSHAL$ac_delim
8577 GOBJECT_QUERY!$GOBJECT_QUERY$ac_delim
8578 GLIB_MKENUMS!$GLIB_MKENUMS$ac_delim
8579 sbin_PROGRAMS!$sbin_PROGRAMS$ac_delim
8580 man8_MANS!$man8_MANS$ac_delim
8581 LIBOBJS!$LIBOBJS$ac_delim
8582 LTLIBOBJS!$LTLIBOBJS$ac_delim
8585 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 90; then
8587 elif $ac_last_try; then
8588 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8589 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8590 { (exit 1); exit 1; }; }
8592 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
8596 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8597 if test -n "$ac_eof"; then
8598 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
8599 ac_eof
=`expr $ac_eof + 1`
8602 cat >>$CONFIG_STATUS <<_ACEOF
8603 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
8604 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
8607 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8608 s/^/s,@/; s/!/@,|#_!!_#|/
8611 s/'"$ac_delim"'$/,g/; t
8613 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8614 ' >>$CONFIG_STATUS <conf$
$subs.
sed
8615 rm -f conf$
$subs.
sed
8616 cat >>$CONFIG_STATUS <<_ACEOF
8623 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8624 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8625 # trailing colons and then remove the whole line if VPATH becomes empty
8626 # (actually we leave an empty line to preserve line numbers).
8627 if test "x$srcdir" = x.
; then
8628 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8632 s/^\([^=]*=[ ]*\):*/\1/
8638 cat >>$CONFIG_STATUS <<\_ACEOF
8639 fi # test -n "$CONFIG_FILES"
8642 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
8645 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8647 case $ac_mode$ac_tag in
8649 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
8650 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
8651 { (exit 1); exit 1; }; };;
8652 :[FH
]-) ac_tag
=-:-;;
8653 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8670 -) ac_f
="$tmp/stdin";;
8671 *) # Look for the file first in the build tree, then in the source tree
8672 # (if the path is not absolute). The absolute path cannot be DOS-style,
8673 # because $ac_f cannot contain `:'.
8677 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8679 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8680 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8681 { (exit 1); exit 1; }; };;
8683 ac_file_inputs
="$ac_file_inputs $ac_f"
8686 # Let's still pretend it is `configure' which instantiates (i.e., don't
8687 # use $as_me), people would be surprised to read:
8688 # /* config.h. Generated by config.status. */
8689 configure_input
="Generated from "`IFS=:
8690 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
8691 if test x
"$ac_file" != x-
; then
8692 configure_input
="$ac_file. $configure_input"
8693 { echo "$as_me:$LINENO: creating $ac_file" >&5
8694 echo "$as_me: creating $ac_file" >&6;}
8698 *:-:* |
*:-) cat >"$tmp/stdin";;
8703 ac_dir
=`$as_dirname -- "$ac_file" ||
8704 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8705 X"$ac_file" : 'X\(//\)[^/]' \| \
8706 X"$ac_file" : 'X\(//\)$' \| \
8707 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8709 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8728 -*) as_dir
=.
/$as_dir;;
8730 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8734 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8735 *) as_qdir
=$as_dir;;
8737 as_dirs
="'$as_qdir' $as_dirs"
8738 as_dir
=`$as_dirname -- "$as_dir" ||
8739 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8740 X"$as_dir" : 'X\(//\)[^/]' \| \
8741 X"$as_dir" : 'X\(//\)$' \| \
8742 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8761 test -d "$as_dir" && break
8763 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8764 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8765 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8766 { (exit 1); exit 1; }; }; }
8770 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8772 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8773 # A ".." for each directory in $ac_dir_suffix.
8774 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8775 case $ac_top_builddir_sub in
8776 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8777 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8780 ac_abs_top_builddir
=$ac_pwd
8781 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8782 # for backward compatibility:
8783 ac_top_builddir
=$ac_top_build_prefix
8786 .
) # We are building in place.
8788 ac_top_srcdir
=$ac_top_builddir_sub
8789 ac_abs_top_srcdir
=$ac_pwd ;;
8790 [\\/]* | ?
:[\\/]* ) # Absolute name.
8791 ac_srcdir
=$srcdir$ac_dir_suffix;
8792 ac_top_srcdir
=$srcdir
8793 ac_abs_top_srcdir
=$srcdir ;;
8795 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8796 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8797 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8799 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8809 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8810 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8814 cat >>$CONFIG_STATUS <<\_ACEOF
8815 # If the template does not know about datarootdir, expand it.
8816 # FIXME: This hack should be removed a few years after 2.60.
8817 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8819 case `sed -n '/datarootdir/ {
8828 ' $ac_file_inputs` in
8829 *datarootdir
*) ac_datarootdir_seen
=yes;;
8830 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8831 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8832 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8834 cat >>$CONFIG_STATUS <<_ACEOF
8835 ac_datarootdir_hack='
8836 s&@datadir@&$datadir&g
8837 s&@docdir@&$docdir&g
8838 s&@infodir@&$infodir&g
8839 s&@localedir@&$localedir&g
8840 s&@mandir@&$mandir&g
8841 s&\\\${datarootdir}&$datarootdir&g' ;;
8845 # Neutralize VPATH when `$srcdir' = `.'.
8846 # Shell code in configure.ac might set extrasub.
8847 # FIXME: do we really want to maintain this feature?
8848 cat >>$CONFIG_STATUS <<_ACEOF
8852 cat >>$CONFIG_STATUS <<\_ACEOF
8854 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8855 s
&@configure_input@
&$configure_input&;t t
8856 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8857 s
&@srcdir@
&$ac_srcdir&;t t
8858 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8859 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8860 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8861 s
&@builddir@
&$ac_builddir&;t t
8862 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8863 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8864 s
&@INSTALL@
&$ac_INSTALL&;t t
8865 $ac_datarootdir_hack
8866 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
8868 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8869 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
8870 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
8871 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8872 which seems to be undefined. Please make sure it is defined." >&5
8873 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8874 which seems to be undefined. Please make sure it is defined." >&2;}
8878 -) cat "$tmp/out"; rm -f "$tmp/out";;
8879 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
8888 # Transform confdefs.h into a sed script `conftest.defines', that
8889 # substitutes the proper values into config.h.in to produce config.h.
8890 rm -f conftest.defines conftest.
tail
8891 # First, append a space to every undef/define line, to ease matching.
8892 echo 's/$/ /' >conftest.defines
8893 # Then, protect against being on the right side of a sed subst, or in
8894 # an unquoted here document, in config.status. If some macros were
8895 # called several times there might be several #defines for the same
8896 # symbol, which is useless. But do not sort them, since the last
8897 # AC_DEFINE must be honored.
8898 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
8899 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
8900 # NAME is the cpp macro being defined, VALUE is the value it is being given.
8901 # PARAMS is the parameter list in the macro definition--in most cases, it's
8902 # just an empty string.
8903 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
8904 ac_dB
='\\)[ (].*,\\1define\\2'
8912 s/^[ ]*#[ ]*define[ ][ ]*//
8917 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
8918 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
8919 ' >>conftest.defines
8921 # Remove the space that was appended to ease matching.
8922 # Then replace #undef with comments. This is necessary, for
8923 # example, in the case of _POSIX_SOURCE, which is predefined and required
8924 # on some systems where configure will not decide to define it.
8925 # (The regexp can be short, since the line contains either #define or #undef.)
8927 s,^[ #]*u.*,/* & */,' >>conftest.defines
8929 # Break up conftest.defines:
8932 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
8933 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
8934 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
8936 ac_in
='$ac_file_inputs'
8937 ac_out
='"$tmp/out1"'
8938 ac_nxt
='"$tmp/out2"'
8942 # Write a here document:
8943 cat >>$CONFIG_STATUS <<_ACEOF
8944 # First, check the format of the line:
8945 cat >"\$tmp/defines.sed" <<\\CEOF
8946 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
8947 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
8951 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
8953 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
8954 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
8955 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
8956 grep . conftest.
tail >/dev
/null ||
break
8957 rm -f conftest.defines
8958 mv conftest.
tail conftest.defines
8960 rm -f conftest.defines conftest.
tail
8962 echo "ac_result=$ac_in" >>$CONFIG_STATUS
8963 cat >>$CONFIG_STATUS <<\_ACEOF
8964 if test x
"$ac_file" != x-
; then
8965 echo "/* $configure_input */" >"$tmp/config.h"
8966 cat "$ac_result" >>"$tmp/config.h"
8967 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
8968 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8969 echo "$as_me: $ac_file is unchanged" >&6;}
8972 mv "$tmp/config.h" $ac_file
8975 echo "/* $configure_input */"
8979 # Compute $ac_file's index in $config_headers.
8981 for _am_header
in $config_headers :; do
8983 $ac_file |
$ac_file:* )
8986 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8989 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
8990 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8991 X$ac_file : 'X\(//\)[^/]' \| \
8992 X$ac_file : 'X\(//\)$' \| \
8993 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
8995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9011 s/.*/./; q'`/stamp-h
$_am_stamp_count
9014 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
9015 echo "$as_me: executing $ac_file commands" >&6;}
9020 case $ac_file$ac_mode in
9021 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
9022 # Strip MF so we end up with the name of the file.
9023 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9024 # Check whether this is an Automake generated Makefile or not.
9025 # We used to match only the files named `Makefile.in', but
9026 # some people rename them; so instead we look at the file content.
9027 # Grep'ing the first line is not enough: some people post-process
9028 # each Makefile.in and add a new line on top of each file to say so.
9029 # So let's grep whole file.
9030 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
9031 dirpart
=`$as_dirname -- "$mf" ||
9032 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9033 X"$mf" : 'X\(//\)[^/]' \| \
9034 X"$mf" : 'X\(//\)$' \| \
9035 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9037 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9057 # Extract the definition of DEPDIR, am__include, and am__quote
9058 # from the Makefile without running `make'.
9059 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9060 test -z "$DEPDIR" && continue
9061 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9062 test -z "am__include" && continue
9063 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9064 # When using ansi2knr, U may be empty or an underscore; expand it
9065 U
=`sed -n 's/^U = //p' < "$mf"`
9066 # Find all dependency output files, they are included files with
9067 # $(DEPDIR) in their names. We invoke sed twice because it is the
9068 # simplest approach to changing $(DEPDIR) to its actual value in the
9070 for file in `sed -n "
9071 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9072 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9073 # Make sure the directory exists.
9074 test -f "$dirpart/$file" && continue
9075 fdir
=`$as_dirname -- "$file" ||
9076 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9077 X"$file" : 'X\(//\)[^/]' \| \
9078 X"$file" : 'X\(//\)$' \| \
9079 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9098 { as_dir
=$dirpart/$fdir
9100 -*) as_dir
=.
/$as_dir;;
9102 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9106 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9107 *) as_qdir
=$as_dir;;
9109 as_dirs
="'$as_qdir' $as_dirs"
9110 as_dir
=`$as_dirname -- "$as_dir" ||
9111 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9112 X"$as_dir" : 'X\(//\)[^/]' \| \
9113 X"$as_dir" : 'X\(//\)$' \| \
9114 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9133 test -d "$as_dir" && break
9135 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9136 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9137 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9138 { (exit 1); exit 1; }; }; }
9139 # echo "creating $dirpart/$file"
9140 echo '# dummy' > "$dirpart/$file"
9149 { (exit 0); exit 0; }
9151 chmod +x
$CONFIG_STATUS
9152 ac_clean_files
=$ac_clean_files_save
9155 # configure is writing to config.log, and then calls config.status.
9156 # config.status does its own redirection, appending to config.log.
9157 # Unfortunately, on DOS this fails, as config.log is still kept open
9158 # by configure, so config.status won't be able to write to it; its
9159 # output is simply discarded. So we exec the FD to /dev/null,
9160 # effectively closing config.log, so it can be properly (re)opened and
9161 # appended to by config.status. When coming back to configure, we
9162 # need to make the FD available again.
9163 if test "$no_create" != yes; then
9165 ac_config_status_args
=
9166 test "$silent" = yes &&
9167 ac_config_status_args
="$ac_config_status_args --quiet"
9169 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9171 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9172 # would make configure fail if this is the last instruction.
9173 $ac_cs_success ||
{ (exit 1); exit 1; }