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-861f7616d084
master
Dennis Schridde 2007-10-09 10:19:55 +00:00
parent b893291848
commit b3b4baa9a8
1 changed files with 2 additions and 2 deletions

View File

@ -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