mharris 2ca031
--- encodings-1.0.0/configure.ac.encodings-fontdir-fix	2005-12-16 01:57:27.000000000 -0500
mharris 2ca031
+++ encodings-1.0.0/configure.ac	2005-12-16 01:58:04.000000000 -0500
mharris 2ca031
@@ -20,7 +20,7 @@
mharris 2ca031
 
mharris 2ca031
 m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])
mharris 2ca031
 
mharris 2ca031
-DEFAULT_ENCODINGSDIR=${libdir}/X11/fonts/encodings
mharris 2ca031
+DEFAULT_ENCODINGSDIR=$(pkg-config --variable=fontdir fontutil)/encodings
mharris 2ca031
 AC_ARG_WITH(encodingsdir,
mharris 2ca031
 	AS_HELP_STRING([--with-encodingsdir=ENCODINGSDIR], [Path to install font encodings]),
mharris 2ca031
 	[ENCODINGSDIR="$withval"],