summaryrefslogtreecommitdiffstats
path: root/src/config/post.in
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2003-08-30 01:09:41 +0000
committerKen Raeburn <raeburn@mit.edu>2003-08-30 01:09:41 +0000
commit078fda0b90ecc040ea8d4ba2130eb46bc567f480 (patch)
tree17742669ee50ebf48072145454fb3fa96b2b5b13 /src/config/post.in
parent8b1bc6112f43e707d007f8b82d6c8c50775c4328 (diff)
downloadkrb5-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/config/post.in')
-rw-r--r--src/config/post.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config/post.in b/src/config/post.in
index 0a14ce852..d42c2d213 100644
--- a/src/config/post.in
+++ b/src/config/post.in
@@ -193,6 +193,12 @@ $(RECURSE_TARGETS):
fi;\
exit $$status
+# Some servers need "daemon", but we're not providing it directly
+# through a library. We used to provide it through the krb5 library,
+# and the source is still there.
+daemon.c: $(SRCTOP)/lib/krb5/posix/daemon.c
+ $(CP) $(SRCTOP)/lib/krb5/posix/daemon.c daemon.c
+
##
## end of post.in
############################################################