From: Marc G. Fournier Date: Tue, 20 Aug 1996 04:02:01 +0000 (+0000) Subject: Furthre cleanup of -lreadline/-lhistory X-Git-Tag: PG95-1_08~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4db04d77790caf8be989bb3b6a8735d61e0603cf;p=thirdparty%2Fpostgresql.git Furthre cleanup of -lreadline/-lhistory --- diff --git a/src/bin/psql/Makefile b/src/bin/psql/Makefile index 9f1d2208eb6..669e51ed591 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.4.2.2 1996/08/19 19:36:01 scrappy Exp $ +# $Header: /cvsroot/pgsql/src/bin/psql/Makefile,v 1.4.2.3 1996/08/20 04:02:01 scrappy Exp $ # #------------------------------------------------------------------------- @@ -22,7 +22,7 @@ include ../Makefile.global # ifeq ($(USE_READLINE), true) - CFLAGS += -I$(READLINE_INCDIR) -I$(HISTORY_INCDIR) + CFLAGS += $(READLINE_INCDIR) $(HISTORY_INCDIR) # if you are using an older readline that uses #include "readline.h" instead # of #include , @@ -30,9 +30,7 @@ ifeq ($(USE_READLINE), true) # CFLAGS += -DOLD_READLINE LIBCURSES= -lcurses - LD_ADD += -L$(READLINE_LIB) -L$(HISTORY_LIB) $(LIBCURSES) -# use the following if your readline has no separate history lib -# LD_ADD += -L$(READLINE_LIBDIR) -lreadline $(LIBCURSES) + LD_ADD += $(READLINE_LIB) $(HISTORY_LIB) $(LIBCURSES) ifeq ($(PORTNAME), ultrix4) LD_ADD += -ltermcap