RHEL 5.4 fix: Check for qemu-kvm binary in /usr/libexec
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 17 Jul 2009 15:32:05 +0000 (16:32 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 17 Jul 2009 15:32:05 +0000 (16:32 +0100)
configure.ac

index 59eeb9d..51d5dcd 100644 (file)
@@ -83,7 +83,7 @@ AC_ARG_WITH([qemu],
        [],
        [with_qemu="$default_qemu"])
 AC_PATH_PROGS([QEMU],[$with_qemu],[no],
-       [$PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin])
+       [$PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin$PATH_SEPARATOR/usr/libexec])
 test "x$QEMU" = "xno" && AC_MSG_ERROR([qemu must be installed])
 AC_DEFINE_UNQUOTED([QEMU],["$QEMU"],[Location of qemu binary.])