Distributed PostgreSQL as an extension
 
 
 
 
 
 
Go to file
Jason Petersen a53fb90ef9
Fix various build issues
I came across several places we weren't as flexible or resilient as we
should have been in our build logic. They include:

  * Not using `DESTDIR` in the install-header destination
  * Allowing callers to specify `VPATH` or `srcdir` (which breaks)
  * Using absolute path for SCRIPTS (9.5 prepends srcdir)
  * Including libpq-int in a confusing way (extracted this function)
  * Having server includes come first during csql build (client must)

In particular, I hit all of these attempting to build with pg_buildext
in Debian. It passes in an explicit VPATH, as well as srcdir (breaking
all recursive make invocations), and also uses DESTDIR during install.

In addition, a PGDG-enabled Debian box will have the latest libpq-dev
headers (e.g. 9.5) even when building against an older server version
(e.g. 9.4). This leads to problems when including e.g. `c.h`, which
is ambiguous. While compiling more client-side code (csql), we need to
ensure the newer libpq headers are included _first_, so I fixed that.
2016-03-11 13:38:47 -07:00
src Fix various build issues 2016-03-11 13:38:47 -07:00
.gitattributes Switch to using git attributes to ignore files 2016-02-15 23:41:51 -07:00
.gitignore Initial commit of Citus 5.0 2016-02-11 04:05:32 +02:00
.travis.yml Initial commit of Citus 5.0 2016-02-11 04:05:32 +02:00
Makefile Fix various build issues 2016-03-11 13:38:47 -07:00
Makefile.global.in Fix various build issues 2016-03-11 13:38:47 -07:00
autogen.sh Changed product name to citus 2016-02-15 16:04:31 +02:00
configure Don't use autoconf's default CFLAGS. 2016-02-17 16:50:14 -07:00
configure.in Don't use autoconf's default CFLAGS. 2016-02-17 16:50:14 -07:00
prep_buildtree Changed product name to citus 2016-02-15 16:04:31 +02:00