m4: define yylex based on __DragonFly_version
authorJohn Marino <draco@marino.st>
Sat, 19 Jan 2013 16:32:39 +0000 (17:32 +0100)
committerJohn Marino <draco@marino.st>
Sat, 19 Jan 2013 18:15:41 +0000 (19:15 +0100)
commit51dc126e91494039d4b328bfc3528ba18a49c317
treed70127964ea441c5cf46d6ff5d436179172b29f2
parent81cb0ba09aeac0397eca73630a0ee8296678f1cb
m4: define yylex based on __DragonFly_version

The old lex wants it and emits errors if it's not there.
The new lex doesn't want it, and emits warnings if it is there.
On gcc44, the build breaks on an error.
To make both happy, switch it on based on recent __DragonFly_version bump.

Bump __DragonFly_version to be 100% everyone can upgrade
sys/sys/param.h
usr.bin/m4/parser.y
usr.bin/m4/tokenizer.l