From 8b3d16622735472a5f21ae48bda04e7f07bff769 Mon Sep 17 00:00:00 2001 From: Dmitry Eremin Date: Thu, 11 Dec 2014 16:27:21 +0300 Subject: [PATCH 1/1] LU-6001 build: fix autoconf DLC detection output checking for yaml_parser_initialize in -lyaml... no checking whether to enable dlc... yes no (libyaml not present) Signed-off-by: Dmitry Eremin Change-Id: I29b968295b508522f9158ac920ee3bb862ae4b4e Reviewed-on: http://review.whamcloud.com/13031 Tested-by: Jenkins Reviewed-by: Bob Glossman Tested-by: Maloo Reviewed-by: Amir Shehata Reviewed-by: Oleg Drokin --- lnet/autoconf/lustre-lnet.m4 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lnet/autoconf/lustre-lnet.m4 b/lnet/autoconf/lustre-lnet.m4 index 29f9bdd..9b0924f 100644 --- a/lnet/autoconf/lustre-lnet.m4 +++ b/lnet/autoconf/lustre-lnet.m4 @@ -131,14 +131,16 @@ AC_DEFUN([LN_CONFIG_DLC], [ AC_HELP_STRING([--disable-dlc], [disable building dlc]), [], [enable_dlc="yes"]) - AC_MSG_RESULT([$enable_dlc]) USE_DLC="" AS_IF([test "x$enable_dlc" = xyes], - [AS_IF([test "x$LIBYAML" = xlibyaml], [ + [AS_IF([test "x$LIBYAML" = xlibyaml], [ USE_DLC="yes" + AC_MSG_RESULT([yes]) ], [ AC_MSG_RESULT([no (libyaml not present)]) ]) + ], [ + AC_MSG_RESULT([no]) ]) AC_SUBST(USE_DLC) ]) -- 1.8.3.1