m4/virt-netcf: fix bug where we overwrite LIBS

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Pavel Hrdina 2016-12-15 22:53:31 +01:00
parent 9cae9c886b
commit 5bacfec2da

View File

@ -22,7 +22,7 @@ AC_DEFUN([LIBVIRT_CHECK_NETCF],[
if test "$with_netcf" = "yes" ; then
old_CFLAGS="$CFLAGS"
old_LIBS="$CFLAGS"
old_LIBS="$LIBS"
CFLAGS="$CFLAGS $NETCF_CFLAGS"
LIBS="$LIBS $NETCF_LIBS"
AC_CHECK_FUNC([ncf_change_begin], [netcf_transactions=1], [netcf_transactions=0])