<URL: http://bugs.freeciv.org/Ticket/Display.html?id=24159 >

> [EMAIL PROTECTED] - Fr 10. Nov 2006, 08:42:17]:
> 
> Christian Prochaska wrote:
> 
> >> CPPFLAGS="$CPPFLAGS -DDEFAULT_DATA_PATH=\\\"$DEFAULT_DATA_PATH\\\""
> 
> > this works:
> > 
> > CPPFLAGS="$CPPFLAGS -DDEFAULT_DATA_PATH=\"\\\"$DEFAULT_DATA_PATH\\\"\""
> 
> Why does that work?  What are the commands actually being executed in
> either case?
> 
> -jason
> 

in the first case:

if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl
-DDEFAULT_DATA_PATH=\".;data;~/.freeciv;/usr/local/share/freeciv\"  -g
-O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes
-Wmissing-declarations -I/mingw/include/SDL -Dmain=SDL_main -MT
astring.o -MD -MP -MF ".deps/astring.Tpo" \
  -c -o astring.o `test -f 'astring.c' || echo './'`astring.c; \
then mv ".deps/astring.Tpo" ".deps/astring.Po"; \
else rm -f ".deps/astring.Tpo"; exit 1; \
fi

and in the second case:

if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl
-DDEFAULT_DATA_PATH="\".;data;~/.freeciv;/usr/local/share/freeciv\""  -g
-O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes
-Wmissing-declarations -I/mingw/include/SDL -Dmain=SDL_main -MT
astring.o -MD -MP -MF ".deps/astring.Tpo" \
  -c -o astring.o `test -f 'astring.c' || echo './'`astring.c; \
then mv ".deps/astring.Tpo" ".deps/astring.Po"; \
else rm -f ".deps/astring.Tpo"; exit 1; \
fi


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to