[30489] in CVS-changelog-for-Kerberos-V5

home help back first fref pref prev next nref lref last post

krb5 commit: Simplify libreadline configure support

daemon@ATHENA.MIT.EDU (Greg Hudson)
Sun Apr 28 10:40:57 2019

Date: Tue, 23 Apr 2019 16:35:44 -0400
From: Greg Hudson <ghudson@mit.edu>
Message-ID: <201904232035.x3NKZiCx029777@drugstore.mit.edu>
To: <cvs-krb5@mit.edu>
MIME-Version: 1.0
Reply-To: krbdev@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu

https://github.com/krb5/krb5/commit/64e82a1da0e252df02894df22735236b9aa62f26
commit 64e82a1da0e252df02894df22735236b9aa62f26
Author: Greg Hudson <ghudson@mit.edu>
Date:   Tue Apr 23 12:41:11 2019 -0400

    Simplify libreadline configure support
    
    If configure is explicitly asked to build with libreadline, look for
    and link against only -lreadline, relying on the platform to resolve
    any dependencies.
    
    ticket: 8795

 src/configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/configure.ac b/src/configure.ac
index 7a04d2b..87d2135 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -1339,9 +1339,9 @@ if test "x$with_libedit" != xno; then
 elif test "x$with_readline" = xyes; then
   AC_MSG_NOTICE([Using GNU Readline])
   AC_CHECK_LIB([readline], [main], :,
-	       AC_MSG_FAILURE([Cannot find readline library.]), [-lncurses])
+	       AC_MSG_FAILURE([Cannot find readline library.]))
   AC_DEFINE([HAVE_READLINE], 1, [Define if building with GNU Readline.])
-  RL_LIBS='-lreadline -lhistory -lncurses'
+  RL_LIBS='-lreadline'
 else
   AC_MSG_RESULT([Not using any readline support])
 fi
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5

home help back first fref pref prev next nref lref last post