qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Fwd: [PATCH 1/4] Make configure find uuid functions in Mac


From: C.W. Betts
Subject: [Qemu-devel] Fwd: [PATCH 1/4] Make configure find uuid functions in Mac OS X by looking into libSystem.B
Date: Thu, 3 Jun 2010 15:05:59 -0600

Since this didn't seem to get to the mailing list, I'm forwarding it.

Begin forwarded message:

From: "C.W. Betts" <address@hidden>
Date: May 16, 2010 12:47:33 PM MDT
Cc: "C.W. Betts" <address@hidden>
Subject: [PATCH 1/4] Make configure find uuid functions in Mac OS X by looking into libSystem.B

---
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 <uuid/uuid.h>
int main(void)
--
1.6.5.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]