]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Win32: Fix default prefix
authorStefan Weil <weil@mail.berlios.de>
Fri, 31 Jul 2009 19:30:45 +0000 (21:30 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 10 Aug 2009 18:05:30 +0000 (13:05 -0500)
The old code resulted in wrong escape sequences:

#define CONFIG_QEMU_SHAREDIR "c:\Program Files\Qemu"

gcc warnings:

vl.c:5708:20: warning: unknown escape sequence '\P'
vl.c:5708:20: warning: unknown escape sequence '\Q'

Windows can handle slash (/) path separators,
and QEMU already adds directories using slash,
so there is no need to fight with the correct number
of backslashes.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:

configure

index a8bb60c1136e7e18d7ca018a40bd5432f70e2338..4b35db0d9c5c621ba588d7bb647ac41c7e1948eb 100755 (executable)
--- a/configure
+++ b/configure
@@ -1393,7 +1393,7 @@ fi
 
 if test "$mingw32" = "yes" ; then
   if test -z "$prefix" ; then
-      prefix="c:\\\\Program Files\\\\Qemu"
+      prefix="c:/Program Files/Qemu"
   fi
   mansuffix=""
   datasuffix=""