From: Mark Eichin Date: Tue, 16 Aug 1994 21:59:55 +0000 (+0000) Subject: test for vfork, using AC_VFORK, which is a very large hammer.. X-Git-Tag: krb5-1.0-beta4.3~171 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9db977fa00dea497233259be7bb6c658d2406bd6;p=krb5.git test for vfork, using AC_VFORK, which is a very large hammer.. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4159 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index 705c49c15..74cd3a8e4 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,9 @@ +Tue Aug 16 17:58:09 1994 Mark Eichin (eichin@cygnus.com) + + * krcp.c: check HAVE_VFORK_H + configure.in: use AC_VFORK (runtime test -- consider just using + fork instead.) + Sat Aug 13 02:04:37 1994 Mark Eichin (eichin@perdiem) * Makefile.in (DEFINES): set LOGIN_PROGRAM correctly. diff --git a/src/appl/bsd/configure.in b/src/appl/bsd/configure.in index f4a4e5686..4187b7d60 100644 --- a/src/appl/bsd/configure.in +++ b/src/appl/bsd/configure.in @@ -10,6 +10,7 @@ AC_HAVE_LIBRARY(nsl) dnl dbm libs for use of an_to_ln AC_HAVE_LIBRARY(-lndbm) AC_HAVE_LIBRARY(-ldbm) +AC_VFORK AC_FUNC_CHECK(strsave,AC_DEFINE(HAS_STRSAVE)) AC_FUNC_CHECK(utimes,AC_DEFINE(HAS_UTIMES)) AC_FUNC_CHECK(getutent,AC_DEFINE(HAVE_GETUTENT)) diff --git a/src/appl/bsd/krcp.c b/src/appl/bsd/krcp.c index 8cdf80095..22a001596 100644 --- a/src/appl/bsd/krcp.c +++ b/src/appl/bsd/krcp.c @@ -54,6 +54,9 @@ static char sccsid[] = "@(#)rcp.c 5.10 (Berkeley) 9/20/88"; #include #include #include +#ifdef HAVE_VFORK_H +#include +#endif #ifdef HAVE_SETRESUID #ifndef HAVE_SETREUID