aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-02-06 06:15:49 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-02-06 06:15:49 +0000
commita7257ff41f9159cf58c63cc96c771076248c404d (patch)
treeb403e41f4ad0a2829db70595333283976fb49d14 /src
parente72b1ccd30ca89c250a021def7ab82c2f417dbfe (diff)
downloadpostgresql-a7257ff41f9159cf58c63cc96c771076248c404d.tar.gz
postgresql-a7257ff41f9159cf58c63cc96c771076248c404d.zip
autoconf test for and set HAVE_VFORK
Diffstat (limited to 'src')
-rw-r--r--src/backend/postmaster/postmaster.c4
-rw-r--r--src/include/config.h.in8
2 files changed, 5 insertions, 7 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c
index 156c7563a25..ad4e76d3ecd 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 e5157ce7b90..abd7b5fc597 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 <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