pgsql: Add -I$(srcdir) to CPPFLAGS to make psqlscan.c compile in vpath - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Add -I$(srcdir) to CPPFLAGS to make psqlscan.c compile in vpath
Date
Msg-id 20050524164523.9E6E3528A5@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Add -I$(srcdir) to CPPFLAGS to make psqlscan.c compile in vpath builds.
Not sure why this hasn't been reported before; perhaps it is not needed
with newer gcc versions, but it definitely fails here.

Modified Files:
--------------
    pgsql/src/bin/psql:
        Makefile (r1.53 -> r1.54)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/Makefile.diff?r1=1.53&r2=1.54)

pgsql-committers by date:

Previous
From: ishii@svr1.postgresql.org (Tatsuo Ishii)
Date:
Subject: pgsql: Inserting 5 characters into char(10) does not produce 5 padding
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix PL makefiles to support running regression tests in VPATH