Re: src/tools/msvc usage instructions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: src/tools/msvc usage instructions
Date
Msg-id 9878.1159902187@sss.pgh.pa.us
Whole thread Raw
In response to Re: src/tools/msvc usage instructions  ("Magnus Hagander" <mha@sollentuna.net>)
Responses Re: src/tools/msvc usage instructions  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-hackers
"Magnus Hagander" <mha@sollentuna.net> writes:
>> Or add a configure test to prevent it, and display a proper 
>> error message.

> Yeha, I will do this.

As long as we're touching that code: the existing test for too-old bison
seriously sucks, because all that it does is to print a warning that
most people will never notice among all the other spewage from
configure.  However, erroring out is not better, because for people
who're building from a tarball it won't matter what they have.  The
Right Thing is to print a warning and set up for the "missing" script to
be invoked instead of bison if the files actually need to be built.
It looks like all that's needed is to reset YACC to "" after determining
that it's the wrong version, but that should be tested.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Tsearch2 and Snowball
Next
From: "Magnus Hagander"
Date:
Subject: Re: src/tools/msvc usage instructions