|
|
@@ -1337,7 +1337,7 @@ Optional Features:
|
|
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
|
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
|
|
--disable-ipv6 disable IPv6 support
|
|
|
- --disable-script-tcl disable TCL Script support
|
|
|
+ --enable-script-tcl enable TCL Script support
|
|
|
|
|
|
Optional Packages:
|
|
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|
|
@@ -5824,19 +5824,19 @@ if test "${enable_script_tcl+set}" = set; then :
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
|
|
|
$as_echo "$enableval" >&6; }
|
|
|
|
|
|
+$as_echo "#define USE_SCRIPT_TCL 1" >>build/confdefs.h
|
|
|
+
|
|
|
+
|
|
|
else
|
|
|
|
|
|
- # default if not given is ENABLED
|
|
|
+ # default if not given is DISABLED
|
|
|
if test "x$enableval" = "x"; then
|
|
|
- enableval="yes"
|
|
|
+ enableval="no"
|
|
|
fi
|
|
|
enable_script_tcl=$enableval
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
|
|
|
$as_echo "$enableval" >&6; }
|
|
|
|
|
|
-$as_echo "#define USE_SCRIPT_TCL 1" >>build/confdefs.h
|
|
|
-
|
|
|
-
|
|
|
|
|
|
fi
|
|
|
|
|
|
@@ -7003,12 +7003,14 @@ $as_echo "#define gid_t int" >>build/confdefs.h
|
|
|
fi
|
|
|
|
|
|
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
|
|
|
-$as_echo_n "checking for long long int... " >&6; }
|
|
|
-if ${ac_cv_type_long_long_int+:} false; then :
|
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
|
|
|
+$as_echo_n "checking for unsigned long long int... " >&6; }
|
|
|
+if ${ac_cv_type_unsigned_long_long_int+:} false; then :
|
|
|
$as_echo_n "(cached) " >&6
|
|
|
else
|
|
|
- cat build/confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
+ ac_cv_type_unsigned_long_long_int=yes
|
|
|
+ if test "x${ac_cv_prog_cc_c99-no}" = xno; then
|
|
|
+ cat build/confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
/* end build/confdefs.h. */
|
|
|
|
|
|
/* For now, do not test the preprocessor; as of 2007 there are too many
|
|
|
@@ -7041,37 +7043,64 @@ main ()
|
|
|
|
|
|
_ACEOF
|
|
|
if ac_fn_cxx_try_link "$LINENO"; then :
|
|
|
- if test "$cross_compiling" = yes; then :
|
|
|
+
|
|
|
+else
|
|
|
+ ac_cv_type_unsigned_long_long_int=no
|
|
|
+fi
|
|
|
+rm -f core conftest.err conftest.$ac_objext \
|
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
|
+ fi
|
|
|
+fi
|
|
|
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
|
|
|
+$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
|
|
|
+ if test $ac_cv_type_unsigned_long_long_int = yes; then
|
|
|
+
|
|
|
+$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>build/confdefs.h
|
|
|
+
|
|
|
+ fi
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
|
|
|
+$as_echo_n "checking for long long int... " >&6; }
|
|
|
+if ${ac_cv_type_long_long_int+:} false; then :
|
|
|
+ $as_echo_n "(cached) " >&6
|
|
|
+else
|
|
|
ac_cv_type_long_long_int=yes
|
|
|
+ if test "x${ac_cv_prog_cc_c99-no}" = xno; then
|
|
|
+ ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
|
|
|
+ if test $ac_cv_type_long_long_int = yes; then
|
|
|
+ if test "$cross_compiling" = yes; then :
|
|
|
+ :
|
|
|
else
|
|
|
cat build/confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
/* end build/confdefs.h. */
|
|
|
#include <limits.h>
|
|
|
- #ifndef LLONG_MAX
|
|
|
- # define HALF \
|
|
|
- (1LL << (sizeof (long long int) * CHAR_BIT - 2))
|
|
|
- # define LLONG_MAX (HALF - 1 + HALF)
|
|
|
- #endif
|
|
|
+ #ifndef LLONG_MAX
|
|
|
+ # define HALF \
|
|
|
+ (1LL << (sizeof (long long int) * CHAR_BIT - 2))
|
|
|
+ # define LLONG_MAX (HALF - 1 + HALF)
|
|
|
+ #endif
|
|
|
int
|
|
|
main ()
|
|
|
{
|
|
|
long long int n = 1;
|
|
|
- int i;
|
|
|
- for (i = 0; ; i++)
|
|
|
- {
|
|
|
- long long int m = n << i;
|
|
|
- if (m >> i != n)
|
|
|
- return 1;
|
|
|
- if (LLONG_MAX / 2 < m)
|
|
|
- break;
|
|
|
- }
|
|
|
- return 0;
|
|
|
+ int i;
|
|
|
+ for (i = 0; ; i++)
|
|
|
+ {
|
|
|
+ long long int m = n << i;
|
|
|
+ if (m >> i != n)
|
|
|
+ return 1;
|
|
|
+ if (LLONG_MAX / 2 < m)
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ return 0;
|
|
|
;
|
|
|
return 0;
|
|
|
}
|
|
|
_ACEOF
|
|
|
if ac_fn_cxx_try_run "$LINENO"; then :
|
|
|
- ac_cv_type_long_long_int=yes
|
|
|
+
|
|
|
else
|
|
|
ac_cv_type_long_long_int=no
|
|
|
fi
|
|
|
@@ -7079,11 +7108,8 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
|
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
|
fi
|
|
|
|
|
|
-else
|
|
|
- ac_cv_type_long_long_int=no
|
|
|
-fi
|
|
|
-rm -f core conftest.err conftest.$ac_objext \
|
|
|
- conftest$ac_exeext conftest.$ac_ext
|
|
|
+ fi
|
|
|
+ fi
|
|
|
fi
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
|
|
|
$as_echo "$ac_cv_type_long_long_int" >&6; }
|