@@ -712,8 +712,6 @@ MODULE_OSSAUDIODEV_FALSE
712
712
MODULE_OSSAUDIODEV_TRUE
713
713
MODULE_GRP_FALSE
714
714
MODULE_GRP_TRUE
715
- MODULE__POSIXSHMEM_FALSE
716
- MODULE__POSIXSHMEM_TRUE
717
715
MODULE_MMAP_FALSE
718
716
MODULE_MMAP_TRUE
719
717
MODULE_FCNTL_FALSE
@@ -728,6 +726,10 @@ MODULE__STATISTICS_FALSE
728
726
MODULE__STATISTICS_TRUE
729
727
MODULE_AUDIOOP_FALSE
730
728
MODULE_AUDIOOP_TRUE
729
+ MODULE__POSIXSHMEM_FALSE
730
+ MODULE__POSIXSHMEM_TRUE
731
+ MODULE__MULTIPROCESSING_FALSE
732
+ MODULE__MULTIPROCESSING_TRUE
731
733
MODULE__ZONEINFO_FALSE
732
734
MODULE__ZONEINFO_TRUE
733
735
MODULE__XXSUBINTERPRETERS_FALSE
@@ -10382,6 +10384,9 @@ fi
10382
10384
# Dynamic linking for HP-UX
10383
10385
10384
10386
10387
+
10388
+
10389
+
10385
10390
have_uuid=missing
10386
10391
10387
10392
for ac_header in uuid.h
@@ -10414,10 +10419,6 @@ fi
10414
10419
done
10415
10420
10416
10421
10417
-
10418
-
10419
-
10420
-
10421
10422
if test "x$have_uuid" = xmissing; then :
10422
10423
10423
10424
@@ -17601,11 +17602,6 @@ done
17601
17602
17602
17603
LIBS=$LIBS_SAVE
17603
17604
17604
- # For multiprocessing module, check that sem_open
17605
- # actually works. For FreeBSD versions <= 7.2,
17606
- # the kernel module that provides POSIX semaphores
17607
- # isn't loaded by default, so an attempt to call
17608
- # sem_open results in a 'Signal 12' error.
17609
17605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether POSIX semaphores are enabled" >&5
17610
17606
$as_echo_n "checking whether POSIX semaphores are enabled... " >&6; }
17611
17607
if ${ac_cv_posix_semaphores_enabled+:} false; then :
@@ -17617,22 +17613,24 @@ else
17617
17613
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17618
17614
/* end confdefs.h. */
17619
17615
17620
- #include <unistd.h>
17621
- #include <fcntl.h>
17622
- #include <stdio.h>
17623
- #include <semaphore.h>
17624
- #include <sys/stat.h>
17625
17616
17626
- int main(void) {
17627
- sem_t *a = sem_open("/autoconf", O_CREAT, S_IRUSR|S_IWUSR, 0);
17628
- if (a == SEM_FAILED) {
17629
- perror("sem_open");
17630
- return 1;
17631
- }
17632
- sem_close(a);
17633
- sem_unlink("/autoconf");
17634
- return 0;
17635
- }
17617
+ #include <unistd.h>
17618
+ #include <fcntl.h>
17619
+ #include <stdio.h>
17620
+ #include <semaphore.h>
17621
+ #include <sys/stat.h>
17622
+
17623
+ int main(void) {
17624
+ sem_t *a = sem_open("/autoconf", O_CREAT, S_IRUSR|S_IWUSR, 0);
17625
+ if (a == SEM_FAILED) {
17626
+ perror("sem_open");
17627
+ return 1;
17628
+ }
17629
+ sem_close(a);
17630
+ sem_unlink("/autoconf");
17631
+ return 0;
17632
+ }
17633
+
17636
17634
17637
17635
_ACEOF
17638
17636
if ac_fn_c_try_run "$LINENO"; then :
@@ -17648,14 +17646,14 @@ fi
17648
17646
fi
17649
17647
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_semaphores_enabled" >&5
17650
17648
$as_echo "$ac_cv_posix_semaphores_enabled" >&6; }
17651
- if test $ac_cv_posix_semaphores_enabled = no
17652
- then
17649
+ if test "x $ac_cv_posix_semaphores_enabled" = xno; then :
17650
+
17653
17651
17654
17652
$as_echo "#define POSIX_SEMAPHORES_NOT_ENABLED 1" >>confdefs.h
17655
17653
17654
+
17656
17655
fi
17657
17656
17658
- # Multiprocessing check for broken sem_getvalue
17659
17657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken sem_getvalue" >&5
17660
17658
$as_echo_n "checking for broken sem_getvalue... " >&6; }
17661
17659
if ${ac_cv_broken_sem_getvalue+:} false; then :
@@ -17667,26 +17665,28 @@ else
17667
17665
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17668
17666
/* end confdefs.h. */
17669
17667
17670
- #include <unistd.h>
17671
- #include <fcntl.h>
17672
- #include <stdio.h>
17673
- #include <semaphore.h>
17674
- #include <sys/stat.h>
17675
17668
17676
- int main(void){
17677
- sem_t *a = sem_open("/autocftw", O_CREAT, S_IRUSR|S_IWUSR, 0);
17678
- int count;
17679
- int res;
17680
- if(a==SEM_FAILED){
17681
- perror("sem_open");
17682
- return 1;
17669
+ #include <unistd.h>
17670
+ #include <fcntl.h>
17671
+ #include <stdio.h>
17672
+ #include <semaphore.h>
17673
+ #include <sys/stat.h>
17674
+
17675
+ int main(void){
17676
+ sem_t *a = sem_open("/autocftw", O_CREAT, S_IRUSR|S_IWUSR, 0);
17677
+ int count;
17678
+ int res;
17679
+ if(a==SEM_FAILED){
17680
+ perror("sem_open");
17681
+ return 1;
17682
+
17683
+ }
17684
+ res = sem_getvalue(a, &count);
17685
+ sem_close(a);
17686
+ sem_unlink("/autocftw");
17687
+ return res==-1 ? 1 : 0;
17688
+ }
17683
17689
17684
- }
17685
- res = sem_getvalue(a, &count);
17686
- sem_close(a);
17687
- sem_unlink("/autocftw");
17688
- return res==-1 ? 1 : 0;
17689
- }
17690
17690
17691
17691
_ACEOF
17692
17692
if ac_fn_c_try_run "$LINENO"; then :
@@ -17702,11 +17702,12 @@ fi
17702
17702
fi
17703
17703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_sem_getvalue" >&5
17704
17704
$as_echo "$ac_cv_broken_sem_getvalue" >&6; }
17705
- if test $ac_cv_broken_sem_getvalue = yes
17706
- then
17705
+ if test "x $ac_cv_broken_sem_getvalue" = xyes; then :
17706
+
17707
17707
17708
17708
$as_echo "#define HAVE_BROKEN_SEM_GETVALUE 1" >>confdefs.h
17709
17709
17710
+
17710
17711
fi
17711
17712
17712
17713
ac_fn_c_check_decl "$LINENO" "RTLD_LAZY" "ac_cv_have_decl_RTLD_LAZY" "#include <dlfcn.h>
@@ -21207,6 +21208,54 @@ fi
21207
21208
as_fn_append MODULE_BLOCK "MODULE__ZONEINFO=yes$as_nl"
21208
21209
21209
21210
21211
+ if true; then
21212
+ MODULE__MULTIPROCESSING_TRUE=
21213
+ MODULE__MULTIPROCESSING_FALSE='#'
21214
+ else
21215
+ MODULE__MULTIPROCESSING_TRUE='#'
21216
+ MODULE__MULTIPROCESSING_FALSE=
21217
+ fi
21218
+ as_fn_append MODULE_BLOCK "MODULE__MULTIPROCESSING=yes$as_nl"
21219
+ as_fn_append MODULE_BLOCK "MODULE__MULTIPROCESSING_CFLAGS=-I\$(srcdir)/Modules/_multiprocessing$as_nl"
21220
+
21221
+
21222
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _posixshmem" >&5
21223
+ $as_echo_n "checking for stdlib extension module _posixshmem... " >&6; }
21224
+ case $py_stdlib_not_available in #(
21225
+ *_posixshmem*) :
21226
+ py_cv_module__posixshmem=n/a ;; #(
21227
+ *) :
21228
+ if true; then :
21229
+ if test "$have_posix_shmem" = "yes"; then :
21230
+ py_cv_module__posixshmem=yes
21231
+ else
21232
+ py_cv_module__posixshmem=missing
21233
+ fi
21234
+ else
21235
+ py_cv_module__posixshmem=disabled
21236
+ fi
21237
+ ;;
21238
+ esac
21239
+ as_fn_append MODULE_BLOCK "MODULE__POSIXSHMEM=$py_cv_module__posixshmem$as_nl"
21240
+ if test "x$py_cv_module__posixshmem" = xyes; then :
21241
+
21242
+ as_fn_append MODULE_BLOCK "MODULE__POSIXSHMEM_CFLAGS=$POSIXSHMEM_CFLAGS$as_nl"
21243
+ as_fn_append MODULE_BLOCK "MODULE__POSIXSHMEM_LDFLAGS=$POSIXSHMEM_LIBS$as_nl"
21244
+
21245
+ fi
21246
+ if test "$py_cv_module__posixshmem" = yes; then
21247
+ MODULE__POSIXSHMEM_TRUE=
21248
+ MODULE__POSIXSHMEM_FALSE='#'
21249
+ else
21250
+ MODULE__POSIXSHMEM_TRUE='#'
21251
+ MODULE__POSIXSHMEM_FALSE=
21252
+ fi
21253
+
21254
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__posixshmem" >&5
21255
+ $as_echo "$py_cv_module__posixshmem" >&6; }
21256
+
21257
+
21258
+
21210
21259
if true; then
21211
21260
MODULE_AUDIOOP_TRUE=
21212
21261
MODULE_AUDIOOP_FALSE='#'
@@ -21336,42 +21385,6 @@ fi
21336
21385
$as_echo "$py_cv_module_mmap" >&6; }
21337
21386
21338
21387
21339
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _posixshmem" >&5
21340
- $as_echo_n "checking for stdlib extension module _posixshmem... " >&6; }
21341
- case $py_stdlib_not_available in #(
21342
- *_posixshmem*) :
21343
- py_cv_module__posixshmem=n/a ;; #(
21344
- *) :
21345
- if true; then :
21346
- if test "$have_posix_shmem" = "yes"; then :
21347
- py_cv_module__posixshmem=yes
21348
- else
21349
- py_cv_module__posixshmem=missing
21350
- fi
21351
- else
21352
- py_cv_module__posixshmem=disabled
21353
- fi
21354
- ;;
21355
- esac
21356
- as_fn_append MODULE_BLOCK "MODULE__POSIXSHMEM=$py_cv_module__posixshmem$as_nl"
21357
- if test "x$py_cv_module__posixshmem" = xyes; then :
21358
-
21359
- as_fn_append MODULE_BLOCK "MODULE__POSIXSHMEM_CFLAGS=$POSIXSHMEM_CFLAGS$as_nl"
21360
- as_fn_append MODULE_BLOCK "MODULE__POSIXSHMEM_LDFLAGS=$POSIXSHMEM_LIBS$as_nl"
21361
-
21362
- fi
21363
- if test "$py_cv_module__posixshmem" = yes; then
21364
- MODULE__POSIXSHMEM_TRUE=
21365
- MODULE__POSIXSHMEM_FALSE='#'
21366
- else
21367
- MODULE__POSIXSHMEM_TRUE='#'
21368
- MODULE__POSIXSHMEM_FALSE=
21369
- fi
21370
-
21371
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__posixshmem" >&5
21372
- $as_echo "$py_cv_module__posixshmem" >&6; }
21373
-
21374
-
21375
21388
21376
21389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module grp" >&5
21377
21390
$as_echo_n "checking for stdlib extension module grp... " >&6; }
@@ -22929,6 +22942,14 @@ if test -z "${MODULE__ZONEINFO_TRUE}" && test -z "${MODULE__ZONEINFO_FALSE}"; th
22929
22942
as_fn_error $? "conditional \"MODULE__ZONEINFO\" was never defined.
22930
22943
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22931
22944
fi
22945
+ if test -z "${MODULE__MULTIPROCESSING_TRUE}" && test -z "${MODULE__MULTIPROCESSING_FALSE}"; then
22946
+ as_fn_error $? "conditional \"MODULE__MULTIPROCESSING\" was never defined.
22947
+ Usually this means the macro was only invoked conditionally." "$LINENO" 5
22948
+ fi
22949
+ if test -z "${MODULE__POSIXSHMEM_TRUE}" && test -z "${MODULE__POSIXSHMEM_FALSE}"; then
22950
+ as_fn_error $? "conditional \"MODULE__POSIXSHMEM\" was never defined.
22951
+ Usually this means the macro was only invoked conditionally." "$LINENO" 5
22952
+ fi
22932
22953
if test -z "${MODULE_AUDIOOP_TRUE}" && test -z "${MODULE_AUDIOOP_FALSE}"; then
22933
22954
as_fn_error $? "conditional \"MODULE_AUDIOOP\" was never defined.
22934
22955
Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -22957,10 +22978,6 @@ if test -z "${MODULE_MMAP_TRUE}" && test -z "${MODULE_MMAP_FALSE}"; then
22957
22978
as_fn_error $? "conditional \"MODULE_MMAP\" was never defined.
22958
22979
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22959
22980
fi
22960
- if test -z "${MODULE__POSIXSHMEM_TRUE}" && test -z "${MODULE__POSIXSHMEM_FALSE}"; then
22961
- as_fn_error $? "conditional \"MODULE__POSIXSHMEM\" was never defined.
22962
- Usually this means the macro was only invoked conditionally." "$LINENO" 5
22963
- fi
22964
22981
if test -z "${MODULE_GRP_TRUE}" && test -z "${MODULE_GRP_FALSE}"; then
22965
22982
as_fn_error $? "conditional \"MODULE_GRP\" was never defined.
22966
22983
Usually this means the macro was only invoked conditionally." "$LINENO" 5
0 commit comments