Hi, On Fri, May 31, 2019 at 12:29:16PM -0300, Eduardo Lima (Etrunko) wrote: > Use saved CFLAGS and LIBS to avoid errors in the check programs. > > Signed-off-by: Eduardo Lima (Etrunko) <etrunko@xxxxxxxxxx> > --- > configure.ac | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/configure.ac b/configure.ac > index 7b61821..c787e1e 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -196,8 +196,8 @@ AS_IF([test "x$with_ovirt" = "xyes"], > [AC_DEFINE([HAVE_OVIRT], 1, [Have libgovirt?])] > [SAVED_CFLAGS="$CFLAGS" > SAVED_LIBS="$LIBS" > - CFLAGS="$OVIRT_CFLAGS" > - LIBS="$OVIRT_LIBS" > + CFLAGS="$SAVED_CFLAGS $OVIRT_CFLAGS" > + LIBS="$SAVED_LIBS $OVIRT_LIBS" Acked-by: Victor Toso <victortoso@xxxxxxxxxx> > AC_CHECK_FUNCS([ovirt_api_search_vms ovirt_vm_get_host ovirt_host_get_cluster ovirt_cluster_get_data_center], > [AC_DEFINE([HAVE_OVIRT_DATA_CENTER], 1, [Have support for data center])], > [] > -- > 2.21.0 > > _______________________________________________ > virt-tools-list mailing list > virt-tools-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/virt-tools-list
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list