[tlbuild] --with-fontconfig-includes and --with-fontconfig-libdir
Vladimir Volovich
vvv at vsu.ru
Wed Jun 3 03:50:08 CEST 2009
"VV" == Vladimir Volovich writes:
VV> it seems that the fontconfig's LDFLAGS are not used when linking
VV> the test program, regardless of how they are obtained - via
VV> --with-fontconfig-libdir or via pkg-config.
at least one typo is obvious in Build/source/m4/kpse-fontconfig-flags.m4:
if test "x$with_fontconfig_libdir" != x; then
kpse_cv_fontconfig_libdir="-L$with_fontconfig_libdir -lfontconfig"
fi
should be
if test "x$with_fontconfig_libdir" != x; then
kpse_cv_fontconfig_libs="-L$with_fontconfig_libdir -lfontconfig"
fi
because the below line uses kpse_cv_fontconfig_libs, but not kpse_cv_fontconfig_libdir:
LIBS="$kpse_cv_fontconfig_libs $LIBS"
this could explain why it failed when i used --with-fontconfig-includes
and --with-fontconfig-libdir; but would not explain why it failed when
it used pkg-config, which seems to be using the correct variable name.
Best,
v.
More information about the tlbuild
mailing list