Cyril Brulebois [Wed, 5 Mar 2014 17:17:25 +0000 (12:17 -0500)]
Adjust buffer sizes on ia64.
From the debian change entry:
> Finish fixing the ia64 buffer issue. Previous commits increased
YY_READ_BUF_SIZE (where __ia64__ is defined) but left YY_BUF_SIZE
unchanged, so that didn't fix the problem in the end. In the general
case, the latter is twice the former. Therefore set it to the same
ratio in the ia64 case.
In general, this sort of architecture specific fix is not the path we
want to take, but the cleanup should be done in a more organized way
in the future and getting it working would be preferrable now.
Will Estes [Tue, 18 Feb 2014 19:34:20 +0000 (14:34 -0500)]
move m4 make variable to src/Makefile.am.
This prevents an error when building skel.c caused by the $(m4) make
variable not being defined. Particularly nasty since skel.c would
still be created, thus causing make to think skel.c was up to date.
Will Estes [Sat, 15 Feb 2014 19:12:37 +0000 (14:12 -0500)]
Add make rule to rsync latest .po files from translation project.
The rule assumes that rsync is on the path and that there is exactly
one domain listed in the DOMAIN make variable. The intent is that the
rule will work with vpath builds.
Will Estes [Fri, 14 Feb 2014 21:00:02 +0000 (16:00 -0500)]
Add tools/ directory.
Since tools/git2cl is a dependency of ChangeLog, not distributing
tools/git2cl with flex causes the "make dist" target to fail in the distributed tar ball.
Will Estes [Fri, 14 Feb 2014 12:52:31 +0000 (07:52 -0500)]
move flex program sources into src/ directory
The *.[chly] sources are now in the src directory. This implies a
bunch of changes in Makefile.am and friends to account for the new
location. The .gitignore files are now more local to places where various object files and generated source files occur.
Will Estes [Thu, 13 Feb 2014 15:11:21 +0000 (10:11 -0500)]
removed tools/ subdirectory from distribution
Since it is not possible to rebuild the ChangeLog file without being
in a git working directory of flex, distributing the tools directory is misleading. In particular, git2cl will always fail.
Will Estes [Sun, 26 Aug 2012 14:10:46 +0000 (10:10 -0400)]
require gettext 0.18; force autoreconf in autogen.sh; resolves #3561759
Autoconf had trouble finding the shared libraries for gettext. Using
gettext 0.18 fixes that.
When updating the gettext version number, autoreconf could fail to
update files, since autopoint would assume the gettext-related files had
been locally modified. Passing --force prevents that from happening.
Will Estes [Mon, 6 Aug 2012 20:45:30 +0000 (16:45 -0400)]
add more patterns to .gitignore
Undersome circumstances, the build process will generate conf.in~, which
we want to ignore. Also, some patch files will apply but not cleanly and
*.orig and *.rej files are generated. We want to ignore them as well.
Elias Pipping [Mon, 6 Aug 2012 19:13:23 +0000 (15:13 -0400)]
Fix two tests to pass under bison 2.6
Given that bison is moving forward with the %parse-param instead of
YYPARSE_PARAM syntax, it makes sense to switch over to using the new style
declaration. In particular, this means that flex scanners that use bison
features will now require bison 2.6 or higher.
Will Estes [Thu, 2 Aug 2012 17:05:40 +0000 (13:05 -0400)]
Add -f option to LN_S to create flex++
The autoconf macro LN_S needs -f to successfully install flex++ if
flex++ already exists. Fortunately, ln, ln -s and cp -p, which are the
various forms that LN_S can take all will do the right thing with a -f
argument passed.
Will Estes [Thu, 2 Aug 2012 16:31:41 +0000 (12:31 -0400)]
replace cvs2cl with git2cl
Add the git2cl script in tools/ and remove the (now unnecessary) cvs2cl
script. Remove tools/cvsauthors since git2cl does not need that file.
Account for all the above in Makefile.am and tools/Makefile.am
Will Estes [Mon, 23 Jul 2012 00:52:30 +0000 (20:52 -0400)]
add *.o and *.a to top level .gitignore
The cvs tree did not need these additions because cvs assumed a lot of
C-style defaults for .cvsignore files. flex builds *.o object files in
the course of compilation and *.a files are built as a part of the
libraries that flex compiles in the build process.
Will Estes [Mon, 23 Jul 2012 00:36:18 +0000 (20:36 -0400)]
rename .cvsignore files to .gitignore
The .cvsignore files from the legacy cvs repository tracked what files
got autogenerated during various stages of the flex build. Renaming the
.cvsignore files to .gitignore lets git do the same thing. git is better
about letting higher level .gitignore files not-track files in lower
level directories. As I work my way through the test directories, we may
add additional .gitignore files from the old .cvsignore files.
The po/ directory has a lot of special files used by gettext, so the patterns in
po/.gitignore look very different.
The doc/.gitignore file accounts for
what texinfo/makeinfo do, and so it also has special patterns.
The m4 directory is mainly present for autoconf's benefit, but we have
to account for it so make can do the right thing. Hence, m4/.gitignore
says to ignore *.m4, as counterintuitive as that may seem.