
+1. Pushed. On 05/16/2011 01:47 PM, Eduardo Lima (Etrunko) wrote:
# HG changeset patch # User Eduardo Lima (Etrunko)<eblima@br.ibm.com> # Date 1305296777 10800 # Node ID 71c08398356cf6cdcef25acb7132518d8fc2a5ee # Parent af2ffd311f1bc510a56a7018691edce7be89ad17 libcmpituil: Configure tweaks
acinclude.m4 - Better output when checking for CMPI includes configure.ac - Use automake silent rules if available - Check for pkg-config program
Signed-off-by: Eduardo Lima (Etrunko)<eblima@br.ibm.com>
diff --git a/acinclude.m4 b/acinclude.m4 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -42,6 +42,7 @@ dnl The standard include paths worked. AC_MSG_RESULT(yes) else + AC_MSG_RESULT(no) _DIRS_="/usr/include/cmpi \ /usr/local/include/cmpi \ $PEGASUS_ROOT/src/Pegasus/Provider/CMPI \ @@ -61,13 +62,15 @@ dnl Save the new -I parameter CMPI_CPP_FLAGS="$CPPFLAGS" break - fi + else + AC_MSG_RESULT(no) + fi CPPFLAGS=$_cppflags done fi CPPFLAGS="$CMPI_CPP_FLAGS" if test "$have_CMPI" == "no"; then - AC_MSG_ERROR(no. Sorry cannot find CMPI headers files.) + AC_MSG_ERROR(Cannot find CMPI header files.) fi ] ) diff --git a/configure.ac b/configure.ac --- a/configure.ac +++ b/configure.ac @@ -30,7 +30,9 @@
AC_CONFIG_FILES([Makefile tools/Makefile])
+# Use silent-rules if possible AM_INIT_AUTOMAKE +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_PROG_CC
@@ -51,6 +53,8 @@
AM_CONDITIONAL([build_eoparser],[test x$eoparser = xyes])
+# Check for pkg-config program +PKG_PROG_PKG_CONFIG CHECK_LIBXML2
if test x${eoparser} = xyes; then
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
-- Chip Vincent Open Virtualization IBM Linux Technology Center cvincent@linux.vnet.ibm.com