Update of /cvsroot/sblim/cmpi-samples/autotools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30162
Modified Files:
acinclude.m4
Log Message:
Added test for cimserver executable.
Index: acinclude.m4
===================================================================
RCS file: /cvsroot/sblim/cmpi-samples/autotools/acinclude.m4,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- acinclude.m4 19 Apr 2005 11:10:27 -0000 1.2
+++ acinclude.m4 20 Apr 2005 06:18:26 -0000 1.3
@@ -28,7 +28,8 @@
[
AC_MSG_CHECKING(for Pegasus 2.3.2)
test_CIMSERVER=`cimserver -v`
- if test "$test_CIMSERVER" == "2.3.2"; then
+ if which cimserver > /dev/null 2>&1 &&
+ test "$test_CIMSERVER" == "2.3.2"; then
AC_MSG_RESULT(yes)
AC_DEFINE_UNQUOTED(HAVE_PEGASUS_2_3_2,1,[Defined to 1 if Pegasus 2.3.2 is used])
else
@@ -46,7 +47,8 @@
[
AC_MSG_CHECKING(for Pegasus 2.4)
test_CIMSERVER=`cimserver -v`
- if test "$test_CIMSERVER" == "2.4"; then
+ if which cimserver > /dev/null 2>&1 &&
+ test "$test_CIMSERVER" == "2.4"; then
AC_MSG_RESULT(yes)
CPPFLAGS="$CPPFLAGS -DPEGASUS_USE_EXPERIMENTAL_INTERFACES"
AC_DEFINE_UNQUOTED(HAVE_PEGASUS_2_4,1,[Defined to 1 if Pegasus 2.4 is used])
|