svn rev #25036: trunk/src/

ghudson@MIT.EDU ghudson at MIT.EDU
Fri Jul 22 12:37:00 EDT 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=25036
Commit By: ghudson
Log Message:
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.


Changed Files:
U   trunk/src/configure.in
Modified: trunk/src/configure.in
===================================================================
--- trunk/src/configure.in	2011-07-22 00:26:56 UTC (rev 25035)
+++ trunk/src/configure.in	2011-07-22 16:37:00 UTC (rev 25036)
@@ -1116,7 +1116,8 @@
 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])




More information about the cvs-krb5 mailing list