autoconf: check for uuid.h or uuid/uuid.h with -luuid
authorRoger Pau Monne <roger.pau@entel.upc.edu>
Wed, 14 Mar 2012 14:19:42 +0000 (14:19 +0000)
committerRoger Pau Monne <roger.pau@entel.upc.edu>
Wed, 14 Mar 2012 14:19:42 +0000 (14:19 +0000)
commit35ab4e22797545b4ed3f5430fb18d9ca002bf373
treea9e0f7e7dfaf93c851fd4779000b7dcc66d3a80f
parent5ca9053cee7d508fcabaf9a591c26930c0957aaa
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 <roger.pau@entel.upc.edu>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/configure
tools/configure.ac
tools/m4/uuid.m4