From 078fda0b90ecc040ea8d4ba2130eb46bc567f480 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sat, 30 Aug 2003 01:09:41 +0000 Subject: 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 --- src/config/ChangeLog | 5 +++++ src/config/post.in | 6 ++++++ 2 files changed, 11 insertions(+) (limited to 'src/config') diff --git a/src/config/ChangeLog b/src/config/ChangeLog index 03c70e291..a47e8d2a2 100644 --- a/src/config/ChangeLog +++ b/src/config/ChangeLog @@ -1,3 +1,8 @@ +2003-08-29 Ken Raeburn + + * post.in (daemon.c): New rule for copying daemon.c locally from + master copy in lib/krb5/posix. + 2003-05-27 Ken Raeburn * win-pre.in (CPPFLAGS): Define KRB5_DEPRECATED=1. 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 ############################################################ -- cgit