]> git.proxmox.com Git - mirror_iproute2.git/commit
make yacc usage POSIX compatible
authorEthan Sommer <e5ten.arch@gmail.com>
Wed, 8 Jan 2020 19:57:05 +0000 (14:57 -0500)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 20 Jan 2020 17:43:22 +0000 (09:43 -0800)
commit5f78bc3e1da9a371582f2609e9a674ee294d7bcf
treec39affb81c27a0bdc1d8b677bb608ceffc0a4606
parent31f45088c9c891542e38144d0a1bba124934693c
make yacc usage POSIX compatible

config: put YACC in config.mk and use environmental variable if present

ss:
use YACC variable instead of hardcoding bison
place options before source file argument
use -b to specify file prefix instead of output file, as -o isn't POSIX
compatible, this generates ssfilter.tab.c instead of ssfilter.c
replace any references to ssfilter.c with references to ssfilter.tab.c

tc:
use -p flag to set name prefix instead of bison-specific api.prefix
directive
remove unneeded bison-specific directives
use -b instead of -o, replace references to previously generated
emp_ematch.yacc.[ch] with references to newly generated
emp_ematch.tab.[ch]

Signed-off-by: Ethan Sommer <e5ten.arch@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
configure
misc/.gitignore
misc/Makefile
tc/.gitignore
tc/Makefile
tc/emp_ematch.l
tc/emp_ematch.y