summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--configure.ac16
2 files changed, 20 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6a27ad629..37539b728 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120050810
2 - (dtucker) [configure.ac] Test libedit library and headers for compatibility.
3 Report from skeleten AT shillest.net, ok djm@
4
120050809 520050809
2 - (tim) [configure.ac] Allow --with-audit=no. OK dtucker@ 6 - (tim) [configure.ac] Allow --with-audit=no. OK dtucker@
3 Report by skeleten AT shillest.net 7 Report by skeleten AT shillest.net
@@ -2900,4 +2904,4 @@
2900 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 2904 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
2901 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 2905 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
2902 2906
2903$Id: ChangeLog,v 1.3863 2005/08/09 17:09:53 tim Exp $ 2907$Id: ChangeLog,v 1.3864 2005/08/10 10:34:15 dtucker Exp $
diff --git a/configure.ac b/configure.ac
index a6fae9ff0..60dbd0c34 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.283 2005/08/09 17:09:54 tim Exp $ 1# $Id: configure.ac,v 1.284 2005/08/10 10:34:15 dtucker Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -1023,6 +1023,20 @@ AC_ARG_WITH(libedit,
1023 [ AC_MSG_ERROR(libedit not found) ], 1023 [ AC_MSG_ERROR(libedit not found) ],
1024 [ -lcurses ] 1024 [ -lcurses ]
1025 ) 1025 )
1026 AC_MSG_CHECKING(if libedit version is compatible)
1027 AC_TRY_COMPILE([#include <histedit.h>],
1028 [
1029int main(void)
1030{
1031 int i = H_SETSIZE;
1032 el_init("", NULL, NULL, NULL);
1033 exit(0);
1034}
1035 ],
1036 [ AC_MSG_RESULT(yes) ],
1037 [ AC_MSG_RESULT(no)
1038 AC_MSG_ERROR(libedit version is not compatible) ]
1039 )
1026 fi ] 1040 fi ]
1027) 1041)
1028 1042