os-cmpi-xen
changeset 32:75b18359b74d
Fixed a few compilation warnings, fixed 'make dist' target, and updated release tag in configure.ac to 0.1.1.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
author | jfehlig@jfehlig3.provo.novell.com |
---|---|
date | Tue Oct 24 16:51:30 2006 -0600 (2006-10-24) |
parents | 33d4316c01a2 |
children | acaabfa6fb4a |
files | Makefile.am configure.ac src/Xen_MemoryPool.c src/Xen_ProcessorPool.c |
line diff
1.1 --- a/Makefile.am Tue Oct 24 11:30:03 2006 -0600 1.2 +++ b/Makefile.am Tue Oct 24 16:51:30 2006 -0600 1.3 @@ -30,9 +30,9 @@ EXTRA_DIST= 1.4 # Add the RPM spec file to the distribution file list 1.5 EXTRA_DIST+=$(PACKAGE).spec 1.6 1.7 -# Remove CVS directories when building a distribution package 1.8 +# Remove hg directories when building a distribution package 1.9 dist-hook: 1.10 - test -d "$(distdir)" && (find $(distdir) -type d -name CVS | xargs -i rm -rf {}) 1.11 + test -d "$(distdir)" && (find $(distdir) -type d -name .hg | xargs -i rm -rf {}) 1.12 1.13 1.14 # ----------------------------------------------------------------------------- 1.15 @@ -237,12 +237,12 @@ HOST_NS_MOFS = \ 1.16 schema/dmtf/CIM_HostedResourcePool.mof \ 1.17 schema/Xen_MemoryPool.mof \ 1.18 schema/Xen_MemoryPoolComponent.mof \ 1.19 - schema/Xen_HostedMemoryPool.mof 1.20 + schema/Xen_HostedMemoryPool.mof \ 1.21 schema/Xen_ProcessorPool.mof \ 1.22 - schema/Xen_ProcessorPoolComponent.mof 1.23 - schema/Xen_HostedProcessorPool.mof 1.24 + schema/Xen_ProcessorPoolComponent.mof \ 1.25 + schema/Xen_HostedProcessorPool.mof \ 1.26 schema/Xen_ComputerSystem.mof \ 1.27 - schema/Xen_HostedComputerSystem.mof 1.28 + schema/Xen_HostedComputerSystem.mof \ 1.29 schema/Xen_RegisteredSVProfile.mof \ 1.30 schema/Xen_ElementConformsToSVProfile.mof 1.31
2.1 --- a/configure.ac Tue Oct 24 11:30:03 2006 -0600 2.2 +++ b/configure.ac Tue Oct 24 16:51:30 2006 -0600 2.3 @@ -34,7 +34,7 @@ 2.4 # Package information 2.5 # CHANGE THIS TO THE PACKAGE SUMMARY INFORMATION 2.6 # AC_INIT(<PACKAGE_NAME>, <PACKAGE_VERSION>, <PACKAGE_BUGREPORT>, <PACKAGE_TARBALL>) 2.7 -AC_INIT(CMPI Xen Provider, 0.1.0, bestor@us.ibm.com, xen-cim-cmpi) 2.8 +AC_INIT(CMPI Xen Provider, 0.1.1, bestor@us.ibm.com, xen-cim-cmpi) 2.9 2.10 # Identify the source directory 2.11 # CHANGE THIS TO THE RELATIVE PATHNAME OF *ONE* OF THE SOURCE FILES 2.12 @@ -65,7 +65,7 @@ AC_CHECK_PROG([HAVE_PKG_CONFIG], [pkg-co 2.13 if test "x$HAVE_PKG_CONFIG" = "xyes"; then 2.14 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig" 2.15 2.16 - LIBVIRT_MIN_VER=0.1.0 2.17 + LIBVIRT_MIN_VER=0.1.5 2.18 PKG_CHECK_MODULES([libvirt], [libvirt >= $LIBVIRT_MIN_VER]) 2.19 else 2.20 AC_CHECK_LIB([virt], [virConnectOpen],
3.1 --- a/src/Xen_MemoryPool.c Tue Oct 24 11:30:03 2006 -0600 3.2 +++ b/src/Xen_MemoryPool.c Tue Oct 24 16:51:30 2006 -0600 3.3 @@ -20,6 +20,8 @@ 3.4 // Description: 3.5 // ============================================================================ 3.6 3.7 +#include <string.h> 3.8 + 3.9 /* Include the required CMPI data types, function headers, and macros */ 3.10 #include "cmpidt.h" 3.11 #include "cmpift.h"
4.1 --- a/src/Xen_ProcessorPool.c Tue Oct 24 11:30:03 2006 -0600 4.2 +++ b/src/Xen_ProcessorPool.c Tue Oct 24 16:51:30 2006 -0600 4.3 @@ -20,6 +20,8 @@ 4.4 // Description: 4.5 // ============================================================================ 4.6 4.7 +#include <string.h> 4.8 + 4.9 /* Include the required CMPI data types, function headers, and macros */ 4.10 #include "cmpidt.h" 4.11 #include "cmpift.h"