Commit 209afb9e0dc4f4ed21ed696047d4c72f8a942810
1 parent
a39437aa
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
Showing
1 changed file
with
6 additions
and
6 deletions
configure
... | ... | @@ -159,12 +159,6 @@ if [ "$bsd" = "yes" ] ; then |
159 | 159 | fi |
160 | 160 | fi |
161 | 161 | |
162 | -if [ "$bsd" = "yes" -o "$darwin" = "yes" -o "$mingw32" = "yes" ] ; then | |
163 | - AIOLIBS= | |
164 | -else | |
165 | - AIOLIBS="-lrt" | |
166 | -fi | |
167 | - | |
168 | 162 | # find source path |
169 | 163 | source_path=`dirname "$0"` |
170 | 164 | if [ -z "$source_path" ]; then |
... | ... | @@ -260,6 +254,12 @@ for opt do |
260 | 254 | esac |
261 | 255 | done |
262 | 256 | |
257 | +if [ "$bsd" = "yes" -o "$darwin" = "yes" -o "$mingw32" = "yes" ] ; then | |
258 | + AIOLIBS= | |
259 | +else | |
260 | + AIOLIBS="-lrt" | |
261 | +fi | |
262 | + | |
263 | 263 | # default flags for all hosts |
264 | 264 | CFLAGS="$CFLAGS -Wall -O2 -g -fno-strict-aliasing" |
265 | 265 | LDFLAGS="$LDFLAGS -g" | ... | ... |