Commit Graph

206 Commits

Author SHA1 Message Date
Anders Kaseorg af720b41e1 configure.ac: Intentionally underquote m4_normalize calls
This works around a bug in Autoconf 2.64 and earlier, which generated
ridiculous symbols like
  /* #undef HAVE_M4_NORMALIZE___FCNTL_H__LANGINFO_H__LIMITS_H__… */
instead of the ones we need.  It was fixed by v2.65~21:
  http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=81c80d1bf6c8ddf732d0b89f6fc5e306dac9705e

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2015-05-25 02:24:12 -04:00
Anders Kaseorg 553918d3f2 Connection: Support IPv6 addresses
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2013-08-17 09:02:44 -04:00
Jérémie Courrèges-Anglas 9314ea18fa use betoh64 if be64toh not found
Instead of looking for htobe64 which is be available both when
be64toh or betoh64 are, check for the latter functions.  If we
find betoh64 but not be64toh, use compat #defines.  If both
can't be found, search for OSX' OSSwapHostToBigInt64.
Also include sys/types.h in byteorder.h (which is necessary for
byteorder functions on OpenBSD), and incidentally fixes build
of networkfragment.cc.

Fixes build on OpenBSD

Signed-off-by: Jérémie Courrèges-Anglas <jca@wxcvbn.org>
2013-04-16 11:11:45 +02:00
Jérémie Courrèges-Anglas 24b078a5a1 workaround for systems not providing pselect
using a mix of good old select and sigprocmask

Signed-off-by: Jérémie Courrèges-Anglas <jca@wxcvbn.org>
2013-04-16 11:09:42 +02:00
Anders Kaseorg 8ff636d54e Work around automake bug that dropped portability warnings
There’s a bug in automake ≥ 1.10, < 1.12 where ‘-Wall foreign’
incorrectly turns off warnings about portability issues.  To get
consistent results across automake versions, use ‘foreign -Wall’
instead.

http://debbugs.gnu.org/cgi-bin/bugreport.cgi?bug=7669

Signed-off-by: Anders Kaseorg <andersk@mit.edu>

Closes #413
2013-04-15 13:37:52 -04:00
Keith Winstein 1b9915fcaf Bump version to 1.2.4a 2013-03-27 18:36:03 -04:00
Keith Winstein 688bf21b07 Bump version to 1.2.4 2013-03-27 00:28:47 -04:00
Keith Winstein 4668dc595f Bump version to 1.2.3.95rc1 (1.2.4 release candidate) 2013-03-10 17:52:56 -04:00
Keith Winstein 1bd38e6dab Include sys/uio.h to fix OpenBSD build problem (closes #391) 2013-03-10 16:58:16 -04:00
Anders Kaseorg 7b9e548aa0 Run tests with ‘make check’
The configure --enable-tests flag is no longer needed because
check_PROGRAMS are not built until you run ‘make check’.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2013-03-10 15:47:33 -04:00
Keith Winstein 1ee95974bc Since terminfo is guarded by include guard, need to define HAVE_CURSES_H 2013-01-18 12:11:55 -05:00
Anton Lundin dd5a69bc70 Conditional curses detection
Make the whole extra curses/ncurses/ncursesw only check if we didn't
find tinfo the "old" way.
2013-01-17 16:44:06 +01:00
Anton Lundin eeb8ae99d7 Reintroduce pkg-config based searching for ncurses
Fixes issue rased in #358
2013-01-17 16:44:06 +01:00
Anton Lundin 4b1da58ae0 Convert all tabs to 4 whitespaces
Tabs where erronusly introduced in 993abf57
2013-01-17 16:44:06 +01:00
Keith Winstein 1034f7092a Wrap termio.h include in guard 2012-12-12 18:03:15 -05:00
Anton Lundin 993abf57f1 Rework curses detection
Detect diffrent variants of curses and use them.
2012-12-01 12:53:28 +01:00
Luke Mewburn 3e3510d382 Display results at end of configure.
Display configuration results at end of configure run,
including the version, c++ compiler, and various
compiler flag variables.

Signed-off-by: Luke Mewburn <luke@mewburn.net>
2012-10-29 15:03:13 -04:00
Keith Winstein c53a174d0c Revert "Check for netinet/ip.h (now that we are using it), and don't also use in.h"
This reverts commit 0909ea55d6.
2012-10-22 10:50:07 -04:00
Keith Winstein 0909ea55d6 Check for netinet/ip.h (now that we are using it), and don't also use in.h 2012-10-22 10:34:16 -04:00
Keith Winstein 73a2675e8c Bump version to 1.2.3 2012-10-19 15:33:48 -04:00
Keith Winstein 9c34f5b279 Bump version to 1.2.2.95rc1 (1.2.3 release candidate) 2012-10-05 19:50:52 -04:00
Keith Winstein 0311365810 Read utmpx directly instead of using "who", and prettify detached warning 2012-09-28 20:06:04 -04:00
Keith Winstein 9ac3b65090 Respond to explicit congestion notification (slow down sender) 2012-09-28 19:07:31 -04:00
Timo Sirainen 0c5307f345 Added forkpty() and cfmakeraw() fallback implementations if they don't exist.
Signed-off-by: Timo Sirainen <tss@iki.fi>
2012-08-11 17:14:44 -04:00
Timo Sirainen cc0542dfe1 Test if -lsocket and -lnsl are needed (for Solaris)
Signed-off-by: Timo Sirainen <tss@iki.fi>
2012-08-11 17:14:44 -04:00
Keith Winstein c073ad364a get_SSH_IP gracefully handles missing, IPv6-formatted environment var
Closes #292 github issue.
2012-07-26 22:54:45 -04:00
Keith Winstein 57c4904ed8 Switch to OpenSSL base64 routines 2012-07-20 16:00:21 -04:00
Keith Winstein cd285ba28f Bump version to 1.2.2. 2012-06-12 14:56:05 -04:00
Keith Winstein 778b5afc50 Bump version to 1.2.1. 2012-05-25 18:07:19 -04:00
Keith Winstein 0b5a643964 Bump version to 1.2.0.97 (1.2.1 release candidate) 2012-05-23 12:19:09 -04:00
Keith Winstein 9b75ab0da7 Have Debian package install ufw and bash_completion.
Closes #248.
2012-05-23 07:23:44 -04:00
Keith Winstein 6594ae35e9 Make bash_completion installation default to off. 2012-05-23 06:38:30 -04:00
Keith Winstein a7818c612c Install bash_completion rule and (optionally) UFW firewall profile 2012-05-23 06:08:45 -04:00
Keith Winstein fa5b48c1a9 Bump version to 1.2.0.95 (1.2.1 release candidate) 2012-05-23 03:37:25 -04:00
Keith Winstein 5e86700a0a Fix OS X 10.5 problem where FD_ISSET() argument isn't const 2012-05-23 03:19:36 -04:00
Keith Winstein 7700984bbb Revert "Use protobuf's Gzip streams"
This reverts commit b0e05776f1.
2012-05-23 01:55:57 -04:00
Anders Kaseorg b0e05776f1 Use protobuf's Gzip streams
This reverts commit 63459ed1c7.
2012-05-16 00:24:21 -04:00
Keegan McAllister dd941df19d Remove unused sigfd and skalibs
Closes #265.
2012-05-16 00:00:27 -04:00
Keegan McAllister bb651581a7 Remove unused poll(2) emulation
Closes #235.
2012-05-16 00:00:27 -04:00
Anders Kaseorg 1b86532a99 Only use AM_PROG_AR if it’s defined
Fixes
  aclocal:configure.ac:22: warning: macro `AM_PROG_AR' not found in library
and
  ./configure: line 4024: AM_PROG_AR: command not found
with old automake.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2012-05-09 14:08:30 -04:00
Keith Winstein e70254bad5 Add AM_PROG_AR for automake 1.12 (closes #250) 2012-04-30 14:58:53 -04:00
Keith Winstein 68575f8587 Bump version to 1.2 2012-04-26 01:40:27 -04:00
Keith Winstein ef939c75cf Bump version to 1.1.99b 2012-04-25 02:53:43 -04:00
Keith Winstein 1f1f818a29 Bump version to 1.1.99a (release candidate) 2012-04-25 02:31:15 -04:00
Keith Winstein 072863f0b9 Bump version to 1.1.99 (release candidate) 2012-04-24 23:56:05 -04:00
Ryan Steinmetz 56cc176d43 Fix libutil.h test under FreeBSD 7.x/8.x 2012-04-24 22:37:27 -04:00
Keith Winstein dece595063 Bump version to 1.1.98 (release candidate) 2012-04-24 19:00:40 -04:00
Keith Winstein 3ccfe64bfb Rewrite Cygwin test again 2012-04-24 18:04:01 -04:00
Keith Winstein 6cd21080ef Fix test for Cygwin terminfo location 2012-04-24 16:56:23 -04:00
Keith Winstein 8d3a3b303f Bump version to 1.1.97 2012-04-23 22:54:50 -04:00