Add extra escaped quotes to DATADIR define so we end up with -DDATADIR="\"...\"" -> one quote for the shell, another one for C.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2539 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
b893291848
commit
b3b4baa9a8
|
@ -196,8 +196,8 @@ AC_CHECK_LIB(openal, main,
|
|||
AC_MSG_ERROR([You need to install OpenAL.])))
|
||||
|
||||
|
||||
WZ_CFLAGS="${WZ_CFLAGS} -DDATADIR=\"\${datadir}/\${PACKAGE}\""
|
||||
WZ_CFLAGS="${WZ_CFLAGS} -DLOCALEDIR=\"\${localedir}\""
|
||||
WZ_CFLAGS="${WZ_CFLAGS} -DDATADIR=\"\\\"\${datadir}/\${PACKAGE}\\\"\""
|
||||
WZ_CFLAGS="${WZ_CFLAGS} -DLOCALEDIR=\"\\\"\${localedir}\\\"\""
|
||||
|
||||
|
||||
# add some required C flags here
|
||||
|
|
Loading…
Reference in New Issue