summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane1998-11-29 05:30:25 +0000
committerTom Lane1998-11-29 05:30:25 +0000
commitb10a71977778e33538a4fa41a3eac79eda0534ec (patch)
tree6e8b90dfddfa7484921b21b770cd377d8181b650 /src/include
parent92eacaf52349d8274d5924ff11956377ba7e968f (diff)
Use autoconf to determine whether system has POSIX signals,
instead of relying on port's os.h to tell us. (Needed for HPUX where system major version is not enough info.) configure unsets USE_TK if X libraries not found. doc/Makefile uses gzcat or zcat as found by autoconf.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/config.h.in3
-rw-r--r--src/include/port/aix.h1
-rw-r--r--src/include/port/alpha.h1
-rw-r--r--src/include/port/dgux.h1
-rw-r--r--src/include/port/hpux.h6
-rw-r--r--src/include/port/irix5.h1
-rw-r--r--src/include/port/linux.h1
-rwxr-xr-xsrc/include/port/solaris_i386.h1
-rwxr-xr-xsrc/include/port/solaris_sparc.h1
-rw-r--r--src/include/port/svr4.h1
-rw-r--r--src/include/port/univel.h1
-rw-r--r--src/include/port/unixware.h1
12 files changed, 3 insertions, 16 deletions
diff --git a/src/include/config.h.in b/src/include/config.h.in
index f5f0373c09e..916676bf125 100644
--- a/src/include/config.h.in
+++ b/src/include/config.h.in
@@ -263,6 +263,9 @@ extern void srandom(int seed);
/* Define as the base type of the last arg to accept */
#undef SOCKET_SIZE_TYPE
+/* Define if POSIX signal interface is available */
+#undef USE_POSIX_SIGNALS
+
/*
* Code below this point should not require changes
*/
diff --git a/src/include/port/aix.h b/src/include/port/aix.h
index a329e967f43..c970df1fe3c 100644
--- a/src/include/port/aix.h
+++ b/src/include/port/aix.h
@@ -1,5 +1,4 @@
#define USE_POSIX_TIME
-#define USE_POSIX_SIGNALS
#define CLASS_CONFLICT
#define DISABLE_XOPEN_NLS
#define HAVE_ANSI_CPP
diff --git a/src/include/port/alpha.h b/src/include/port/alpha.h
index 40dfbfa9496..952f3465330 100644
--- a/src/include/port/alpha.h
+++ b/src/include/port/alpha.h
@@ -1,5 +1,4 @@
#define USE_POSIX_TIME
-#define USE_POSIX_SIGNALS
#define DISABLE_XOPEN_NLS
#define HAS_LONG_LONG
#define HAS_TEST_AND_SET
diff --git a/src/include/port/dgux.h b/src/include/port/dgux.h
index d47b81b1603..f08580cfafc 100644
--- a/src/include/port/dgux.h
+++ b/src/include/port/dgux.h
@@ -1,4 +1,3 @@
-#define USE_POSIX_SIGNALS
#define USE_POSIX_TIME
#ifndef BIG_ENDIAN
diff --git a/src/include/port/hpux.h b/src/include/port/hpux.h
index b9c0c7564eb..4ef01af0958 100644
--- a/src/include/port/hpux.h
+++ b/src/include/port/hpux.h
@@ -1,11 +1,5 @@
#define JMP_BUF
#define USE_POSIX_TIME
-/* HPUX 10 has full POSIX signal functionality.
- * On HPUX 9, we rely on BSD-compatible signal() in libBSD.
- */
-#ifdef HPUX_10
-#define USE_POSIX_SIGNALS
-#endif
#define HAS_TEST_AND_SET
typedef struct
{
diff --git a/src/include/port/irix5.h b/src/include/port/irix5.h
index f8f180d7dc2..760cce86777 100644
--- a/src/include/port/irix5.h
+++ b/src/include/port/irix5.h
@@ -1,5 +1,4 @@
#define USE_POSIX_TIME
-#define USE_POSIX_SIGNALS
#define NO_EMPTY_STMTS
#define SYSV_DIRENT
#define HAS_TEST_AND_SET
diff --git a/src/include/port/linux.h b/src/include/port/linux.h
index 8d550c0e08a..14de3b26fa5 100644
--- a/src/include/port/linux.h
+++ b/src/include/port/linux.h
@@ -6,7 +6,6 @@
*/
#define JMP_BUF
#define USE_POSIX_TIME
-#define USE_POSIX_SIGNALS
#define HAS_TEST_AND_SET
#if defined(PPC)
diff --git a/src/include/port/solaris_i386.h b/src/include/port/solaris_i386.h
index 4530e4205a6..ef47720e8e0 100755
--- a/src/include/port/solaris_i386.h
+++ b/src/include/port/solaris_i386.h
@@ -1,5 +1,4 @@
#define USE_POSIX_TIME
-#define USE_POSIX_SIGNALS
#define NO_EMPTY_STMTS
#define SYSV_DIRENT
#define HAS_TEST_AND_SET
diff --git a/src/include/port/solaris_sparc.h b/src/include/port/solaris_sparc.h
index 8383215b708..6a19148126d 100755
--- a/src/include/port/solaris_sparc.h
+++ b/src/include/port/solaris_sparc.h
@@ -1,5 +1,4 @@
#define USE_POSIX_TIME
-#define USE_POSIX_SIGNALS
#define NO_EMPTY_STMTS
#define SYSV_DIRENT
#define HAS_TEST_AND_SET
diff --git a/src/include/port/svr4.h b/src/include/port/svr4.h
index b5d2a80e56b..4d76f28da71 100644
--- a/src/include/port/svr4.h
+++ b/src/include/port/svr4.h
@@ -1,5 +1,4 @@
#define USE_POSIX_TIME
-#define USE_POSIX_SIGNALS
#define NO_EMPTY_STMTS
#define SYSV_DIRENT
diff --git a/src/include/port/univel.h b/src/include/port/univel.h
index 3e95acd6048..e8c066f7c5e 100644
--- a/src/include/port/univel.h
+++ b/src/include/port/univel.h
@@ -1,6 +1,5 @@
#define USE_POSIX_TIME
#define NO_EMPTY_STMTS
-#define USE_POSIX_SIGNALS
#define SYSV_DIRENT
#define HAS_TEST_AND_SET
diff --git a/src/include/port/unixware.h b/src/include/port/unixware.h
index cbdd4ff4d96..10fe5928d18 100644
--- a/src/include/port/unixware.h
+++ b/src/include/port/unixware.h
@@ -1,6 +1,5 @@
#define USE_POSIX_TIME
#define NO_EMPTY_STMTS
-#define USE_POSIX_SIGNALS
#define SYSV_DIRENT
#define HAS_TEST_AND_SET