From 9a4af303fc9b8a07848899fb0cdf2b84c587e315 Mon Sep 17 00:00:00 2001 From: Wen Congyang Date: Thu, 23 Dec 2010 17:32:33 +0800 Subject: [PATCH] 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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], [