mirror of
https://github.com/postgres/postgres.git
synced 2026-04-20 22:00:13 -04:00
The $(PERL) macro will be set by configure if it finds perl at all, but $(perl_privlibexp) isn't configured unless you said --with-perl. This results in confusing error messages if someone cd's into src/pl/plperl and tries to build there despite the configure omission, as reported by Tomas Vondra in bug #6198. Add simple checks to provide a more useful report, while not disabling other use of the makefile such as "make clean". Back-patch to 9.0, which is as far as the patch applies easily. |
||
|---|---|---|
| .. | ||
| expected | ||
| po | ||
| sql | ||
| .gitignore | ||
| GNUmakefile | ||
| nls.mk | ||
| plc_perlboot.pl | ||
| plc_trusted.pl | ||
| plperl.c | ||
| plperl.h | ||
| plperl_opmask.pl | ||
| ppport.h | ||
| README | ||
| SPI.xs | ||
| text2macro.pl | ||
| Util.xs | ||
$PostgreSQL: pgsql/src/pl/plperl/README,v 1.4 2008/03/21 13:23:29 momjian Exp $ PL/Perl allows you to write PostgreSQL functions and procedures in Perl. To include PL/Perl in the build use './configure --with-perl'. To build from this directory use 'gmake all; gmake install'. libperl must have been built as a shared library, which is usually not the case in standard installations. Consult the PostgreSQL User's Guide and the INSTALL file in the top-level directory of the source distribution for more information.