From d92622f9b5f5facac0115b070aa4e85d5c52d18f Mon Sep 17 00:00:00 2001 From: tim Date: Tue, 16 Aug 2005 00:48:40 +0000 Subject: [PATCH] - (tim) [configure.ac] corrections to libedit tests. Report and patches by skeleten AT shillest.net --- ChangeLog | 4 +++- configure.ac | 8 +++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index d559f4b6..114e885e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 20050815 - - (tim) wrap el_end() in #ifdef USE_LIBEDIT + - (tim) [sftp.c] wrap el_end() in #ifdef USE_LIBEDIT + - (tim) [configure.ac] corrections to libedit tests. Report and patches + by skeleten AT shillest.net 20050812 - (djm) OpenBSD CVS Sync diff --git a/configure.ac b/configure.ac index 5eec34dc..6ad8ba22 100644 --- a/configure.ac +++ b/configure.ac @@ -1024,15 +1024,16 @@ AC_ARG_WITH(libedit, [ -lcurses ] ) AC_MSG_CHECKING(if libedit version is compatible) - AC_TRY_COMPILE([#include ], - [ + AC_COMPILE_IFELSE( + [AC_LANG_SOURCE([[ +#include int main(void) { int i = H_SETSIZE; el_init("", NULL, NULL, NULL); exit(0); } - ], + ]])], [ AC_MSG_RESULT(yes) ], [ AC_MSG_RESULT(no) AC_MSG_ERROR(libedit version is not compatible) ] @@ -1066,6 +1067,7 @@ AC_ARG_WITH(audit, AC_DEFINE(SSH_AUDIT_EVENTS, [], Use audit debugging module) ;; no) + AC_MSG_RESULT(no) ;; *) AC_MSG_ERROR([Unknown audit module $withval]) -- 2.45.2