83bc7c
diff -r -u libwmf-0.2.8.3.old/configure.in libwmf-0.2.8.3/configure.in
83bc7c
--- libwmf-0.2.8.3.old/configure.in	2004-02-10 12:47:44.000000000 +0000
83bc7c
+++ libwmf-0.2.8.3/configure.in	2004-05-20 14:16:15.804198513 +0100
83bc7c
@@ -764,14 +764,15 @@
83bc7c
 	fi
83bc7c
 ])
83bc7c
 
83bc7c
-AC_ARG_WITH(fontdir,[  --with-fontdir=DIR      install Type1 fonts in DIR],[
83bc7c
-	WMF_FONTDIR=$withval
83bc7c
-],[	if test "x$prefix" = "xNONE"; then
83bc7c
-		WMF_FONTDIR=$ac_default_prefix/share/$PACKAGE/fonts
83bc7c
-	else
83bc7c
-		WMF_FONTDIR=$prefix/share/$PACKAGE/fonts
83bc7c
-	fi
83bc7c
-])
83bc7c
+#AC_ARG_WITH(fontdir,[  --with-fontdir=DIR      install Type1 fonts in DIR],[
83bc7c
+#	WMF_FONTDIR=$withval
83bc7c
+#],[	if test "x$prefix" = "xNONE"; then
83bc7c
+#		WMF_FONTDIR=$ac_default_prefix/share/$PACKAGE/fonts
83bc7c
+#	else
83bc7c
+#		WMF_FONTDIR=$prefix/share/$PACKAGE/fonts
83bc7c
+#	fi
83bc7c
+#])
83bc7c
+WMF_FONTDIR=$datadir/$PACKAGE/fonts
83bc7c
 
83bc7c
 AC_ARG_WITH(sysfontmap,[  --with-sysfontmap=FILE  [default is /usr/share/fonts/fontmap]],[
83bc7c
 	WMF_SYS_FONTMAP=$withval
83bc7c
diff -r -u libwmf-0.2.8.3.old/fonts/Makefile.am libwmf-0.2.8.3/fonts/Makefile.am
83bc7c
--- libwmf-0.2.8.3.old/fonts/Makefile.am	2001-08-11 15:49:27.000000000 +0100
83bc7c
+++ libwmf-0.2.8.3/fonts/Makefile.am	2004-05-20 14:17:22.970701362 +0100
83bc7c
@@ -1,4 +1,4 @@
83bc7c
-fontdir = @WMF_FONTDIR@
83bc7c
+fontdir = $(datadir)/libwmf/fonts/
83bc7c
 
83bc7c
 bin_SCRIPTS = libwmf-fontmap
83bc7c