test for vfork, using AC_VFORK, which is a very large hammer..
authorMark Eichin <eichin@mit.edu>
Tue, 16 Aug 1994 21:59:55 +0000 (21:59 +0000)
committerMark Eichin <eichin@mit.edu>
Tue, 16 Aug 1994 21:59:55 +0000 (21:59 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4159 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/bsd/ChangeLog
src/appl/bsd/configure.in
src/appl/bsd/krcp.c

index 705c49c1539fce29cfe94435b69768501b5e8cd7..74cd3a8e47d7fbabf096aa7aa211272c38cd1971 100644 (file)
@@ -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.
index f4a4e5686303ed7e4076560a75b6e4500901331b..4187b7d600ef4f8fdfea23c941658364f3c23068 100644 (file)
@@ -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))
index 8cdf800953630c43b9ea180300ef4a8a807cebd9..22a00159611f8f77ba4d64c583debef77cb82e3c 100644 (file)
@@ -54,6 +54,9 @@ static char sccsid[] = "@(#)rcp.c     5.10 (Berkeley) 9/20/88";
 #include <netdb.h>
 #include <errno.h>
 #include <string.h>
+#ifdef HAVE_VFORK_H
+#include <vfork.h>
+#endif
      
 #ifdef HAVE_SETRESUID
 #ifndef HAVE_SETREUID