Commit Graph

14 Commits

Author SHA1 Message Date
Graham Bloice a7e616d162 Fix the flex wrapper to ensure Cygwin /bin is on the path for Windows.
This is needed for CMake, as it doesn't add Cygwin to the path for the
generated solutions.

Change-Id: I9f05f24ccc741bfc851ecbb892f080f59d2acc2c
Reviewed-on: https://code.wireshark.org/review/2938
Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
Tested-by: Graham Bloice <graham.bloice@trihedral.com>
2014-07-08 13:14:42 +00:00
Jeff Morriss 82e2865739 Remove $Id$ and other Subversion leftovers from the tools.
There are a few things in here which could still use attention.

Don't regenerate anything now.

Change-Id: I283c224d3523212144707fca3d6265916cb11792
Reviewed-on: https://code.wireshark.org/review/205
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2014-02-14 01:35:57 +00:00
Guy Harris caed2818c9 Don't use newer shell features, as we now just use /bin/sh.
/bin/sh in Solaris 10, for example, doesn't understand "${OS#Windows}",
so using /bin/sh broke the Solaris build on the buildbot.  Use a case
statement instead.

Change-Id: Icdec74599c339e19ef6ffc7728f4ae2d5cf98999
Reviewed-on: https://code.wireshark.org/review/96
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Tested-by: Guy Harris <guy@alum.mit.edu>
2014-02-03 23:44:48 +00:00
Edwin Groothuis 05f54f7d6a Fix build on FreeBSD 10.0
Change-Id: I6be0d2dfe3b44f166233b1dd20ef02c10a024f97
Reviewed-on: https://code.wireshark.org/review/74
Reviewed-by: Evan Huus <eapache@gmail.com>
Tested-by: Evan Huus <eapache@gmail.com>
2014-02-02 00:18:59 +00:00
Gerald Combs 705083d279 If you use bashisms it means you're a bash script.
svn path=/trunk/; revision=54829
2014-01-16 19:42:13 +00:00
Gerald Combs 8db4bc2499 More Chocolatey lex/yacc updates.
Add Windows-style path handling to runlex.sh. Update the example
Chocolatey LEX path accordingly. This lets us use path information in
LEX and have it work in both nmake and runlex.sh

Add a FindChocolatey.cmake module. Update FindLEX and FindYACC to use it.
The code is currently untested and commented out.

svn path=/trunk/; revision=54828
2014-01-16 18:57:29 +00:00
Gerald Combs d5b706be51 Allow the use of Win flex-bison and document how to do that.
svn path=/trunk/; revision=54824
2014-01-16 01:28:02 +00:00
Jörg Mayer 117a59d7a2 Pass the name of the sed executable as an explicit argurment to
runlex.sh (like it is done with LEX already). May fix a problem
on Windows with cmake.

svn path=/trunk/; revision=53059
2013-11-03 12:22:39 +00:00
Jeff Morriss 6dd3a8b1fd From Todd Eigenschink via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7411 :
Have runlex.sh exit with the exit status of lex (if it failed).

svn path=/trunk/; revision=43555
2012-07-02 21:15:51 +00:00
Guy Harris 4d6a05e2ff More debugging information - in at least one of the failures, neither of
the "Wrote xxx" messages was printed, although the compiler appeared to
have been run on the .c file that was never claimed to have been
written, but got an error because it couldn't find the .h file (also
never claimed to have been written), and in one of the successes on the
same buildbot, they were both printed for the same file.

svn path=/trunk/; revision=41133
2012-02-22 03:13:38 +00:00
Gerald Combs 5d542b79d5 Add some debugging output to help track down an intermittent problem on
one of the buildbots.

svn path=/trunk/; revision=40489
2012-01-14 01:25:33 +00:00
Guy Harris b1e9777a81 1989 was quite a while ago. We use function prototypes extensively;
don't worry about YY_PROTO, which isn't defined with the newer shinier
versions of Flex.

svn path=/trunk/; revision=22450
2007-08-04 03:27:18 +00:00
Guy Harris c2d8a39d95 Sigh, crufty old shells. The Solaris test(1) manual says that
1) "-e" isn't supported by good old /bin/sh, so we use "-r"
	   instead;

	2) "The algorithm for determining the precedence of the
	   operators and the return value that will be generated is
	   based on the number of arguments presented to test", so we
	   explicitly parenthesize.

svn path=/trunk/; revision=22448
2007-08-04 03:11:06 +00:00
Guy Harris 517d6d57e4 Oops, forgot to check in the script for running Flex/Lex.
svn path=/trunk/; revision=22447
2007-08-04 02:36:21 +00:00