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:
parent
bb87ece518
commit
ac8ab73ad1
2
configure
vendored
2
configure
vendored
@ -880,7 +880,7 @@ if test "$xen" = "yes" ; then
|
||||
#include <xs.h>
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user