From: Ian Jackson Date: Thu, 28 Aug 2008 14:34:57 +0000 (+0100) Subject: configure fix for aio library on BSD X-Git-Tag: t.master-before-merge~102^2 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=71735412ee2008787488775cdb26627829291785;p=qemu-xen-4.0-testing.git configure fix for aio library on BSD BSD needs -lrt. Patch thanks to Christoph Egger. --- diff --git a/configure b/configure index 99bb935d..5d1825f4 100755 --- a/configure +++ b/configure @@ -336,7 +336,9 @@ for opt do esac done -if [ "$bsd" = "yes" -o "$darwin" = "yes" -o "$mingw32" = "yes" ] ; then +if [ "$bsd" = "yes" ] ; then + AIOLIBS="-lrt" +elif [ "$darwin" = "yes" -o "$mingw32" = "yes" ] ; then AIOLIBS= else # Some Linux architectures (e.g. s390) don't imply -lpthread automatically.