Hi,
I checked in this change at the Savannah git archive, with a
regenerated aclocal.m4.
Local scripts are in acinclude.m4 for now, there are only three
of them.
Thanks again
/JÅ
On 2018-05-08 07:43, Jan-Åke Larsson
wrote:
Hi,
Thanks for the report. I may not have time very soon to fix this
but I will do what I can.
Jan-Åke
Den 2018-05-07 kl. 22:19, skrev Ulrich Mueller:
dvipng's configure relies on
freetype-config, which is no longer
provided by the most recent freetype version.
From the CHANGES file of freetype-2.9.1:
- Use of the `freetype-config' script to get
compilation and
linking options is deprecated since it doesn't
support
cross-compiling, among other deficiencies. Instead, you
should
use the `pkg-config' interface.
The `configure' script no longer installs
`freetype-config' by
default. For backwards compatibility, a new configure
option
`--enable-freetype-config' is provided that
reverts this
decision.
The patch included below should fix the problem.
Of course, aclocal.m4 must also be regenerated. (Maybe it would
be
best to move the MAKEINFO* and AC_HAS_KPSE* macros to their own
m4
files.)
--- dvipng-1.15-orig/configure.ac
+++ dvipng-1.15/configure.ac
@@ -78,7 +78,8 @@
AC_CHECK_HEADERS([libgen.h])
PSFONTS_O=""
AC_SUBST(PSFONTS_O)
-AC_CHECK_FT2(,[CFLAGS="$FT2_CFLAGS $CFLAGS"
+PKG_CHECK_MODULES([FT2], [freetype2 >= 6.1.0],
+ [CFLAGS="$FT2_CFLAGS $CFLAGS"
LIBS="$FT2_LIBS $LIBS"
PSFONTS_O="sfd.o ft.o enc.o fontmap.o tfm.o"
AC_DEFINE(HAVE_FT2, 1, [Define to 1 if you have
freetype2])
_______________________________________________
Dvipng mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/dvipng
--
Jan-Åke Larsson
Professor, Head of Department
|
Department of Electrical Engineering
SE-581 83 Linköping
Phone: +46 (0)13-28 14 68
Mobile: +46 (0)13-28 14 68
Visiting address: Campus Valla, House B, Entr 27, 3A:482
Please visit us at www.liu.se
|
|