diff -Naur nspostgres-jim1+4.0/Makefile nspostgres-jim2+4.0/Makefile --- nspostgres-jim1+4.0/Makefile 2005-09-21 18:50:34.000000000 -0700 +++ nspostgres-jim2+4.0/Makefile 2005-09-21 19:25:33.000000000 -0700 @@ -50,13 +50,17 @@ # # Manage to find PostgreSQL components in the system, or where you specify # +ifndef PG_CONFIG + PG_CONFIG = pg_config +endif + ifeq ($(POSTGRES),LSB) PGLIB = /usr/lib PGINC = /usr/include else ifeq ($(POSTGRES),PG_CONFIG) - PGLIB = $(shell pg_config --libs) - PGINC = $(shell pg_config --includedir) + PGLIB = $(shell $(PG_CONFIG) --libs) + PGINC = $(shell $(PG_CONFIG) --includedir) else ifneq ($(POSTGRES),SEPARATELY) PGLIB = $(POSTGRES)/lib