summaryrefslogtreecommitdiff
path: root/Build/source/texk/afm2pl/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/afm2pl/configure.ac')
-rw-r--r--Build/source/texk/afm2pl/configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/Build/source/texk/afm2pl/configure.ac b/Build/source/texk/afm2pl/configure.ac
index 35906ad8551..ba27c1794b9 100644
--- a/Build/source/texk/afm2pl/configure.ac
+++ b/Build/source/texk/afm2pl/configure.ac
@@ -21,6 +21,16 @@ AC_SEARCH_LIBS([floor], [m])
KPSE_KPATHSEA_FLAGS
+if test "x$enable_build" != xno || test -f config.force; then
+
+KPSE_ADD_FLAGS([kpathsea])
+AC_CHECK_HEADER([kpathsea/version.h], [],
+ [AC_MSG_ERROR([Sorry, kpathsea too old])])
+KPSE_RESTORE_FLAGS
+
+echo timestamp >config.force
+fi
+
AC_CONFIG_FILES([Makefile])
AC_OUTPUT