[tex-live] lcdf-typetools 2.46 and --enable-tetex-build

Karl Berry karl at freefriends.org
Sun Nov 26 03:01:10 CET 2006


Hi Eddie,

I hope you won't mind making the small changes below to the configure.in
in lcdf-typetools.  Otherwise --enable-tetex-build doesn't know that
opentype is available.  The AC_MSG_NOTICE just makes me feel better that
I know which path is being executed.

(I've had some advice from the autoconf list about possible ways to
avoid having to hardwire every kpse-related test when
--enable-tetex-build.  Something to look into later.)

By the way, was the removal of the ChangeLog from the source
distribution intentional?  Just curious.

Thanks,
Karl


--- lcdf-typetools-2.46/configure.in	2006-10-30 02:02:20.000000000 +0100
+++ lcdf-typetools/configure.in	2006-11-26 02:42:43.000000000 +0100
@@ -145,4 +145,5 @@
 	CPPFLAGS="$CPPFLAGS -I\$(top_builddir)/../../texk -I\$(top_srcdir)/../../texk"
 	LDFLAGS="$LDFLAGS -L\$(top_builddir)/../../texk/kpathsea/.libs"
+        AC_MSG_NOTICE([tetex build of lcdf-typetools, CPPFLAGS now: $CPPFLAGS])
     elif test "x$kpathsea" != x -a "x$kpathsea" != xyes; then
 	CPPFLAGS="$CPPFLAGS -I$kpathsea/include"
@@ -198,5 +199,9 @@
 
     dnl does it have opentype support?
-    AC_CHECK_DECLS(kpse_opentype_format, :, :, [#include <kpathsea/kpathsea.h>])
+    if test "x$enable_tetex_build" = xyes; then
+      AC_DEFINE(HAVE_DECL_KPSE_OPENTYPE_FORMAT)
+    else
+      AC_CHECK_DECLS(kpse_opentype_format, :, :, [#include <kpathsea/kpathsea.h>])
+    fi
 fi
 AC_SUBST([KPSEINTERFACE_O])


More information about the tex-live mailing list