Commit f80139b371a20be2265b730dbe4df4af2aee8f98

Authored by Filip Navara
1 parent e777e89c

Win32: Fix default prefix

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>
Showing 1 changed file with 1 additions and 1 deletions
configure
@@ -1393,7 +1393,7 @@ fi @@ -1393,7 +1393,7 @@ fi
1393 1393
1394 if test "$mingw32" = "yes" ; then 1394 if test "$mingw32" = "yes" ; then
1395 if test -z "$prefix" ; then 1395 if test -z "$prefix" ; then
1396 - prefix="c:\\\\Program Files\\\\Qemu" 1396 + prefix="c:/Program Files/Qemu"
1397 fi 1397 fi
1398 mansuffix="" 1398 mansuffix=""
1399 datasuffix="" 1399 datasuffix=""