diff options
Diffstat (limited to 'Build/source/texk/ttf2pk/configure.ac')
-rw-r--r-- | Build/source/texk/ttf2pk/configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Build/source/texk/ttf2pk/configure.ac b/Build/source/texk/ttf2pk/configure.ac index 2dcb8326e17..6a647398d25 100644 --- a/Build/source/texk/ttf2pk/configure.ac +++ b/Build/source/texk/ttf2pk/configure.ac @@ -22,6 +22,16 @@ AC_SEARCH_LIBS([floor], [m]) KPSE_KPATHSEA_FLAGS KPSE_FREETYPE_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 |