diff options
author | Ken Raeburn <raeburn@mit.edu> | 2003-08-30 01:09:41 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2003-08-30 01:09:41 +0000 |
commit | 078fda0b90ecc040ea8d4ba2130eb46bc567f480 (patch) | |
tree | 17742669ee50ebf48072145454fb3fa96b2b5b13 /src/appl | |
parent | 8b1bc6112f43e707d007f8b82d6c8c50775c4328 (diff) | |
download | krb5-078fda0b90ecc040ea8d4ba2130eb46bc567f480.tar.gz krb5-078fda0b90ecc040ea8d4ba2130eb46bc567f480.tar.xz krb5-078fda0b90ecc040ea8d4ba2130eb46bc567f480.zip |
Copy and build daemon.c in whatever directories need it, instead of building it
into the krb5 library.
* aclocal.m4 (KRB5_AC_NEED_DAEMON): New macro.
* appl/bsd/configure.in, kadmin/configure.in, kdc/configure.in,
krb524/configure.in, slave/configure.in: Use it. Don't directly check if
prototype for daemon() is needed.
* kadmin/server/Makefile.in (OBJS), kadmin/v5passwdd/Makefile.in (SERV_OBJS),
kdc/Makefile.in (OBJS, fakeka), krb524/Makefile.in (SERVER_OBJS),
slave/Makefile.in (SERVEROBJS): Use LIBOBJS.
* config/post.in (daemon.c): New rule for copying daemon.c locally
from lib/krb5/posix.
ticket: 1791
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15801 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl')
-rw-r--r-- | src/appl/bsd/ChangeLog | 3 | ||||
-rw-r--r-- | src/appl/bsd/configure.in | 4 |
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 |