fixed usuage of -ltermcap for psql

submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
This commit is contained in:
Marc G. Fournier 1996-07-25 20:01:51 +00:00
parent 9e0a8d4b26
commit aac483943d
1 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # 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 else
ifeq ($(PORTNAME), linux) ifeq ($(PORTNAME), linux)
LD_ADD += -ltermcap LD_ADD += -ltermcap
endif else
ifeq ($(PORTNAME), next) ifeq ($(PORTNAME), next)
LD_ADD += -ltermcap LD_ADD += -ltermcap
else
ifeq ($(PORTNAME), bsdi) ifeq ($(PORTNAME), bsdi)
LD_ADD += -ltermcap LD_ADD += -ltermcap
else
ifeq ($(PORTNAME), bsdi_2_1) ifeq ($(PORTNAME), bsdi_2_1)
LD_ADD += -ltermcap LD_ADD += -ltermcap
endif endif
@ -54,6 +56,7 @@ ifeq ($(USE_READLINE), true)
endif endif
endif endif
endif endif
endif
else else
CFLAGS += -DNOREADLINE CFLAGS += -DNOREADLINE
endif endif