(4.1p1) Building failure with libedit on FreeBSD 4.x-RELEASE
Darren Tucker
dtucker at zip.com.au
Tue Aug 9 19:56:13 EST 2005
On Tue, Aug 09, 2005 at 09:43:09AM +0900, Norihiko Murase wrote:
> I've noticed that building 4.1p1 fails on FreeBSD 4.x if the
> libedit support is enabled by the "--with-libedit" configure
> option.
Could you please test this patch? You will need to run "autoreconf"
after applying the patch to rebuild configure.
Thanks.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
-------------- next part --------------
Index: configure.ac
===================================================================
RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/configure.ac,v
retrieving revision 1.282
diff -u -p -r1.282 configure.ac
--- configure.ac 2 Aug 2005 14:20:15 -0000 1.282
+++ configure.ac 9 Aug 2005 09:42:52 -0000
@@ -1023,6 +1023,19 @@ AC_ARG_WITH(libedit,
[ AC_MSG_ERROR(libedit not found) ],
[ -lcurses ]
)
+ AC_MSG_CHECKING(if libedit version is compatible)
+ AC_TRY_COMPILE([#include <histedit.h>],
+ [
+int main(void)
+{
+ el_init("", NULL, NULL, NULL);
+ exit(0);
+}
+ ],
+ [ AC_MSG_RESULT(yes) ],
+ [ AC_MSG_RESULT(no)
+ AC_MSG_ERROR(libedit version is not compatible) ]
+ )
fi ]
)
More information about the openssh-unix-dev
mailing list