mirror of
https://github.com/postgres/postgres.git
synced 2025-04-20 00:42:27 +03:00
- extend conditional for use of -ltermcap in bsdi/bsdi_2_1 compiles
- submitted by: Bruce Momjian (root@candle.pha.pa.us)
This commit is contained in:
parent
c777e8131e
commit
5feb9dc9df
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/bin/psql/Makefile,v 1.2 1996/07/19 06:53:40 scrappy Exp $
|
# $Header: /cvsroot/pgsql/src/bin/psql/Makefile,v 1.3 1996/07/20 07:40:03 scrappy Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ ifeq ($(USE_READLINE), true)
|
|||||||
# uncomment this
|
# uncomment this
|
||||||
# CFLAGS += -DOLD_READLINE
|
# CFLAGS += -DOLD_READLINE
|
||||||
|
|
||||||
LIBCURSES= -lcurses -ltermcap
|
LIBCURSES= -lcurses
|
||||||
LD_ADD += -L$(READLINE_LIBDIR) -L$(HISTORY_LIBDIR) -lreadline -lhistory $(LIBCURSES)
|
LD_ADD += -L$(READLINE_LIBDIR) -L$(HISTORY_LIBDIR) -lreadline -lhistory $(LIBCURSES)
|
||||||
# use the following if your readline has no separate history lib
|
# use the following if your readline has no separate history lib
|
||||||
# LD_ADD += -L$(READLINE_LIBDIR) -lreadline $(LIBCURSES)
|
# LD_ADD += -L$(READLINE_LIBDIR) -lreadline $(LIBCURSES)
|
||||||
@ -45,6 +45,12 @@ ifeq ($(USE_READLINE), true)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(PORTNAME), next)
|
ifeq ($(PORTNAME), next)
|
||||||
LD_ADD += -ltermcap
|
LD_ADD += -ltermcap
|
||||||
|
ifeq ($(PORTNAME), bsdi)
|
||||||
|
LD_ADD += -ltermcap
|
||||||
|
ifeq ($(PORTNAME), bsdi_2_1)
|
||||||
|
LD_ADD += -ltermcap
|
||||||
|
endif
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user