aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-07-25 20:01:51 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-07-25 20:01:51 +0000
commitaac483943d45beaa00a8f1eeae4c96d1bc62b522 (patch)
treed8ec6065df8c8fff51df266fa096b59f5d0ca111
parent9e0a8d4b266f41869e89afe228fed2c9ea0e8ce4 (diff)
downloadpostgresql-aac483943d45beaa00a8f1eeae4c96d1bc62b522.tar.gz
postgresql-aac483943d45beaa00a8f1eeae4c96d1bc62b522.zip
fixed usuage of -ltermcap for psql
submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
-rw-r--r--src/bin/psql/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/bin/psql/Makefile b/src/bin/psql/Makefile
index b92f7d817ba..567eb79202c 100644
--- a/src/bin/psql/Makefile
+++ b/src/bin/psql/Makefile
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/psql/Makefile,v 1.3 1996/07/20 07:40:03 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/bin/psql/Makefile,v 1.4 1996/07/25 20:01:51 scrappy Exp $
#
#-------------------------------------------------------------------------
@@ -42,11 +42,13 @@ ifeq ($(USE_READLINE), true)
else
ifeq ($(PORTNAME), linux)
LD_ADD += -ltermcap
- endif
+ else
ifeq ($(PORTNAME), next)
LD_ADD += -ltermcap
+ else
ifeq ($(PORTNAME), bsdi)
LD_ADD += -ltermcap
+ else
ifeq ($(PORTNAME), bsdi_2_1)
LD_ADD += -ltermcap
endif
@@ -54,6 +56,7 @@ ifeq ($(USE_READLINE), true)
endif
endif
endif
+ endif
else
CFLAGS += -DNOREADLINE
endif