aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2001-03-03 15:53:41 +0000
committerPeter Eisentraut <peter_e@gmx.net>2001-03-03 15:53:41 +0000
commit23e41fb7fbce0ef6ddcba3caafbde772ede62af6 (patch)
treec0f9029f4caf339cc31b038388d8adc41c613d1d /src
parent7a2fdd96329571dc65f2d4cba8a9b441c2f202fd (diff)
downloadpostgresql-23e41fb7fbce0ef6ddcba3caafbde772ede62af6.tar.gz
postgresql-23e41fb7fbce0ef6ddcba3caafbde772ede62af6.zip
Add configure check for -lunix, for QNX.
Recode test for equality of source and build directory using 'test -ef', because even using pwd you might not get equal strings. Thanks, QNX.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.global.in5
-rw-r--r--src/makefiles/Makefile.qnx41
2 files changed, 2 insertions, 4 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index 4bbe3bb1820..ef488cbd404 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -1,5 +1,5 @@
# -*-makefile-*-
-# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.120 2001/02/27 08:13:29 ishii Exp $
+# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.121 2001/03/03 15:53:41 petere Exp $
#------------------------------------------------------------------------------
# All PostgreSQL makefiles include this file and use the variables it sets,
@@ -33,9 +33,8 @@ VERSION = @VERSION@
# Support for VPATH builds
abs_top_srcdir = @abs_top_srcdir@
-abs_top_builddir = @abs_top_builddir@
-ifeq ($(abs_top_builddir), $(abs_top_srcdir))
+ifndef abs_top_srcdir
top_srcdir = $(top_builddir)
srcdir = .
else
diff --git a/src/makefiles/Makefile.qnx4 b/src/makefiles/Makefile.qnx4
index 5a74d84c7cc..a7d902ad245 100644
--- a/src/makefiles/Makefile.qnx4
+++ b/src/makefiles/Makefile.qnx4
@@ -4,7 +4,6 @@ AROPT = cr
LD= $(AR)
LDREL= $(AROPT)
LDOUT=
-LIBS= -lunix
LDFLAGS=
enable_shared = no