OSDN Git Service

autoconf test for and set HAVE_VFORK
authorMarc G. Fournier <scrappy@hub.org>
Thu, 6 Feb 1997 06:15:49 +0000 (06:15 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Thu, 6 Feb 1997 06:15:49 +0000 (06:15 +0000)
src/backend/postmaster/postmaster.c
src/include/config.h.in

index 156c756..ad4e76d 100644 (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()
index e5157ce..abd7b5f 100644 (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;
 #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
 #  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>
 #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