]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Furthre cleanup of -lreadline/-lhistory
authorMarc G. Fournier <scrappy@hub.org>
Tue, 20 Aug 1996 04:02:01 +0000 (04:02 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Tue, 20 Aug 1996 04:02:01 +0000 (04:02 +0000)
src/bin/psql/Makefile

index 9f1d2208eb68264b6c00a0da32cafce4ad18b283..669e51ed5915ceaa59ecfa8fdb571d3336471f45 100644 (file)
@@ -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 <readline/readline.h>,
@@ -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