dbus/dbus

Colin Walters walters at verbum.org
Fri Jul 30 22:35:52 PDT 2004


CVS commit by walters: 

2004-07-31  Colin Walters  <walters at redhat.com>

	* configure.in: Use AC_TRY_COMPILE instead of AC_EGREP_HEADER
	to correctly detect DBUS__ACQUIRE_SVC.  Also add an
	AC_MSG_CHECKING.


  M +6 -0      dbus/dbus/ChangeLog   1.541
  M +6 -1      dbus/dbus/configure.in   1.93


--- dbus/dbus/configure.in  #1.92:1.93
@@ -701,6 +701,11 @@
     # see if we have the SELinux header with the new D-BUS stuff in it
     if test x$have_selinux = xyes ; then
-        AC_EGREP_HEADER(DBUS__ACQUIRE_SVC, av_permissions.h,
+        AC_MSG_CHECKING([for DBUS Flask permissions in selinux/av_permissions.h])
+        AC_TRY_COMPILE([#include <selinux/av_permissions.h>],
+                        [#ifdef DBUS__ACQUIRE_SVC return 0;
+                         #else #error DBUS__ACQUIRE_SVC not defined
+                         #endif],
                         have_selinux=yes, have_selinux=no)
+        AC_MSG_RESULT($have_selinux)
     fi
 

--- dbus/dbus/ChangeLog  #1.540:1.541
@@ -1,2 +1,8 @@
+2004-07-31  Colin Walters  <walters at redhat.com>
+
+        * configure.in: Use AC_TRY_COMPILE instead of AC_EGREP_HEADER
+        to correctly detect DBUS__ACQUIRE_SVC.  Also add an
+        AC_MSG_CHECKING.
+
 2004-07-24  Havoc Pennington  <hp at redhat.com>
 




More information about the dbus-commit mailing list