Обсуждение: pgsql: Fix configure's incorrect version tests for flex and perl.

Поиск
Список
Период
Сортировка

pgsql: Fix configure's incorrect version tests for flex and perl.

От
Tom Lane
Дата:
Fix configure's incorrect version tests for flex and perl.

awk's equality-comparison operator is "==" not "=".  We got this right
in many places, but not in configure's checks for supported version
numbers of flex and perl.  It hadn't been noticed because unsupported
versions are so old as to be basically extinct in the wild, and because
the only consequence is whether or not a WARNING flies by during
configure.

Daniel Gustafsson noted the problem with respect to the test for flex,
I found the other by reviewing other awk calls.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/28e02b8fde7356fb917e36a20d9ddeb19aded53a

Modified Files
--------------
config/perl.m4     | 2 +-
config/programs.m4 | 2 +-
configure          | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)