[PATCH] Let make expand fc_cachedir/FC_CACHEDIR

Dan Nicholson dbn.lists at gmail.com
Sun Jan 18 08:43:06 PST 2009


Since configure doesn't substitute the cachedir value anywhere, we can
let make expand it, where it will be done correctly.

Signed-off-by: Dan Nicholson <dbn.lists at gmail.com>
---
 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.in b/configure.in
index e2e3f06..b0df252 100644
--- a/configure.in
+++ b/configure.in
@@ -463,7 +463,7 @@ no|yes)
 	if test "$os_win32" = "yes"; then
 		fc_cachedir="WINDOWSTEMPDIR_FONTCONFIG_CACHE"
 	else
-		fc_cachedir=`eval echo "${localstatedir}/cache/"${PACKAGE}`
+		fc_cachedir='${localstatedir}/cache/${PACKAGE}'
 	fi
 	;;
 *)
-- 
1.5.6.6


More information about the Fontconfig mailing list