pgsql: Guard against using plperl's Makefile without specifying --with-

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Guard against using plperl's Makefile without specifying --with-
Дата
Msg-id E1R0Mj9-0005I3-BT@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Guard against using plperl's Makefile without specifying --with-perl.

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.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/eed7dcfceedeb314d17695f014754ac0f3e8f892

Modified Files
--------------
src/pl/plperl/GNUmakefile |    4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix #include problems in 9.1 branch.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Guard against using plperl's Makefile without specifying --with-