summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2000-10-14 21:33:19 +0000
committerBen Lindstrom <mouring@eviladmin.org>2000-10-14 21:33:19 +0000
commitca1c2a0bac6e3ceab5c232ab800a1085db346144 (patch)
treef09fdc5fe09ea51de5d9207775b666296f5a7b99
parente0f49143d3eb0519339997a0711e1d62fdd26db1 (diff)
Add support for GNU rx library for those lacking regexp support
-rw-r--r--ChangeLog1
-rw-r--r--INSTALL7
-rw-r--r--TODO2
-rw-r--r--acconfig.h3
-rw-r--r--compat.c6
-rw-r--r--configure.in1
6 files changed, 17 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index c7099dc27..bbd97b950 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,5 @@
120001014 120001014
2 - (bal) Add support for GNU rx library for those lacking regexp support
2 - (djm) Don't accept PAM_PROMPT_ECHO_ON messages during initial auth 3 - (djm) Don't accept PAM_PROMPT_ECHO_ON messages during initial auth
3 - (djm) Revert SSH2 serverloop hack, will find a better way. 4 - (djm) Revert SSH2 serverloop hack, will find a better way.
4 - (djm) Add workaround for Linux 2.4's gratuitious errno change. Patch 5 - (djm) Add workaround for Linux 2.4's gratuitious errno change. Patch
diff --git a/INSTALL b/INSTALL
index 4824ada63..b201eccd5 100644
--- a/INSTALL
+++ b/INSTALL
@@ -40,6 +40,13 @@ ftp://ftp.gnu.org/gnu/make/
40OpenSSH has only been tested with GNU make. It may work with other 40OpenSSH has only been tested with GNU make. It may work with other
41'make' programs, but you are on your own. 41'make' programs, but you are on your own.
42 42
43GNU rx:
44ftp:://ftp.gnu.org/gnu/rx/
45
46Most platforms do not required this. However older 4.3 BSD do not
47have a posix regex library.
48
49
432. Building / Installation 502. Building / Installation
44-------------------------- 51--------------------------
45 52
diff --git a/TODO b/TODO
index 93d8998b2..d32c5d5b0 100644
--- a/TODO
+++ b/TODO
@@ -9,6 +9,4 @@
9 9
10- Cleanup configure.in 10- Cleanup configure.in
11 11
12- utmp/wtmp logging does not work on NeXT
13
14- Complete Tru64 SIA support 12- Complete Tru64 SIA support
diff --git a/acconfig.h b/acconfig.h
index a17cba825..3bf61ec92 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -52,6 +52,9 @@
52/* Define if you are on Cygwin */ 52/* Define if you are on Cygwin */
53#undef HAVE_CYGWIN 53#undef HAVE_CYGWIN
54 54
55/* Define if you lack native POSIX regex and you are using GNU rx library */
56#undef HAVE_LIBRX
57
55/* Define if you are on NeXT */ 58/* Define if you are on NeXT */
56#undef HAVE_NEXT 59#undef HAVE_NEXT
57 60
diff --git a/compat.c b/compat.c
index 19dc76d96..71d12010c 100644
--- a/compat.c
+++ b/compat.c
@@ -29,7 +29,11 @@ RCSID("$OpenBSD: compat.c,v 1.24 2000/10/10 20:20:45 markus Exp $");
29#include "packet.h" 29#include "packet.h"
30#include "xmalloc.h" 30#include "xmalloc.h"
31#include "compat.h" 31#include "compat.h"
32#include <regex.h> 32#ifdef HAVE_LIBRX
33# include <rxposix.h>
34#else /* Use native regex libraries */
35# include <regex.h>
36#endif /* HAVE_LIBRX */
33 37
34int compat13 = 0; 38int compat13 = 0;
35int compat20 = 0; 39int compat20 = 0;
diff --git a/configure.in b/configure.in
index 7ff324bb0..a6bed7508 100644
--- a/configure.in
+++ b/configure.in
@@ -256,6 +256,7 @@ AC_ARG_WITH(libs,
256# Checks for libraries. 256# Checks for libraries.
257AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***])) 257AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***]))
258AC_CHECK_LIB(util, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="$LIBS -lutil") 258AC_CHECK_LIB(util, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="$LIBS -lutil")
259AC_CHECK_LIB(rx, regcomp, AC_DEFINE(HAVE_LIBRX) LIBS="$LIBS -lrx")
259 260
260if test -z "$no_libsocket" ; then 261if test -z "$no_libsocket" ; then
261 AC_CHECK_LIB(nsl, yp_match, , ) 262 AC_CHECK_LIB(nsl, yp_match, , )