From: Marc G. Fournier Date: Thu, 6 Feb 1997 06:15:49 +0000 (+0000) Subject: autoconf test for and set HAVE_VFORK X-Git-Tag: REL9_0_0~29280 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a7257ff41f9159cf58c63cc96c771076248c404d;p=pg-rex%2Fsyncrep.git autoconf test for and set HAVE_VFORK --- diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index 156c7563a2..ad4e76d3ec 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -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() diff --git a/src/include/config.h.in b/src/include/config.h.in index e5157ce7b9..abd7b5fc59 100644 --- a/src/include/config.h.in +++ b/src/include/config.h.in @@ -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 @@ -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