aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-25 20:55:00 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-25 20:55:00 +0000
commit209afb9e0dc4f4ed21ed696047d4c72f8a942810 (patch)
tree1a6f6b8fb49712fcd912e484e27c9c4b0f3ccdc0 /configure
parenta39437aa1dd5331c802294b9455503f9c8585180 (diff)
Move determination of AIOLIBS until after all configure options have been
handled. By Carlos O'Donell. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2539 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 6 insertions, 6 deletions
diff --git a/configure b/configure
index 92b1fdc235..63f327e91f 100755
--- a/configure
+++ b/configure
@@ -159,12 +159,6 @@ if [ "$bsd" = "yes" ] ; then
fi
fi
-if [ "$bsd" = "yes" -o "$darwin" = "yes" -o "$mingw32" = "yes" ] ; then
- AIOLIBS=
-else
- AIOLIBS="-lrt"
-fi
-
# find source path
source_path=`dirname "$0"`
if [ -z "$source_path" ]; then
@@ -260,6 +254,12 @@ for opt do
esac
done
+if [ "$bsd" = "yes" -o "$darwin" = "yes" -o "$mingw32" = "yes" ] ; then
+ AIOLIBS=
+else
+ AIOLIBS="-lrt"
+fi
+
# default flags for all hosts
CFLAGS="$CFLAGS -Wall -O2 -g -fno-strict-aliasing"
LDFLAGS="$LDFLAGS -g"