diff options
author | Masami HIRATA <msmhrt@gmail.com> | 2012-07-24 23:10:38 +0900 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-07-24 19:18:36 +0100 |
commit | 8f3a839aa86c14666ce06a45c8d28026c302f2e9 (patch) | |
tree | 11b152b5e9782f95082f48fb455de0be5b8df1d7 | |
parent | ebe826f23fc71b1a4e8dbd888ce1548ce4192873 (diff) | |
download | libguestfs-8f3a839aa86c14666ce06a45c8d28026c302f2e9.tar.gz libguestfs-8f3a839aa86c14666ce06a45c8d28026c302f2e9.tar.xz libguestfs-8f3a839aa86c14666ce06a45c8d28026c302f2e9.zip |
configure: Add -nographic command line option to qemu.
Without this option, configure will fail when there is no display.
Signed-off-by: Masami HIRATA <msmhrt@gmail.com>
-rw-r--r-- | configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 5cffb991..001f2972 100644 --- a/configure.ac +++ b/configure.ac @@ -593,16 +593,16 @@ working. AC_MSG_FAILURE([$QEMU version must be >= 1.0.]) fi - AC_MSG_CHECKING([that $QEMU -machine accel=kvm:tcg -device ? works]) - if $QEMU -machine accel=kvm:tcg -device \? >&AS_MESSAGE_LOG_FD 2>&1; then + AC_MSG_CHECKING([that $QEMU -nographic -machine accel=kvm:tcg -device ? works]) + if $QEMU -nographic -machine accel=kvm:tcg -device \? >&AS_MESSAGE_LOG_FD 2>&1; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) - AC_MSG_FAILURE([$QEMU -machine accel=kvm:tcg -device ? doesn't work.]) + AC_MSG_FAILURE([$QEMU -nographic -machine accel=kvm:tcg -device ? doesn't work.]) fi AC_MSG_CHECKING([for virtio-serial support in $QEMU]) - if $QEMU $QEMU_OPTIONS -machine accel=kvm:tcg -device \? 2>&1 | grep -sq virtio-serial; then + if $QEMU $QEMU_OPTIONS -nographic -machine accel=kvm:tcg -device \? 2>&1 | grep -sq virtio-serial; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) |