mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 00:04:30 +02:00
- (dtucker) [configure.ac] Test libedit library and headers for compatibility.
Report from skeleten AT shillest.net, ok djm@
This commit is contained in:
parent
8bc6b900ed
commit
c7572b2661
@ -1,3 +1,7 @@
|
|||||||
|
20050810
|
||||||
|
- (dtucker) [configure.ac] Test libedit library and headers for compatibility.
|
||||||
|
Report from skeleten AT shillest.net, ok djm@
|
||||||
|
|
||||||
20050809
|
20050809
|
||||||
- (tim) [configure.ac] Allow --with-audit=no. OK dtucker@
|
- (tim) [configure.ac] Allow --with-audit=no. OK dtucker@
|
||||||
Report by skeleten AT shillest.net
|
Report by skeleten AT shillest.net
|
||||||
@ -2900,4 +2904,4 @@
|
|||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3863 2005/08/09 17:09:53 tim Exp $
|
$Id: ChangeLog,v 1.3864 2005/08/10 10:34:15 dtucker Exp $
|
||||||
|
16
configure.ac
16
configure.ac
@ -1,4 +1,4 @@
|
|||||||
# $Id: configure.ac,v 1.283 2005/08/09 17:09:54 tim Exp $
|
# $Id: configure.ac,v 1.284 2005/08/10 10:34:15 dtucker Exp $
|
||||||
#
|
#
|
||||||
# Copyright (c) 1999-2004 Damien Miller
|
# Copyright (c) 1999-2004 Damien Miller
|
||||||
#
|
#
|
||||||
@ -1023,6 +1023,20 @@ AC_ARG_WITH(libedit,
|
|||||||
[ AC_MSG_ERROR(libedit not found) ],
|
[ AC_MSG_ERROR(libedit not found) ],
|
||||||
[ -lcurses ]
|
[ -lcurses ]
|
||||||
)
|
)
|
||||||
|
AC_MSG_CHECKING(if libedit version is compatible)
|
||||||
|
AC_TRY_COMPILE([#include <histedit.h>],
|
||||||
|
[
|
||||||
|
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) ]
|
||||||
|
)
|
||||||
fi ]
|
fi ]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user