From 35ab4e22797545b4ed3f5430fb18d9ca002bf373 Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Wed, 14 Mar 2012 14:19:42 +0000 Subject: autoconf: check for uuid.h or uuid/uuid.h with -luuid Check for uuid/uuid.h and if found check for -luuid usability (Linux case), if not, check for uuid (NetBSD). One of this tests has to succeed to be able to build Xen tools. Signed-off-by: Roger Pau Monne Acked-by: Ian Jackson Committed-by: Ian Jackson --- tools/configure.ac | 2 -- 1 file changed, 2 deletions(-) (limited to 'tools/configure.ac') diff --git a/tools/configure.ac b/tools/configure.ac index cf376bf05f..aeeb7b07c2 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -116,8 +116,6 @@ AC_SUBST(libgcrypt) AC_CHECK_LIB([pthread], [pthread_create], [] , [AC_MSG_ERROR([Could not find libpthread])]) AC_CHECK_LIB([rt], [clock_gettime]) -AC_CHECK_LIB([uuid], [uuid_clear], [], - [AC_MSG_ERROR([Could not find libuuid])]) AC_CHECK_LIB([yajl], [yajl_alloc], [], [AC_MSG_ERROR([Could not find yajl])]) AC_CHECK_LIB([z], [deflateCopy], [], [AC_MSG_ERROR([Could not find zlib])]) -- cgit v1.2.3