citusdata / pg_shard

ATTENTION: pg_shard is superseded by Citus, its more powerful replacement
https://github.com/citusdata/citus
GNU Lesser General Public License v3.0
1.06k stars 63 forks source link

Add conditional to detect in-tree build #45

Closed jasonmp85 closed 9 years ago

jasonmp85 commented 9 years ago

Other modules in contrib have a block like this. Because pg_shard uses libpq, it is listed as a prereq that needs to be built first (for an in-tree build this is important): postgres_fdw does the same.

See citusdata/postgres@2e335bd for how this is used.

Resolves #44