Commit Graph

12 Commits

Author SHA1 Message Date
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
b9c8e18611 [build] Revert the LIBS variable after readline checks. 2015-03-29 01:53:29 -07:00
Suresh Sundriyal
707ccce9c0 [build] Stop readline macro from polluting the environment variables. 2015-03-29 01:19:51 -07:00
Suresh Sundriyal
2554f19b23 [build] macro refactor 2015-03-27 04:34:25 -07:00
Suresh Sundriyal
a3bdb2355d [build] Fix the check for editline in readline macro. 2015-03-26 18:51:48 -07:00
Suresh Sundriyal
fcdc67eda9 Remove quotes from LNAV_ADDTO arguments. 2015-03-26 17:11:23 -07:00
Suresh Sundriyal
9aaf5d12c3 [build] Make readline macro depend on curses. 2015-03-24 00:21:11 -07:00
Suresh Sundriyal
649f486d13 [File headers] Add some headers to m4 files.
Add the license and copyright headers to m4 files.
2015-03-23 03:23:05 -07:00
Suresh Sundriyal
263ece0d93 Remove the check for libreadline.a
Do a standard check for libreadline and use '-lreadline' as usual.
2015-03-21 00:20:35 -07:00
Suresh Sundriyal
f52d9641ed [build] Make sure readline has the necessary symbols.
On FreeBSD variant, readline functionality is provided by editline which
is almost compatible but not quite. We could do a specific check for
editline but if editline adds the functionality in the future, this
check will still continue to fail. Instead look for one of the symbols
currently missing in editline as a sanity check.
2015-03-20 20:50:14 -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
df5045a64c [build] break up lnav.m4 based on the functionality 2015-03-20 13:21:44 -07:00