I just noticed that contrib programs don't build in USE_PGXS=1
environment:
$ pwd
/pgsql/build/HEAD/contrib/pg_upgrade
$ LC_ALL=C USE_PGXS=1 make
make: *** No rule to make target `check.o', needed by `pg_upgrade'. Stop.
$ LC_ALL=C make
[works]
Is this expected?
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services