@@ -1473,7 +1473,7 @@ Optional Features:
1473
1473
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1474
1474
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1475
1475
--disable-integer-datetimes
1476
- disable 64-bit integer date/time support
1476
+ obsolete option, no longer supported
1477
1477
--enable-nls[=LANGUAGES]
1478
1478
enable Native Language Support
1479
1479
--disable-rpath do not embed shared library search path in
@@ -2984,23 +2984,21 @@ fi
2984
2984
2985
2985
2986
2986
#
2987
- # 64-bit integer date/time storage: enabled by default.
2987
+ # 64-bit integer date/time storage is now the only option, but to avoid
2988
+ # unnecessary breakage of build scripts, continue to accept an explicit
2989
+ # "--enable-integer-datetimes" switch.
2988
2990
#
2989
- {$as_echo " $as_me :${as_lineno-$LINENO } : checking whether to build with 64-bit integer date/time support" >&5
2990
- $as_echo_n " checking whether to build with 64-bit integer date/time support..." >&6 ; }
2991
2991
2992
2992
2993
2993
# Check whether --enable-integer-datetimes was given.
2994
2994
if test " ${enable_integer_datetimes+set} " =set ; then :
2995
2995
enableval=$enable_integer_datetimes ;
2996
2996
case $enableval in
2997
2997
yes)
2998
-
2999
- $as_echo " #define USE_INTEGER_DATETIMES 1" >> confdefs.h
3000
-
2998
+ :
3001
2999
;;
3002
3000
no)
3003
- :
3001
+ as_fn_error $? " --disable-integer-datetimes is no longer supported " " $LINENO " 5
3004
3002
;;
3005
3003
* )
3006
3004
as_fn_error$? " no argument expected for --enable-integer-datetimes option" " $LINENO " 5
@@ -3010,13 +3008,9 @@ $as_echo "#define USE_INTEGER_DATETIMES 1" >>confdefs.h
3010
3008
else
3011
3009
enable_integer_datetimes=yes
3012
3010
3013
- $as_echo " #define USE_INTEGER_DATETIMES 1" >> confdefs.h
3014
-
3015
3011
fi
3016
3012
3017
3013
3018
- {$as_echo " $as_me :${as_lineno-$LINENO } : result:$enable_integer_datetimes " >&5
3019
- $as_echo " $enable_integer_datetimes " >&6 ; }
3020
3014
3021
3015
3022
3016
#
@@ -7588,11 +7582,17 @@ fi
7588
7582
{$as_echo " $as_me :${as_lineno-$LINENO } : checking Python configuration directory" >&5
7589
7583
$as_echo_n " checking Python configuration directory..." >&6 ; }
7590
7584
python_majorversion=` ${PYTHON} -c" import sys; print(sys.version[0])" `
7585
+ python_minorversion=` ${PYTHON} -c" import sys; print(sys.version[2])" `
7591
7586
python_version=` ${PYTHON} -c" import sys; print(sys.version[:3])" `
7592
7587
python_configdir=` ${PYTHON} -c" import distutils.sysconfig; print(' '.join(filter(None,distutils.sysconfig.get_config_vars('LIBPL'))))" `
7593
7588
{$as_echo " $as_me :${as_lineno-$LINENO } : result:$python_configdir " >&5
7594
7589
$as_echo " $python_configdir " >&6 ; }
7595
7590
7591
+ # Reject unsupported Python versions as soon as practical.
7592
+ if test " $python_majorversion " -lt 3 -a" $python_minorversion " -lt 4; then
7593
+ as_fn_error$? " Python version$python_version is too old (version 2.4 or later is required)" " $LINENO " 5
7594
+ fi
7595
+
7596
7596
{$as_echo " $as_me :${as_lineno-$LINENO } : checking Python include directories" >&5
7597
7597
$as_echo_n " checking Python include directories..." >&6 ; }
7598
7598
python_includespec=` ${PYTHON} -c"
@@ -10332,7 +10332,7 @@ fi
10332
10332
# # Header files
10333
10333
# #
10334
10334
10335
- for ac_header in atomic.h crypt.h dld.h fp_class.h getopt.h ieeefp.h ifaddrs.h langinfo.h mbarrier.h poll.hpwd.h sys/epoll.h sys/ioctl.h sys/ ipc.h sys/poll.h sys/pstat.h sys/resource.h sys/select.h sys/sem.h sys/shm.h sys/socket.h sys/ sockio.h sys/tas.h sys/time .h sys/un.h termios.h ucred.h utime.h wchar.h wctype.h
10335
+ for ac_header in atomic.h crypt.h dld.h fp_class.h getopt.h ieeefp.h ifaddrs.h langinfo.h mbarrier.h poll.h sys/epoll.h sys/ipc.h sys/poll.h sys/pstat.h sys/resource.h sys/select.h sys/sem.h sys/shm.h sys/sockio.h sys/tas.h sys/un.h termios.h ucred.h utime.h wchar.h wctype.h
10336
10336
do :
10337
10337
as_ac_Header=` $as_echo " ac_cv_header_$ac_header " | $as_tr_sh `
10338
10338
ac_fn_c_check_header_mongrel" $LINENO " " $ac_header " " $as_ac_Header " " $ac_includes_default "
@@ -10351,9 +10351,7 @@ done
10351
10351
for ac_header in net/if.h
10352
10352
do :
10353
10353
ac_fn_c_check_header_compile" $LINENO " " net/if.h" " ac_cv_header_net_if_h" " $ac_includes_default
10354
- #ifdef HAVE_SYS_SOCKET_H
10355
10354
#include <sys/socket.h>
10356
- #endif
10357
10355
10358
10356
"
10359
10357
if test " x$ac_cv_header_net_if_h " = xyes; then :
@@ -10386,24 +10384,10 @@ done
10386
10384
10387
10385
# At least on IRIX, test for netinet/tcp.h will fail unless
10388
10386
# netinet/in.h is included first.
10389
- for ac_header in netinet/in.h
10390
- do :
10391
- ac_fn_c_check_header_mongrel" $LINENO " " netinet/in.h" " ac_cv_header_netinet_in_h" " $ac_includes_default "
10392
- if test " x$ac_cv_header_netinet_in_h " = xyes; then :
10393
- cat>> confdefs.h<< _ACEOF
10394
- #define HAVE_NETINET_IN_H 1
10395
- _ACEOF
10396
-
10397
- fi
10398
-
10399
- done
10400
-
10401
10387
for ac_header in netinet/tcp.h
10402
10388
do :
10403
10389
ac_fn_c_check_header_compile" $LINENO " " netinet/tcp.h" " ac_cv_header_netinet_tcp_h" " $ac_includes_default
10404
- #ifdef HAVE_NETINET_IN_H
10405
10390
#include <netinet/in.h>
10406
- #endif
10407
10391
10408
10392
"
10409
10393
if test " x$ac_cv_header_netinet_tcp_h " = xyes; then :
@@ -11671,8 +11655,12 @@ $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
11671
11655
fi
11672
11656
11673
11657
ac_fn_c_check_type" $LINENO " " union semun" " ac_cv_type_union_semun" " #include <sys/types.h>
11658
+ #ifdef HAVE_SYS_IPC_H
11674
11659
#include <sys/ipc.h>
11660
+ #endif
11661
+ #ifdef HAVE_SYS_SEM_H
11675
11662
#include <sys/sem.h>
11663
+ #endif
11676
11664
"
11677
11665
if test " x$ac_cv_type_union_semun " = xyes; then :
11678
11666
@@ -11696,9 +11684,7 @@ $as_echo "#define HAVE_UNIX_SOCKETS 1" >>confdefs.h
11696
11684
fi
11697
11685
11698
11686
ac_fn_c_check_type" $LINENO " " struct sockaddr_storage" " ac_cv_type_struct_sockaddr_storage" " #include <sys/types.h>
11699
- #ifdef HAVE_SYS_SOCKET_H
11700
11687
#include <sys/socket.h>
11701
- #endif
11702
11688
11703
11689
"
11704
11690
if test " x$ac_cv_type_struct_sockaddr_storage " = xyes; then :
@@ -11711,9 +11697,7 @@ _ACEOF
11711
11697
fi
11712
11698
11713
11699
ac_fn_c_check_member" $LINENO " " struct sockaddr_storage" " ss_family" " ac_cv_member_struct_sockaddr_storage_ss_family" " #include <sys/types.h>
11714
- #ifdef HAVE_SYS_SOCKET_H
11715
11700
#include <sys/socket.h>
11716
- #endif
11717
11701
11718
11702
"
11719
11703
if test " x$ac_cv_member_struct_sockaddr_storage_ss_family " = xyes; then :
@@ -11725,9 +11709,7 @@ _ACEOF
11725
11709
11726
11710
fi
11727
11711
ac_fn_c_check_member" $LINENO " " struct sockaddr_storage" " __ss_family" " ac_cv_member_struct_sockaddr_storage___ss_family" " #include <sys/types.h>
11728
- #ifdef HAVE_SYS_SOCKET_H
11729
11712
#include <sys/socket.h>
11730
- #endif
11731
11713
11732
11714
"
11733
11715
if test " x$ac_cv_member_struct_sockaddr_storage___ss_family " = xyes; then :
@@ -11739,9 +11721,7 @@ _ACEOF
11739
11721
11740
11722
fi
11741
11723
ac_fn_c_check_member" $LINENO " " struct sockaddr_storage" " ss_len" " ac_cv_member_struct_sockaddr_storage_ss_len" " #include <sys/types.h>
11742
- #ifdef HAVE_SYS_SOCKET_H
11743
11724
#include <sys/socket.h>
11744
- #endif
11745
11725
11746
11726
"
11747
11727
if test " x$ac_cv_member_struct_sockaddr_storage_ss_len " = xyes; then :
@@ -11753,9 +11733,7 @@ _ACEOF
11753
11733
11754
11734
fi
11755
11735
ac_fn_c_check_member" $LINENO " " struct sockaddr_storage" " __ss_len" " ac_cv_member_struct_sockaddr_storage___ss_len" " #include <sys/types.h>
11756
- #ifdef HAVE_SYS_SOCKET_H
11757
11736
#include <sys/socket.h>
11758
- #endif
11759
11737
11760
11738
"
11761
11739
if test " x$ac_cv_member_struct_sockaddr_storage___ss_len " = xyes; then :
@@ -11767,9 +11745,7 @@ _ACEOF
11767
11745
11768
11746
fi
11769
11747
ac_fn_c_check_member" $LINENO " " struct sockaddr" " sa_len" " ac_cv_member_struct_sockaddr_sa_len" " #include <sys/types.h>
11770
- #ifdef HAVE_SYS_SOCKET_H
11771
11748
#include <sys/socket.h>
11772
- #endif
11773
11749
11774
11750
"
11775
11751
if test " x$ac_cv_member_struct_sockaddr_sa_len " = xyes; then :
@@ -12427,12 +12403,8 @@ else
12427
12403
for ac_cv_func_accept_arg3 in ' int' ' size_t' ' socklen_t' ' unsigned int' ' void' ; do
12428
12404
cat confdefs.h -<< _ACEOF >conftest.$ac_ext
12429
12405
/* end confdefs.h. */
12430
- #ifdef HAVE_SYS_TYPES_H
12431
12406
#include <sys/types.h>
12432
- #endif
12433
- #ifdef HAVE_SYS_SOCKET_H
12434
12407
#include <sys/socket.h>
12435
- #endif
12436
12408
extern$ac_cv_func_accept_return accept ($ac_cv_func_accept_arg1 ,$ac_cv_func_accept_arg2 ,$ac_cv_func_accept_arg3 *);
12437
12409
_ACEOF
12438
12410
if ac_fn_c_try_compile" $LINENO " ; then :