Commit Graph

94 Commits

Author SHA1 Message Date
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
Timothy Stack
0f8f1b5218 [build] check for execinfo.h 2014-03-18 03:37:00 -07:00
Timothy Stack
1eb29e4081 try again for the limit 2014-03-16 15:21:42 -07:00
Timothy Stack
9ff2d3774d [line_buffer] split long lines
Fixes #81
2014-03-15 04:40:58 -07:00
Timothy Stack
454503ed53 [conf] check for sqlite3_stmt_readonly 2014-03-12 20:36:14 -07:00
Timothy Stack
174e1c855e [version] next release will be 0.7.0 instead of 0.6.3 2014-03-10 07:39:57 -07:00
Timothy Stack
c347485834 [config] add more config directories to search 2014-03-02 22:26:41 -08:00
Timothy Stack
5b66441378 [doc] update some docs 2014-02-24 15:50:42 -08:00
Suresh Sundriyal
cd49dc5226 Static linking related cleanup.
* Remove traces of libcrypto, since we don't use OpenSSL anymore.
* Add libgpm and libtinfo to the list of static_lib_list.
2014-02-06 20:53:11 -08:00
Suresh Sundriyal
e5471490cf Fix the static linking issue. fixes tstack/lnav#71. 2014-02-06 13:30:36 -08:00
Timothy Stack
71cd99a2bf [cygwin] fix compile issue for test 2014-01-12 19:58:18 -08:00
Timothy Stack
5e011a9203 [cygwin] misc fixes to get things building/running on windows
This change is just a first step, it should get the basics going.  But,
the tests don't all build and there are probably other issues when
running.
2014-01-07 07:35:52 -08:00
Timothy Stack
59c1d4313b [mouse] more mouse support and other fixes 2013-10-11 06:22:29 -07:00
Timothy Stack
33584ed9f8 [docs] minor tweaks and version bump 2013-09-10 09:42:30 -07:00
Timothy Stack
de374e68f6 [build] some more build tweaks 2013-08-28 21:22:04 -07:00
Timothy Stack
22dbcf7796 [build] some lib path ordering and a fix for older linuxes 2013-08-28 18:20:11 -07:00
Timothy Stack
db8e64960d [build] more static library link 2013-08-28 07:57:21 -07:00
Timothy Stack
b4ed348428 [build] mostly static linking stuff 2013-08-28 07:28:31 -07:00
Timothy Stack
255b91771c [version] bump the version to 0.6.0 2013-07-28 11:43:33 -07:00
Timothy Stack
af6e289cda [log format] add scaling factors 2013-07-23 05:55:08 -07:00
Timothy Stack
c93172824c [logline] cache log line schemas to make subsequent queries faster and other tweaks 2013-06-12 06:59:48 -07:00
Timothy Stack
9420662006 [build] some configure fixes 2013-06-10 06:55:39 -07:00
Timothy Stack
5d478fc17a [cleanup] start a tracer/debugger for the data parser 2013-06-08 06:10:18 -07:00
Timothy Stack
5e18f47cd2 [nits] fix some recently introduced bugs and some long standing ones 2013-06-04 06:53:25 -07:00
Timothy Stack
3128dc772c [sqlite] Major improvements to the sqlite integration.
This is a checkpoint of the improvements to the sqlite integration.  The
data_parser stuff should be much better now and I've tried to improve
other parts of the user experience as well.
2013-05-24 07:55:56 -07:00
Timothy Stack
f62b5c271c [release] bump to 0.5.1 2013-05-02 23:02:03 -07:00
Timothy Stack
4c6069c33d [cleanup] little bits of cleanup here and there 2013-05-02 08:29:36 -07:00
Timothy Stack
5a25a76b2d [build] set _BSD_SOURCE to 1 to quiet warnings 2013-04-24 07:18:27 -07:00
Timothy Stack
458a42fcc9 [autogen] do not install bin2c and rerun autogen 2013-04-18 22:46:49 -07:00