From: Viktor M. <mih...@us...> - 2005-06-20 16:19:30
|
Update of /cvsroot/sblim/cmpi-samples/autotools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7803 Modified Files: acinclude.m4 Log Message: Added missing internal macro. Index: acinclude.m4 =================================================================== RCS file: /cvsroot/sblim/cmpi-samples/autotools/acinclude.m4,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- acinclude.m4 12 May 2005 15:10:07 -0000 1.5 +++ acinclude.m4 20 Jun 2005 16:19:21 -0000 1.6 @@ -323,6 +323,30 @@ dnl Modifies the CPPFLAGS with the right include directory and sets dnl the 'have_SBLIMBASE' to either 'no' or 'yes' dnl +AC_DEFUN([_CHECK_SBLIM_BASE], + [ + AC_MSG_CHECKING($1) + _ldflags=$LDFLAGS + LDFLAGS="$LDFLAGS -lcmpiOSBase_Common" + AC_TRY_LINK( + [ + #include <OSBase_Common.h> + ], + [ + get_system_name(); + ], + [ + have_SBLIMBASE=yes + LDFLAGS=$_ldflags + dnl AC_MSG_RESULT(yes) + ], + [ + have_SBLIMBASE=no + LDFLAGS=$_ldflags + dnl AC_MSG_RESULT(no) + ]) + +]) AC_DEFUN([CHECK_SBLIM_BASE], [ |