Commit a7257ff4 authored by Marc G. Fournier's avatar Marc G. Fournier

autoconf test for and set HAVE_VFORK

parent e72b1ccd
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* *
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
#if defined(DBX_VERSION) #if defined(DBX_VERSION)
# define FORK() (0) # define FORK() (0)
#else #else
# if defined(NO_VFORK) # ifndef HAVE_VFORK)
# define FORK() fork() # define FORK() fork()
# else # else
# define FORK() vfork() # define FORK() vfork()
......
...@@ -59,6 +59,9 @@ ...@@ -59,6 +59,9 @@
/* Set to 1 if you have kill() */ /* Set to 1 if you have kill() */
#undef HAVE_KILL #undef HAVE_KILL
/* Set to 1 if you have vfork() */
#undef HAVE_VFORK
/* Set to 1 if you have sysconf() */ /* Set to 1 if you have sysconf() */
#undef HAVE_SYSCONF #undef HAVE_SYSCONF
...@@ -81,7 +84,6 @@ ...@@ -81,7 +84,6 @@
#if defined(aix) #if defined(aix)
# define CLASS_CONFLICT # define CLASS_CONFLICT
# define DISABLE_XOPEN_NLS # define DISABLE_XOPEN_NLS
# define HAVE_SYS_SELECT_H
# define HAVE_ANSI_CPP # define HAVE_ANSI_CPP
# define HAS_TEST_AND_SET # define HAS_TEST_AND_SET
typedef unsigned int slock_t; typedef unsigned int slock_t;
...@@ -135,7 +137,6 @@ ...@@ -135,7 +137,6 @@
#if defined(i386_solaris) #if defined(i386_solaris)
# define USE_POSIX_TIME # define USE_POSIX_TIME
# define USE_POSIX_SIGNALS # define USE_POSIX_SIGNALS
# define NEED_RUSAGE
# define NO_EMPTY_STMTS # define NO_EMPTY_STMTS
# define SYSV_DIRENT # define SYSV_DIRENT
# define HAS_TEST_AND_SET # define HAS_TEST_AND_SET
...@@ -146,7 +147,6 @@ ...@@ -146,7 +147,6 @@
# define USE_POSIX_TIME # define USE_POSIX_TIME
# define USE_POSIX_SIGNALS # define USE_POSIX_SIGNALS
# define NO_EMPTY_STMTS # define NO_EMPTY_STMTS
# define NO_VFORK
# define SYSV_DIRENT # define SYSV_DIRENT
# define HAS_TEST_AND_SET # define HAS_TEST_AND_SET
# include <abi_mutex.h> # include <abi_mutex.h>
...@@ -193,7 +193,6 @@ ...@@ -193,7 +193,6 @@
#if defined(sparc_solaris) #if defined(sparc_solaris)
# define USE_POSIX_TIME # define USE_POSIX_TIME
# define USE_POSIX_SIGNALS # define USE_POSIX_SIGNALS
# define NEED_RUSAGE
# define NO_EMPTY_STMTS # define NO_EMPTY_STMTS
# define USE_POSIX_TIME # define USE_POSIX_TIME
# define SYSV_DIRENT # define SYSV_DIRENT
...@@ -209,7 +208,6 @@ typedef unsigned char slock_t; ...@@ -209,7 +208,6 @@ typedef unsigned char slock_t;
#if defined(svr4) #if defined(svr4)
# define USE_POSIX_TIME # define USE_POSIX_TIME
# define USE_POSIX_SIGNALS # define USE_POSIX_SIGNALS
# define NEED_RUSAGE
# define NO_EMPTY_STMTS # define NO_EMPTY_STMTS
# define SYSV_DIRENT # define SYSV_DIRENT
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment