Received: from [140.186.70.92] (port=34380 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVFiO-0005zg-9t for qemu-devel@nongnu.org; Sat, 03 Jul 2010 23:17:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OVFiN-0001Ko-92 for qemu-devel@nongnu.org; Sat, 03 Jul 2010 23:17:56 -0400 Received: from blu0-omc2-s25.blu0.hotmail.com ([65.55.111.100]:20930) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVFiN-0001Kd-7N for qemu-devel@nongnu.org; Sat, 03 Jul 2010 23:17:55 -0400 Message-ID: From: "C.W. Betts" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Sat, 3 Jul 2010 21:17:50 -0600 Mime-Version: 1.0 (Apple Message framework v1081) Subject: [Qemu-devel] Make configure find uuid functions in Mac OS X by looking into libSystem.B List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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" !=3D "no" ; then - uuid_libs=3D"-luuid" + if test "$darwin" =3D=3D "yes"; then + uuid_libs=3D"" + else + uuid_libs=3D"-luuid" + fi cat > $TMPC << EOF #include int main(void) --=20 1.6.5.5