Re: test for t1lib version fails
"Michail Vidiassov" <[email protected]>
| Newsgroups | gmane.comp.tex.tetex.beta |
|---|---|
| Organization | IAAS of MSU |
| Message-ID | <[email protected]> |
On Sat, 15 May 2004 20:12:17 +0200, Thomas Esser <[email protected]> wrote: > On Sat, May 15, 2004 at 03:16:53PM +0400, Michail Vidiassov wrote: >> the check for version of system t1lib fails with beta 2.96.3, >> since libs/t1lib/t1lib.ac sets >> >> CPP="$CPP $EXTRA_LIBT1_INCLUDE" >> >> while AC_TRY_RUN autoconf macro uses $CPPFLAGS. > > Can you please check if adding > OLDCPPFLAGS=$CPPFLAGS > ... > CPPFLAGS="$CPPFLAGS $EXTRA_LIBT1_INCLUDE" > ... > CPPFLAGS=$OLDCPPFLAGS > (always near the corresponding CPP manipulation) in configure, > libs/configure, texk/xdvik/configure and texk/dvipng/configure > is sufficient to fix this? > Yes, it fixed problems for me. libs/t1lib/t1lib.ac has one more (tiny) bug. $EXTRA_LIBT1_LIBDIR gets added to LDFLAGS twice in the following lines (first an last) LDFLAGS="$LDFLAGS $EXTRA_LIBT1_LIBDIR" CPP="$CPP $EXTRA_LIBT1_INCLUDE" if test "$with_system_t1lib" = yes; then AC_CHECK_LIB(t1, T1_AddFont, t1lib=-lt1, AC_MSG_WARN(Standard T1 library not found. Compiling my own.) with_system_t1lib=no, -lz -lm) fi LDFLAGS="$LDFLAGS $EXTRA_LIBT1_LIBDIR -lt1 -lm" Sincerely, Michail PS Configuring --with-x-toolkit=motif results in a warning message from texk/web2c/configure about an unknown toolkit. Since it is not a real error (texk/web2c/configure correctly uses "any" for toolkit in this case and "motif" is a correct value for tetex configure), I was surprised to find the message in the stderr. PPS Why cm-super fonts package is not included?