summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorths2007-03-17 16:00:37 +0100
committerths2007-03-17 16:00:37 +0100
commit70956b7719f37c207610b6cd6f29be123414d360 (patch)
treeca0d7f3cb1b8646fe8b6545a4d077211307ea117 /configure
parentDon't fail for "revert to poweron defaults" IDE command, by Carlo (diff)
downloadqemu-70956b7719f37c207610b6cd6f29be123414d360.tar.gz
qemu-70956b7719f37c207610b6cd6f29be123414d360.tar.xz
qemu-70956b7719f37c207610b6cd6f29be123414d360.zip
Better way to select -lrt, by Andrzei Zaborowski.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2486 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index af4c29bc11..515d1f38ec 100755
--- a/configure
+++ b/configure
@@ -159,6 +159,12 @@ if [ "$bsd" = "yes" ] ; then
fi
fi
+if [ "$bsd" = "yes" -o "$darwin" = "yes" -o "$solaris" = "yes" -o "$mingw32" = "yes" ] ; then
+ AIOLIBS=
+else
+ AIOLIBS="-lrt"
+fi
+
# find source path
source_path=`dirname "$0"`
if [ -z "$source_path" ]; then
@@ -658,6 +664,7 @@ echo "OS_CFLAGS=$OS_CFLAGS" >> $config_mak
echo "CFLAGS=$CFLAGS" >> $config_mak
echo "LDFLAGS=$LDFLAGS" >> $config_mak
echo "EXESUF=$EXESUF" >> $config_mak
+echo "AIOLIBS=$AIOLIBS" >> $config_mak
if test "$cpu" = "i386" ; then
echo "ARCH=i386" >> $config_mak
echo "#define HOST_I386 1" >> $config_h