summaryrefslogtreecommitdiffstats
path: root/src/appl
diff options
context:
space:
mode:
Diffstat (limited to 'src/appl')
-rw-r--r--src/appl/bsd/ChangeLog3
-rw-r--r--src/appl/bsd/configure.in4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog
index 75066eedb4..253439c524 100644
--- a/src/appl/bsd/ChangeLog
+++ b/src/appl/bsd/ChangeLog
@@ -1,5 +1,8 @@
2003-08-29 Ken Raeburn <raeburn@mit.edu>
+ * configure.in: Call KRB5_AC_NEED_DAEMON instead of checking
+ whether daemon() prototype is needed.
+
* krshd.c (ignore_signals): Split out from cleanup().
(doit): Call it when the shell process has completed, before
calling syslog.
diff --git a/src/appl/bsd/configure.in b/src/appl/bsd/configure.in
index 7bfc68e3bb..5620615597 100644
--- a/src/appl/bsd/configure.in
+++ b/src/appl/bsd/configure.in
@@ -80,9 +80,7 @@ AC_CHECK_HEADERS(unistd.h stdlib.h string.h sys/filio.h sys/sockio.h sys/label.h
AC_HEADER_STDARG
AC_REPLACE_FUNCS(getdtablesize)
dnl
-KRB5_NEED_PROTO([#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif],daemon,1)
+KRB5_AC_NEED_DAEMON
dnl
KRB5_SIGTYPE
CHECK_SIGNALS