Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/compat Check for <poll.h> and poll(2).
details: https://anonhg.NetBSD.org/src/rev/4ecc1682485f
branches: trunk
changeset: 537708:4ecc1682485f
user: thorpej <thorpej%NetBSD.org@localhost>
date: Fri Oct 04 22:10:10 2002 +0000
description:
Check for <poll.h> and poll(2).
diffstat:
tools/compat/config.h.in | 4 +++-
tools/compat/configure | 4 ++--
tools/compat/configure.ac | 6 +++---
3 files changed, 8 insertions(+), 6 deletions(-)
diffs (73 lines):
diff -r 9536cfbde25e -r 4ecc1682485f tools/compat/config.h.in
--- a/tools/compat/config.h.in Fri Oct 04 21:23:06 2002 +0000
+++ b/tools/compat/config.h.in Fri Oct 04 22:10:10 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: config.h.in,v 1.22 2002/09/16 04:10:36 briggs Exp $ */
+/* $NetBSD: config.h.in,v 1.23 2002/10/04 22:10:10 thorpej Exp $ */
#ifndef __NETBSD_COMPAT_CONFIG_H__
#define __NETBSD_COMPAT_CONFIG_H__
@@ -17,6 +17,7 @@
#undef HAVE_NETDB_H
#undef HAVE_MACHINE_BSWAP_H
#undef HAVE_MALLOC_H
+#undef HAVE_POLL_H
#undef HAVE_STDDEF_H
#undef HAVE_STRING_H
#undef HAVE_SYS_DIR_H
@@ -63,6 +64,7 @@
#undef HAVE_LUTIMES
#undef HAVE_MKSTEMP
#undef HAVE_MKDTEMP
+#undef HAVE_POLL
#undef HAVE_PREAD
#undef HAVE_PWCACHE_USERDB
#undef HAVE_PWRITE
diff -r 9536cfbde25e -r 4ecc1682485f tools/compat/configure
--- a/tools/compat/configure Fri Oct 04 21:23:06 2002 +0000
+++ b/tools/compat/configure Fri Oct 04 22:10:10 2002 +0000
@@ -2293,7 +2293,7 @@
for ac_header in sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \
sys/stat.h sys/time.h sys/types.h sys/utsname.h sys/wait.h \
assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
- netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
+ netdb.h poll.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
termios.h unistd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
@@ -4584,7 +4584,7 @@
for ac_func in asprintf asnprintf basename dirfd dirname \
fgetln flock fparseln futimes getopt getopt_long \
isblank issetugid lchmod lchown lutimes mkstemp mkdtemp \
- pread pwcache_userdb pwrite random setenv setgroupent \
+ poll pread pwcache_userdb pwrite random setenv setgroupent \
setprogname setpassent snprintf strlcat strlcpy strsep \
user_from_uid vasprintf vasnprintf vsnprintf
do
diff -r 9536cfbde25e -r 4ecc1682485f tools/compat/configure.ac
--- a/tools/compat/configure.ac Fri Oct 04 21:23:06 2002 +0000
+++ b/tools/compat/configure.ac Fri Oct 04 22:10:10 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: configure.ac,v 1.24 2002/09/16 04:10:37 briggs Exp $
+# $NetBSD: configure.ac,v 1.25 2002/10/04 22:10:10 thorpej Exp $
#
# Autoconf definition file for libnbcompat.
#
@@ -30,7 +30,7 @@
AC_CHECK_HEADERS(sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \
sys/stat.h sys/time.h sys/types.h sys/utsname.h sys/wait.h \
assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
- netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
+ netdb.h poll.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
termios.h unistd.h,,
AC_MSG_ERROR([standard system header file not found]))
@@ -96,7 +96,7 @@
AC_CHECK_FUNCS(asprintf asnprintf basename dirfd dirname \
fgetln flock fparseln futimes getopt getopt_long \
isblank issetugid lchmod lchown lutimes mkstemp mkdtemp \
- pread pwcache_userdb pwrite random setenv setgroupent \
+ poll pread pwcache_userdb pwrite random setenv setgroupent \
setprogname setpassent snprintf strlcat strlcpy strsep \
user_from_uid vasprintf vasnprintf vsnprintf)
Home |
Main Index |
Thread Index |
Old Index