Snapshot 26Feb98 - another minor showstopper

Andrew Martin <martin@biochemistry.ucl.ac.uk>

From: Andrew Martin <martin@biochemistry.ucl.ac.uk>
To: pgsql-hackers@postgresql.org, scrappy@hub.org
Date: 1998-02-26T16:31:55Z
Lists: pgsql-hackers
The Makefile in .../src/interfaces/ecpg/lib/ uses a gcc specific flag
(-Wall) instead of COPTS.

The following patch is for Makefile.in in that directory

*** Makefile.in.orig    Tue Feb 24 08:00:41 1998
--- Makefile.in Thu Feb 26 16:27:16 1998
***************
*** 61,66 ****
  libecpg.a : libecpg.a(ecpglib.o) libecpg.a(typename.o)

  ecpglib.o : ecpglib.c ../include/ecpglib.h ../include/ecpgtype.h
!       $(CC) -Wall -I../include $(PQ_INCLUDE) -c ecpglib.c
  typename.o : typename.c ../include/ecpgtype.h
!       $(CC) -Wall -I../include $(PQ_INCLUDE) -c typename.c
--- 61,66 ----
  libecpg.a : libecpg.a(ecpglib.o) libecpg.a(typename.o)

  ecpglib.o : ecpglib.c ../include/ecpglib.h ../include/ecpgtype.h
!       $(CC) $(CFLAGS) -I../include $(PQ_INCLUDE) -c ecpglib.c
  typename.o : typename.c ../include/ecpgtype.h
!       $(CC) $(CFLAGS) -I../include $(PQ_INCLUDE) -c typename.c





I guess (I haven't had time to check) that the actual Makefile is built
from Makefile.in. If not, then an equivalent patch needs to be applied
to Makefile



Andrew

----------------------------------------------------------------------------
Dr. Andrew C.R. Martin                             University College London
EMAIL: (Work) martin@biochem.ucl.ac.uk    (Home) andrew@stagleys.demon.co.uk
URL:   http://www.biochem.ucl.ac.uk/~martin
Tel:   (Work) +44(0)171 419 3890                    (Home) +44(0)1372 275775