Am Dienstag, 26. Juni 2007 16:12 schrieb Tom Lane:
> True. OK, then let's add the ifndef to Makefile.global and change the
> existing extension makefiles to
>
> PG_CONFIG := pg_config
> PGXS := $(shell $(PG_CONFIG) --pgxs)
> include $(PGXS)
>
> Any objections?
Yes. I think that solution is wrong. It merely creates other possibilities
to use mismatching combinations. What was the problem with just making all
uses of pg_config in Makefile.global use a hardcoded bindir directly?
--
Peter Eisentraut
http://developer.postgresql.org/~petere/