]> xenbits.xensource.com Git - people/dariof/libvirt.git/commitdiff
Remove redefinition of bool type when --enable-test-locking
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 18 Dec 2013 16:15:08 +0000 (16:15 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 18 Dec 2013 17:03:35 +0000 (17:03 +0000)
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@redhat.com>
configure.ac

index 2ebb9412ca662979442c436959b4f2c72f168ec5..ddbcc8ec1f5cbf1d1b85bdcfe5103b1e18e0e17b 100644 (file)
@@ -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"])