1 Make sure that we always use /usr/gnu/bin/m4 rather than what is available
2 via the M4 environment variable or what's in the PATH environment variable.
4 These changes have been sent upstream. See email thread starting at:
6 https://sourceforge.net/p/flex/mailman/message/35103749/
8 --- flex-2.6.3/src/main.c.~1~ 2016-12-29 23:03:14.000000000 +0300
9 +++ flex-2.6.3/src/main.c 2017-03-14 19:31:53.967243261 +0300
12 /* Setup the filter chain. */
13 output_chain = filter_create_int(NULL, filter_tee_header, headerfilename);
15 if ( !(m4 = getenv("M4"))) {
21 filter_create_ext(output_chain, m4, "-P", 0);
23 + filter_create_ext(output_chain, "/usr/gnu/bin/m4", "-P", 0);
25 filter_create_int(output_chain, filter_fix_linedirs, NULL);
27 /* For debugging, only run the requested number of filters. */