[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 41/42] Test if we need -lutil in ,/configure
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 41/42] Test if we need -lutil in ,/configure |
Date: |
Thu, 30 Jul 2009 04:07:36 +0200 |
Signed-off-by: Juan Quintela <address@hidden>
---
Makefile.target | 10 ----------
configure | 5 +++++
2 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/Makefile.target b/Makefile.target
index 062bdd0..485cf69 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -395,16 +395,6 @@ ifdef CONFIG_SLIRP
CFLAGS+=-I$(SRC_PATH)/slirp
endif
-# specific flags are needed for non soft mmu emulator
-ifndef CONFIG_DARWIN
-ifndef CONFIG_WIN32
-ifndef CONFIG_SOLARIS
-ifndef CONFIG_AIX
-LIBS+=-lutil
-endif
-endif
-endif
-endif
ifdef TARGET_GPROF
vl.o: CFLAGS+=-p
LDFLAGS+=-p
diff --git a/configure b/configure
index 0b9484e..a2f0eb8 100755
--- a/configure
+++ b/configure
@@ -1402,6 +1402,11 @@ else
exit 1
fi
+if test "$darwin" != "yes" -a "$mingw32" != "yes" -a "$solaries" != yes -a \
+ "$aix" != "yes" ; then
+ libs_softmmu="-lutil $libs_softmmu"
+fi
+
# End of CC checks
# After here, no more $cc or $ld runs
--
1.6.2.5
- [Qemu-devel] [PATCH 32/42] move common CFLAGS to configure, (continued)
- [Qemu-devel] [PATCH 32/42] move common CFLAGS to configure, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 33/42] Refactor HELPER_CFLAGS, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 31/42] split CFLAGS very long line, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 34/42] move SDL_LIBS Win32 hack to configure, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 35/42] Add libs_softmmu variable, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 36/42] Add SDL_LIBS to libs_softmmu, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 37/42] gcc generates the right dependency for this file, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 39/42] Move sound library selection to sound selection, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 38/42] move coreaudio libraries to coreaudio selection, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 40/42] files are only compiled when CONFIG_ADLIB is defined, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 41/42] Test if we need -lutil in ,/configure,
Juan Quintela <=
- [Qemu-devel] [PATCH 42/42] Fold CURSES_LIBS into libsoftmmu_libs, Juan Quintela, 2009/07/29