summaryrefslogtreecommitdiff
path: root/Build/source/texk/lcdf-typetools/configure.ac
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-11-10 10:32:41 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-11-10 10:32:41 +0000
commit558303c70cdfd3bc2465cb99c2f8d81a64efcf31 (patch)
treeb308833d445fde6a5ad48558fe4eff1b86ab7ff7 /Build/source/texk/lcdf-typetools/configure.ac
parent81f0eba86eca049a6da0619b12d767e51aea3efb (diff)
towards TL2010: texk/ misc
git-svn-id: svn://tug.org/texlive/trunk@15976 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/lcdf-typetools/configure.ac')
-rw-r--r--Build/source/texk/lcdf-typetools/configure.ac15
1 files changed, 11 insertions, 4 deletions
diff --git a/Build/source/texk/lcdf-typetools/configure.ac b/Build/source/texk/lcdf-typetools/configure.ac
index a81052d82d7..a31807319a3 100644
--- a/Build/source/texk/lcdf-typetools/configure.ac
+++ b/Build/source/texk/lcdf-typetools/configure.ac
@@ -43,7 +43,8 @@ AC_SUBST(SELECTED_SUBDIRS)
AC_FOREACH([Kpse_Opt], kpse_otftotfm_auto_opts,
[AS_IF([test "x$enable_auto_]Kpse_Opt[" != xno],
[AC_DEFINE([HAVE_AUTO_]AS_TR_CPP(Kpse_Opt), 1,
- [Define to run ]Kpse_Opt[from otftotfm.])])])
+ [Define to run ]Kpse_Opt[from otftotfm.])])
+])
dnl
dnl kpathsea
@@ -63,6 +64,8 @@ AC_ARG_WITH([kpathsea],
KPSE_KPATHSEA_FLAGS
+if test "x$enable_build" != xno || test -f config.force; then
+
KPSE_ADD_FLAGS([kpathsea])
if test "x$with_kpathsea" != xno; then
@@ -76,7 +79,7 @@ if test "x$with_kpathsea" != xno; then
with_kpathsea=no])
if test "x$with_kpathsea" = xno; then
- KPSE_MSG_ERROR([lcdf-typetools], [
+ AC_MSG_ERROR([
=========================================
I can't find the kpathsea header and/or library files. Tell me where to look
@@ -88,10 +91,14 @@ disable support using --without-kpathsea.
fi
AC_DEFINE(HAVE_KPATHSEA, 1, [Define if you want to use kpathsea.])
fi
-AM_CONDITIONAL([have_kpathsea], [test "x$with_kpathsea" != xno])
KPSE_RESTORE_FLAGS
+echo timestamp >config.force
+fi
+
+AM_CONDITIONAL([have_kpathsea], [test "x$with_kpathsea" != xno])
+
AC_ARG_ENABLE(selfauto-set, [ --disable-selfauto-set disable setting SELFAUTO variables from kpsewhich], :, enable_selfauto_set=yes)
if test "x$enable_selfauto_set" = xyes -a "x$kpathsea" != xno -a "x$enable_texlive_build" != xyes; then
@@ -249,7 +256,7 @@ ac_ntoh_defined=yes],
fi
fi
if test $ac_ntoh_defined = no; then
- KPSE_MSG_ERROR([lcdf-typetools], [
+ AC_MSG_ERROR([
=========================================
Cannot find a definition for ntohs and/or ntohl!