Hello,

teTeX-beta-20021025 seems to have problem finding libt1's header files
even when --with-t1lib-include is correctly specified.

Applying the following patch and re-generating the configure scripts
in the top level directory as well as in texk/{xdvik,oxdvik} and libs
seem to fix this issue.

     Thanks,
Max


--- libs/t1lib/t1lib.ac.orig    Fri Aug  2 21:01:37 2002
+++ libs/t1lib/t1lib.ac Fri Nov  8 18:06:45 2002
@@ -16,6 +16,7 @@
   fi
 
   OLD_LDFLAGS=$LDFLAGS
+  OLD_CPPFLAGS=$CPPFLAGS
   OLD_CPP=$CPP
   OLD_LIBS=$LIBS
 
@@ -32,6 +33,7 @@
 
   # check for T1 lib is >= v 1.3.1; by Stefan Ulrich
   LDFLAGS="$LDFLAGS $EXTRA_LIBT1_LIBDIR -lt1 -lm"
+  CPPFLAGS="$CPPFLAGS $EXTRA_LIBT1_INCLUDE"
   if test "$with_system_t1lib" = yes; then
       AC_MSG_CHECKING(whether installed T1 lib is >= v 1.3.1 )
       AC_TRY_RUN([
@@ -62,10 +64,10 @@
     exit(1);
 }
        ],
-        ac_compile_t1lib=0,
-        ac_compile_t1lib=1,
-        ac_compile_t1lib=1
-       ])
+        [ac_compile_t1lib=0],
+        [ac_compile_t1lib=1],
+        [ac_compile_t1lib=1]
+       )
       if test $ac_compile_t1lib = 0; then
          AC_MSG_RESULT(yes)
       else
@@ -75,6 +77,7 @@
   fi
 
   LDFLAGS=$OLD_LDFLAGS
+  CPPFLAGS=$OLD_CPPFLAGS
   CPP=$OLD_CPP
   LIBS=$OLD_LIBS
 

Reply via email to