summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAge
* Create libfl.pc target for pkgconfigTyler Slabinski2017-08-24
|
* build: require automake, gettext versions as per maintainer dev setupWill Estes2017-07-13
|
* build: remove automake check-newsWill Estes2017-05-19
|
* scanner: Use reallocarr() when available.Thomas Klausner2017-05-19
| | | | | | | | | NetBSD had a crash during build. Since the provided substitute for reallocarray() wasn't working, use NetBSD's reallocarr(). Let configure choose that function whenever it is available. Use reallocarray if available. Still fallback if neither is available. Fixes #219
* build: do not generate lib/Makefile.in.Explorer092017-05-03
| | | | | | Files in lib/ are picked up and built using makefile directives in src/Makefile.am. Remove the need to generate lib/Makefile.in and the stub lib/Makefile.am.
* build: use lowest versions for gettext, automake.Simon Sobisch2017-05-02
|
* build: list earliest useable versions for automakeSimon Sobisch2017-05-02
|
* build: support cross compiling.Alastair Hughes2017-02-23
| | | | | | | | | | | | | Check for cross compiling. If cross compiling, build stage1flex using a custom link command. We also override LDADD since that adds the replacement implementations that are cross compiled, and instead always use the replacement library implementations. We don't use BUILD_OBJEXT and BUILD_EXEEXT since it seems that automake does not support these. Fixes #78.
* build: Include <strings.h>; add strcasecmp() check to configure.Explorer092017-02-17
| | | | | | strings.h (not string.h) is the standard-defined include header for strcasecmp(). Include <strings.h> for portability (even though glibc exposes strcasecmp() declaration also in <string.h> by default).
* build: Let configure error if missing required functions, headers..Explorer092017-02-17
| | | | | | | | | | | | `configure` will now error if a required header or function is not found on the system. Also add comments on optional functions checks. Add sys/stats.h and sys/wait.h to list of required headers in configure. This fixes issue #180.
* test: skip pthread test when needed files missing.Explorer092017-02-16
| | | | | | | | | | | | "Unlisting" the pthread test when libpthread is not available is never a good idea. Should let it compile into a stub program that returns the "skip" status. configure.ac and tests/Makefile.am are edited so that pthread test can be built anyway, but only works (not as the stub) when both pthread.h and libpthread are detected on the system. Also fix a small typo in tests/pthread.l comments.
* build: remove repeated bison detection from configure.Explorer092017-01-25
| | | | | | | | | | | | | | | AC_PROG_YACC already detects the bison program. We can just use it, and make notice if [ $YACC != 'bison -y' ] Remove unused AC_SUBST([BISON], ...). Add AM_CONDITIONAL([HAVE_BISON], ...) so that we can skip bison tests in testsuite when bison is absent. We don't make any attempt to detect other yacc implementations since flex is developed with bison. While it would be possible, the need isn't there right now. It would be possible to add a --with-parser option that defaulted to bison if such a need cropped up.
* build: detect overflow for [re]allocate_array.Explorer092017-01-24
| | | | | | | | | | | Use reallocarray() when we have it (i.e. in OpenBSD system). When we don't, use equivalent overflow detection for our allocate_array and reallocate_array functions. Remove lib/reallocarray.c from our LIBOBJS as we no longer need it. Provide a fallback SIZE_MAX macro definition in flexint.h (not preprocessor friendly, but enough for our reallocate_array use case).
* doc: v2.6.4Will Estes2017-01-23
|
* build: Simplify indent program detectionExplorer092017-01-12
|
* build: New configure option '--disable-bootstrap'.Explorer092016-12-29
| | | | | | | | | If configure is run with '--disable-bootstrap', then stage1flex won't be built and stage1scan.c will be generated by sed'ing scan.c. This option is intended to workaround bootstrap bugs rather than to fix the bootstrapping issues which are proving subtler and harder to fix than anyone would like.
* build: allow building libfl even with --disable-libfl.Explorer092016-12-29
| | | | | | For various reasons, we may wish to build libfl explicitly even when configure has been run with the --disable-libfl option. This is possible, now, via 'make -C src libfl.la'.
* build: warn about cross compiling with *allocExplorer092016-11-24
|
* build: Link $(LIBOBJS) from src/ dir, remove libcompat.la.Explorer092016-11-24
| | | | | | The libcompat.la library was small and less friendly to bootstrapping and cross compilation. Now, we will simply link individual object files as needed, which is simpler.
* build: Add --disable-libfl configure option.Explorer092016-11-14
| | | | | | Disabling libfl is useful when building flex for a cross-toolchain. Fixes: GH-99
* Fix unportable test(1) operator.Thomas Klausner2016-11-06
| | | | | "==" is only supported by bash, "=" is the standard comparison operator.
* build: fix false negatives for help2man and texi2dviAlastair Hughes2016-10-29
| | | | | | HELP2MAN and TEXI2DVI (or the corresponding ac_prog variables) will never be zero length as they fall back to the missing script; check for the fall back and warn on that instead of always warning.
* build: version 2.6.3 beginsWill Estes2016-10-25
|
* build: switch xz to lzipWill Estes2016-10-24
|
* build: for automake, flex is foreignWill Estes2016-10-19
|
* configure option `--enable-warnings' and `WARNINGFLAGS'rlar2016-03-31
| | | | | | | | | | | `WARNINGFLAGS' can be passed when invoking `configure' and when invoking `make' if configure switch `--enable-warnings' was given then default to something useful if we have `GCC' `WARNINGFLAGS' is not used when compiling `stage1flex' to avoid unnecessary clutter
* mention v2.6.2; summarize changes since 2.6.1Will Estes2016-03-18
|
* Suppress portability warnings in Makefile generationRobert Larice2016-03-16
|
* build: Removed bzip2 distribiution archiveWill Estes2016-02-27
|
* removed obsolete program checkWill Estes2016-02-27
|
* Made some program checks more robustWill Estes2016-02-27
|
* Removed no longer needed header checksWill Estes2015-12-27
|
* Checked for reallocarray() with AC_REPLACE_FUNCSWill Estes2015-12-27
|
* build: reformatted AC_CHECK_FUNCS for readabilityWill Estes2015-12-19
|
* configure: fixed realloc test.Mike Frysinger2015-12-13
| | | | | | | The [] characters are used for quoting in m4, so the attempt to use them in place of `test` fails yielding the warning at build time: .../flex/configure: line 20222: no: command not found
* Added new function reallocarray.Michael McConville2015-12-12
| | | | | | | | | | | | | | This is taken from OpenSSH Portable, which in turn takes it from OpenBSD. reallocarray wraps the stdlib's realloc function. It takes two size arguments and checks for overflow, like calloc, but doesn't zero the memory. Therefore, it allows us to do overflow-safe array reallocations and overflow-safe unzeroed array allocations, which the stdlib allocation functions don't. We have a bunch of specific array allocation macros, none of which check for overflow. reallocarray should be able to replace them.
* Mentioned v2.6.1; documented some changes since v2.6.0Will Estes2015-12-11
|
* Checked for ranlib and strdup() at configure timeWill Estes2015-12-09
|
* Checked for (g)texi2dvi. Better bison, help2man checks.Mightyjo2015-12-03
| | | | | | | | | Added test for presence of (g)texi2dvi program. Gave notice if texi2dvi is unavailable and set TEXI2DVI=: to avoid giving users headaches. Enhanced tests for bison and help2man with notices when the programs aren't found. Set their program variables to use the missing script in build-aux since it's compatible with them.
* updated syntax of AC_INIT call as per autoupdateWill Estes2015-11-21
|
* Declared version 2.6.0Will Estes2015-11-17
|
* Declared version 2.6.0rc1Will Estes2015-11-13
|
* initialize libtool earlier in build system generationWill Estes2015-07-15
|
* added back call to AC_CONFIG_AUX_DIR.Will Estes2014-11-14
| | | | | | In an effort to reduce top level directory clutter, reintroduced the call to AC_CONFIG_AUX_DIR. Moved the call to LT_INIT to after that call so configure will be able to find its files.
* use automake conditional around pthread testWill Estes2014-11-12
|
* upgrade automake version to 1.14.1Will Estes2014-11-12
| | | | | | | Unfortunately, automake 1.14.1 does not play nicely with AC_CONFIG_AUX_DIR, so upgrading the used automake version required removing the build-aux directory and letting autoconf's installed helper files live more over the tree.
* update gettext version to 0.19Will Estes2014-11-12
|
* call LT_INIT earlier in configure.acWill Estes2014-11-12
|
* remove old tests/ subdirectories from build systemWill Estes2014-11-12
|
* add parallel test suite option to build systemWill Estes2014-11-12
|