From 3d4678108a2157db6ae8c290897f67aaed14cdfa Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Wed, 31 Jul 2013 16:15:51 +0100 Subject: tools: remove in tree libaio We have defaulted to using the system libaio for a while now and I din't think there are any relevant distros which don't have it that running Xen 4.4 would be reasonable on. Also it has caused confusion because it is not ever wanted on ARM, but the build system doesn't express that (could be fixed, but deleting is the right thing to do anyway). Signed-off-by: Ian Campbell Reviewed-by: Andrew Cooper Acked-by: Matt Wilson Acked-by: Ian Jackson --- tools/configure | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'tools/configure') diff --git a/tools/configure b/tools/configure index 6e2f7582f4..b52dd2a528 100755 --- a/tools/configure +++ b/tools/configure @@ -7375,9 +7375,14 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aio_io_setup" >&5 $as_echo "$ac_cv_lib_aio_io_setup" >&6; } if test "x$ac_cv_lib_aio_io_setup" = x""yes; then : - system_aio="y" + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBAIO 1 +_ACEOF + + LIBS="-laio $LIBS" + else - system_aio="n" + as_fn_error $? "Could not find libaio" "$LINENO" 5 fi -- cgit v1.2.3