Virgin import of Flex v2.5.4
import vanilla flex version 2.5.35

Reviewed by:	cognet
Approved by:	cognet
Fix DDP breakage introduced in r248925.  Bitwise OR has higher
precedence than ternary conditional.

MFC after:	1 week
Add some advice to get past the hurdle of install -l for the common, but
non-default (and unsupportable) case of setting INSTALL="install -C" in
/etc/make.conf or /etc/src.conf.
Add missing braces

Reviewed by:	swildner@dragonflybsd.org
Reviewed by:	delphij
Remove ancient compatibility cruft.

Reviewed by:	delphij
Import flex 2.5.37.
Merge some important post-2.5.37 changes from upstream.

http://flex.git.sourceforge.net/git/gitweb.cgi?p=flex/flex;a=commit;h=c53fd2db8c78fef5afd284c3e64da51bc71cf6c3
http://flex.git.sourceforge.net/git/gitweb.cgi?p=flex/flex;a=commit;h=899b2163bbde1a70b3be8b91cbbabd8007341205
http://flex.git.sourceforge.net/git/gitweb.cgi?p=flex/flex;a=commit;h=7642bd98aebb62260df923f57b794138dab6f1e7
http://flex.git.sourceforge.net/git/gitweb.cgi?p=flex/flex;a=commit;h=11b7c6cea340c2fca9b49ec635a45bd34361afe9
http://flex.git.sourceforge.net/git/gitweb.cgi?p=flex/flex;a=commit;h=ec2fdb85e0bac6e8aeca405094506e4cf8bfc0b6
There's no HAL_EEPROM in FreeBSD - use ar9300_eeprom_t instead.
Disable TXCONT, it's not here in FreeBSD.
Correct a few sizeof()s

Submitted by:	swildner@DragonFlyBSD.org
Reviewed by:	alfred
Fix incorrect sizeof() in bzero()

Submitted by:	swildner@DragonFlyBSD.org
Reviewed by:	alfred, jmallett
Make the internal assertion correct--only fail when '\0' is found in
places other than the end of the test section. Otherwise, with kernel
compiled with Clang which happens to be setting ELF section alignment
differently config(8) was throwing assert() failure unnecessarily

Reported by:	Kimmo Paasiala <kpaasial (at) gmail.com>
Tested by:	Kimmo Paasiala <kpaasial (at) gmail.com>
MFC after:	10 days
Import virgin regdef.h from 4.4 Lite 2's sys/pmax/include/regdef.h,
expand the %sccs.include.redist.c% directive with the standard
3-clause license, and add $FreeBSD$ to keep the commit script happy.

# This may break some mips stuff, which will be fixed in the next commit.
Add the standard #ifdef header protection.
Import NetBSD's version, which is perfectly fine.

Submitted by:	jmallet@
Remove asm.h dependency in a hackish way.
Fixed comment.
Don't include asm.h in non-asm files.
Remove #define to get kludges that asm.h used to define
Move clever macros to access assembler instructions to trap.c
Remove __ASSEMBLER__ ifdefs in regdef.h: they aren't needed anymore.
Add a historic footnote.
Optimize SUBDIR_OVERRIDE such that SUBDIR isn't automatically defined if
SUBDIR_OVERRIDE is defined.

PR:		conf/174071
Submitted by:	Garrett Cooper <yaneurabeya@gmail.com>
Sponsored by:	EMC / Isilon Storage Division