From patchwork Sun Jul 4 03:17:50 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Make configure find uuid functions in Mac OS X by looking into libSystem.B Date: Sat, 03 Jul 2010 17:17:50 -0000 From: "C.W. Betts" X-Patchwork-Id: 57826 Message-Id: To: qemu-devel@nongnu.org Make configure find uuid functions in Mac OS X by looking into libSystem.B Mac OS X consolidates many smaller libraries into libSystem.B.dylib. libuuid is one of these. This patch makes it so that configure doesn't look for a non-existant libuuid.dylib, but look in libSystem for the uuid functions. Signed off by C.W. Betts --- configure | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 966cd7d..ecc3317 100755 --- a/configure +++ b/configure @@ -1198,7 +1198,11 @@ fi ########################################## # uuid_generate() probe, used for vdi block driver if test "$uuid" != "no" ; then - uuid_libs="-luuid" + if test "$darwin" == "yes"; then + uuid_libs="" + else + uuid_libs="-luuid" + fi cat > $TMPC << EOF #include int main(void)