]> granicus.if.org Git - postgresql/commit
Fix out-of-tree build for transform modules.
authorAndrew Gierth <rhodiumtoad@postgresql.org>
Sun, 16 Sep 2018 17:46:45 +0000 (18:46 +0100)
committerAndrew Gierth <rhodiumtoad@postgresql.org>
Sun, 16 Sep 2018 17:46:45 +0000 (18:46 +0100)
commit60f6756f92251d7325d58a048f7e9a81881f8d41
tree6e39786f3b13c034b658685687d7a72fd061e2b1
parent3844adbf3c2521c0956064c1c27096c96ca92201
Fix out-of-tree build for transform modules.

Neither plperl nor plpython installed sufficient header files to
permit transform modules to be built out-of-tree using PGXS. Fix that
by installing all plperl and plpython header files (other than those
with special purposes such as generated data tables), and also install
plpython's special .mk file for mangling regression tests.

(This commit does not fix the windows install, which does not
currently install _any_ plperl or plpython headers.)

Also fix the existing transform modules for hstore and ltree so that
their cross-module #include directives work as anticipated by commit
df163230b9 et seq. This allows them to serve as working examples of
how to reference other modules when doing separate out-of-tree builds.

Discussion: https://postgr.es/m/87o9ej8bgl.fsf%40news-spur.riddles.org.uk
contrib/hstore_plperl/Makefile
contrib/hstore_plperl/hstore_plperl.c
contrib/hstore_plpython/Makefile
contrib/hstore_plpython/hstore_plpython.c
contrib/ltree_plpython/Makefile
contrib/ltree_plpython/ltree_plpython.c
src/pl/plperl/GNUmakefile
src/pl/plpython/Makefile
src/tools/msvc/Mkvcbuild.pm