Whamcloud - gitweb
LU-6001 build: fix autoconf DLC detection output 31/13031/2
authorDmitry Eremin <dmitry.eremin@intel.com>
Thu, 11 Dec 2014 13:27:21 +0000 (16:27 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 18 Dec 2014 03:20:01 +0000 (03:20 +0000)
checking for yaml_parser_initialize in -lyaml... no
checking whether to enable dlc... yes
no (libyaml not present)

Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Change-Id: I29b968295b508522f9158ac920ee3bb862ae4b4e
Reviewed-on: http://review.whamcloud.com/13031
Tested-by: Jenkins
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Amir Shehata <amir.shehata@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/autoconf/lustre-lnet.m4

index 29f9bdd..9b0924f 100644 (file)
@@ -131,14 +131,16 @@ AC_DEFUN([LN_CONFIG_DLC], [
                AC_HELP_STRING([--disable-dlc],
                        [disable building dlc]),
                        [], [enable_dlc="yes"])
                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],
        USE_DLC=""
        AS_IF([test "x$enable_dlc" = xyes],
-             [AS_IF([test "x$LIBYAML" = xlibyaml], [
+               [AS_IF([test "x$LIBYAML" = xlibyaml], [
                        USE_DLC="yes"
                        USE_DLC="yes"
+                       AC_MSG_RESULT([yes])
                ], [
                        AC_MSG_RESULT([no (libyaml not present)])
                ])
                ], [
                        AC_MSG_RESULT([no (libyaml not present)])
                ])
+       ], [
+               AC_MSG_RESULT([no])
        ])
        AC_SUBST(USE_DLC)
 ])
        ])
        AC_SUBST(USE_DLC)
 ])