[libvirt] [PATCH] Remove redefinition of bool type when --enable-test-locking
Daniel P. Berrange
berrange at redhat.com
Wed Dec 18 16:16:17 UTC 2013
Old versions of CIL did not understand the 'bool' data type,
but at least 1.7.3 does now cope. We can remove the old hack
which redefined bool and no longer compiles successfully.
Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 5446634..675f1fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2129,7 +2129,7 @@ AC_ARG_ENABLE([test-locking],
enable_locking=$enableval
if test "$enable_locking" = "yes"; then
- LOCK_CHECKING_CFLAGS="-Dbool=char -D_Bool=char -save-temps"
+ LOCK_CHECKING_CFLAGS="-save-temps"
AC_SUBST([LOCK_CHECKING_CFLAGS])
fi
AM_CONDITIONAL([WITH_CIL],[test "$enable_locking" = "yes"])
--
1.8.4.2
More information about the libvir-list
mailing list