From: Wen Congyang Date: Thu, 23 Dec 2010 09:32:33 +0000 (+0800) Subject: fix syntax error in configure.ac X-Git-Tag: v0.8.7~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a4af303fc9b8a07848899fb0cdf2b84c587e315;p=thirdparty%2Flibvirt.git fix syntax error in configure.ac When I run configure, I receive some syntax error. ..... checking where to find ... none checking for library containing dlopen... -ldl /configure: line 52500: test: =: unary operator expected /configure: line 52766: test: =: unary operator expected checking linux/kvm.h usability... yes checking linux/kvm.h presence... yes ..... Signed-off-by: Wen Congyang --- diff --git a/configure.ac b/configure.ac index 51da1b0ede..80ee331352 100644 --- a/configure.ac +++ b/configure.ac @@ -430,12 +430,12 @@ old_CFLAGS="$CFLAGS" LIBXENSERVER_LIBS="" LIBXENSERVER_CFLAGS="" dnl search for the XenServer library +fail=0 if test "$with_xenapi" != "no" ; then if test "$with_xenapi" != "yes" && test "$with_xenapi" != "check" ; then LIBXENSERVER_CFLAGS="-I$with_xenapi/include" LIBXENSERVER_LIBS="-L$with_xenapi" fi - fail=0 CFLAGS="$CFLAGS $LIBXENSERVER_CFLAGS" LIBS="$LIBS $LIBXENSERVER_LIBS" AC_CHECK_LIB([xenserver], [xen_vm_start], [