From 34ebefb3af4f13b8de7e003205193149dd774a19 Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Thu, 30 Jul 2009 15:33:57 +0200 Subject: [PATCH] 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 Signed-off-by: Anthony Liguori Message-Id: --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index e5b9431..a8bb60c 100755 --- a/configure +++ b/configure @@ -880,7 +880,7 @@ if test "$xen" = "yes" ; then #include int main(void) { xs_daemon_open(); xc_interface_open(); return 0; } 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 xen="no" -- 2.7.4