mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Stupid typo in the pthread_t test
This commit is contained in:
parent
19f977ba40
commit
1258049de0
2 changed files with 3 additions and 3 deletions
4
configure
vendored
4
configure
vendored
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# From configure.in Revision: 1.162
|
# From configure.in Revision: 1.163
|
||||||
|
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated automatically using autoconf version 2.13
|
# Generated automatically using autoconf version 2.13
|
||||||
|
@ -2522,7 +2522,7 @@ cat > conftest.$ac_ext <<EOF
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
int main() {
|
int main() {
|
||||||
pthread_t x; x = *(pthread_t)*0;
|
pthread_t x; x = *(pthread_t*)0;
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:2529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:2529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
|
|
|
@ -477,7 +477,7 @@ AC_DEFINE_UNQUOTED(SIZEOF_TIME_T, $ac_cv_sizeof_time_t)
|
||||||
# if have pthread_t then define SIZEOF_PTHREAD_T
|
# if have pthread_t then define SIZEOF_PTHREAD_T
|
||||||
AC_MSG_CHECKING(for pthread_t)
|
AC_MSG_CHECKING(for pthread_t)
|
||||||
have_pthread_t=no
|
have_pthread_t=no
|
||||||
AC_TRY_COMPILE([#include <pthread.h>], [pthread_t x; x = *(pthread_t)*0;], have_pthread_t=yes)
|
AC_TRY_COMPILE([#include <pthread.h>], [pthread_t x; x = *(pthread_t*)0;], have_pthread_t=yes)
|
||||||
AC_MSG_RESULT($have_pthread_t)
|
AC_MSG_RESULT($have_pthread_t)
|
||||||
if test "$have_pthread_t" = yes ; then
|
if test "$have_pthread_t" = yes ; then
|
||||||
# AC_CHECK_SIZEOF() doesn't include <pthread.h>.
|
# AC_CHECK_SIZEOF() doesn't include <pthread.h>.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue