Statistics
| Branch: | Revision:

root / configure @ 67c0f08d

History | View | Annotate | Download (55.5 kB)

# Date Author Comment
67c0f08d 07/27/2009 10:09 pm Juan Quintela

Add -static in configure if needed

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

804edf29 07/27/2009 10:09 pm Juan Quintela

move printing of config-host.mak variables to end of generation

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

a900c002 07/27/2009 10:09 pm Juan Quintela

use same algorithm for testing and

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

60ddf533 07/27/2009 10:09 pm Juan Quintela

remove CONFIG_ from VNC_SASL_{LIBS, FLAGS}

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

ef7635ec 07/27/2009 10:09 pm Juan Quintela

remove CONFIG_ from BLUEZ_{LIBS,FLAGS}

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

7aac6cb1 07/27/2009 10:09 pm Juan Quintela

make fmod also use FMOD_{LIBS,CFLAGS}

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

6881964c 07/27/2009 10:09 pm Juan Quintela

make oss use OSS_LIBS

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

dfe5fff3 07/27/2009 10:09 pm Juan Quintela

change HOST_SOLARIS to CONFIG_SOLARIS{_VERSION}

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

b274051d 07/27/2009 10:09 pm Juan Quintela

Remove SP_CFLAGS and SP_LDFLAGS

SP_CFLAGS and SP_LDFLAGS are only used as initial values for ARCH_CFLAGS/ARCH_LDFLAGS. Call it directly ARCH_*. Once there, use the same indentantion that the rest of the file

Signed-off-by: Juan Quintela <>...

a6290cfd 07/27/2009 10:09 pm Juan Quintela

target_arch2 is redefined unconditionally later

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

525061bf 07/27/2009 10:09 pm Juan Quintela

remove CONFIG_ from VNC_TLS_{LIBS, FLAGS}

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

7ea78b74 07/22/2009 06:58 pm Jan Kiszka

Link bios files when building out of tree

When starting a qemu binary directly from the build directory and that
dir is located outside the source files, the search for bios files
fails. Fix this by linking them from the build to the source directory.

Signed-off-by: Jan Kiszka <>...

5f114bc6 07/22/2009 06:58 pm Alexander Graf

Enable PPC KVM for non-embedded

We now have KVM on PPC64 too and might get it on PPC32 as well, as soon
as someone writes it.

So let's enable KVM for PPC32 and PPC64 targets.

Signed-off-by: Alexander Graf <>
Signed-off-by: Anthony Liguori <>

c62bbcd3 07/18/2009 03:32 pm Andrzej Zaborowski

Fix a similar configure typo from microblaze.

a302c32d 07/18/2009 03:23 pm Laurent Desnogues

this patch fixes a typo where armv4l was incorrectly spelled arm4l,
preventing the correct handling of --cpu=armv4l.

Laurent

Signed-off-by: Laurent Desnogues <>
Signed-off-by: Andrzej Zaborowski <>

f6548c0a 07/18/2009 12:16 pm malc

PPC 32/64 GUEST_BASE support

Signed-off-by: malc <>

379f6698 07/17/2009 03:12 pm Paul Brook

Userspace guest address offsetting

Re-implement GUEST_BASE support.
Offset guest ddress space by default if the guest binary contains
regions below the host mmap_min_addr.
Implement support for i386, x86-64 and arm hosts.

Signed-off-by: Riku Voipio <>...

0adcffb1 07/17/2009 01:28 am Juan Quintela

simplify TARGET_ARCH2 generation

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

e6e91b9c 07/17/2009 01:28 am Juan Quintela

simplify TARGET_ABI_DIR generation

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

98ec69ac 07/17/2009 01:28 am Juan Quintela

rename s/config_mak/config_host_mak/ and s/config_h/config_host_h/

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

f57975fb 07/17/2009 01:28 am Juan Quintela

Refactor config_softfloat selection in another list

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

42bc608b 07/17/2009 01:28 am Juan Quintela

Generate $target_dir/config.h from $target_dir/config.mak

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

938b1edd 07/17/2009 01:28 am Juan Quintela

Only setup TARGET_ARCH when it is different of

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

afc29f82 07/17/2009 01:28 am Juan Quintela

generate TARGET_ARCH for config.h

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

e73aae67 07/17/2009 01:28 am Juan Quintela

generate TARGET_<arch name> for config.h

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

6acff7da 07/17/2009 01:28 am Juan Quintela

simplify TARGET_BASE_ARCH generation

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

ffada369 07/17/2009 01:28 am Juan Quintela

We can wrap OS_CFLAGS/OS_LDFLAGS in CFLAGS/LDFLAGS at configure time

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

d80438aa 07/17/2009 01:28 am Juan Quintela

We can wrap ARCH_CFLAGS/ARCH_LDFLAGS in CFLAGS/LDFLAGS at configure time

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

16dbd14f 07/17/2009 01:28 am Juan Quintela

generate ARCH name instead of coding it

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

e0da9dd3 07/17/2009 01:28 am Juan Quintela

Refactor common code using a list

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

ea2d6a39 07/17/2009 01:28 am Juan Quintela

Refactor targe_bigendian selection in another list

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

b498c8a0 07/17/2009 01:28 am Juan Quintela

print only once TARGET_ARCH

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

d2917a47 07/17/2009 01:28 am Juan Quintela

TARGET_ARCH2 is already known at configure time.

Remove re-construction in Makefile.target

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

1b0c87fc 07/17/2009 01:28 am Juan Quintela

configure xen in a single place

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

c59249f9 07/17/2009 01:28 am Juan Quintela

configure kvm in a single place

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

0d46b7ed 07/17/2009 01:28 am Juan Quintela

configure kqemu in a single place

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

0ba99fc6 07/17/2009 01:28 am Juan Quintela

configure already knows what TARGET_BASE_ARCH we need, no need to put the logic in Makefile.target

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

7aa486fe 07/16/2009 04:28 pm Anthony Liguori

Fix multiboot.bin build on mingw32

This combination of ld/object was suggested by Bartlomiej Celary

Signed-off-by: Anthony Liguori <>

e3fc14c3 07/10/2009 12:58 am Jan Kiszka

configure: Append extra cflags and ldflags

In order to allow overriding flags that are set by configure, we have to
append them instead of prepending as it is done so far.

v2: Clarify documentation.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

df7a607b 07/10/2009 12:06 am Christoph Egger

configure: detect xen with --extra-cflags / --extra-ldflags

Attached patch lets configure find xen headers and xen libs
when called with --extra-cflags and --extra-ldflags options.

Signed-off-by: Christoph Egger <>
Signed-off-by: Anthony Liguori <>

2152390d 07/09/2009 11:09 pm Anthony Liguori

Merge commit 'linux-user/linux-user-for-upstream' into tmp-staging

f04dc72f 07/09/2009 07:56 pm Paul Brook

Enable MIPS NPTL

Enable NPTL support for MIPS usermode emulation.

Signed-off-by: Paul Brook <>

67ba57f6 07/08/2009 05:01 pm Riku Voipio

configure: remove bogus linux-user check

linux-user=yes is not a reliable identifier that linux-user targets
have been selected. user targets can be selected via --target-list
as well.

600309b6 07/03/2009 08:44 pm Blue Swirl

Rename target_cpu to target_arch2

Signed-off-by: Blue Swirl <>

e34af2ce 06/29/2009 10:18 pm Juan Quintela

move CONFIG_* values from yes to y

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

253d0942 06/29/2009 10:17 pm Alexander Graf

Multiboot build system v4

In order to build the multiboot option rom, we need a Makefile and a tool
to sign the rom with.

Both are provided by this patch and mostly taken from the extboot source,
written by Anthony Liguori.

Once built, the resulting binary gets copied to pc-bios automatically....

ab4e5602 06/29/2009 04:52 pm Jan Kiszka

Prefer ncurses over curses

Not every distro provides libcurses anymore, at least OpenSUSE, and at
least under a standard library search path. So try to link against
standard ncurses first and then fall back to legacy curses.

Signed-off-by: Jan Kiszka <>...

1b64fcae 06/23/2009 09:04 pm Igor V. Kovalenko

add sparc64-softmmu to default configure targets list

Add sparc64 to default list of softmmu targets
Signed-off-by: Igor V. Kovalenko <>

08b9d66b 06/22/2009 06:15 pm Anthony Liguori

Fix build on Mac OS X

Signed-off-by: Anthony Liguori <>

09695a4a 06/16/2009 11:36 pm Stefan Weil

Fix help message for new configure option --enable-debug.

The new option is --enable-debug, not --disable-debug.

Signed-off-by: Stefan Weil <>
Signed-off-by: Anthony Liguori <>

dff84034 06/16/2009 11:18 pm Jan Kiszka

kvm: Restrict configure check to Linux

There is no point in trying to find KVM on anything else than Linux, at
least for the moment.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

3ce34dfb 06/16/2009 04:58 pm vibisreenivasan

linux-user: add tee, splice and vmsplice

Add support for tee, splice and vmsplice.

Originally from: vibi sreenivasan <>

Riku: squashed patches together, added a test to configure
and removed compliler warning by picking up correct type for...

099d6b0f 06/16/2009 04:56 pm Riku Voipio

linux-user: implement pipe2 [v3]

implement pipe2 syscall.

[v2] fix do_pipe on mips and sh4
[v3] use pipe2 to ensure atomicity, but only when it is available.

Signed-off-by: Riku Voipio <>

ebc996f3 06/16/2009 04:56 pm Riku Voipio

linux-user: fix utimensat

The glibc function for utimensat glibc returns -EINVAL when the path is null
which is a different behaviour with the syscall.

path can be null because internally the glibc is using utimensat with
path null when implmenting futimens. If path is null, call futimes...

1172f653 06/13/2009 06:37 pm Blue Swirl

Really enable -Werror

487fefdb.. did not actually enable -Werror despite the claims made by
configure output.

Signed-off-by: Blue Swirl <>

487fefdb 06/12/2009 09:56 pm Anthony Liguori

Enable -Werror by default for git builds on Linux hosts

Additional hosts can be added to the white list as they are confirmed to build
with --enable-werror.

Signed-off-by: Anthony Liguori <>

168ccc11 06/07/2009 04:40 pm Jan Kiszka

kvm: Improve upgrade notes when facing unsupported kernels

Users complained that it is not obvious what to do when kvm refuses to
build or run due to an unsupported host kernel, so let's improve the
hints.

Signed-off-by: Jan Kiszka <>

4ca1a9c6 06/07/2009 04:29 pm Blue Swirl

Fix generation of CONFIG_KVM

When configuring for several targets, some with KVM and some without, CONFIG_KVM was accidentally disabled for some of the targets.

Signed-off-by: Blue Swirl <>

f3d08ee6 06/04/2009 01:41 pm Paul Brook

Add --enable-debug

New configure option for debug builds.

Signed-off-by: Paul Brook <>

de65fe0f 05/28/2009 10:14 am Sebastian Herbszt

Add detection of pthread library name

Try to detect the name of the pthread library.
Currently it looks for "-pthread" and "-pthreadGC2".

Signed-off-by: Sebastian Herbszt <>
Signed-off-by: Anthony Liguori <>

72b675ca 05/26/2009 10:11 pm Edgar E. Iglesias

microblaze: Hook into the build-system.

Signed-off-by: Edgar E. Iglesias <>

370ab986 05/26/2009 05:07 pm Paul Brook

Remove temporary config-host.h

Signed-off-by: Paul Brook <>

52368552 05/22/2009 07:22 pm Paul Brook

Avoid errors when curl-config does not exist

Signed-off-by: Paul Brook <>

769ce76d 05/22/2009 06:50 pm Alexander Graf

Add HTTP protocol using curl v6

Currently Qemu can read from posix I/O and NBD. This patch adds a
third protocol to the game: HTTP.

In certain situations it can be useful to access HTTP data directly,
for example if you want to try out an http provided OS image, but...

2567f579 05/21/2009 06:54 pm Blue Swirl

Compile most Xen files only once

Signed-off-by: Blue Swirl <>

f92f8afe 05/21/2009 04:47 pm Anthony Liguori

Eliminate --disable-gfx-check and make VNC default when SDL not available

--disable-gfx-check predates VNC server support.  It made sense back then
because the only thing you could do without SDL was use -nographic mode or
similar tricks. Since this is a very advanced mode of operation, gfx-check...
1ad2134f 05/19/2009 06:17 pm Paul Brook

Hardware convenience library

The only target dependency for most hardware is sizeof(target_phys_addr_t).
Build these files into a convenience library, and use that instead of
building for every target.

Remove and poison various target specific macros to avoid bogus target...

9abbdbfe 05/15/2009 01:03 am Anthony Liguori

Fix build on Solaris and WIN32

Signed-off-by: Anthony Liguori <>

019d6b8f 05/15/2009 12:13 am Anthony Liguori

Move block drivers into their own directory

Signed-off-by: Anthony Liguori <>

70ec5dc0 05/14/2009 04:29 pm Anthony Liguori

Add a --disable-docs to configure to allow doc build to be disabled

Signed-off-by: Anthony Liguori <>

322f9d01 05/08/2009 03:24 pm Jan Kiszka

Drop CONFIG_GDBSTUB

This is no user-flippable switch, and no arch makes use of disabling
gdbstub support. So it's pointless to keep the related #ifdefs and
configure hunks around - and risking breakages like 711c410fdd again.

Signed-off-by: Jan Kiszka <>

efcfd0c5 04/28/2009 08:05 pm Blue Swirl

Silence missing pkg-config error messages

918a608b 04/27/2009 08:16 pm Jan Kiszka

build system: Silence failing configure tests

Signed-off-by: Jan Kiszka <>

e5d355d1 04/24/2009 09:03 pm aliguori

qemu: mutex/thread/cond wrappers and configure tweaks (Marcelo Tosatti)

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7237 c046a42c-6fe2-441c-8c8c-71466251a162

9306acb5 04/22/2009 06:19 pm aliguori

xen: pv domain builder. (Gerd Hoffmann)

This adds domain building support for paravirtual domains to qemu.
This allows booting xen guests directly with qemu, without Xend
and the management stack.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>...

e37630ca 04/22/2009 06:19 pm aliguori

xen: groundwork for xen support (Gerd Hoffmann)

- configure script and build system changes.
- wind up new machine type.
- add xen* command line options.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>...

640f42e4 04/19/2009 01:18 pm blueswir1

kqemu: merge CONFIG_KQEMU and USE_KQEMU

Basically a recursive ":%s/USE_KQEMU/CONFIG_KQEMU/g".

Signed-off-by: Paul Bolle <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7189 c046a42c-6fe2-441c-8c8c-71466251a162

2d6ebb0c 04/18/2009 10:25 pm blueswir1

kqemu: only compile kqemu.o if actually needed

kqemu.o is compiled even if kqemu support is disabled. This is useless
(kqemu.o should provide nothing that is actually used in that case) and
slightly confusing. So introduce CONFIG_KQEMU for optionally compiling...

58f8aead 04/18/2009 06:36 pm aliguori

buildsytem: consistently use install (Christoph Egger)

attached patch makes qemu use install consistently.

Signed-off-by: Christoph Egger <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7177 c046a42c-6fe2-441c-8c8c-71466251a162

8690e420 04/17/2009 04:50 pm aurel32

linux-user: fix inotify syscalls

Configure test was broken, so the breakage of the #ifdef'd
code was not noticed.

Signed-off-by: Riku Voipio <>
Signed-off-by: Aurelien Jarno <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7134 c046a42c-6fe2-441c-8c8c-71466251a162

ade25b0d 04/16/2009 12:58 pm aurel32

configure: display debug tcg status in summary

Signed-off-by: Aurelien Jarno <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7123 c046a42c-6fe2-441c-8c8c-71466251a162

39386ac7 04/15/2009 10:48 pm aurel32

fix a typo introduced in r7118

Reported by Stefan Weil

Signed-off-by: Aurelien Jarno <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7121 c046a42c-6fe2-441c-8c8c-71466251a162

3b3f24ad 04/15/2009 07:12 pm aurel32

linux-user: prefer glibc over direct syscalls

The openat/*at syscalls are incredibly common with modern coreutils,
calling them directly via syscalls breaks for example fakeroot. Use
glibc stubs whenever directly available and provide old syscall
calling for people still using older libc....

f8393946 04/13/2009 09:45 pm aurel32

Add a --enable-debug-tcg option to configure

This patch allows DEBUG_TCGV to be defined (and also prevents NDEBUG
from being defined) when passing an option to the configure script.
This should help to prevent any accidental changes that enable
DEBUG_TCGV in tcg/tcg.h from being committed in future, and may...

169dc5d3 04/13/2009 08:19 pm blueswir1

Probe via #define check for OpenBSD and *Solaris

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7104 c046a42c-6fe2-441c-8c8c-71466251a162

14d483ec 04/13/2009 07:27 pm blueswir1

Fix OpenSolaris softfloat warnings

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7102 c046a42c-6fe2-441c-8c8c-71466251a162

acda94b1 04/13/2009 07:23 pm blueswir1

Skip KVM probe for OpenSolaris

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7101 c046a42c-6fe2-441c-8c8c-71466251a162

5a8ff3aa 04/13/2009 07:18 pm blueswir1

Probe for OpenSolaris curses missing resize_term

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7100 c046a42c-6fe2-441c-8c8c-71466251a162

31fc12df 04/11/2009 02:09 pm blueswir1

BSD user: initial support for i386 and x86_64 targets

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7084 c046a42c-6fe2-441c-8c8c-71466251a162

4a19f1ec 04/08/2009 02:17 am pbrook

Add --with-pkgversion.
Allows distributors to identify their builds without needing to hack the
sources.

Signed-off-by: Paul Brook <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7036 c046a42c-6fe2-441c-8c8c-71466251a162

2981fa96 04/07/2009 10:57 pm aurel32

Document some missing options in configure -h

Signed-off-by: Andreas Faerber <>
Signed-off-by: Aurelien Jarno <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7023 c046a42c-6fe2-441c-8c8c-71466251a162

ceb42de8 04/07/2009 09:43 pm aliguori

native preadv/pwritev support (Christoph Hellwig)

This ties up the preadv/pwritev syscalls to qemu if they are declared in
unistd.h. This is the case currently on at least NetBSD and OpenBSD and
will hopefully soon be the case on Linux.

Thanks to Blue Swirl and Gerd Hoffmann for the configure autodetection...

3dd1f8ef 04/05/2009 10:29 pm aliguori

Disable qemu-io on Win32

It breaks the build.

Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6996 c046a42c-6fe2-441c-8c8c-71466251a162

0a8e1acd 04/05/2009 09:41 pm aliguori

qemu-io - an I/O path exerciser (Christoph Hellwig)

This patch adds a new qemu-io tool that links against the block layer and
image formats and allow to exercise them without needing a guest image.
It is inspired by the xfs_io tool which does the same for plain file I/O....

1625af87 04/05/2009 08:41 pm aliguori

Make binary stripping conditional (Riku Voipio)

Currently qemu unconditionally strips binaries on install. This
is a problem for packagers who may want to store/ship debug symbols
of compiled packages for debugging purposes.

Keep stripping as default for the oldtimers and add a...

762e8230 04/04/2009 12:21 pm blueswir1

Compile all files with -ffixed-g5 etc. to avoid env (%g5) corruption

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6972 c046a42c-6fe2-441c-8c8c-71466251a162

a667866b 03/19/2009 04:14 am malc

Remove dead code

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6859 c046a42c-6fe2-441c-8c8c-71466251a162

e4f5100c 03/09/2009 07:36 pm blueswir1

configure sensitive to user locale

On German Fedora 9, no KVM errors are displayed.
This is because configure greps for "error:", which is locale-sensitive.

Use LANG=C for configure to find and display errors as expected.

Signed-off-by: Andreas Faerber <>...

49dc768d 03/08/2009 06:26 pm aliguori

Fix windows build and clean up use of <windows.h>

We want to globally define WIN_LEAN_AND_MEAN and WINVER to particular values so
let's do it in OS_CFLAGS.

Then, we can pepper in windows.h includes where using #includes that require it.

Signed-off-by: Anthony Liguori <>...

179a2c19 03/08/2009 10:23 am blueswir1

Rename _BSD to HOST_BSD so that it's more obvious that it's defined by configure

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6775 c046a42c-6fe2-441c-8c8c-71466251a162