Doug Luce
3cbefde376
Add alloca() discovery to configure.ac
...
The build failed on FreeBSD as there is no alloca.h. This patch is
lifted from the autoconf documentation.
2015-06-18 19:19:15 -05:00
Nicolas Williams
8af52aaf52
Add ./configure --enable-all-static instead
2015-05-25 21:19:56 -05:00
Nicolas Williams
d66e434fb4
Always add -all-static when --enable-static
2015-05-25 14:14:53 -05:00
Nicolas Williams
cf1306f469
Add -all-static when --enable-static
2015-05-18 12:07:29 -05:00
Nicolas Williams
821d6404b6
Add error injection library
2015-05-11 21:36:46 -05:00
Nicolas Williams
ccfba00178
Add more date builtins
2015-03-09 11:27:58 -05:00
Nicolas Williams
a4b9552c82
Add date builtins ( fix #364 )
...
Windows support for strptime() is missing. We can add a copy of one
from a BSD later.
2015-03-06 00:14:15 -06:00
Stefan Seemayer
a4baac2256
Correct automake and autoconf version requirements
2015-02-18 13:15:44 +01:00
Nicolas Williams
1e5e9f3ef8
Mention --disable-maintainer-mode in bison error
2015-02-17 11:00:07 -06:00
Sebastian Freundt
10e8d34fd3
Fix oniguruma detection logic
...
At the moment, a failed oniguruma header check would leave
HAVE_ONIGURUMA set to 1 still, resulting in a compiler error
in builtin.c.
2015-02-16 09:01:08 +00:00
Nicolas Williams
8cef5a37ab
Add --disable-maintainer-mode; make bison optional
...
Also flex is now optional.
The outputs of flex and bison are now committed. By default they get
built, but users who want to build from git can now
./configure --disable-maintainer-mode
to turn off the dependency on bison and flex.
Maintainers must, of course, commit the bison and/or flex outputs when
they make changes to parser.y and/or lexer.l, respectively.
2015-02-15 18:34:44 -06:00
Nicolas Williams
8afdeee785
Make Oniguruma/regexp optional
...
Tests won't pass if built without Oniguruma. We don't have a way to
make a test optional yet. That will come later. For now the ability to
reduce build-time dependencies could really help some users.
2015-02-15 18:32:01 -06:00
Nicolas Williams
157c95b988
Add mkstemp() for mingw build
2015-01-01 03:14:55 -06:00
William Langford
6744664ff4
Actually check version for bison.
...
Clean up oniguruma checks.
2014-08-06 12:26:34 -04:00
William Langford
38b939688a
Added library system with -l, -L, and JQ_LIBRARY_PATH
...
Created util.[ch] to hold common utilities.
2014-07-22 22:51:11 -05:00
William Langford
8ff935c01a
Added regex support as per issue #164 .
...
jq now depends on oniguruma for regex support.
Modified configure.ac accordingly.
Added valgrind suppression file for oniguruma to prevent one-time and bounded
leaks from causing tests to fail.
Signed-off-by: Nicolas Williams <nico@cryptonector.com >
2014-06-18 21:02:47 -05:00
Nicolas Williams
ea63d5d3c2
No args default w/ tty stdout, not tty stdin #220
2014-06-16 22:34:50 -05:00
Kim De Mey
20e629284f
Detect endianness at configuration with Autoconf AC_C_BIGENDIAN feature
2014-06-11 10:37:32 +02:00
Nicolas Williams
d65dbf89c9
Also fix configure.ac to use git describe --tags
2014-06-08 19:36:06 -05:00
Nicolas Williams
022a418894
Make pthread tls configurable for Mingw build
...
For the Mingw build we don't want to pull in the pthread DLL just
because we can autodetect pthread support. That would make the jq.exe
binary not self-contained.
2014-04-17 20:17:06 -05:00
Nicolas Williams
d056668f4f
Add autoconf checks for pthreads; fix #340
2014-04-16 18:42:36 -05:00
polyester
6ed3adb091
work with newer versions of automake
...
when using a newer automake, the autoreconf step fails with warnings:
"linking libtool libraries using a non-POSIX archiver requires 'AM_PROG_AR' in 'configure.ac' "
This happens for instance on ubuntu 13.10.
Doing just that, adding 'AM_PROG_AR' to configure.ac fixes the problem.
2014-01-25 18:55:58 +01:00
Nicolas Williams
106fdf5114
Fix #201 ; check that bison accepts --warnings
2014-01-01 23:10:00 -06:00
Nicolas Williams
99f170adc3
Fix version for make dist on master
...
- Re-remove VERSION file and all traces of it
- Pass a decent version indicator to AC_INIT (using git describe)
When we tag 1.4 this will produce 1.4 as the version string when
building on the HEAD of that tag.
2013-12-31 17:19:40 -06:00
Stephen Dolan
dae2422fd1
Merge branch 'libjq'
...
Conflicts:
Makefile.am
configure.ac
2013-09-14 19:30:39 +01:00
Ankur
f0d1c39b5b
Call AM_INIT_AUTOMAKE once only
...
Fixes build with automake-1.14
2013-09-01 18:58:26 +10:00
Stephen Dolan
8630fb02bb
Use libtool's built-in symbol exporting rather than a mapfile.
2013-06-23 12:10:58 +01:00
Stephen Dolan
a44f739356
Move libtool m4 junk to config/ and delete some autogenerated files.
2013-06-23 12:01:58 +01:00
Stephen Dolan
f44ecf3872
Remove Autoconf-generated config.h.
2013-06-23 12:01:58 +01:00
Nicolas Williams
298b2a6033
Add libjq autoconf goo
2013-06-21 11:57:12 -05:00
Stephen Dolan
c8ab67be27
Speed up cached configure (./configure -C)
2013-06-05 16:40:01 +01:00
Stephen Dolan
0535e724a2
jq 1.3 release
2013-05-19 11:48:18 +01:00
Stephen Dolan
e6494857fc
Add some build instructions for how to install doc dependencies.
...
jq can now build without Ruby, but you won't get a nice manpage.
2013-05-09 20:35:19 +01:00
Stephen Dolan
12d2d4d1f5
Don't build the manpage unless there's a working Ruby setup.
2013-05-09 15:22:38 +01:00
Stephen Dolan
f6089a627a
Autotools hackery so that "make dist" builds lexer and parser.
2013-05-09 11:31:17 +01:00
Stephen Dolan
63b689bf54
Use the version number from configure.ac in the website.
2013-05-08 19:57:29 +01:00
Stephen Dolan
a511d03d85
Configure whether colour is displayed by default directly in source
2013-05-08 19:37:12 +01:00
Stephen Dolan
9d245c88c4
Check in a pile of Autotools junk, including the configure script.
2013-05-08 18:55:10 +01:00
Stephen Dolan
d121420757
Clean up autotools config.
...
Remove some of @stagrlee's hard work since jq's testsuite is
less silly than when he wrote the autotools config.
2013-05-08 02:42:23 +01:00
Lee Thompson
43fd939f16
rework build to not distribute tests unless --enable-devel is specificied to autoconf
2013-02-03 14:49:03 -06:00
Lee Thompson
f62184855b
use AM_SILENT_RULES
2013-02-03 00:09:47 -06:00
Lee Thompson
ddeec45b2e
revert back to make invoking flex, fix a few bugs
2012-11-28 01:08:23 -06:00
Lee Thompson
006357f954
initial attempt at autoconf implementation, removed all generated code from git
2012-11-27 16:02:59 -06:00