mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
fix syntax error in configure.ac
When I run configure, I receive some syntax error. ..... checking where to find <rpc/rpc.h>... 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 <wency@cn.fujitsu.com>
This commit is contained in:
parent
e1cee1085a
commit
9a4af303fc
@ -430,12 +430,12 @@ old_CFLAGS="$CFLAGS"
|
|||||||
LIBXENSERVER_LIBS=""
|
LIBXENSERVER_LIBS=""
|
||||||
LIBXENSERVER_CFLAGS=""
|
LIBXENSERVER_CFLAGS=""
|
||||||
dnl search for the XenServer library
|
dnl search for the XenServer library
|
||||||
|
fail=0
|
||||||
if test "$with_xenapi" != "no" ; then
|
if test "$with_xenapi" != "no" ; then
|
||||||
if test "$with_xenapi" != "yes" && test "$with_xenapi" != "check" ; then
|
if test "$with_xenapi" != "yes" && test "$with_xenapi" != "check" ; then
|
||||||
LIBXENSERVER_CFLAGS="-I$with_xenapi/include"
|
LIBXENSERVER_CFLAGS="-I$with_xenapi/include"
|
||||||
LIBXENSERVER_LIBS="-L$with_xenapi"
|
LIBXENSERVER_LIBS="-L$with_xenapi"
|
||||||
fi
|
fi
|
||||||
fail=0
|
|
||||||
CFLAGS="$CFLAGS $LIBXENSERVER_CFLAGS"
|
CFLAGS="$CFLAGS $LIBXENSERVER_CFLAGS"
|
||||||
LIBS="$LIBS $LIBXENSERVER_LIBS"
|
LIBS="$LIBS $LIBXENSERVER_LIBS"
|
||||||
AC_CHECK_LIB([xenserver], [xen_vm_start], [
|
AC_CHECK_LIB([xenserver], [xen_vm_start], [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user