diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 10 |
2 files changed, 10 insertions, 6 deletions
@@ -1,5 +1,7 @@ | |||
1 | 20050815 | 1 | 20050815 |
2 | - (tim) wrap el_end() in #ifdef USE_LIBEDIT | 2 | - (tim) [sftp.c] wrap el_end() in #ifdef USE_LIBEDIT |
3 | - (tim) [configure.ac] corrections to libedit tests. Report and patches | ||
4 | by skeleten AT shillest.net | ||
3 | 5 | ||
4 | 20050812 | 6 | 20050812 |
5 | - (djm) OpenBSD CVS Sync | 7 | - (djm) OpenBSD CVS Sync |
@@ -2935,4 +2937,4 @@ | |||
2935 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 2937 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
2936 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 2938 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
2937 | 2939 | ||
2938 | $Id: ChangeLog,v 1.3872 2005/08/15 21:52:50 tim Exp $ | 2940 | $Id: ChangeLog,v 1.3873 2005/08/16 00:48:40 tim Exp $ |
diff --git a/configure.ac b/configure.ac index a62ee8c43..849112829 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.285 2005/08/10 11:52:36 dtucker Exp $ | 1 | # $Id: configure.ac,v 1.286 2005/08/16 00:48:41 tim Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 1999-2004 Damien Miller | 3 | # Copyright (c) 1999-2004 Damien Miller |
4 | # | 4 | # |
@@ -1024,15 +1024,16 @@ AC_ARG_WITH(libedit, | |||
1024 | [ -lcurses ] | 1024 | [ -lcurses ] |
1025 | ) | 1025 | ) |
1026 | AC_MSG_CHECKING(if libedit version is compatible) | 1026 | AC_MSG_CHECKING(if libedit version is compatible) |
1027 | AC_TRY_COMPILE([#include <histedit.h>], | 1027 | AC_COMPILE_IFELSE( |
1028 | [ | 1028 | [AC_LANG_SOURCE([[ |
1029 | #include <histedit.h> | ||
1029 | int main(void) | 1030 | int main(void) |
1030 | { | 1031 | { |
1031 | int i = H_SETSIZE; | 1032 | int i = H_SETSIZE; |
1032 | el_init("", NULL, NULL, NULL); | 1033 | el_init("", NULL, NULL, NULL); |
1033 | exit(0); | 1034 | exit(0); |
1034 | } | 1035 | } |
1035 | ], | 1036 | ]])], |
1036 | [ AC_MSG_RESULT(yes) ], | 1037 | [ AC_MSG_RESULT(yes) ], |
1037 | [ AC_MSG_RESULT(no) | 1038 | [ AC_MSG_RESULT(no) |
1038 | AC_MSG_ERROR(libedit version is not compatible) ] | 1039 | AC_MSG_ERROR(libedit version is not compatible) ] |
@@ -1066,6 +1067,7 @@ AC_ARG_WITH(audit, | |||
1066 | AC_DEFINE(SSH_AUDIT_EVENTS, [], Use audit debugging module) | 1067 | AC_DEFINE(SSH_AUDIT_EVENTS, [], Use audit debugging module) |
1067 | ;; | 1068 | ;; |
1068 | no) | 1069 | no) |
1070 | AC_MSG_RESULT(no) | ||
1069 | ;; | 1071 | ;; |
1070 | *) | 1072 | *) |
1071 | AC_MSG_ERROR([Unknown audit module $withval]) | 1073 | AC_MSG_ERROR([Unknown audit module $withval]) |