]> granicus.if.org Git - postgresql/commitdiff
fixed usuage of -ltermcap for psql
authorMarc G. Fournier <scrappy@hub.org>
Thu, 25 Jul 1996 20:01:51 +0000 (20:01 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Thu, 25 Jul 1996 20:01:51 +0000 (20:01 +0000)
submitted by: Bruce Momjian <maillist@candle.pha.pa.us>

src/bin/psql/Makefile

index b92f7d817ba14ef8dca0e9071a0c6d33b04444d1..567eb79202c98c747b42f0c4a2c5a48458912965 100644 (file)
@@ -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