2
2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
@%:@ Generated by GNU Autoconf 2.68.
6
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
3
@%:@ Generated by GNU Autoconf 2.69.
6
@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11
9
@%:@ This configure script is free software; the Free Software Foundation
135
133
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
# Use a proper internal environment variable to ensure we don't fall
136
# into an infinite loop, continuously re-executing ourselves.
137
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138
_as_can_reexec=no; export _as_can_reexec;
139
# We cannot yet assume a decent shell, so we have to provide a
140
# neutralization value for shells without unset; and this also
141
# works around shells that cannot unset nonexistent variables.
142
# Preserve -v and -x to the replacement shell.
145
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147
*v*x* | *x*v* ) as_opts=-vx ;;
152
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153
# Admittedly, this is quite paranoid, since all the known shells bail
154
# out after a failed `exec'.
155
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158
# We don't want this to propagate to other subprocesses.
159
{ _as_can_reexec=; unset _as_can_reexec;}
137
160
if test "x$CONFIG_SHELL" = x; then
138
161
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
214
238
if test "x$CONFIG_SHELL" != x; then :
215
# We cannot yet assume a decent shell, so we have to provide a
216
# neutralization value for shells without unset; and this also
217
# works around shells that cannot unset nonexistent variables.
218
# Preserve -v and -x to the replacement shell.
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224
*v*x* | *x*v* ) as_opts=-vx ;;
229
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240
# We cannot yet assume a decent shell, so we have to provide a
241
# neutralization value for shells without unset; and this also
242
# works around shells that cannot unset nonexistent variables.
243
# Preserve -v and -x to the replacement shell.
246
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248
*v*x* | *x*v* ) as_opts=-vx ;;
253
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254
# Admittedly, this is quite paranoid, since all the known shells bail
255
# out after a failed `exec'.
256
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
232
260
if test x$as_have_required = xno; then :
1903
1923
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1905
1925
} @%:@ ac_fn_c_check_member
1907
@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1908
@%:@ --------------------------------------------
1909
@%:@ Tries to find the compile-time value of EXPR in a program that includes
1910
@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
1912
ac_fn_c_compute_int ()
1914
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1915
if test "$cross_compiling" = yes; then
1916
# Depending upon the size, compute the lo and hi bounds.
1917
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1918
/* end confdefs.h. */
1923
static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
1924
test_array @<:@0@:>@ = 0
1930
if ac_fn_c_try_compile "$LINENO"; then :
1933
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1934
/* end confdefs.h. */
1939
static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
1940
test_array @<:@0@:>@ = 0
1946
if ac_fn_c_try_compile "$LINENO"; then :
1947
ac_hi=$ac_mid; break
1949
as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1950
if test $ac_lo -le $ac_mid; then
1954
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1956
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1959
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1960
/* end confdefs.h. */
1965
static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
1966
test_array @<:@0@:>@ = 0
1972
if ac_fn_c_try_compile "$LINENO"; then :
1975
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1976
/* end confdefs.h. */
1981
static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
1982
test_array @<:@0@:>@ = 0
1988
if ac_fn_c_try_compile "$LINENO"; then :
1989
ac_lo=$ac_mid; break
1991
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1992
if test $ac_mid -le $ac_hi; then
1996
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1998
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2003
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2005
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2006
# Binary search between lo and hi bounds.
2007
while test "x$ac_lo" != "x$ac_hi"; do
2008
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2009
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2010
/* end confdefs.h. */
2015
static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
2016
test_array @<:@0@:>@ = 0
2022
if ac_fn_c_try_compile "$LINENO"; then :
2025
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2027
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2029
case $ac_lo in @%:@((
2030
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2034
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2035
/* end confdefs.h. */
2037
static long int longval () { return $2; }
2038
static unsigned long int ulongval () { return $2; }
2039
@%:@include <stdio.h>
2040
@%:@include <stdlib.h>
2045
FILE *f = fopen ("conftest.val", "w");
2050
long int i = longval ();
2053
fprintf (f, "%ld", i);
2057
unsigned long int i = ulongval ();
2060
fprintf (f, "%lu", i);
2062
/* Do not output a trailing newline, as this causes \r\n confusion
2063
on some platforms. */
2064
return ferror (f) || fclose (f) != 0;
2070
if ac_fn_c_try_run "$LINENO"; then :
2071
echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2075
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2076
conftest.$ac_objext conftest.beam conftest.$ac_ext
2080
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2081
as_fn_set_status $ac_retval
2083
} @%:@ ac_fn_c_compute_int
2084
1926
cat >config.log <<_ACEOF
2085
1927
This file contains any messages produced by compilers while
2086
1928
running configure, to aid debugging if configure makes a mistake.
2088
1930
It was created by $as_me, which was
2089
generated by GNU Autoconf 2.68. Invocation command line was
1931
generated by GNU Autoconf 2.69. Invocation command line was
4593
if test "x$HAVE_ZLIB" = "xyes"; then
4594
$as_echo "@%:@define HAVE_ZLIB 1" >>confdefs.h
4599
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzopen in -lbz2" >&5
4600
$as_echo_n "checking for BZ2_bzopen in -lbz2... " >&6; }
4601
if ${ac_cv_lib_bz2_BZ2_bzopen+:} false; then :
4602
$as_echo_n "(cached) " >&6
4604
ac_check_lib_save_LIBS=$LIBS
4606
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4607
/* end confdefs.h. */
4609
/* Override any GCC internal prototype to avoid an error.
4610
Use char because int might match the return type of a GCC
4611
builtin and then its argument prototype would still apply. */
4619
return BZ2_bzopen ();
4624
if ac_fn_c_try_link "$LINENO"; then :
4625
ac_cv_lib_bz2_BZ2_bzopen=yes
4627
ac_cv_lib_bz2_BZ2_bzopen=no
4629
rm -f core conftest.err conftest.$ac_objext \
4630
conftest$ac_exeext conftest.$ac_ext
4631
LIBS=$ac_check_lib_save_LIBS
4633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzopen" >&5
4634
$as_echo "$ac_cv_lib_bz2_BZ2_bzopen" >&6; }
4635
if test "x$ac_cv_lib_bz2_BZ2_bzopen" = xyes; then :
4636
ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
4637
if test "x$ac_cv_header_bzlib_h" = xyes; then :
4645
if test "x$HAVE_BZ2" = "xyes"; then
4646
$as_echo "@%:@define HAVE_BZ2 1" >>confdefs.h
4741
4650
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking debian architecture" >&5
4742
4651
$as_echo_n "checking debian architecture... " >&6; }
4743
4652
archset="`dpkg-architecture -qDEB_HOST_ARCH`"
5086
if test x"$apt_cv_c9x_ints" = x"no"; then
5087
# The cast to long int works around a bug in the HP C Compiler
5088
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5089
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5090
# This bug is HP SR number 8606223364.
5091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
5092
$as_echo_n "checking size of char... " >&6; }
5093
if ${ac_cv_sizeof_char+:} false; then :
5094
$as_echo_n "(cached) " >&6
5096
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
5099
if test "$ac_cv_type_char" = yes; then
5100
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5101
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5102
as_fn_error 77 "cannot compute sizeof (char)
5103
See \`config.log' for more details" "$LINENO" 5; }
5110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
5111
$as_echo "$ac_cv_sizeof_char" >&6; }
5115
cat >>confdefs.h <<_ACEOF
5116
@%:@define SIZEOF_CHAR $ac_cv_sizeof_char
5120
# The cast to long int works around a bug in the HP C Compiler
5121
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5122
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5123
# This bug is HP SR number 8606223364.
5124
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
5125
$as_echo_n "checking size of int... " >&6; }
5126
if ${ac_cv_sizeof_int+:} false; then :
5127
$as_echo_n "(cached) " >&6
5129
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
5132
if test "$ac_cv_type_int" = yes; then
5133
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5134
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5135
as_fn_error 77 "cannot compute sizeof (int)
5136
See \`config.log' for more details" "$LINENO" 5; }
5143
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
5144
$as_echo "$ac_cv_sizeof_int" >&6; }
5148
cat >>confdefs.h <<_ACEOF
5149
@%:@define SIZEOF_INT $ac_cv_sizeof_int
5153
# The cast to long int works around a bug in the HP C Compiler
5154
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5155
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5156
# This bug is HP SR number 8606223364.
5157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
5158
$as_echo_n "checking size of short... " >&6; }
5159
if ${ac_cv_sizeof_short+:} false; then :
5160
$as_echo_n "(cached) " >&6
5162
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
5165
if test "$ac_cv_type_short" = yes; then
5166
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5167
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5168
as_fn_error 77 "cannot compute sizeof (short)
5169
See \`config.log' for more details" "$LINENO" 5; }
5171
ac_cv_sizeof_short=0
5176
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
5177
$as_echo "$ac_cv_sizeof_short" >&6; }
5181
cat >>confdefs.h <<_ACEOF
5182
@%:@define SIZEOF_SHORT $ac_cv_sizeof_short
5186
# The cast to long int works around a bug in the HP C Compiler
5187
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5188
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5189
# This bug is HP SR number 8606223364.
5190
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
5191
$as_echo_n "checking size of long... " >&6; }
5192
if ${ac_cv_sizeof_long+:} false; then :
5193
$as_echo_n "(cached) " >&6
5195
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
5198
if test "$ac_cv_type_long" = yes; then
5199
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5200
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5201
as_fn_error 77 "cannot compute sizeof (long)
5202
See \`config.log' for more details" "$LINENO" 5; }
5209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
5210
$as_echo "$ac_cv_sizeof_long" >&6; }
5214
cat >>confdefs.h <<_ACEOF
5215
@%:@define SIZEOF_LONG $ac_cv_sizeof_long
5224
4948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for missing socklen_t" >&5
5225
4949
$as_echo_n "checking for missing socklen_t... " >&6; }
5226
4950
cat confdefs.h - <<_ACEOF >conftest.$ac_ext