This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: configure check for flex
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: Bruce Korb <bkorb at gnu dot org>, Gerald Pfeifer <gerald at pfeifer dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 28 Jan 2014 08:48:17 -0500 (EST)
- Subject: Re: configure check for flex
- Authentication-results: sourceware.org; auth=none
- References: <52A38C1A dot 6020806 at gnu dot org> <52A38C75 dot 8010100 at gnu dot org> <CAH6eHdRvSQ-ORDK5iJ60W=pGqptF83dFg77BszaroKxz=Of4fA at mail dot gmail dot com> <52A4C1C1 dot 8070302 at gnu dot org> <alpine dot LNX dot 2 dot 00 dot 1312082206390 dot 2197 at tuna dot site> <52A4DF45 dot 7070703 at gnu dot org> <alpine dot BSF dot 2 dot 02 dot 1401270029060 dot 67747 at arjuna dot pair dot com> <CAKRnqNKBhPKcqUcKj5dD-iHfcgc3zjpJa-jcOBnQF4T7ZkWZ4w at mail dot gmail dot com> <alpine dot BSF dot 2 dot 02 dot 1401272102100 dot 13802 at arjuna dot pair dot com> <87r47sb55e dot fsf at igel dot home>
On Tue, 28 Jan 2014, Andreas Schwab wrote:
> Hans-Peter Nilsson <hp@bitrange.com> writes:
>
> > See is_release in that same configure.ac, that might be the only
> > additional condition that's needed.
>
> is_release only distinguishes a release from a snapshot, but does not
> say anything whether its a tarball or a VC checkout (ie. is_release=yes
> is also possible in a VC checkout).
That difference seems unimportant, at least lesser than a simple
means to avoid the missing-flex gotcha and the we-wont-need-it
gotcha. But anyhoo, I'll leave it to you to provide a better
alternative.
brgds, H-P