[Pacemaker] small warning when build packages

Andrey Groshev greenx at yandex.ru
Thu Jun 20 12:21:35 UTC 2013


Hi,
Today, when I tried to recompile the package, I noticed a small warning.

./configure: line 31134: !pkg-config: command not found

As I understand it, the place is a check version libqb.
And in this case, it is always "true" because Returns the value always NOT zero.
Maybe fix it right?

--- configure.ac.old    2013-06-20 15:27:38.907028556 +0400
+++ configure.ac        2013-06-20 15:48:19.630022575 +0400
@@ -1008,8 +1008,8 @@
 LIBQB_LOG=1
 PCMK_FEATURES="$PCMK_FEATURES libqb-logging libqb-ipc"

-if
-   !pkg-config --atleast-version 0.13 libqb
+if
+    $(! pkg-config --atleast-version 0.13 libqb)
 then
    AC_MSG_FAILURE(Version of libqb is too old: v0.13 or greater requried)
 fi 




More information about the Pacemaker mailing list