[libvirt] [PATCH] Remove redefinition of bool type when --enable-test-locking

Martin Kletzander mkletzan at redhat.com
Wed Dec 18 16:44:55 UTC 2013


On Wed, Dec 18, 2013 at 04:16:17PM +0000, Daniel P. Berrange wrote:
> 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
>

ACK,

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131218/32fd1653/attachment-0001.sig>


More information about the libvir-list mailing list