pgxs.mk uses PG_CPPFLAGS, not CFLAGS
Remove C99'ism
Fix memory leak when iterating over OGR features
Remove useless tests: if geom is non NULL, it cannot be wkbNone or wkbUnknown (those are only returned for layer geometry types)
Fix typo in error message
Merge pull request #1 from rouault/fixes

Fixes from roualt