Commit Graph

78 Commits

Author SHA1 Message Date
Timothy Stack
11d23a26d9 [build] libgpm autoconf check 2016-12-06 07:01:05 -08:00
Timothy Stack
d85ca570dd more travis 2016-12-06 06:22:43 -08:00
Timothy Stack
327b1b6e9f try turning libgpm complaint to a warning 2016-12-06 06:17:32 -08:00
Timothy Stack
44d93dddc3 [pretty-print] allow formats to do transforms before pretty-printing
Also started upgrading to C++11.

Fixes #353
2016-12-05 16:34:30 -08:00
Adam Spiers
5c5027673d fix compile on SUSE
If we have both 64-bit and 32-bit versions of ncurses installed,
currently the 32-bit libraries in /lib get found first, so gcc fails to
link against them, and ./configure ends up thinking that we're missing
ncurses libraries.

So scan /lib64 before /lib.  There might be a better fix, but hopefully
it will avoid breaking 32-bit distributions and distributions which have
64-bit libraries in /lib.
2016-11-19 15:00:27 +00:00
Jan Chren
d347104a30 [configure] add AM_PROG_AR to detect 'ar' instead of hard-coding it 2016-10-24 16:56:16 +02:00
Timothy Stack
4d091988a0 [release] some more work on the release build 2016-08-06 15:23:23 -07:00
Timothy Stack
96191badf3 [release] update versions for release and fix some time issues 2016-04-04 23:55:43 -07:00
Timothy Stack
5a718bc0ec [sql] missed checking for null in graphable columns 2015-11-29 20:10:40 -08:00
Timothy Stack
62075fb340 [sql] add json_group_object aggregate function 2015-11-29 19:56:10 -08:00
Timothy Stack
bf73660747 bump version to 0.8.0 2015-09-25 06:40:17 -07:00
Suresh Sundriyal
f96827a61c [Autoconf] More cleanup. 2015-09-15 01:42:56 -07:00
Suresh Sundriyal
90b9905bdc [Autoconf] Minor cleanup.
Use the autoconf macros instead of shell constructs.
2015-09-14 00:59:42 -07:00
Timothy Stack
9555ad911a more build fixes 2015-08-02 07:41:09 -07:00
Timothy Stack
f286950854 [curl] add a curl looper to handle url requests 2015-08-02 06:43:57 -07:00
Timothy Stack
248dd78f63 [config] some libcurl changes for static linking 2015-07-25 07:01:29 -07:00
Timothy Stack
06c74c450f [release] some updates to the release makefile 2015-07-25 06:45:38 -07:00
Timothy Stack
879bbd581e [pt] rough draft of tail for papertrail 2015-07-06 20:53:42 -07:00
Timothy Stack
92dd59285b some fixes to the re2c change 2015-06-10 20:42:46 -07:00
Timothy Stack
054e8d489b [data-scanner] convert to using re2c 2015-06-08 06:27:45 -07:00
Suresh Sundriyal
b5f1e9cec2 Require sqlite3-v3.6.0
v3.6.0 was the last released version of sqlite3 that I could
successfully compile with without any source changes. I could
compile with v3.4.2 but that required some code changes which
were not really worth the trouble of supporting v3.4.2, which was
released on 2007-08-13.
2015-04-26 13:28:30 -07:00
Suresh Sundriyal
e8ff7d8e8e [build] Require sqlite3 to be at least version 3.3.9.
'sqlite3_prepare_v2' was first introduced in version 3.3.9, which is
about 8 years old by now.
2015-04-26 01:42:07 -07:00
Suresh Sundriyal
ace51f0848 [build] Get rid of the sqlite3 dependency. 2015-04-16 00:28:31 -07:00
Suresh Sundriyal
b2959ce6bd Revert "[build] Remove the build dependency on 'sqlite3' command-line tool."
This reverts commit ce7a32b587.
2015-04-12 16:39:03 -07:00
Suresh Sundriyal
ce7a32b587 [build] Remove the build dependency on 'sqlite3' command-line tool. 2015-04-12 00:24:51 -07:00
Suresh Sundriyal
70e2de6fc6 [build] Remove the dependency on Python.
We got rid of the only Python script that was run during the build phase
to produce the sql table. This dependecy is no longer required.
2015-04-11 18:19:34 -07:00
Timothy Stack
8a91c96bed [build] bump version to 0.7.3 since we will release soon 2015-04-08 02:26:25 -07:00
Suresh Sundriyal
7da767bc07 [build] More changes for git version string. 2015-04-06 21:51:16 -07:00
Suresh Sundriyal
0c979afc09 [build] Add the git cln to the lnav version. 2015-04-06 21:35:47 -07:00
Suresh Sundriyal
b53e3f2401 [build] Get rid of warnings from autoreconf.
* Remove some of the obsolete macros.
* Use AC_CONFIG_MACRO_DIR to allow compatibility with older versions of
  autoconf.
* Remove AU_ALIAS from curses macro.
2015-04-01 01:04:12 -07:00
Suresh Sundriyal
b4d7781539 [build] Try a bit harder to resolve libgpm dependency. 2015-03-30 20:32:56 -07:00
Suresh Sundriyal
78efe35f3f [build] Pick up readline '.a' files.
And give preference to user specified/ac discovered paths rather than
system directories.
2015-03-29 17:12:34 -07:00
Suresh Sundriyal
58e3b20f17 [build] Add the package name and URL to autoconf script. 2015-03-28 19:44:36 -07:00
Suresh Sundriyal
b371a680b3 [tests] Skip bzip2 tests if not compiled with bzip2. 2015-03-28 01:25:09 -07:00
Suresh Sundriyal
0ec996e4aa [build] Reinstate _BSD_SOURCE
Comment and case '*' and everything.
2015-03-24 22:51:21 -07:00
Suresh Sundriyal
3445ee5dc6 [build] Warn if libgpm is missing and other minor changes.
* On some misconfigured systems, libgpm is required along with ncurses.
  I haven't been able to figure out the correct way to figure out these
  dependencies without resorting to using external tools like 'nm'. So
  for the moment, if libgpm is not found, at least warn the user that
  the build might fail later.

* Ncurses on OS X does not require libgpm, so there is no need to test
  for it.

* There seems to be an 'AC_DEFINE' _BSD_SOURCE which does not seem to be
   used anywhere. Removing this for now.

* Remove some artifacts left behind by Emacs.
2015-03-24 22:19:37 -07:00
Suresh Sundriyal
bc5a6cd154 [minor] Fix the tinfo disable message. 2015-03-23 15:57:43 -07:00
Suresh Sundriyal
2c7f70d56c [build] Provide an option to disable tinfo linking.
In some cases, tinfo is not required to build but the library still gets
linked in because it's present on the system. There should be an
explicit way to disable linking with tinfo.
2015-03-23 15:44:25 -07:00
Suresh Sundriyal
13c6b82f8c [build] Fix SQLite3 realted m4 macros.
The current macro does not seem to honor the CFLAGS and LDFLAGS
variables if '--with-sqlite3=yes' is used. Fix this and some of
the other cruft in the macro.
2015-03-23 03:22:59 -07:00
Suresh Sundriyal
31c4669a8a [build] Fix the 'readline' ac macro.
The macro does not track the include directory when it is passed in
using the '--with-readline=/foo/bar' invocation of '--with-readline'
flag.

This change should fix the problem. I've tried to keep the functionality
exactly the same as before and converted the script to pure M4sh, which
should produce a more portable configure script.
2015-03-20 17:17:30 -07:00
Suresh Sundriyal
74da06a8b8 [build] Define a USE_INCLUDED_YAJL conditional
Define a USE_INCLUDED_YAJL conditional which can be used to skip the
included YAJL files if there are local ones available.
2015-03-14 03:12:36 -07:00
Suresh Sundriyal
b9b06ca951 [build] Hook in the yajl related macros. 2015-03-14 01:58:41 -07:00
Suresh Sundriyal
7886ddbb12 [build] Move/Refactor aclocal macros.
* Move all the m4 macros in to their own directory.
* Rename 'ax_with_jemalloc.m4' -> 'lnav_with_jemalloc.m4' because
  'ax_with_*' is a convention for third-party aclocal macros in the
  official archives.
* Rename the methods to be more lnav specific.
2015-03-12 23:47:34 -07:00
Suresh Sundriyal
0d29019923 [jemalloc] Add support for jemalloc.
Add some repurposed m4 macros for compiling lnav with jemalloc and hook
them in to configure.ac.
2015-03-12 00:48:50 -07:00
Timothy Stack
0ce83a0301 bump version to 0.7.2 2015-02-26 21:47:27 -08:00
Timothy Stack
45f18bd89c bump version, add some logging, and minor stuff
Defect Number:
    Reviewed By:
   Testing Done:
2014-11-03 20:02:22 -08:00
Timothy Stack
1974e1f1ae [jsonptr] initial impl 2014-05-05 06:44:58 -07:00
Timothy Stack
b58438875d [concise] initial impl 2014-04-20 10:40:28 -07:00
Timothy Stack
530a0a94b5 [configure] fail if ncurses was not found and fix the date test 2014-03-22 10:13:45 -07:00
Timothy Stack
a94b432630 [build] check for libexecinfo 2014-03-18 03:59:27 -07:00