qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT 55418b9] Win32: Fix default prefix


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 55418b9] Win32: Fix default prefix
Date: Mon, 10 Aug 2009 21:48:13 -0000

From: Stefan Weil <address@hidden>

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 <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
Message-Id: 

diff --git a/configure b/configure
index a8bb60c..4b35db0 100755
--- 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=""




reply via email to

[Prev in Thread] Current Thread [Next in Thread]