git: m4: define yylex based on __DragonFly_version

John Marino marino at
Sat Jan 19 10:24:30 PST 2013

commit 51dc126e91494039d4b328bfc3528ba18a49c317
Author: John Marino <draco at>
Date:   Sat Jan 19 17:32:39 2013 +0100

    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

Summary of changes:
 sys/sys/param.h        | 3 ++-
 usr.bin/m4/parser.y    | 4 ++++
 usr.bin/m4/tokenizer.l | 4 ++++
 3 files changed, 10 insertions(+), 1 deletion(-)

DragonFly BSD source repository

More information about the Commits mailing list