]> git.ipfire.org Git - thirdparty/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>
Fri, 28 Aug 2009 02:23:37 +0000 (21:23 -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 0752d3b17163ac205c1becd289cb0f89acfd30a1..f1d308787615d8e1288c96893161bad10c346b2c 100755 (executable)
--- a/configure
+++ b/configure
@@ -1374,7 +1374,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=""