summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 194ccc2..a12fe4f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,7 +26,7 @@ bin_SCRIPTS = mkfontdir
dist_man1_MANS = mkfontdir.man
mkfontdir: mkfontdir.cpp
- $(SED) s,BINDIR,`echo $(MKFONTSCALE) | $(SED) s,/[^/]*$$,,`, < mkfontdir.cpp | $(SED) s/XCOMM/\#/ > $@
+ $(SED) s,BINDIR,`echo @bindir@/mkfontscale | $(SED) s,/[^/]*$$,,`, < mkfontdir.cpp | $(SED) s/XCOMM/\#/ > $@
EXTRA_DIST = mkfontdir.cpp
CLEANFILES = $(bin_SCRIPTS)
diff --git a/configure.ac b/configure.ac
index 8e8401e..66b1b70 100644
--- a/configure.ac
+++ b/configure.ac
@@ -63,7 +63,7 @@ XORG_WITH_LINT
dnl From mkfontdir/configure.ac
AC_PATH_PROG(SED, sed)
-AC_PATH_PROG(MKFONTSCALE, mkfontscale)
+AC_SUBST([bindir])
AC_CONFIG_FILES([
Makefile