From 71735412ee2008787488775cdb26627829291785 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 28 Aug 2008 15:34:57 +0100 Subject: [PATCH] configure fix for aio library on BSD BSD needs -lrt. Patch thanks to Christoph Egger. --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. -- 2.39.5