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
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
ea63d5d3c2
No args default w/ tty stdout, not tty stdin #220
2014-06-16 22:34:50 -05:00
20e629284f
Detect endianness at configuration with Autoconf AC_C_BIGENDIAN feature
2014-06-11 10:37:32 +02:00
d65dbf89c9
Also fix configure.ac to use git describe --tags
2014-06-08 19:36:06 -05:00
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
d056668f4f
Add autoconf checks for pthreads; fix #340
2014-04-16 18:42:36 -05:00
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
106fdf5114
Fix #201 ; check that bison accepts --warnings
2014-01-01 23:10:00 -06:00
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
dae2422fd1
Merge branch 'libjq'
...
Conflicts:
Makefile.am
configure.ac
2013-09-14 19:30:39 +01:00
f0d1c39b5b
Call AM_INIT_AUTOMAKE once only
...
Fixes build with automake-1.14
2013-09-01 18:58:26 +10:00
8630fb02bb
Use libtool's built-in symbol exporting rather than a mapfile.
2013-06-23 12:10:58 +01:00
a44f739356
Move libtool m4 junk to config/ and delete some autogenerated files.
2013-06-23 12:01:58 +01:00
f44ecf3872
Remove Autoconf-generated config.h.
2013-06-23 12:01:58 +01:00
298b2a6033
Add libjq autoconf goo
2013-06-21 11:57:12 -05:00
c8ab67be27
Speed up cached configure (./configure -C)
2013-06-05 16:40:01 +01:00
0535e724a2
jq 1.3 release
2013-05-19 11:48:18 +01:00
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
12d2d4d1f5
Don't build the manpage unless there's a working Ruby setup.
2013-05-09 15:22:38 +01:00
f6089a627a
Autotools hackery so that "make dist" builds lexer and parser.
2013-05-09 11:31:17 +01:00
63b689bf54
Use the version number from configure.ac in the website.
2013-05-08 19:57:29 +01:00
a511d03d85
Configure whether colour is displayed by default directly in source
2013-05-08 19:37:12 +01:00
9d245c88c4
Check in a pile of Autotools junk, including the configure script.
2013-05-08 18:55:10 +01:00
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
43fd939f16
rework build to not distribute tests unless --enable-devel is specificied to autoconf
2013-02-03 14:49:03 -06:00
f62184855b
use AM_SILENT_RULES
2013-02-03 00:09:47 -06:00
ddeec45b2e
revert back to make invoking flex, fix a few bugs
2012-11-28 01:08:23 -06:00
006357f954
initial attempt at autoconf implementation, removed all generated code from git
2012-11-27 16:02:59 -06:00