Re: 2.96.6 release (small update)

Thomas Esser <[email protected]>
Newsgroups gmane.comp.tex.tetex.beta
Message-ID <[email protected]>
On Tue, Jul 20, 2004 at 08:21:06PM +0200, Jan Nieuwenhuizen wrote:
> It seems that texk/dvipng/configure.in is rather broken.  Someone

Yes, I have tried to merge something back from the original configure.in
file (from the dvipng distribution). I have later run
  sh reautoconf
at top-level. This should have recreated the configure file with a new
timestamp, but I have overseen the error message:

  texk/dvipng
  autoconf: Undefined macros:
  configure.in:16:  AC_HELP_STRING([--enable-dvipng-timing],[Output execution time of dvipng]), 
  configure.in:8:  AC_HELP_STRING([--disable-dvipng-debug],[Compile dvipng without debug (-d) option]), 

That's all my fault, sorry.

dvipng's author complained about debug being off by default whereas his
setting is "on" by default. He told me that this debugging was optimized
for speed, so there is little penalty. Since I can't easily use his
autoconf macros, I have switched to adding -DDEBUG=1 in Makefile.in
(until I have implemented this in a better way).

Thanks for your report!

Thomas
D (text/plain, 1.3 KB)
--- tetex-src-beta-2.96.6.20040715/texk/dvipng/Makefile.in	Thu May  6 20:06:33 2004
+++ tetex-src/texk/dvipng/Makefile.in	Tue Jul 20 22:29:27 2004
@@ -35,6 +35,7 @@
   -DHAVE_T1LIB_H -DHAVE_LIBKPATHSEA -DHAVE_LIBT1 -DHAVE_GD_H \
   -DHAVE_LIBGD -DHAVE_GDIMAGEPNGEX -DHAVE_GDIMAGECREATETRUECOLOR \
   -DHAVE_GDIMAGETRUECOLORTOPALETTE @LIBPNGCPPFLAGS@ @ZLIBCPPFLAGS@ \
+  -DDEBUG=1 \
   $(LIBT1CPPFLAGS) @GDCPPFLAGS@
 
 objects=dvipng.o color.o draw.o dvi.o font.o misc.o pk.o \
--- tetex-src-beta-2.96.6.20040715/texk/dvipng/configure.in	Sun Jul 11 11:45:12 2004
+++ tetex-src/texk/dvipng/configure.in	Tue Jul 20 22:29:10 2004
@@ -4,20 +4,6 @@
 AC_DEFINE(PACKAGE_VERSION, ["1.1"])
 AC_DEFINE(PACKAGE_STRING, ["dvipng 1.1"])
 
-AC_ARG_ENABLE(dvipng-debug, 
-  AC_HELP_STRING([--disable-dvipng-debug],[Compile dvipng without debug (-d) option]), 
-    [ if test "$enableval" = yes ; then
-      AC_DEFINE(DEBUG, 1, [Define as 1 to get the debug (-d) option.])
-      fi ],	
-    [ enable_debug="yes";
-      AC_DEFINE(DEBUG, 1, [Define as 1 to get the debug (-d) option.])])
-
-AC_ARG_ENABLE(dvipng-timing, 
-  AC_HELP_STRING([--enable-dvipng-timing],[Output execution time of dvipng]), 
-   [ if test "$enableval" = yes ; then
-     AC_DEFINE(TIMING, 1, [Define as 1 to get execution time output.])
-     fi ])
-
 # Checks for programs.
 AC_SET_MAKE
 AC_PROG_CC
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.