Instead of special casing _AIX in network.c, look for
authorSam Hartman <hartmans@mit.edu>
Tue, 13 Jun 1995 22:22:32 +0000 (22:22 +0000)
committerSam Hartman <hartmans@mit.edu>
Tue, 13 Jun 1995 22:22:32 +0000 (22:22 +0000)
SYS_SELECT_H in configure.in and check this symbol to include
sys/select.h in network.c.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6056 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/ChangeLog
src/kdc/configure.in
src/kdc/network.c

index cfe9ef4fe7df201607558a61f57a48b6c13e8088..b23d1ac7114effe669dc7c2edcb68c81caa6cbdd 100644 (file)
@@ -1,3 +1,10 @@
+Tue Jun 13 12:44:20 1995  Sam Hartman  <hartmans@tardis.MIT.EDU>
+
+       * network.c: Base inclusion of sys/select.h on whether it exists
+        instead of a specific test for AIX.
+
+       * configure.in: Test for sys/select.h
+
 Mon Jun 12 20:01:23 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
 
        * kdc_util.c (kdc_process_tgs_req): Set the auth_context rcache to
index 32f2d668ed8618757e2fa07aea13b34c91c5d1ef..154fd0ba66ee40f5e55a59557465582d03dc1ff6 100644 (file)
@@ -4,6 +4,7 @@ AC_PROG_INSTALL
 AC_CHECK_LIB(ndbm,main)
 AC_CHECK_LIB(dbm,main)
 AC_HEADER_CHECK(termios.h,AC_FUNC_CHECK([tcsetattr],AC_DEFINE(POSIX_TERMIOS)))
+AC_CHECK_HEADERS(sys/select.h)
 ET_RULES
 HAS_ANSI_VOLATILE
 V5_AC_OUTPUT_MAKEFILE
index f7bcec2eab9b8486387b5ddea083b7ace0277e37..5b8b8b3e0f3170c034675dd841b910ae607829fd 100644 (file)
@@ -34,7 +34,7 @@
 #include <netinet/in.h>
 #include <sys/socket.h>
 #include <sys/time.h>
-#if defined(_AIX) || defined(AIXArchitecture)
+#if HAVE_SYS_SELECT_H
 #include <sys/select.h>
 #endif
 #include <arpa/inet.h>