configure: let it find xen headers and libs

Attached patch lets configure find xen headers and libs
with --extra-cflags and --extra-ldlfags option.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
This commit is contained in:
Christoph Egger 2009-07-30 15:33:57 +02:00 committed by Anthony Liguori
parent bb87ece518
commit ac8ab73ad1

2
configure vendored
View File

@ -880,7 +880,7 @@ if test "$xen" = "yes" ; then
#include <xs.h> #include <xs.h>
int main(void) { xs_daemon_open(); xc_interface_open(); return 0; } int main(void) { xs_daemon_open(); xc_interface_open(); return 0; }
EOF EOF
if $cc $CFLAGS $ARCH_CFLAGS -c -o $TMPO $TMPC $LDFLAGS $xen_libs 2> /dev/null > /dev/null ; then if $cc $CFLAGS $ARCH_CFLAGS $EXTRA_CFLAGS -c -o $TMPO $TMPC $LDFLAGS $EXTRA_LDFLAGS $xen_libs 2> /dev/null > /dev/null ; then
: :
else else
xen="no" xen="no"