Christoph Scholtes wrote:

> If I manually escape the quotes in USER_CFLAGS in src/makefile as
> follows:

> USER_CFLAGS=-I\"D:/Test Dir/GnuWin32/include\"
> -ID:/devel/emacs/libXpm-3.5.8/include
> -ID:/devel/emacs/libXpm-3.5.8/src
> -ID:/devel/emacs/gnutls-2.8.6/include

> everything compiles fine.

> I am puzzled though, why this is not a problem on Ben's system.

> Can we have configure.bat escape the quotes in the flag arguments?

I am confused.  I tried your suggestion to escape the quotes in src/makefile if Make uses CMD as the shell.  The results are as follows:

gcc -o oo/i386/addsection.exe \
  -gdwarf-2 -g3 oo/i386/addsection.o -luser32
gcc -I. -c -gdwarf-2 -g3 -DEMACSDEBUG
  -I\"C:/Program Files/GnuTLS-2.10.1/include\"
  -DXMALLOC_CLEAR_FREE_MEMORY -o oo/i386/cmdproxy.o cmdproxy.c

gcc: Files/GnuTLS-2.10.1/include": No such file or directory

How is it working for you?