* configure.in: Test system header files for daemon prototype
authorEzra Peisach <epeisach@mit.edu>
Thu, 21 Jun 2001 18:02:21 +0000 (18:02 +0000)
committerEzra Peisach <epeisach@mit.edu>
Thu, 21 Jun 2001 18:02:21 +0000 (18:02 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13457 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/ChangeLog
src/kadmin/configure.in

index 295197164769f307c5cfc2dfd16b108c380d88f6..1b3a0adbcdf6731c2f4e54e1b7715620c308fc48 100644 (file)
@@ -1,3 +1,7 @@
+2001-06-21  Ezra Peisach  <epeisach@mit.edu>
+
+       * configure.in: Test system header files for daemon prototype.
+
 2001-06-18  Ezra Peisach  <epeisach@mit.edu>
 
        * configure.in: Check for regex.h
index f170503ec276b2e232e8d2f40a781b603b1456e7..08a28ca8c458fb4e617e1bba8361728fca62a879 100644 (file)
@@ -6,6 +6,9 @@ AC_PROG_AWK
 AC_CHECK_HEADERS(unistd.h stdlib.h krb_db.h kdc.h regex.h alloca.h sys/time.h sys/select.h memory.h arpa/inet.h)
 AC_CHECK_FUNCS(ftime timezone getcwd strstr waitpid vsprintf)
 AC_REPLACE_FUNCS([memmove strftime])
+KRB5_NEED_PROTO([#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif],daemon,1)
 AC_HEADER_TIME
 CHECK_SIGNALS
 CHECK_WAIT_TYPE