]> granicus.if.org Git - postgresql/commit
Fix configure's incorrect version tests for flex and perl.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 2 May 2016 15:18:10 +0000 (11:18 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 2 May 2016 15:18:10 +0000 (11:18 -0400)
commit7d7b129277eb545286aecf29ec22b5bb7fdf46bd
tree2932e547e7c688c3e0663e09a21f92cdda7232d1
parent37d0c2cb1ab2d3da0cb9a6388450776fc31c16ee
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.
config/perl.m4
config/programs.m4
configure