From 6d005ee796965a65921bc426129203bcecb7eb87 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 20 Oct 2007 11:33:03 +0000 Subject: [PATCH] (usercflags, userldflags): Quote %1. --- nt/ChangeLog | 4 ++++ nt/configure.bat | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/nt/ChangeLog b/nt/ChangeLog index c0d8d7a5050..e36d2fa863d 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,7 @@ +2007-10-20 Eli Zaretskii + + * configure.bat (usercflags, userldflags): Quote %1. + 2007-10-18 Jason Rumney * makefile.w32-in (install): Install COPYING in top-level and bin dirs. diff --git a/nt/configure.bat b/nt/configure.bat index 27ba7bedce1..3782f1f749f 100755 --- a/nt/configure.bat +++ b/nt/configure.bat @@ -158,14 +158,15 @@ goto again rem ---------------------------------------------------------------------- :usercflags shift -set usercflags=%usercflags%%sep1%%1 +rem We quote arg here to leave quotes in the likes of "-DFOO=bar" +set usercflags=%usercflags%%sep1%"%1" set sep1= %nothing% shift goto again rem ---------------------------------------------------------------------- :userldflags shift -set userldflags=%userldflags%%sep2%%1 +set userldflags=%userldflags%%sep2%"%1" set sep2= %nothing% shift goto again -- 2.39.2