File xlhtml-0.5.diff of Package xlhtml
--- cole/utils/Makefile.am 2001-10-13 15:55:16.000000000 +0200
+++ cole/utils/Makefile.am@ 2003-01-12 20:31:04.000000000 +0100
@@ -1,7 +1,7 @@
## Process this file with automake to produce Makefile.in
-INCLUDES = -I$(top_srcdir)
-LDADD = $(top_builddir)/libcole.la
+INCLUDES = -I$(top_srcdir)/cole
+LDADD = $(top_builddir)/cole/libcole.la
noinst_PROGRAMS = cole_tree cole_isfs cole_isfs_fast cole_extract
--- cole/Makefile.am 2001-12-02 21:49:02.000000000 +0100
+++ cole/Makefile.am@ 2003-01-12 21:23:44.000000000 +0100
@@ -2,7 +2,9 @@
EXTRA_DIST = README-cole README-CVS DOWNLOAD ChangeLog ChangeLog-from1to2 TODO THANKS AUTHORS BUGS doc/* examples/* utils/*
-noinst_LIBRARIES = libcole.a
-libcole_a_SOURCES = cole.c internal.c oledecod.c olecod.c support.c version.c internal.h support.h
+# noinst_LIBRARIES = libcole.a
+lib_LTLIBRARIES = libcole.la
+libcole_la_LDFLAGS = -version-info @VERSION_INFO@
+libcole_la_SOURCES = cole.c internal.c oledecod.c olecod.c support.c version.c internal.h support.h
AM_CFLAGS = -Wall -Wcast-align -Wpointer-arith
--- xlhtml/Makefile.am 2001-12-02 21:41:20.000000000 +0100
+++ xlhtml/Makefile.am@ 2003-01-12 21:30:34.000000000 +0100
@@ -8,7 +8,7 @@
man_MANS = xlhtml.1
bin_SCRIPTS = nsopen nsxlview
bin_PROGRAMS = xlhtml
-LDADD = ../cole/libcole.a
+LDADD = ../cole/libcole.la
xlhtml_SOURCES = support.c xlhtml.c html.c ascii.c xml.c
xldump_SOURCES = xldump.c
xlcdump_SOURCES = xlcdump.c
--- ppthtml/Makefile.am 2001-10-16 02:10:37.000000000 +0200
+++ ppthtml/Makefile.am@ 2003-01-12 21:30:59.000000000 +0100
@@ -8,7 +8,7 @@
man_MANS = ppthtml.1
bin_SCRIPTS = nspptview
bin_PROGRAMS = ppthtml
-LDADD = ../cole/libcole.a
+LDADD = ../cole/libcole.la
ppthtml_SOURCES = ppthtml.c
AM_CFLAGS = -Wall -Wshadow -Wcast-align -Wpointer-arith
--- configure.in 2001-12-04 02:45:18.000000000 +0100
+++ configurel.in@ 2003-01-13 13:09:15.000000000 +0100
@@ -16,6 +16,7 @@
AM_INIT_AUTOMAKE(xlhtml/xlhtml, 0.4)
AM_CONFIG_HEADER(config.h)
+AC_PROG_LIBTOOL
AC_PROG_CC
AC_PROG_RANLIB
AC_ISC_POSIX
@@ -57,9 +58,10 @@
AC_SUBST(COLE_MAJOR)
AC_SUBST(COLE_MINOR)
AC_SUBST(COLE_MICRO)
-
+let COLE_MAJOR_PLUS_COLE_MINOR=COLE_MAJOR+COLE_MINOR
+AC_SUBST(VERSION_INFO, [$COLE_MAJOR_PLUS_COLE_MINOR:$COLE_MICRO:$COLE_MINOR])
-AC_OUTPUT([Makefile cole/Makefile cole/version.c cole/cole.h xlhtml/Makefile ppthtml/Makefile])
+AC_OUTPUT([Makefile cole/Makefile cole/version.c cole/cole.h cole/cole-config cole/utils/Makefile xlhtml/Makefile ppthtml/Makefile])
AC_MSG_RESULT([Configured $PACKAGE release $VERSION])