On 01/11/2013 04:05 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berra...@redhat.com>
> 
> Signed-off-by: Daniel P. Berrange <berra...@redhat.com>
> ---
>  configure.ac     | 42 ++----------------------------------------
>  m4/virt-netcf.m4 | 40 ++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 42 insertions(+), 40 deletions(-)
>  create mode 100644 m4/virt-netcf.m4
> 

> +
> +AC_DEFUN([LIBVIRT_CHECK_NETCF],[
> +  LIBVIRT_CHECK_PKG([NETCF], [netcf], [0.1.4])
> +
> +  if test "$with_netcf" = "yes" ; then
> +    old_CFLAGS="$CFLAGS"
> +    old_LIBS="$CFLAGS"
> +    CFLAGS="$CFLAGS $NETCF_CFLAGS"
> +    LIBS="$LIBS $NETCF_LIBS"
> +    AC_CHECK_FUNC([ncf_change_begin], [netcf_transactions=1], 
> [netcf_transactions=0])
> +    if test "$netcf_transactions" = "1" ; then
> +        AC_DEFINE_UNQUOTED([HAVE_NETCF_TRANSACTIONS], 1,

Autoconf recommends writing that second parameter as [1], not unadorned
1, for consistency; but it doesn't matter in practice.

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to