autoconf test for and set HAVE_VFORK

This commit is contained in:
Marc G. Fournier 1997-02-06 06:15:49 +00:00
parent e72b1ccd30
commit a7257ff41f
2 changed files with 5 additions and 7 deletions

View File

@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.36 1997/01/27 22:37:48 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.37 1997/02/06 06:15:49 scrappy Exp $
*
* NOTES
*
@ -86,7 +86,7 @@
#if defined(DBX_VERSION)
# define FORK() (0)
#else
# if defined(NO_VFORK)
# ifndef HAVE_VFORK)
# define FORK() fork()
# else
# define FORK() vfork()

View File

@ -59,6 +59,9 @@
/* Set to 1 if you have kill() */
#undef HAVE_KILL
/* Set to 1 if you have vfork() */
#undef HAVE_VFORK
/* Set to 1 if you have sysconf() */
#undef HAVE_SYSCONF
@ -81,7 +84,6 @@
#if defined(aix)
# define CLASS_CONFLICT
# define DISABLE_XOPEN_NLS
# define HAVE_SYS_SELECT_H
# define HAVE_ANSI_CPP
# define HAS_TEST_AND_SET
typedef unsigned int slock_t;
@ -135,7 +137,6 @@
#if defined(i386_solaris)
# define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# define NEED_RUSAGE
# define NO_EMPTY_STMTS
# define SYSV_DIRENT
# define HAS_TEST_AND_SET
@ -146,7 +147,6 @@
# define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# define NO_EMPTY_STMTS
# define NO_VFORK
# define SYSV_DIRENT
# define HAS_TEST_AND_SET
# include <abi_mutex.h>
@ -193,7 +193,6 @@
#if defined(sparc_solaris)
# define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# define NEED_RUSAGE
# define NO_EMPTY_STMTS
# define USE_POSIX_TIME
# define SYSV_DIRENT
@ -209,7 +208,6 @@ typedef unsigned char slock_t;
#if defined(svr4)
# define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# define NEED_RUSAGE
# define NO_EMPTY_STMTS
# define SYSV_DIRENT
#endif