diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-25 10:27:56 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-25 10:27:56 +0000 |
commit | 14fdf58582eb34614c899048041260830bf11319 (patch) | |
tree | 24c257e172a5759d4653886820e0debc19a79e75 /Build/source/m4/cho-kpse.m4 | |
parent | 1d49a87a191295313dd1fdbce07dfb18ddd65bfc (diff) |
new build system: update
git-svn-id: svn://tug.org/texlive/trunk@12515 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/m4/cho-kpse.m4')
-rw-r--r-- | Build/source/m4/cho-kpse.m4 | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Build/source/m4/cho-kpse.m4 b/Build/source/m4/cho-kpse.m4 new file mode 100644 index 00000000000..6c6014d9e45 --- /dev/null +++ b/Build/source/m4/cho-kpse.m4 @@ -0,0 +1,47 @@ +# Public macros for the teTeX / TeX Live (TL) tree. +# Copyright (C) 1998 - 2008 Jin-Hwan Cho <chofchof@ktug.or.kr> +# Copyright (C) 2008 - 2009 Peter Breitenlohner <tex-live@tug.org> +# +# This file is free software; the copyright holders +# give unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 2 + +# CHO_CHECK_KPSE_SUPPORT(PACKAGE-NAME) +# ------------------------------------ +# Check for required file formats and xbasename. +# We need tex-ps_header, type1, vf, ofm, ovf, and truetype; +# of these truetype was introduced last (Dec 1997). +AC_DEFUN([CHO_CHECK_KPSE_SUPPORT], +[KPSE_CHECK_KPSE_FORMAT([truetype], , + [AC_MSG_ERROR([Required file formats not found in Kpathsea header files. + +This version of $1 requires that kpathsea and its headers be available. +If you are sure they are installed and in a standard place, maybe you need a +newer version of kpathsea? You also might try setting the environment +variable CPPFLAGS (or CFLAGS) with -I pointing to the directory containing +the file "kpathsea/kpathsea.h" + +])]) +KPSE_CHECK_XBASENAME([], + [AC_MSG_ERROR([This version of $1 requires xbasename in libkpathsea.])]) +]) # CHO_CHECK_KPSE_SUPPORT + +# CHO_CHECK_KPSE_TDS_VERSION +# -------------------------- +# Check for TDS version 1.1 support. +# We need cmap, enc, opentype, and sfd formats (Dec 2003). +AC_DEFUN([CHO_CHECK_KPSE_TDS_VERSION], +[KPSE_CHECK_KPSE_FORMAT([opentype], + [tds_version_11=yes + AC_DEFINE([__TDS_VERSION__], [0x200406L], + [Define as 0x200406L if your libkpathsea supports enc formats, + or as 0x200302L otherwise.])], + [tds_version_11=no + AC_DEFINE([__TDS_VERSION__], [0x200302L])]) +AC_MSG_CHECKING([whether libkpathsea supports TDS version 1.1 installation]) +AC_MSG_RESULT([$tds_version_11]) +AM_CONDITIONAL([TDS_VERSION_11], [test "x$tds_version_11" = xyes]) +]) # CHO_CHECK_KPSE_TDS_VERSION + |