From 648e4b9fa3f36f10e517b4e6b80329980603d17c Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Fri, 22 Jul 2011 16:37:00 +0000 Subject: [PATCH] Fix configure logic when libedit isn't present The configure script was correctly detecting that libedit was absent, but was setting RL_CFLAGS to garbage in the process. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25036 dc483132-0cff-0310-8789-dd5450dbe970 --- src/configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/configure.in b/src/configure.in index b057a3b48..a5fa4eeea 100644 --- a/src/configure.in +++ b/src/configure.in @@ -1116,7 +1116,8 @@ fi RL_CFLAGS= RL_LIBS= if test "x$with_libedit" != xno; then - if RL_CFLAGS=`pkg-config --cflags libedit 2>&1`; then + if rl_cflags=`pkg-config --cflags libedit 2>&1`; then + RL_CFLAGS=$rl_cflags RL_LIBS=`pkg-config --libs libedit` AC_DEFINE([HAVE_LIBEDIT], 1, [Define if building with libedit.]) AC_MSG_RESULT([using libedit]) -- 2.26.2