Commit Graph

65 Commits

Author SHA1 Message Date
Sergei Trofimovich
2b788be1c8 configure.ac: add second parameter quoting around the rest of AS_IF for consistency 2023-12-23 19:17:19 +00:00
Sergei Trofimovich
f444a316f5 configure.ac: fix autoconf-2.72 compatibility
`autoconf-2.72` slightly changed `AS_IF`/`AC_CHECL_LIB` definitions and
exposed the bug of missng quoting around the arguments:

    editline> ./configure: line 13944: syntax error near unexpected token `;;'
    editline> ./configure: line 13944: ` ;;'

The change adds quoting as suggested by https://savannah.gnu.org/support/index.php?110990
2023-12-23 19:13:52 +00:00
Joachim Nilsson
63b94d2089 configure: Add --enable-examples option to build examples/
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2020-06-08 18:47:17 +02:00
Joachim Nilsson
70d190340a Update changelogs and bump version for v1.17.1 release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2020-02-23 18:46:48 +01:00
Joachim Nilsson
d2fa0e4c6e Put auxillary files generated by autotools in aux/
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2020-02-23 18:43:52 +01:00
Joachim Nilsson
3e40e24e11 Reintroduce .tar.gz for distribution archives
For systems that don't have xz in the base install.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2020-02-23 18:43:52 +01:00
Joachim Nilsson
02cccd1e87 Update ChangeLog and bump version for v1.17.0
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2020-01-05 09:53:19 +01:00
Joachim Nilsson
1802e086e0 Bump version for v1.17.0 release cycle
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-11-28 07:01:13 +01:00
Joachim Nilsson
7355f56d25 Update ChangeLog(s) and bump version for v1.16.1 release
New ABI version 1.0.1

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-06-07 12:04:01 +02:00
Joachim Nilsson
0b554cf8c8 Bump version for v1.16.1 release cycle
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-04-07 12:46:01 +02:00
Joachim Nilsson
4ec7d26a9d Fix #20: configure --disable-eof does not bite
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2018-09-21 07:17:19 +02:00
Joachim Nilsson
59fa265d91 Update ChangeLog and bump version for v1.16.0 release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2018-09-16 10:10:03 +02:00
Joachim Nilsson
bd5ae42b4b Remove configure option --disable-default-complete
The filename completion handler fallback will now be enabled by default.
To disable it a new GNU Readline function pointer will be added.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2018-04-02 22:08:43 +02:00
Joachim Nilsson
9b7b3121c5 configure: Check for unistd.h
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2017-12-02 21:15:17 +01:00
Joachim Nilsson
6021e54dbc Bump version for v1.16.0 relese cycle
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2017-11-29 15:34:30 +01:00
Joachim Nilsson
119db55bf2 Bump version for v1.15.3 bug fix release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2017-09-07 01:26:31 +02:00
Joachim Nilsson
b8c6a5b1e2 configure: Refactor other enable/disable checks like --enable-termcap
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2017-03-30 00:36:21 +02:00
Joachim Nilsson
ee70c8339c Followup to #7: Check also for terminfo, requested by @rofl0r
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2017-03-30 00:35:13 +02:00
Joachim Nilsson
16c96eda10 Fix #7: Fix configure --enable-termcap
Improper handling of AC_ARG_ENABLE() causes the configure script to
always enable CONFIG_USE_TERMCAP.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2017-03-29 22:06:56 +02:00
Joachim Nilsson
8aa36184e6 Update ChangeLog and bump version for v1.15.2 release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-06-06 20:04:35 +02:00
Joachim Nilsson
6db7c7d440 Minor cleanup and simplification of build system
- Move 'foreign' declaration from Makefile.am's to configure script
- Move CFLAGS from configure script to src/Makefile.am
- Remove faltering license blurb at top of configure script, no need
  for this since we a) do not care, b) falls under project license

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-06-01 07:26:16 +02:00
Joachim Nilsson
e02339c3ae Do not assume -ltermcap, check for tgetent() instead
This is a followup patch for issue #8.  When the user elects
to enable Termcap checks for window resizing we need to check
what library on the system provides this functionality.  Do
not assume -ltermcap, but instead check for tgetent() in all
possible libraries.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-06-01 07:26:09 +02:00
Joachim Nilsson
7a0c292a82 Bump version for v1.15.2 release cycle
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-01-27 09:24:23 +01:00
Joachim Nilsson
8a40df481b Update ChangeLog and bump version for v1.15.1 release.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-11-16 21:17:17 +01:00
Joachim Nilsson
8439f426fc Fix examples FTBFS for --enable-termcap builds
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-10-27 19:50:01 +01:00
Joachim Nilsson
7a9e467251 Don't force automake v1.11, require at least v1.11
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-09-25 15:10:46 +02:00
Joachim Nilsson
6ad3cc1df5 Bump version and update ChangeLog for v1.15.0 release.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-09-10 13:26:03 +02:00
Joachim Nilsson
9fbad9dbff Fix build problems after removal of generated files.
Restore custom INSTALL file, accidentally removed in 295f901.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-09-10 12:44:19 +02:00
Joachim Nilsson
256e288331 Update CHANGELOG and README slightly, bump version to 1.15.0-rc1
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-04-06 15:24:34 +02:00
Joachim Nilsson
9c163ff72b Rename define CONFIG_ANNOYING_NOISE --> CONFIG_TERMINAL_BELL
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-04-06 15:24:28 +02:00
Joachim Nilsson
6a8556733a Add support for disabling default SIGINT and EOF behavior.
This patch adds support for `--disable-eof` and `--disable-sigint` to
the Editline configure script.  With either of these two switches the
`tty_special()` function bypasses the special TTY checks making it
possible to bind Ctrl-C and Ctrl-D to custom callbacks.  This can be
useful if you want to emulate a Cisco style CLI rather than traditional
UNIX.

The user can of course also redefine the VINTR and VEOF special terminal
control characters, but these configure script switches may be easier to
use for some.

Also, the CLI example has been updated to bind Ctrl-D, Ctrl-C and Ctrl-Z
for testing purposes.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-04-06 14:53:47 +02:00
Joachim Nilsson
85e606d093 Bump version for release, v1.14.2
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2014-09-14 04:27:38 +02:00
Joachim Nilsson
7330f21c28 Bump version for release
o Bump minor version for release
o Update maintainer email address
o Change to tar.xz for archive distribution

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2013-07-08 21:23:16 +02:00
Joachim Nilsson
33ffb150f2 Cleanup configure.ac and regenerate default configure files. 2013-07-08 16:47:03 +02:00
Joachim Nilsson
0646b511ab Update README and bump version to 1.14.0 for release. 2010-08-12 16:58:36 +02:00
Joachim Nilsson
6a8ecd7e2e Remove unused constant 'HIDE' 2010-08-04 03:08:38 +02:00
Joachim Nilsson
ff404e2088 Move to use AS_HELP_STRING() and make default-complete enabled by default. 2010-08-04 02:39:57 +02:00
Joachim Nilsson
04a0cbd902 Allocate history scrollback buffer at runtime instead of at configure.
Also make sure "unique history" is enabled by default in configure.
2010-08-04 02:12:19 +02:00
Joachim Nilsson
5a8ad742d9 Adding -Wcast-qual revealed some more interesting casts. 2010-07-24 02:39:45 +02:00
Joachim Nilsson
009d3f0568 Make UNIQUE_HISTORY configurable, remove TODO items and old Minix Makefile 2010-07-19 04:13:11 +02:00
Joachim Nilsson
60245e5e51 Make sure to only export if new --enable-termcap is set. 2010-07-19 03:33:39 +02:00
Joachim Nilsson
576e437290 Bump version to 1.14.0-rc1 2010-07-18 19:00:13 +02:00
Joachim Nilsson
6d2f4c99a3 Add configurable support for using termcap library for terminal size. 2010-07-18 18:57:07 +02:00
Joachim Nilsson
a0ec848f7b Cleanup configure.ac a bit 2010-07-18 16:05:56 +02:00
Joachim Nilsson
4c4a7e808c Make scrollback history (HIST_SIZE) configurable 2010-07-18 05:19:03 +02:00
Joachim Nilsson
2d2ec7db98 Improve GCC warning and error triggers and also improve check of GCC version.
Configure snippets shamelessly stolen from http://www.libusb.org/browser/configure.ac
2010-07-18 02:51:25 +02:00
Joachim Nilsson
ad0fee03aa Fix recently broken --enable-default-complete and simplify configure script. 2010-07-18 02:30:30 +02:00
Joachim Nilsson
3c4cf96bfc More cleanup. Added license blurb to top of all source files.
Remove all old $Id:$ and similar constructs, they don't provide any
additional benefit anymore.

Add configure options for toggling terminal bell and  toying with
SIGSTOP using Ctrl-Z.  Rename config option for ANSI keys to get
a consistent namespace.

Also did some work on ANSI-fication of function definitions, lot's
of that was still lingering around.
2010-07-18 01:41:18 +02:00
Joachim Nilsson
e16f245672 Migrate to libtool and regenerate configure script 2010-07-17 22:00:06 +02:00
Joachim Nilsson
9973cc2a9a Change bug-report-address. 2010-07-17 21:45:39 +02:00