summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2000-08-25 01:14:08 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2000-08-25 01:14:08 (GMT)
commit5821b777828b98abe7f3cfed21709f09423d0dfa (patch)
tree63b54b7acd06b352a89dbe0d19c03d50b5adcd04
parent65f39adfb36c13e4f5a8400ce2e61e8f1ea04e39 (diff)
downloadcpython-5821b777828b98abe7f3cfed21709f09423d0dfa.zip
cpython-5821b777828b98abe7f3cfed21709f09423d0dfa.tar.gz
cpython-5821b777828b98abe7f3cfed21709f09423d0dfa.tar.bz2
Add configure tests for poll() (SF patch #100852)
-rw-r--r--config.h.in6
-rwxr-xr-xconfigure6
-rw-r--r--configure.in4
3 files changed, 11 insertions, 5 deletions
diff --git a/config.h.in b/config.h.in
index fcc58bc..8beec1c 100644
--- a/config.h.in
+++ b/config.h.in
@@ -404,6 +404,9 @@
/* Define if you have the plock function. */
#undef HAVE_PLOCK
+/* Define if you have the poll function. */
+#undef HAVE_POLL
+
/* Define if you have the pthread_init function. */
#undef HAVE_PTHREAD_INIT
@@ -536,6 +539,9 @@
/* Define if you have the <ndir.h> header file. */
#undef HAVE_NDIR_H
+/* Define if you have the <poll.h> header file. */
+#undef HAVE_POLL_H
+
/* Define if you have the <pthread.h> header file. */
#undef HAVE_PTHREAD_H
diff --git a/configure b/configure
index 563f0f6..e01e96a 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
-# From configure.in Revision: 1.146
+# From configure.in Revision: 1.147
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
@@ -1536,7 +1536,7 @@ EOF
fi
-for ac_hdr in dlfcn.h fcntl.h limits.h locale.h ncurses.h pthread.h \
+for ac_hdr in dlfcn.h fcntl.h limits.h locale.h ncurses.h poll.h pthread.h \
signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h \
sys/audioio.h sys/file.h sys/lock.h \
sys/param.h sys/select.h sys/socket.h sys/time.h sys/times.h \
@@ -3798,7 +3798,7 @@ for ac_func in alarm chown clock confstr ctermid ctermid_r execv \
flock fork fsync fdatasync fpathconf ftime ftruncate \
getgroups getlogin getpeername getpid getpwent getwd \
kill link lstat mkfifo mktime mremap \
- nice pathconf pause plock pthread_init \
+ nice pathconf pause plock poll pthread_init \
putenv readlink \
select setegid seteuid setgid \
setlocale setregid setreuid setsid setpgid setuid setvbuf \
diff --git a/configure.in b/configure.in
index 6f45634..bb341c6 100644
--- a/configure.in
+++ b/configure.in
@@ -367,7 +367,7 @@ dnl AC_MSG_RESULT($cpp_type)
# checks for header files
AC_HEADER_STDC
-AC_CHECK_HEADERS(dlfcn.h fcntl.h limits.h locale.h ncurses.h pthread.h \
+AC_CHECK_HEADERS(dlfcn.h fcntl.h limits.h locale.h ncurses.h poll.h pthread.h \
signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h \
sys/audioio.h sys/file.h sys/lock.h \
sys/param.h sys/select.h sys/socket.h sys/time.h sys/times.h \
@@ -872,7 +872,7 @@ AC_CHECK_FUNCS(alarm chown clock confstr ctermid ctermid_r execv \
flock fork fsync fdatasync fpathconf ftime ftruncate \
getgroups getlogin getpeername getpid getpwent getwd \
kill link lstat mkfifo mktime mremap \
- nice pathconf pause plock pthread_init \
+ nice pathconf pause plock poll pthread_init \
putenv readlink \
select setegid seteuid setgid \
setlocale setregid setreuid setsid setpgid setuid setvbuf \