Compare commits

...

10 Commits

Author SHA1 Message Date
b229f88761 Well I made the autoreconf errors go away. However the configure script loops forever... :( 2020-08-14 20:08:51 -05:00
slidedraw
65b8d2fdc0 Fixed building on platforms that do not have gmake 2002-10-26 22:00:20 +00:00
slidedraw
915ae2005e added vector.c 2002-10-26 03:30:02 +00:00
slidedraw
5e77244e0f Added a couple of files 2002-10-26 03:28:53 +00:00
slidedraw
28dbaf55a9 Added color.h 2002-10-26 03:27:48 +00:00
slidedraw
f0279e67f1 Some simple bug fixes 2002-10-25 20:12:32 +00:00
slidedraw
117379f7a6 Some more code modularization. 2002-10-12 22:49:51 +00:00
slidedraw
4f2cdde40b Added patches that were uploaded to Chicago patch area. 2002-10-11 01:40:57 +00:00
vdvo
358e24c07b Fixed one more SST bug - when the string table was broken with a continuation
record in the middle of formatting info, no more strings would be read and a
working buffer overflow would occur.
2002-05-27 19:35:00 +00:00
vdvo
d1d97c3b73 part 2 of Benjamin's Windows patches - forgot to add new files last time 2002-05-27 16:59:54 +00:00
59 changed files with 45759 additions and 7901 deletions

0
ChangeLog Normal file
View File

360
Makefile Normal file
View File

@ -0,0 +1,360 @@
# Generated automatically from Makefile.in by configure.
# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
SHELL = /bin/sh
srcdir = .
top_srcdir = .
prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include
DESTDIR =
pkgdatadir = $(datadir)/xlhtml/xlhtml
pkglibdir = $(libdir)/xlhtml/xlhtml
pkgincludedir = $(includedir)/xlhtml/xlhtml
top_builddir = .
ACLOCAL = aclocal
AUTOCONF = autoconf
AUTOMAKE = automake
AUTOHEADER = autoheader
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
transform = s,x,x,
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = x86_64-unknown-linux-gnu
host_triplet =
CC = gcc
COLE_MAJOR = 2
COLE_MICRO = 2
COLE_MINOR = 0
HOST_ALIAS_NAME = x86_64-unknown-linux-gnu
HOST_CANONICAL_NAME =
HOST_CPU =
HOST_OS =
HOST_VENDOR =
MAKEINFO = makeinfo
PACKAGE = xlhtml/xlhtml
RANLIB = ranlib
STRIP = strip
VERSION = 0.5
SUBDIRS = cole xlhtml ppthtml
EXTRA_DIST = README-xlhtml README-ppthtml
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
DIST_COMMON = README ./stamp-h.in AUTHORS COPYING INSTALL Makefile.am \
Makefile.in NEWS aclocal.m4 config.guess config.h.in config.sub \
configure configure.in install-sh missing mkinstalldirs
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = tar
GZIP_ENV = --best
all: all-redirect
.SUFFIXES:
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
$(ACLOCAL_M4): configure.in
cd $(srcdir) && $(ACLOCAL)
config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF)
config.h: stamp-h
@if test ! -f $@; then \
rm -f stamp-h; \
$(MAKE) stamp-h; \
else :; fi
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
$(SHELL) ./config.status
@echo timestamp > stamp-h 2> /dev/null
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
@if test ! -f $@; then \
rm -f $(srcdir)/stamp-h.in; \
$(MAKE) $(srcdir)/stamp-h.in; \
else :; fi
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOHEADER)
@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
mostlyclean-hdr:
clean-hdr:
distclean-hdr:
-rm -f config.h
maintainer-clean-hdr:
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
all-recursive install-data-recursive install-exec-recursive \
installdirs-recursive install-recursive uninstall-recursive \
check-recursive installcheck-recursive info-recursive dvi-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \
dot_seen=no; \
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
rev="$$subdir $$rev"; \
test "$$subdir" = "." && dot_seen=yes; \
done; \
test "$$dot_seen" = "no" && rev=". $$rev"; \
target=`echo $@ | sed s/-recursive//`; \
for subdir in $$rev; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
done
tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP)
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
here=`pwd` && cd $(srcdir) \
&& mkid -f$$here/ID $$unique $(LISP)
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
fi; \
done; \
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
mostlyclean-tags:
clean-tags:
distclean-tags:
-rm -f TAGS ID
maintainer-clean-tags:
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
-rm -rf $(distdir)
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
mkdir $(distdir)/=build
mkdir $(distdir)/=inst
dc_install_base=`cd $(distdir)/=inst && pwd`; \
cd $(distdir)/=build \
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) dist
-rm -rf $(distdir)
@banner="$(distdir).tar.gz is ready for distribution"; \
dashes=`echo "$$banner" | sed s/./=/g`; \
echo "$$dashes"; \
echo "$$banner"; \
echo "$$dashes"
dist: distdir
-chmod -R a+r $(distdir)
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
-rm -rf $(distdir)
dist-all: distdir
-chmod -R a+r $(distdir)
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
-rm -rf $(distdir)
distdir: $(DISTFILES)
-rm -rf $(distdir)
mkdir $(distdir)
-chmod 777 $(distdir)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file || :; \
fi; \
done
for subdir in $(SUBDIRS); do \
if test "$$subdir" = .; then :; else \
test -d $(distdir)/$$subdir \
|| mkdir $(distdir)/$$subdir \
|| exit 1; \
chmod 777 $(distdir)/$$subdir; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|| exit 1; \
fi; \
done
info-am:
info: info-recursive
dvi-am:
dvi: dvi-recursive
check-am: all-am
check: check-recursive
installcheck-am:
installcheck: installcheck-recursive
all-recursive-am: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
install-exec-am:
install-exec: install-exec-recursive
install-data-am:
install-data: install-data-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-recursive
uninstall-am:
uninstall: uninstall-recursive
all-am: Makefile config.h
all-redirect: all-recursive-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs: installdirs-recursive
installdirs-am:
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic:
mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic
mostlyclean: mostlyclean-recursive
clean-am: clean-hdr clean-tags clean-generic mostlyclean-am
clean: clean-recursive
distclean-am: distclean-hdr distclean-tags distclean-generic clean-am
distclean: distclean-recursive
-rm -f config.status
maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \
maintainer-clean-generic distclean-am
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
maintainer-clean: maintainer-clean-recursive
-rm -f config.status
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
install-data-recursive uninstall-data-recursive install-exec-recursive \
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
all-recursive check-recursive installcheck-recursive info-recursive \
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
install-exec-am install-exec install-data-am install-data install-am \
install uninstall-am uninstall all-redirect all-am all installdirs-am \
installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

26
Makefile.bc Normal file
View File

@ -0,0 +1,26 @@
all: config.h
cd cole
$(MAKE) -f Makefile.bc all
cd ..\xlhtml
$(MAKE) -f Makefile.bc all
cd ..\ppthtml
$(MAKE) -f Makefile.bc all
cd ..
clean:
-del config.h
cd cole
$(MAKE) -f Makefile.bc clean
cd ..\xlhtml
$(MAKE) -f Makefile.bc clean
cd ..\ppthtml
$(MAKE) -f Makefile.bc clean
cd ..
config.h: config.h.in
copy $? $@
type &&|
\#define VERSION "0.5"
| >> $@
# eof

File diff suppressed because it is too large Load Diff

24
Makefile.vc Normal file
View File

@ -0,0 +1,24 @@
all: config.h
cd cole
$(MAKE) -f Makefile.vc all
cd ..\xlhtml
$(MAKE) -f Makefile.vc all
cd ..\ppthtml
$(MAKE) -f Makefile.vc all
cd ..
clean:
-del config.h
cd cole
$(MAKE) -f Makefile.vc clean
cd ..\xlhtml
$(MAKE) -f Makefile.vc clean
cd ..\ppthtml
$(MAKE) -f Makefile.vc clean
cd ..
config.h: config.h.in
copy $? $@
echo #define VERSION "0.5" >> $@
# eof

1240
aclocal.m4 vendored

File diff suppressed because it is too large Load Diff

6776
autom4te.cache/output.0 Normal file

File diff suppressed because it is too large Load Diff

6776
autom4te.cache/output.1 Normal file

File diff suppressed because it is too large Load Diff

8469
autom4te.cache/output.2 Normal file

File diff suppressed because it is too large Load Diff

8469
autom4te.cache/output.3 Normal file

File diff suppressed because it is too large Load Diff

313
autom4te.cache/requests Normal file
View File

@ -0,0 +1,313 @@
# This file was generated by Autom4te Sun Aug 20 23:09:08 UTC 2017.
# It contains the lists of macros which have been traced.
# It can be safely removed.
@request = (
bless( [
'0',
1,
[
'/usr/share/autoconf'
],
[
'/usr/share/autoconf/autoconf/autoconf.m4f',
'-',
'/usr/share/aclocal-1.15/internal/ac-config-macro-dirs.m4',
'/usr/share/aclocal-1.15/amversion.m4',
'/usr/share/aclocal-1.15/auxdir.m4',
'/usr/share/aclocal-1.15/cond.m4',
'/usr/share/aclocal-1.15/depend.m4',
'/usr/share/aclocal-1.15/depout.m4',
'/usr/share/aclocal-1.15/init.m4',
'/usr/share/aclocal-1.15/install-sh.m4',
'/usr/share/aclocal-1.15/lead-dot.m4',
'/usr/share/aclocal-1.15/make.m4',
'/usr/share/aclocal-1.15/missing.m4',
'/usr/share/aclocal-1.15/obsolete.m4',
'/usr/share/aclocal-1.15/options.m4',
'/usr/share/aclocal-1.15/prog-cc-c-o.m4',
'/usr/share/aclocal-1.15/runlog.m4',
'/usr/share/aclocal-1.15/sanity.m4',
'/usr/share/aclocal-1.15/silent.m4',
'/usr/share/aclocal-1.15/strip.m4',
'/usr/share/aclocal-1.15/substnot.m4',
'/usr/share/aclocal-1.15/tar.m4',
'configure.in'
],
{
'AM_PROG_CC_STDC' => 1,
'_AM_MANGLE_OPTION' => 1,
'AM_RUN_LOG' => 1,
'm4_pattern_forbid' => 1,
'_m4_warn' => 1,
'AM_AUTOMAKE_VERSION' => 1,
'_AC_AM_CONFIG_HEADER_HOOK' => 1,
'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
'AM_SANITY_CHECK' => 1,
'AM_MISSING_HAS_RUN' => 1,
'AC_CONFIG_MACRO_DIR_TRACE' => 1,
'AM_SET_DEPDIR' => 1,
'AM_SILENT_RULES' => 1,
'_AM_SET_OPTIONS' => 1,
'AM_AUX_DIR_EXPAND' => 1,
'_AM_PROG_CC_C_O' => 1,
'AM_SET_LEADING_DOT' => 1,
'AM_MAKE_INCLUDE' => 1,
'_AM_DEPENDENCIES' => 1,
'AU_DEFUN' => 1,
'_AM_SET_OPTION' => 1,
'AM_CONFIG_HEADER' => 1,
'AM_C_PROTOTYPES' => 1,
'AM_PROG_CC_C_O' => 1,
'AC_CONFIG_MACRO_DIR' => 1,
'AM_SUBST_NOTMAKE' => 1,
'AM_PROG_INSTALL_SH' => 1,
'fp_C_PROTOTYPES' => 1,
'_AM_PROG_TAR' => 1,
'_AM_AUTOCONF_VERSION' => 1,
'_AM_SUBST_NOTMAKE' => 1,
'm4_pattern_allow' => 1,
'_AM_CONFIG_MACRO_DIRS' => 1,
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
'AM_PROG_INSTALL_STRIP' => 1,
'AM_MISSING_PROG' => 1,
'include' => 1,
'_AM_IF_OPTION' => 1,
'AC_DEFUN_ONCE' => 1,
'AM_INIT_AUTOMAKE' => 1,
'm4_include' => 1,
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
'AC_DEFUN' => 1,
'AM_CONDITIONAL' => 1,
'AM_DEP_TRACK' => 1
}
], 'Autom4te::Request' ),
bless( [
'1',
1,
[
'/usr/share/autoconf'
],
[
'/usr/share/autoconf/autoconf/autoconf.m4f',
'aclocal.m4',
'configure.in'
],
{
'AC_REQUIRE_AUX_FILE' => 1,
'AM_PROG_MOC' => 1,
'AC_SUBST_TRACE' => 1,
'AC_FC_PP_SRCEXT' => 1,
'AC_INIT' => 1,
'_AM_COND_ELSE' => 1,
'AC_CANONICAL_HOST' => 1,
'AM_PROG_LIBTOOL' => 1,
'AC_LIBSOURCE' => 1,
'AM_PROG_CC_C_O' => 1,
'AM_PATH_GUILE' => 1,
'AC_CONFIG_SUBDIRS' => 1,
'LT_CONFIG_LTDL_DIR' => 1,
'AC_CONFIG_LIBOBJ_DIR' => 1,
'_AM_SUBST_NOTMAKE' => 1,
'_AM_COND_IF' => 1,
'AC_CONFIG_AUX_DIR' => 1,
'm4_pattern_allow' => 1,
'sinclude' => 1,
'LT_SUPPORTED_TAG' => 1,
'include' => 1,
'AC_CONFIG_LINKS' => 1,
'AC_FC_PP_DEFINE' => 1,
'LT_INIT' => 1,
'AM_GNU_GETTEXT' => 1,
'AM_INIT_AUTOMAKE' => 1,
'm4_include' => 1,
'AC_PROG_LIBTOOL' => 1,
'_AM_MAKEFILE_INCLUDE' => 1,
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
'AM_CONDITIONAL' => 1,
'AC_SUBST' => 1,
'AM_PROG_CXX_C_O' => 1,
'AM_PROG_AR' => 1,
'AM_POT_TOOLS' => 1,
'AC_CONFIG_HEADERS' => 1,
'AH_OUTPUT' => 1,
'AM_MAINTAINER_MODE' => 1,
'AM_EXTRA_RECURSIVE_TARGETS' => 1,
'AM_MAKEFILE_INCLUDE' => 1,
'm4_pattern_forbid' => 1,
'AC_CANONICAL_TARGET' => 1,
'_m4_warn' => 1,
'AM_AUTOMAKE_VERSION' => 1,
'AC_CANONICAL_SYSTEM' => 1,
'_LT_AC_TAGCONFIG' => 1,
'AM_PROG_F77_C_O' => 1,
'_AM_COND_ENDIF' => 1,
'AM_PROG_FC_C_O' => 1,
'AM_XGETTEXT_OPTION' => 1,
'AM_ENABLE_MULTILIB' => 1,
'm4_sinclude' => 1,
'AC_CANONICAL_BUILD' => 1,
'AC_CONFIG_FILES' => 1,
'AM_SILENT_RULES' => 1,
'AC_DEFINE_TRACE_LITERAL' => 1,
'AM_PROG_MKDIR_P' => 1,
'AC_FC_FREEFORM' => 1,
'AM_NLS' => 1,
'AC_FC_SRCEXT' => 1
}
], 'Autom4te::Request' ),
bless( [
'2',
1,
[
'/usr/share/autoconf'
],
[
'/usr/share/autoconf/autoconf/autoconf.m4f',
'-',
'/usr/share/aclocal-1.15/internal/ac-config-macro-dirs.m4',
'/usr/share/aclocal-1.15/amversion.m4',
'/usr/share/aclocal-1.15/auxdir.m4',
'/usr/share/aclocal-1.15/cond.m4',
'/usr/share/aclocal-1.15/depend.m4',
'/usr/share/aclocal-1.15/depout.m4',
'/usr/share/aclocal-1.15/init.m4',
'/usr/share/aclocal-1.15/install-sh.m4',
'/usr/share/aclocal-1.15/lead-dot.m4',
'/usr/share/aclocal-1.15/make.m4',
'/usr/share/aclocal-1.15/missing.m4',
'/usr/share/aclocal-1.15/obsolete.m4',
'/usr/share/aclocal-1.15/options.m4',
'/usr/share/aclocal-1.15/prog-cc-c-o.m4',
'/usr/share/aclocal-1.15/runlog.m4',
'/usr/share/aclocal-1.15/sanity.m4',
'/usr/share/aclocal-1.15/silent.m4',
'/usr/share/aclocal-1.15/strip.m4',
'/usr/share/aclocal-1.15/substnot.m4',
'/usr/share/aclocal-1.15/tar.m4',
'configure.ac'
],
{
'_AM_MANGLE_OPTION' => 1,
'AM_PROG_CC_STDC' => 1,
'_AC_AM_CONFIG_HEADER_HOOK' => 1,
'AM_AUTOMAKE_VERSION' => 1,
'm4_pattern_forbid' => 1,
'_m4_warn' => 1,
'AM_RUN_LOG' => 1,
'AM_MISSING_HAS_RUN' => 1,
'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
'AM_SANITY_CHECK' => 1,
'AM_SET_LEADING_DOT' => 1,
'AM_MAKE_INCLUDE' => 1,
'_AM_PROG_CC_C_O' => 1,
'_AM_SET_OPTIONS' => 1,
'AM_AUX_DIR_EXPAND' => 1,
'AM_SET_DEPDIR' => 1,
'AC_CONFIG_MACRO_DIR_TRACE' => 1,
'AM_SILENT_RULES' => 1,
'AM_CONFIG_HEADER' => 1,
'AM_C_PROTOTYPES' => 1,
'AM_PROG_CC_C_O' => 1,
'AU_DEFUN' => 1,
'_AM_SET_OPTION' => 1,
'_AM_DEPENDENCIES' => 1,
'_AM_CONFIG_MACRO_DIRS' => 1,
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
'AM_PROG_INSTALL_STRIP' => 1,
'_AM_SUBST_NOTMAKE' => 1,
'_AM_AUTOCONF_VERSION' => 1,
'm4_pattern_allow' => 1,
'fp_C_PROTOTYPES' => 1,
'AM_PROG_INSTALL_SH' => 1,
'AM_SUBST_NOTMAKE' => 1,
'_AM_PROG_TAR' => 1,
'AC_CONFIG_MACRO_DIR' => 1,
'AM_INIT_AUTOMAKE' => 1,
'm4_include' => 1,
'include' => 1,
'AC_DEFUN_ONCE' => 1,
'_AM_IF_OPTION' => 1,
'AM_MISSING_PROG' => 1,
'AM_CONDITIONAL' => 1,
'AM_DEP_TRACK' => 1,
'AC_DEFUN' => 1,
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1
}
], 'Autom4te::Request' ),
bless( [
'3',
1,
[
'/usr/share/autoconf'
],
[
'/usr/share/autoconf/autoconf/autoconf.m4f',
'aclocal.m4',
'configure.ac'
],
{
'LT_INIT' => 1,
'm4_include' => 1,
'AM_GNU_GETTEXT' => 1,
'AM_INIT_AUTOMAKE' => 1,
'LT_SUPPORTED_TAG' => 1,
'sinclude' => 1,
'AC_CONFIG_LINKS' => 1,
'AC_FC_PP_DEFINE' => 1,
'include' => 1,
'AM_PROG_CXX_C_O' => 1,
'AC_SUBST' => 1,
'AM_PROG_AR' => 1,
'AM_POT_TOOLS' => 1,
'AC_CONFIG_HEADERS' => 1,
'_AM_MAKEFILE_INCLUDE' => 1,
'AC_PROG_LIBTOOL' => 1,
'AM_CONDITIONAL' => 1,
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
'AC_LIBSOURCE' => 1,
'AM_PROG_LIBTOOL' => 1,
'AC_CANONICAL_HOST' => 1,
'AM_PATH_GUILE' => 1,
'AM_PROG_CC_C_O' => 1,
'AM_PROG_MOC' => 1,
'AC_REQUIRE_AUX_FILE' => 1,
'_AM_COND_ELSE' => 1,
'AC_INIT' => 1,
'AC_FC_PP_SRCEXT' => 1,
'AC_SUBST_TRACE' => 1,
'AC_CONFIG_AUX_DIR' => 1,
'm4_pattern_allow' => 1,
'_AM_COND_IF' => 1,
'_AM_SUBST_NOTMAKE' => 1,
'AC_CONFIG_SUBDIRS' => 1,
'LT_CONFIG_LTDL_DIR' => 1,
'AC_CONFIG_LIBOBJ_DIR' => 1,
'AM_ENABLE_MULTILIB' => 1,
'AM_PROG_F77_C_O' => 1,
'AM_PROG_FC_C_O' => 1,
'AM_XGETTEXT_OPTION' => 1,
'_AM_COND_ENDIF' => 1,
'AM_NLS' => 1,
'AC_FC_SRCEXT' => 1,
'AC_CONFIG_FILES' => 1,
'AM_SILENT_RULES' => 1,
'AC_CANONICAL_BUILD' => 1,
'm4_sinclude' => 1,
'AC_FC_FREEFORM' => 1,
'AC_DEFINE_TRACE_LITERAL' => 1,
'AM_PROG_MKDIR_P' => 1,
'AM_MAINTAINER_MODE' => 1,
'AH_OUTPUT' => 1,
'AC_CANONICAL_SYSTEM' => 1,
'_LT_AC_TAGCONFIG' => 1,
'AM_AUTOMAKE_VERSION' => 1,
'AM_MAKEFILE_INCLUDE' => 1,
'AM_EXTRA_RECURSIVE_TARGETS' => 1,
'_m4_warn' => 1,
'm4_pattern_forbid' => 1,
'AC_CANONICAL_TARGET' => 1
}
], 'Autom4te::Request' )
);

995
autom4te.cache/traces.0 Normal file
View File

@ -0,0 +1,995 @@
m4trace:/usr/share/aclocal-1.15/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.15'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
m4_if([$1], [1.15.1], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
m4trace:/usr/share/aclocal-1.15/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.15.1])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
m4trace:/usr/share/aclocal-1.15/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
# Expand $ac_aux_dir to an absolute path.
am_aux_dir=`cd "$ac_aux_dir" && pwd`
])
m4trace:/usr/share/aclocal-1.15/cond.m4:12: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
AC_SUBST([$1_TRUE])dnl
AC_SUBST([$1_FALSE])dnl
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
m4_define([_AM_COND_VALUE_$1], [$2])dnl
if $2; then
$1_TRUE=
$1_FALSE='#'
else
$1_TRUE='#'
$1_FALSE=
fi
AC_CONFIG_COMMANDS_PRE(
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
AC_MSG_ERROR([[conditional "$1" was never defined.
Usually this means the macro was only invoked conditionally.]])
fi])])
m4trace:/usr/share/aclocal-1.15/depend.m4:26: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
AC_REQUIRE([AM_DEP_TRACK])dnl
m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
[$1], [CXX], [depcc="$CXX" am_compiler_list=],
[$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
[$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
[$1], [UPC], [depcc="$UPC" am_compiler_list=],
[$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
[depcc="$$1" am_compiler_list=])
AC_CACHE_CHECK([dependency style of $depcc],
[am_cv_$1_dependencies_compiler_type],
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# We make a subdir and do the tests there. Otherwise we can end up
# making bogus files that we don't know about and never remove. For
# instance it was reported that on HP-UX the gcc test will end up
# making a dummy file named 'D' -- because '-MD' means "put the output
# in D".
rm -rf conftest.dir
mkdir conftest.dir
# Copy depcomp to subdir because otherwise we won't find it if we're
# using a relative directory.
cp "$am_depcomp" conftest.dir
cd conftest.dir
# We will build objects and dependencies in a subdirectory because
# it helps to detect inapplicable dependency modes. For instance
# both Tru64's cc and ICC support -MD to output dependencies as a
# side effect of compilation, but ICC will put the dependencies in
# the current directory while Tru64 will put them in the object
# directory.
mkdir sub
am_cv_$1_dependencies_compiler_type=none
if test "$am_compiler_list" = ""; then
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
fi
am__universal=false
m4_case([$1], [CC],
[case " $depcc " in #(
*\ -arch\ *\ -arch\ *) am__universal=true ;;
esac],
[CXX],
[case " $depcc " in #(
*\ -arch\ *\ -arch\ *) am__universal=true ;;
esac])
for depmode in $am_compiler_list; do
# Setup a source with many dependencies, because some compilers
# like to wrap large dependency lists on column 80 (with \), and
# we should not choose a depcomp mode which is confused by this.
#
# We need to recreate these files for each test, as the compiler may
# overwrite some of them when testing with obscure command lines.
# This happens at least with the AIX C compiler.
: > sub/conftest.c
for i in 1 2 3 4 5 6; do
echo '#include "conftst'$i'.h"' >> sub/conftest.c
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
# Solaris 10 /bin/sh.
echo '/* dummy */' > sub/conftst$i.h
done
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
# We check with '-c' and '-o' for the sake of the "dashmstdout"
# mode. It turns out that the SunPro C++ compiler does not properly
# handle '-M -o', and we need to detect this. Also, some Intel
# versions had trouble with output in subdirs.
am__obj=sub/conftest.${OBJEXT-o}
am__minus_obj="-o $am__obj"
case $depmode in
gcc)
# This depmode causes a compiler race in universal mode.
test "$am__universal" = false || continue
;;
nosideeffect)
# After this tag, mechanisms are not by side-effect, so they'll
# only be used when explicitly requested.
if test "x$enable_dependency_tracking" = xyes; then
continue
else
break
fi
;;
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
# This compiler won't grok '-c -o', but also, the minuso test has
# not run yet. These depmodes are late enough in the game, and
# so weak that their functioning should not be impacted.
am__obj=conftest.${OBJEXT-o}
am__minus_obj=
;;
none) break ;;
esac
if depmode=$depmode \
source=sub/conftest.c object=$am__obj \
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
>/dev/null 2>conftest.err &&
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
# icc doesn't choke on unknown options, it will just issue warnings
# or remarks (even with -Werror). So we grep stderr for any message
# that says an option was ignored or not supported.
# When given -MP, icc 7.0 and 7.1 complain thusly:
# icc: Command line warning: ignoring option '-M'; no argument required
# The diagnosis changed in icc 8.0:
# icc: Command line remark: option '-MP' not supported
if (grep 'ignoring option' conftest.err ||
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
am_cv_$1_dependencies_compiler_type=$depmode
break
fi
fi
done
cd ..
rm -rf conftest.dir
else
am_cv_$1_dependencies_compiler_type=none
fi
])
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
AM_CONDITIONAL([am__fastdep$1], [
test "x$enable_dependency_tracking" != xno \
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
])
m4trace:/usr/share/aclocal-1.15/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
])
m4trace:/usr/share/aclocal-1.15/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
AS_HELP_STRING(
[--enable-dependency-tracking],
[do not reject slow dependency extractors])
AS_HELP_STRING(
[--disable-dependency-tracking],
[speeds up one-time build])])
if test "x$enable_dependency_tracking" != xno; then
am_depcomp="$ac_aux_dir/depcomp"
AMDEPBACKSLASH='\'
am__nodep='_no'
fi
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
AC_SUBST([AMDEPBACKSLASH])dnl
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
AC_SUBST([am__nodep])dnl
_AM_SUBST_NOTMAKE([am__nodep])dnl
])
m4trace:/usr/share/aclocal-1.15/depout.m4:12: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
# Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
*\'*) eval set x "$CONFIG_FILES" ;;
*) set x $CONFIG_FILES ;;
esac
shift
for mf
do
# Strip MF so we end up with the name of the file.
mf=`echo "$mf" | sed -e 's/:.*$//'`
# Check whether this is an Automake generated Makefile or not.
# We used to match only the files named 'Makefile.in', but
# some people rename them; so instead we look at the file content.
# Grep'ing the first line is not enough: some people post-process
# each Makefile.in and add a new line on top of each file to say so.
# Grep'ing the whole file is not good either: AIX grep has a line
# limit of 2048, but all sed's we know have understand at least 4000.
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
dirpart=`AS_DIRNAME("$mf")`
else
continue
fi
# Extract the definition of DEPDIR, am__include, and am__quote
# from the Makefile without running 'make'.
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
test -z "$DEPDIR" && continue
am__include=`sed -n 's/^am__include = //p' < "$mf"`
test -z "$am__include" && continue
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
# Find all dependency output files, they are included files with
# $(DEPDIR) in their names. We invoke sed twice because it is the
# simplest approach to changing $(DEPDIR) to its actual value in the
# expansion.
for file in `sed -n "
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
fdir=`AS_DIRNAME(["$file"])`
AS_MKDIR_P([$dirpart/$fdir])
# echo "creating $dirpart/$file"
echo '# dummy' > "$dirpart/$file"
done
done
}
])
m4trace:/usr/share/aclocal-1.15/depout.m4:71: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
])
m4trace:/usr/share/aclocal-1.15/init.m4:29: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
AC_REQUIRE([AC_PROG_INSTALL])dnl
if test "`cd $srcdir && pwd`" != "`pwd`"; then
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
# is not polluted with repeated "-I."
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
# test to see if srcdir already configured
if test -f $srcdir/config.status; then
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
fi
fi
# test whether we have cygpath
if test -z "$CYGPATH_W"; then
if (cygpath --version) >/dev/null 2>/dev/null; then
CYGPATH_W='cygpath -w'
else
CYGPATH_W=echo
fi
fi
AC_SUBST([CYGPATH_W])
# Define the identity of the package.
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[AC_DIAGNOSE([obsolete],
[$0: two- and three-arguments forms are deprecated.])
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
[_AM_SET_OPTIONS([$1])dnl
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
m4_if(
m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
[ok:ok],,
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
_AM_IF_OPTION([no-define],,
[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
# Some tools Automake needs.
AC_REQUIRE([AM_SANITY_CHECK])dnl
AC_REQUIRE([AC_ARG_PROGRAM])dnl
AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
AM_MISSING_PROG([AUTOCONF], [autoconf])
AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
AM_MISSING_PROG([AUTOHEADER], [autoheader])
AM_MISSING_PROG([MAKEINFO], [makeinfo])
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
# For better backward compatibility. To be removed once Automake 1.9.x
# dies out for good. For more background, see:
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
# We need awk for the "check" target (and possibly the TAP driver). The
# system "awk" is bad on some platforms.
AC_REQUIRE([AC_PROG_AWK])dnl
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
[_AM_PROG_TAR([v7])])])
_AM_IF_OPTION([no-dependencies],,
[AC_PROVIDE_IFELSE([AC_PROG_CC],
[_AM_DEPENDENCIES([CC])],
[m4_define([AC_PROG_CC],
m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
AC_PROVIDE_IFELSE([AC_PROG_CXX],
[_AM_DEPENDENCIES([CXX])],
[m4_define([AC_PROG_CXX],
m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES([OBJC])],
[m4_define([AC_PROG_OBJC],
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
[_AM_DEPENDENCIES([OBJCXX])],
[m4_define([AC_PROG_OBJCXX],
m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
AC_REQUIRE([AM_SILENT_RULES])dnl
dnl The testsuite driver may need to know about EXEEXT, so add the
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
# POSIX will say in a future version that running "rm -f" with no argument
# is OK; and we want to be able to make that assumption in our Makefile
# recipes. So use an aggressive probe to check that the usage we want is
# actually supported "in the wild" to an acceptable degree.
# See automake bug#10828.
# To make any issue more visible, cause the running configure to be aborted
# by default if the 'rm' program in use doesn't match our expectations; the
# user can still override this though.
if rm -f && rm -fr && rm -rf; then : OK; else
cat >&2 <<'END'
Oops!
Your 'rm' program seems unable to run without file operands specified
on the command line, even when the '-f' option is present. This is contrary
to the behaviour of most rm programs out there, and not conforming with
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
Please tell bug-automake@gnu.org about your system, including the value
of your $PATH and any error possibly output before this message. This
can help us improve future automake versions.
END
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
echo 'Configuration will proceed anyway, since you have set the' >&2
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
echo >&2
else
cat >&2 <<'END'
Aborting the configuration process, to ensure you take notice of the issue.
You can download and install GNU coreutils to get an 'rm' implementation
that behaves properly: <http://www.gnu.org/software/coreutils/>.
If you want to complete the configuration process using your problematic
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
to "yes", and re-run configure.
END
AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
fi
fi
dnl The trailing newline in this macro's definition is deliberate, for
dnl backward compatibility and to allow trailing 'dnl'-style comments
dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
])
m4trace:/usr/share/aclocal-1.15/init.m4:186: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
_am_arg=$1
_am_stamp_count=1
for _am_header in $config_headers :; do
case $_am_header in
$_am_arg | $_am_arg:* )
break ;;
* )
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
esac
done
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
m4trace:/usr/share/aclocal-1.15/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
if test x"${install_sh+set}" != xset; then
case $am_aux_dir in
*\ * | *\ *)
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
*)
install_sh="\${SHELL} $am_aux_dir/install-sh"
esac
fi
AC_SUBST([install_sh])])
m4trace:/usr/share/aclocal-1.15/lead-dot.m4:10: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
mkdir .tst 2>/dev/null
if test -d .tst; then
am__leading_dot=.
else
am__leading_dot=_
fi
rmdir .tst 2>/dev/null
AC_SUBST([am__leading_dot])])
m4trace:/usr/share/aclocal-1.15/make.m4:12: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
cat > confinc << 'END'
am__doit:
@echo this is the am__doit target
.PHONY: am__doit
END
# If we don't find an include directive, just comment out the code.
AC_MSG_CHECKING([for style of include used by $am_make])
am__include="#"
am__quote=
_am_result=none
# First try GNU make style include.
echo "include confinc" > confmf
# Ignore all kinds of additional output from 'make'.
case `$am_make -s -f confmf 2> /dev/null` in #(
*the\ am__doit\ target*)
am__include=include
am__quote=
_am_result=GNU
;;
esac
# Now try BSD make style include.
if test "$am__include" = "#"; then
echo '.include "confinc"' > confmf
case `$am_make -s -f confmf 2> /dev/null` in #(
*the\ am__doit\ target*)
am__include=.include
am__quote="\""
_am_result=BSD
;;
esac
fi
AC_SUBST([am__include])
AC_SUBST([am__quote])
AC_MSG_RESULT([$_am_result])
rm -f confinc confmf
])
m4trace:/usr/share/aclocal-1.15/missing.m4:11: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
$1=${$1-"${am_missing_run}$2"}
AC_SUBST($1)])
m4trace:/usr/share/aclocal-1.15/missing.m4:20: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
if test x"${MISSING+set}" != xset; then
case $am_aux_dir in
*\ * | *\ *)
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
*)
MISSING="\${SHELL} $am_aux_dir/missing" ;;
esac
fi
# Use eval to expand $SHELL
if eval "$MISSING --is-lightweight"; then
am_missing_run="$MISSING "
else
am_missing_run=
AC_MSG_WARN(['missing' script is too old or missing])
fi
])
m4trace:/usr/share/aclocal-1.15/obsolete.m4:11: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete],
['$0': this macro is obsolete.
You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl
AC_CONFIG_HEADERS($@)])
m4trace:/usr/share/aclocal-1.15/obsolete.m4:17: -1- AC_DEFUN([AM_PROG_CC_STDC], [AC_PROG_CC
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
AC_DIAGNOSE([obsolete],
['$0': this macro is obsolete.
You should simply use the 'AC][_PROG_CC' macro instead.
Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
but upon 'ac_cv_prog_cc_stdc'.])])
m4trace:/usr/share/aclocal-1.15/obsolete.m4:26: -1- AC_DEFUN([AM_C_PROTOTYPES], [AC_FATAL([automatic de-ANSI-fication support has been removed])])
m4trace:/usr/share/aclocal-1.15/obsolete.m4:28: -1- AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
m4trace:/usr/share/aclocal-1.15/obsolete.m4:28: -1- AC_DEFUN([fp_C_PROTOTYPES], [AC_DIAGNOSE([obsolete], [The macro `fp_C_PROTOTYPES' is obsolete.
You should run autoupdate.])dnl
AM_C_PROTOTYPES])
m4trace:/usr/share/aclocal-1.15/options.m4:11: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
m4trace:/usr/share/aclocal-1.15/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
m4trace:/usr/share/aclocal-1.15/options.m4:23: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
m4trace:/usr/share/aclocal-1.15/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
m4trace:/usr/share/aclocal-1.15/prog-cc-c-o.m4:12: -1- AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([compile])dnl
AC_LANG_PUSH([C])dnl
AC_CACHE_CHECK(
[whether $CC understands -c and -o together],
[am_cv_prog_cc_c_o],
[AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
# Make sure it works both with $CC and with simple cc.
# Following AC_PROG_CC_C_O, we do the test twice because some
# compilers refuse to overwrite an existing .o file with -o,
# though they will create one.
am_cv_prog_cc_c_o=yes
for am_i in 1 2; do
if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
&& test -f conftest2.$ac_objext; then
: OK
else
am_cv_prog_cc_c_o=no
break
fi
done
rm -f core conftest*
unset am_i])
if test "$am_cv_prog_cc_c_o" != yes; then
# Losing compiler, so override with the script.
# FIXME: It is wrong to rewrite CC.
# But if we don't then we get into trouble of one sort or another.
# A longer-term fix would be to have automake use am__CC in this case,
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
CC="$am_aux_dir/compile $CC"
fi
AC_LANG_POP([C])])
m4trace:/usr/share/aclocal-1.15/prog-cc-c-o.m4:47: -1- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
m4trace:/usr/share/aclocal-1.15/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
(exit $ac_status); }])
m4trace:/usr/share/aclocal-1.15/sanity.m4:11: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
# Reject unsafe characters in $srcdir or the absolute working directory
# name. Accept space and tab only in the latter.
am_lf='
'
case `pwd` in
*[[\\\"\#\$\&\'\`$am_lf]]*)
AC_MSG_ERROR([unsafe absolute working directory name]);;
esac
case $srcdir in
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
esac
# Do 'set' in a subshell so we don't clobber the current shell's
# arguments. Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
if (
am_has_slept=no
for am_try in 1 2; do
echo "timestamp, slept: $am_has_slept" > conftest.file
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
if test "$[*]" = "X"; then
# -L didn't work.
set X `ls -t "$srcdir/configure" conftest.file`
fi
if test "$[*]" != "X $srcdir/configure conftest.file" \
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
# If neither matched, then we have a broken ls. This can happen
# if, for instance, CONFIG_SHELL is bash and it inherits a
# broken ls alias from the environment. This has actually
# happened. Such a system could not be considered "sane".
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
alias in your environment])
fi
if test "$[2]" = conftest.file || test $am_try -eq 2; then
break
fi
# Just in case.
sleep 1
am_has_slept=yes
done
test "$[2]" = conftest.file
)
then
# Ok.
:
else
AC_MSG_ERROR([newly created file is older than distributed files!
Check your system clock])
fi
AC_MSG_RESULT([yes])
# If we didn't sleep, we still need to ensure time stamps of config.status and
# generated files are strictly newer.
am_sleep_pid=
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
( sleep 1 ) &
am_sleep_pid=$!
fi
AC_CONFIG_COMMANDS_PRE(
[AC_MSG_CHECKING([that generated files are newer than configure])
if test -n "$am_sleep_pid"; then
# Hide warnings about reused PIDs.
wait $am_sleep_pid 2>/dev/null
fi
AC_MSG_RESULT([done])])
rm -f conftest.file
])
m4trace:/usr/share/aclocal-1.15/silent.m4:12: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl
AS_HELP_STRING(
[--enable-silent-rules],
[less verbose build output (undo: "make V=1")])
AS_HELP_STRING(
[--disable-silent-rules],
[verbose build output (undo: "make V=0")])dnl
])
case $enable_silent_rules in @%:@ (((
yes) AM_DEFAULT_VERBOSITY=0;;
no) AM_DEFAULT_VERBOSITY=1;;
*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
esac
dnl
dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
dnl do not support nested variable expansions.
dnl See automake bug#9928 and bug#10237.
am_make=${MAKE-make}
AC_CACHE_CHECK([whether $am_make supports nested variables],
[am_cv_make_support_nested_variables],
[if AS_ECHO([['TRUE=$(BAR$(V))
BAR0=false
BAR1=true
V=1
am__doit:
@$(TRUE)
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
am_cv_make_support_nested_variables=yes
else
am_cv_make_support_nested_variables=no
fi])
if test $am_cv_make_support_nested_variables = yes; then
dnl Using '$V' instead of '$(V)' breaks IRIX make.
AM_V='$(V)'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
else
AM_V=$AM_DEFAULT_VERBOSITY
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
fi
AC_SUBST([AM_V])dnl
AM_SUBST_NOTMAKE([AM_V])dnl
AC_SUBST([AM_DEFAULT_V])dnl
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
AM_BACKSLASH='\'
AC_SUBST([AM_BACKSLASH])dnl
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
])
m4trace:/usr/share/aclocal-1.15/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
# Installed binaries are usually stripped using 'strip' when the user
# run "make install-strip". However 'strip' might not be the right
# tool to use in cross-compilation environments, therefore Automake
# will honor the 'STRIP' environment variable to overrule this program.
dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
if test "$cross_compiling" != no; then
AC_CHECK_TOOL([STRIP], [strip], :)
fi
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
m4trace:/usr/share/aclocal-1.15/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
m4trace:/usr/share/aclocal-1.15/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
m4trace:/usr/share/aclocal-1.15/tar.m4:23: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used
# in the wild :-( We should find a proper way to deprecate it ...
AC_SUBST([AMTAR], ['$${TAR-tar}'])
# We'll loop over all known methods to create a tar archive until one works.
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
m4_if([$1], [v7],
[am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
[m4_case([$1],
[ustar],
[# The POSIX 1988 'ustar' format is defined with fixed-size fields.
# There is notably a 21 bits limit for the UID and the GID. In fact,
# the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
# and bug#13588).
am_max_uid=2097151 # 2^21 - 1
am_max_gid=$am_max_uid
# The $UID and $GID variables are not portable, so we need to resort
# to the POSIX-mandated id(1) utility. Errors in the 'id' calls
# below are definitely unexpected, so allow the users to see them
# (that is, avoid stderr redirection).
am_uid=`id -u || echo unknown`
am_gid=`id -g || echo unknown`
AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
if test $am_uid -le $am_max_uid; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
_am_tools=none
fi
AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
if test $am_gid -le $am_max_gid; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
_am_tools=none
fi],
[pax],
[],
[m4_fatal([Unknown tar format])])
AC_MSG_CHECKING([how to create a $1 tar archive])
# Go ahead even if we have the value already cached. We do so because we
# need to set the values for the 'am__tar' and 'am__untar' variables.
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
for _am_tool in $_am_tools; do
case $_am_tool in
gnutar)
for _am_tar in tar gnutar gtar; do
AM_RUN_LOG([$_am_tar --version]) && break
done
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
am__untar="$_am_tar -xf -"
;;
plaintar)
# Must skip GNU tar: if it does not support --format= it doesn't create
# ustar tarball either.
(tar --version) >/dev/null 2>&1 && continue
am__tar='tar chf - "$$tardir"'
am__tar_='tar chf - "$tardir"'
am__untar='tar xf -'
;;
pax)
am__tar='pax -L -x $1 -w "$$tardir"'
am__tar_='pax -L -x $1 -w "$tardir"'
am__untar='pax -r'
;;
cpio)
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
am__untar='cpio -i -H $1 -d'
;;
none)
am__tar=false
am__tar_=false
am__untar=false
;;
esac
# If the value was cached, stop now. We just wanted to have am__tar
# and am__untar set.
test -n "${am_cv_prog_tar_$1}" && break
# tar/untar a dummy directory, and stop if the command works.
rm -rf conftest.dir
mkdir conftest.dir
echo GrepMe > conftest.dir/file
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
rm -rf conftest.dir
if test -s conftest.tar; then
AM_RUN_LOG([$am__untar <conftest.tar])
AM_RUN_LOG([cat conftest.dir/file])
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
fi
done
rm -rf conftest.dir
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
AC_SUBST([am__tar])
AC_SUBST([am__untar])
])
m4trace:configure.in:1: -1- m4_pattern_forbid([^_?A[CHUM]_])
m4trace:configure.in:1: -1- m4_pattern_forbid([_AC_])
m4trace:configure.in:1: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
m4trace:configure.in:1: -1- m4_pattern_allow([^AS_FLAGS$])
m4trace:configure.in:1: -1- m4_pattern_forbid([^_?m4_])
m4trace:configure.in:1: -1- m4_pattern_forbid([^dnl$])
m4trace:configure.in:1: -1- m4_pattern_forbid([^_?AS_])
m4trace:configure.in:1: -1- m4_pattern_allow([^SHELL$])
m4trace:configure.in:1: -1- m4_pattern_allow([^PATH_SEPARATOR$])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_URL$])
m4trace:configure.in:1: -1- m4_pattern_allow([^exec_prefix$])
m4trace:configure.in:1: -1- m4_pattern_allow([^prefix$])
m4trace:configure.in:1: -1- m4_pattern_allow([^program_transform_name$])
m4trace:configure.in:1: -1- m4_pattern_allow([^bindir$])
m4trace:configure.in:1: -1- m4_pattern_allow([^sbindir$])
m4trace:configure.in:1: -1- m4_pattern_allow([^libexecdir$])
m4trace:configure.in:1: -1- m4_pattern_allow([^datarootdir$])
m4trace:configure.in:1: -1- m4_pattern_allow([^datadir$])
m4trace:configure.in:1: -1- m4_pattern_allow([^sysconfdir$])
m4trace:configure.in:1: -1- m4_pattern_allow([^sharedstatedir$])
m4trace:configure.in:1: -1- m4_pattern_allow([^localstatedir$])
m4trace:configure.in:1: -1- m4_pattern_allow([^runstatedir$])
m4trace:configure.in:1: -1- m4_pattern_allow([^includedir$])
m4trace:configure.in:1: -1- m4_pattern_allow([^oldincludedir$])
m4trace:configure.in:1: -1- m4_pattern_allow([^docdir$])
m4trace:configure.in:1: -1- m4_pattern_allow([^infodir$])
m4trace:configure.in:1: -1- m4_pattern_allow([^htmldir$])
m4trace:configure.in:1: -1- m4_pattern_allow([^dvidir$])
m4trace:configure.in:1: -1- m4_pattern_allow([^pdfdir$])
m4trace:configure.in:1: -1- m4_pattern_allow([^psdir$])
m4trace:configure.in:1: -1- m4_pattern_allow([^libdir$])
m4trace:configure.in:1: -1- m4_pattern_allow([^localedir$])
m4trace:configure.in:1: -1- m4_pattern_allow([^mandir$])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_URL$])
m4trace:configure.in:1: -1- m4_pattern_allow([^DEFS$])
m4trace:configure.in:1: -1- m4_pattern_allow([^ECHO_C$])
m4trace:configure.in:1: -1- m4_pattern_allow([^ECHO_N$])
m4trace:configure.in:1: -1- m4_pattern_allow([^ECHO_T$])
m4trace:configure.in:1: -1- m4_pattern_allow([^LIBS$])
m4trace:configure.in:1: -1- m4_pattern_allow([^build_alias$])
m4trace:configure.in:1: -1- m4_pattern_allow([^host_alias$])
m4trace:configure.in:1: -1- m4_pattern_allow([^target_alias$])
m4trace:configure.in:4: -1- m4_pattern_allow([^build$])
m4trace:configure.in:4: -1- m4_pattern_allow([^build_cpu$])
m4trace:configure.in:4: -1- m4_pattern_allow([^build_vendor$])
m4trace:configure.in:4: -1- m4_pattern_allow([^build_os$])
m4trace:configure.in:4: -1- m4_pattern_allow([^host$])
m4trace:configure.in:4: -1- m4_pattern_allow([^host_cpu$])
m4trace:configure.in:4: -1- m4_pattern_allow([^host_vendor$])
m4trace:configure.in:4: -1- m4_pattern_allow([^host_os$])
m4trace:configure.in:10: -1- m4_pattern_allow([^HOST_CANONICAL_NAME$])
m4trace:configure.in:11: -1- m4_pattern_allow([^HOST_ALIAS_NAME$])
m4trace:configure.in:12: -1- m4_pattern_allow([^HOST_CPU$])
m4trace:configure.in:13: -1- m4_pattern_allow([^HOST_VENDOR$])
m4trace:configure.in:14: -1- m4_pattern_allow([^HOST_OS$])
m4trace:configure.in:16: -1- AM_INIT_AUTOMAKE([xlhtml/xlhtml], [0.5])
m4trace:configure.in:16: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
m4trace:configure.in:16: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
m4trace:configure.in:16: -1- AM_AUTOMAKE_VERSION([1.15.1])
m4trace:configure.in:16: -1- _AM_AUTOCONF_VERSION([2.69])
m4trace:configure.in:16: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
m4trace:configure.in:16: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
m4trace:configure.in:16: -1- m4_pattern_allow([^INSTALL_DATA$])
m4trace:configure.in:16: -1- m4_pattern_allow([^am__isrc$])
m4trace:configure.in:16: -1- _AM_SUBST_NOTMAKE([am__isrc])
m4trace:configure.in:16: -1- m4_pattern_allow([^CYGPATH_W$])
m4trace:configure.in:16: -1- _m4_warn([obsolete], [AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.], [/usr/share/aclocal-1.15/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.in:16: the top level])
m4trace:configure.in:16: -1- m4_pattern_allow([^PACKAGE$])
m4trace:configure.in:16: -1- m4_pattern_allow([^VERSION$])
m4trace:configure.in:16: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])
m4trace:configure.in:16: -2- _AM_MANGLE_OPTION([no-define])
m4trace:configure.in:16: -1- m4_pattern_allow([^PACKAGE$])
m4trace:configure.in:16: -1- m4_pattern_allow([^VERSION$])
m4trace:configure.in:16: -1- AM_SANITY_CHECK
m4trace:configure.in:16: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
m4trace:configure.in:16: -1- AM_MISSING_HAS_RUN
m4trace:configure.in:16: -1- AM_AUX_DIR_EXPAND
m4trace:configure.in:16: -1- m4_pattern_allow([^ACLOCAL$])
m4trace:configure.in:16: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
m4trace:configure.in:16: -1- m4_pattern_allow([^AUTOCONF$])
m4trace:configure.in:16: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
m4trace:configure.in:16: -1- m4_pattern_allow([^AUTOMAKE$])
m4trace:configure.in:16: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
m4trace:configure.in:16: -1- m4_pattern_allow([^AUTOHEADER$])
m4trace:configure.in:16: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
m4trace:configure.in:16: -1- m4_pattern_allow([^MAKEINFO$])
m4trace:configure.in:16: -1- AM_PROG_INSTALL_SH
m4trace:configure.in:16: -1- m4_pattern_allow([^install_sh$])
m4trace:configure.in:16: -1- AM_PROG_INSTALL_STRIP
m4trace:configure.in:16: -1- m4_pattern_allow([^STRIP$])
m4trace:configure.in:16: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
m4trace:configure.in:16: -1- m4_pattern_allow([^MKDIR_P$])
m4trace:configure.in:16: -1- m4_pattern_allow([^mkdir_p$])
m4trace:configure.in:16: -1- m4_pattern_allow([^AWK$])
m4trace:configure.in:16: -1- m4_pattern_allow([^SET_MAKE$])
m4trace:configure.in:16: -1- AM_SET_LEADING_DOT
m4trace:configure.in:16: -1- m4_pattern_allow([^am__leading_dot$])
m4trace:configure.in:16: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
[_AM_PROG_TAR([v7])])])
m4trace:configure.in:16: -2- _AM_MANGLE_OPTION([tar-ustar])
m4trace:configure.in:16: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
m4trace:configure.in:16: -2- _AM_MANGLE_OPTION([tar-pax])
m4trace:configure.in:16: -1- _AM_PROG_TAR([v7])
m4trace:configure.in:16: -1- m4_pattern_allow([^AMTAR$])
m4trace:configure.in:16: -1- m4_pattern_allow([^am__tar$])
m4trace:configure.in:16: -1- m4_pattern_allow([^am__untar$])
m4trace:configure.in:16: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
[_AM_DEPENDENCIES([CC])],
[m4_define([AC_PROG_CC],
m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
AC_PROVIDE_IFELSE([AC_PROG_CXX],
[_AM_DEPENDENCIES([CXX])],
[m4_define([AC_PROG_CXX],
m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES([OBJC])],
[m4_define([AC_PROG_OBJC],
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
[_AM_DEPENDENCIES([OBJCXX])],
[m4_define([AC_PROG_OBJCXX],
m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
m4trace:configure.in:16: -2- _AM_MANGLE_OPTION([no-dependencies])
m4trace:configure.in:16: -1- AM_SILENT_RULES
m4trace:configure.in:16: -1- m4_pattern_allow([^AM_V$])
m4trace:configure.in:16: -1- AM_SUBST_NOTMAKE([AM_V])
m4trace:configure.in:16: -1- _AM_SUBST_NOTMAKE([AM_V])
m4trace:configure.in:16: -1- m4_pattern_allow([^AM_DEFAULT_V$])
m4trace:configure.in:16: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V])
m4trace:configure.in:16: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
m4trace:configure.in:16: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
m4trace:configure.in:16: -1- m4_pattern_allow([^AM_BACKSLASH$])
m4trace:configure.in:16: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
m4trace:configure.in:17: -1- AM_CONFIG_HEADER([config.h])
m4trace:configure.in:17: -1- _m4_warn([obsolete], ['AM_CONFIG_HEADER': this macro is obsolete.
You should use the 'AC_CONFIG_HEADERS' macro instead.], [/usr/share/aclocal-1.15/obsolete.m4:11: AM_CONFIG_HEADER is expanded from...
configure.in:17: the top level])
m4trace:configure.in:19: -1- m4_pattern_allow([^CC$])
m4trace:configure.in:19: -1- m4_pattern_allow([^CFLAGS$])
m4trace:configure.in:19: -1- m4_pattern_allow([^LDFLAGS$])
m4trace:configure.in:19: -1- m4_pattern_allow([^LIBS$])
m4trace:configure.in:19: -1- m4_pattern_allow([^CPPFLAGS$])
m4trace:configure.in:19: -1- m4_pattern_allow([^CC$])
m4trace:configure.in:19: -1- m4_pattern_allow([^CC$])
m4trace:configure.in:19: -1- m4_pattern_allow([^CC$])
m4trace:configure.in:19: -1- m4_pattern_allow([^CC$])
m4trace:configure.in:19: -1- m4_pattern_allow([^ac_ct_CC$])
m4trace:configure.in:19: -1- m4_pattern_allow([^EXEEXT$])
m4trace:configure.in:19: -1- m4_pattern_allow([^OBJEXT$])
m4trace:configure.in:19: -1- _AM_PROG_CC_C_O
m4trace:configure.in:19: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext])
m4trace:configure.in:19: -1- _AM_DEPENDENCIES([CC])
m4trace:configure.in:19: -1- AM_SET_DEPDIR
m4trace:configure.in:19: -1- m4_pattern_allow([^DEPDIR$])
m4trace:configure.in:19: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
m4trace:configure.in:19: -1- AM_MAKE_INCLUDE
m4trace:configure.in:19: -1- m4_pattern_allow([^am__include$])
m4trace:configure.in:19: -1- m4_pattern_allow([^am__quote$])
m4trace:configure.in:19: -1- AM_DEP_TRACK
m4trace:configure.in:19: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
m4trace:configure.in:19: -1- m4_pattern_allow([^AMDEP_TRUE$])
m4trace:configure.in:19: -1- m4_pattern_allow([^AMDEP_FALSE$])
m4trace:configure.in:19: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
m4trace:configure.in:19: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
m4trace:configure.in:19: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
m4trace:configure.in:19: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
m4trace:configure.in:19: -1- m4_pattern_allow([^am__nodep$])
m4trace:configure.in:19: -1- _AM_SUBST_NOTMAKE([am__nodep])
m4trace:configure.in:19: -1- m4_pattern_allow([^CCDEPMODE$])
m4trace:configure.in:19: -1- AM_CONDITIONAL([am__fastdepCC], [
test "x$enable_dependency_tracking" != xno \
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3])
m4trace:configure.in:19: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
m4trace:configure.in:19: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
m4trace:configure.in:19: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
m4trace:configure.in:19: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
m4trace:configure.in:20: -1- m4_pattern_allow([^RANLIB$])
m4trace:configure.in:21: -1- _m4_warn([obsolete], [The macro `AC_ISC_POSIX' is obsolete.
You should run autoupdate.], [../../lib/autoconf/specific.m4:446: AC_ISC_POSIX is expanded from...
configure.in:21: the top level])
m4trace:configure.in:23: -1- m4_pattern_allow([^CPP$])
m4trace:configure.in:23: -1- m4_pattern_allow([^CPPFLAGS$])
m4trace:configure.in:23: -1- m4_pattern_allow([^CPP$])
m4trace:configure.in:23: -1- m4_pattern_allow([^GREP$])
m4trace:configure.in:23: -1- m4_pattern_allow([^EGREP$])
m4trace:configure.in:23: -1- m4_pattern_allow([^STDC_HEADERS$])
m4trace:configure.in:23: -1- m4_pattern_allow([^HAVE_MALLOC_H$])
m4trace:configure.in:27: -1- m4_pattern_allow([^const$])
m4trace:configure.in:28: -1- m4_pattern_allow([^size_t$])
m4trace:configure.in:29: -1- m4_pattern_allow([^SIZEOF_UNSIGNED_CHAR$])
m4trace:configure.in:30: -1- m4_pattern_allow([^SIZEOF_UNSIGNED_SHORT$])
m4trace:configure.in:31: -1- m4_pattern_allow([^SIZEOF_UNSIGNED_INT$])
m4trace:configure.in:32: -1- m4_pattern_allow([^SIZEOF_UNSIGNED_LONG$])
m4trace:configure.in:33: -1- m4_pattern_allow([^SIZEOF_UNSIGNED_LONG_LONG$])
m4trace:configure.in:34: -1- m4_pattern_allow([^SIZEOF_FLOAT$])
m4trace:configure.in:35: -1- m4_pattern_allow([^SIZEOF_DOUBLE$])
m4trace:configure.in:36: -1- m4_pattern_allow([^SIZEOF_LONG_DOUBLE$])
m4trace:configure.in:37: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
m4trace:configure.in:37: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
m4trace:configure.in:39: -1- m4_pattern_allow([^STRIP$])
m4trace:configure.in:57: -1- m4_pattern_allow([^COLE_MAJOR$])
m4trace:configure.in:58: -1- m4_pattern_allow([^COLE_MINOR$])
m4trace:configure.in:59: -1- m4_pattern_allow([^COLE_MICRO$])
m4trace:configure.in:62: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
You should run autoupdate.], [])
m4trace:configure.in:62: -1- m4_pattern_allow([^LIB@&t@OBJS$])
m4trace:configure.in:62: -1- m4_pattern_allow([^LTLIBOBJS$])
m4trace:configure.in:62: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
m4trace:configure.in:62: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
m4trace:configure.in:62: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
m4trace:configure.in:62: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
m4trace:configure.in:62: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
m4trace:configure.in:62: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
m4trace:configure.in:62: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS

522
autom4te.cache/traces.1 Normal file
View File

@ -0,0 +1,522 @@
m4trace:configure.in:1: -1- AC_INIT
m4trace:configure.in:1: -1- m4_pattern_forbid([^_?A[CHUM]_])
m4trace:configure.in:1: -1- m4_pattern_forbid([_AC_])
m4trace:configure.in:1: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
m4trace:configure.in:1: -1- m4_pattern_allow([^AS_FLAGS$])
m4trace:configure.in:1: -1- m4_pattern_forbid([^_?m4_])
m4trace:configure.in:1: -1- m4_pattern_forbid([^dnl$])
m4trace:configure.in:1: -1- m4_pattern_forbid([^_?AS_])
m4trace:configure.in:1: -1- AC_SUBST([SHELL])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([SHELL])
m4trace:configure.in:1: -1- m4_pattern_allow([^SHELL$])
m4trace:configure.in:1: -1- AC_SUBST([PATH_SEPARATOR])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
m4trace:configure.in:1: -1- m4_pattern_allow([^PATH_SEPARATOR$])
m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([PACKAGE_NAME])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([PACKAGE_STRING])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([PACKAGE_URL])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_URL$])
m4trace:configure.in:1: -1- AC_SUBST([exec_prefix], [NONE])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([exec_prefix])
m4trace:configure.in:1: -1- m4_pattern_allow([^exec_prefix$])
m4trace:configure.in:1: -1- AC_SUBST([prefix], [NONE])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([prefix])
m4trace:configure.in:1: -1- m4_pattern_allow([^prefix$])
m4trace:configure.in:1: -1- AC_SUBST([program_transform_name], [s,x,x,])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([program_transform_name])
m4trace:configure.in:1: -1- m4_pattern_allow([^program_transform_name$])
m4trace:configure.in:1: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([bindir])
m4trace:configure.in:1: -1- m4_pattern_allow([^bindir$])
m4trace:configure.in:1: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([sbindir])
m4trace:configure.in:1: -1- m4_pattern_allow([^sbindir$])
m4trace:configure.in:1: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([libexecdir])
m4trace:configure.in:1: -1- m4_pattern_allow([^libexecdir$])
m4trace:configure.in:1: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([datarootdir])
m4trace:configure.in:1: -1- m4_pattern_allow([^datarootdir$])
m4trace:configure.in:1: -1- AC_SUBST([datadir], ['${datarootdir}'])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([datadir])
m4trace:configure.in:1: -1- m4_pattern_allow([^datadir$])
m4trace:configure.in:1: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([sysconfdir])
m4trace:configure.in:1: -1- m4_pattern_allow([^sysconfdir$])
m4trace:configure.in:1: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([sharedstatedir])
m4trace:configure.in:1: -1- m4_pattern_allow([^sharedstatedir$])
m4trace:configure.in:1: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([localstatedir])
m4trace:configure.in:1: -1- m4_pattern_allow([^localstatedir$])
m4trace:configure.in:1: -1- AC_SUBST([runstatedir], ['${localstatedir}/run'])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([runstatedir])
m4trace:configure.in:1: -1- m4_pattern_allow([^runstatedir$])
m4trace:configure.in:1: -1- AC_SUBST([includedir], ['${prefix}/include'])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([includedir])
m4trace:configure.in:1: -1- m4_pattern_allow([^includedir$])
m4trace:configure.in:1: -1- AC_SUBST([oldincludedir], ['/usr/include'])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([oldincludedir])
m4trace:configure.in:1: -1- m4_pattern_allow([^oldincludedir$])
m4trace:configure.in:1: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
['${datarootdir}/doc/${PACKAGE_TARNAME}'],
['${datarootdir}/doc/${PACKAGE}'])])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([docdir])
m4trace:configure.in:1: -1- m4_pattern_allow([^docdir$])
m4trace:configure.in:1: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([infodir])
m4trace:configure.in:1: -1- m4_pattern_allow([^infodir$])
m4trace:configure.in:1: -1- AC_SUBST([htmldir], ['${docdir}'])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([htmldir])
m4trace:configure.in:1: -1- m4_pattern_allow([^htmldir$])
m4trace:configure.in:1: -1- AC_SUBST([dvidir], ['${docdir}'])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([dvidir])
m4trace:configure.in:1: -1- m4_pattern_allow([^dvidir$])
m4trace:configure.in:1: -1- AC_SUBST([pdfdir], ['${docdir}'])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([pdfdir])
m4trace:configure.in:1: -1- m4_pattern_allow([^pdfdir$])
m4trace:configure.in:1: -1- AC_SUBST([psdir], ['${docdir}'])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([psdir])
m4trace:configure.in:1: -1- m4_pattern_allow([^psdir$])
m4trace:configure.in:1: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([libdir])
m4trace:configure.in:1: -1- m4_pattern_allow([^libdir$])
m4trace:configure.in:1: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([localedir])
m4trace:configure.in:1: -1- m4_pattern_allow([^localedir$])
m4trace:configure.in:1: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([mandir])
m4trace:configure.in:1: -1- m4_pattern_allow([^mandir$])
m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
@%:@undef PACKAGE_NAME])
m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
@%:@undef PACKAGE_TARNAME])
m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
@%:@undef PACKAGE_VERSION])
m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
@%:@undef PACKAGE_STRING])
m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
@%:@undef PACKAGE_BUGREPORT])
m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_URL$])
m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
@%:@undef PACKAGE_URL])
m4trace:configure.in:1: -1- AC_SUBST([DEFS])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([DEFS])
m4trace:configure.in:1: -1- m4_pattern_allow([^DEFS$])
m4trace:configure.in:1: -1- AC_SUBST([ECHO_C])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([ECHO_C])
m4trace:configure.in:1: -1- m4_pattern_allow([^ECHO_C$])
m4trace:configure.in:1: -1- AC_SUBST([ECHO_N])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([ECHO_N])
m4trace:configure.in:1: -1- m4_pattern_allow([^ECHO_N$])
m4trace:configure.in:1: -1- AC_SUBST([ECHO_T])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([ECHO_T])
m4trace:configure.in:1: -1- m4_pattern_allow([^ECHO_T$])
m4trace:configure.in:1: -1- AC_SUBST([LIBS])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([LIBS])
m4trace:configure.in:1: -1- m4_pattern_allow([^LIBS$])
m4trace:configure.in:1: -1- AC_SUBST([build_alias])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([build_alias])
m4trace:configure.in:1: -1- m4_pattern_allow([^build_alias$])
m4trace:configure.in:1: -1- AC_SUBST([host_alias])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([host_alias])
m4trace:configure.in:1: -1- m4_pattern_allow([^host_alias$])
m4trace:configure.in:1: -1- AC_SUBST([target_alias])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([target_alias])
m4trace:configure.in:1: -1- m4_pattern_allow([^target_alias$])
m4trace:configure.in:4: -1- AC_CANONICAL_HOST
m4trace:configure.in:4: -1- AC_CANONICAL_BUILD
m4trace:configure.in:4: -1- AC_REQUIRE_AUX_FILE([config.sub])
m4trace:configure.in:4: -1- AC_REQUIRE_AUX_FILE([config.guess])
m4trace:configure.in:4: -1- AC_SUBST([build], [$ac_cv_build])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([build])
m4trace:configure.in:4: -1- m4_pattern_allow([^build$])
m4trace:configure.in:4: -1- AC_SUBST([build_cpu], [$[1]])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([build_cpu])
m4trace:configure.in:4: -1- m4_pattern_allow([^build_cpu$])
m4trace:configure.in:4: -1- AC_SUBST([build_vendor], [$[2]])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([build_vendor])
m4trace:configure.in:4: -1- m4_pattern_allow([^build_vendor$])
m4trace:configure.in:4: -1- AC_SUBST([build_os])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([build_os])
m4trace:configure.in:4: -1- m4_pattern_allow([^build_os$])
m4trace:configure.in:4: -1- AC_SUBST([host], [$ac_cv_host])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([host])
m4trace:configure.in:4: -1- m4_pattern_allow([^host$])
m4trace:configure.in:4: -1- AC_SUBST([host_cpu], [$[1]])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([host_cpu])
m4trace:configure.in:4: -1- m4_pattern_allow([^host_cpu$])
m4trace:configure.in:4: -1- AC_SUBST([host_vendor], [$[2]])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([host_vendor])
m4trace:configure.in:4: -1- m4_pattern_allow([^host_vendor$])
m4trace:configure.in:4: -1- AC_SUBST([host_os])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([host_os])
m4trace:configure.in:4: -1- m4_pattern_allow([^host_os$])
m4trace:configure.in:10: -1- AC_SUBST([HOST_CANONICAL_NAME])
m4trace:configure.in:10: -1- AC_SUBST_TRACE([HOST_CANONICAL_NAME])
m4trace:configure.in:10: -1- m4_pattern_allow([^HOST_CANONICAL_NAME$])
m4trace:configure.in:11: -1- AC_SUBST([HOST_ALIAS_NAME])
m4trace:configure.in:11: -1- AC_SUBST_TRACE([HOST_ALIAS_NAME])
m4trace:configure.in:11: -1- m4_pattern_allow([^HOST_ALIAS_NAME$])
m4trace:configure.in:12: -1- AC_SUBST([HOST_CPU])
m4trace:configure.in:12: -1- AC_SUBST_TRACE([HOST_CPU])
m4trace:configure.in:12: -1- m4_pattern_allow([^HOST_CPU$])
m4trace:configure.in:13: -1- AC_SUBST([HOST_VENDOR])
m4trace:configure.in:13: -1- AC_SUBST_TRACE([HOST_VENDOR])
m4trace:configure.in:13: -1- m4_pattern_allow([^HOST_VENDOR$])
m4trace:configure.in:14: -1- AC_SUBST([HOST_OS])
m4trace:configure.in:14: -1- AC_SUBST_TRACE([HOST_OS])
m4trace:configure.in:14: -1- m4_pattern_allow([^HOST_OS$])
m4trace:configure.in:16: -1- AM_INIT_AUTOMAKE([xlhtml/xlhtml], [0.5])
m4trace:configure.in:16: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
m4trace:configure.in:16: -1- AM_AUTOMAKE_VERSION([1.15.1])
m4trace:configure.in:16: -1- AC_REQUIRE_AUX_FILE([install-sh])
m4trace:configure.in:16: -1- AC_SUBST([INSTALL_PROGRAM])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
m4trace:configure.in:16: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
m4trace:configure.in:16: -1- AC_SUBST([INSTALL_SCRIPT])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
m4trace:configure.in:16: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
m4trace:configure.in:16: -1- AC_SUBST([INSTALL_DATA])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([INSTALL_DATA])
m4trace:configure.in:16: -1- m4_pattern_allow([^INSTALL_DATA$])
m4trace:configure.in:16: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([am__isrc])
m4trace:configure.in:16: -1- m4_pattern_allow([^am__isrc$])
m4trace:configure.in:16: -1- _AM_SUBST_NOTMAKE([am__isrc])
m4trace:configure.in:16: -1- AC_SUBST([CYGPATH_W])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([CYGPATH_W])
m4trace:configure.in:16: -1- m4_pattern_allow([^CYGPATH_W$])
m4trace:configure.in:16: -1- _m4_warn([obsolete], [AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.], [aclocal.m4:437: AM_INIT_AUTOMAKE is expanded from...
configure.in:16: the top level])
m4trace:configure.in:16: -1- AC_SUBST([PACKAGE], [xlhtml/xlhtml])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([PACKAGE])
m4trace:configure.in:16: -1- m4_pattern_allow([^PACKAGE$])
m4trace:configure.in:16: -1- AC_SUBST([VERSION], [0.5])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([VERSION])
m4trace:configure.in:16: -1- m4_pattern_allow([^VERSION$])
m4trace:configure.in:16: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
m4trace:configure.in:16: -1- m4_pattern_allow([^PACKAGE$])
m4trace:configure.in:16: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
@%:@undef PACKAGE])
m4trace:configure.in:16: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
m4trace:configure.in:16: -1- m4_pattern_allow([^VERSION$])
m4trace:configure.in:16: -1- AH_OUTPUT([VERSION], [/* Version number of package */
@%:@undef VERSION])
m4trace:configure.in:16: -1- AC_REQUIRE_AUX_FILE([missing])
m4trace:configure.in:16: -1- AC_SUBST([ACLOCAL])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([ACLOCAL])
m4trace:configure.in:16: -1- m4_pattern_allow([^ACLOCAL$])
m4trace:configure.in:16: -1- AC_SUBST([AUTOCONF])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([AUTOCONF])
m4trace:configure.in:16: -1- m4_pattern_allow([^AUTOCONF$])
m4trace:configure.in:16: -1- AC_SUBST([AUTOMAKE])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([AUTOMAKE])
m4trace:configure.in:16: -1- m4_pattern_allow([^AUTOMAKE$])
m4trace:configure.in:16: -1- AC_SUBST([AUTOHEADER])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([AUTOHEADER])
m4trace:configure.in:16: -1- m4_pattern_allow([^AUTOHEADER$])
m4trace:configure.in:16: -1- AC_SUBST([MAKEINFO])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([MAKEINFO])
m4trace:configure.in:16: -1- m4_pattern_allow([^MAKEINFO$])
m4trace:configure.in:16: -1- AC_SUBST([install_sh])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([install_sh])
m4trace:configure.in:16: -1- m4_pattern_allow([^install_sh$])
m4trace:configure.in:16: -1- AC_SUBST([STRIP])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([STRIP])
m4trace:configure.in:16: -1- m4_pattern_allow([^STRIP$])
m4trace:configure.in:16: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
m4trace:configure.in:16: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
m4trace:configure.in:16: -1- AC_REQUIRE_AUX_FILE([install-sh])
m4trace:configure.in:16: -1- AC_SUBST([MKDIR_P])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([MKDIR_P])
m4trace:configure.in:16: -1- m4_pattern_allow([^MKDIR_P$])
m4trace:configure.in:16: -1- AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([mkdir_p])
m4trace:configure.in:16: -1- m4_pattern_allow([^mkdir_p$])
m4trace:configure.in:16: -1- AC_SUBST([AWK])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([AWK])
m4trace:configure.in:16: -1- m4_pattern_allow([^AWK$])
m4trace:configure.in:16: -1- AC_SUBST([SET_MAKE])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([SET_MAKE])
m4trace:configure.in:16: -1- m4_pattern_allow([^SET_MAKE$])
m4trace:configure.in:16: -1- AC_SUBST([am__leading_dot])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([am__leading_dot])
m4trace:configure.in:16: -1- m4_pattern_allow([^am__leading_dot$])
m4trace:configure.in:16: -1- AC_SUBST([AMTAR], ['$${TAR-tar}'])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([AMTAR])
m4trace:configure.in:16: -1- m4_pattern_allow([^AMTAR$])
m4trace:configure.in:16: -1- AC_SUBST([am__tar])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([am__tar])
m4trace:configure.in:16: -1- m4_pattern_allow([^am__tar$])
m4trace:configure.in:16: -1- AC_SUBST([am__untar])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([am__untar])
m4trace:configure.in:16: -1- m4_pattern_allow([^am__untar$])
m4trace:configure.in:16: -1- AM_SILENT_RULES
m4trace:configure.in:16: -1- AC_SUBST([AM_V])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([AM_V])
m4trace:configure.in:16: -1- m4_pattern_allow([^AM_V$])
m4trace:configure.in:16: -1- _AM_SUBST_NOTMAKE([AM_V])
m4trace:configure.in:16: -1- AC_SUBST([AM_DEFAULT_V])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([AM_DEFAULT_V])
m4trace:configure.in:16: -1- m4_pattern_allow([^AM_DEFAULT_V$])
m4trace:configure.in:16: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
m4trace:configure.in:16: -1- AC_SUBST([AM_DEFAULT_VERBOSITY])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([AM_DEFAULT_VERBOSITY])
m4trace:configure.in:16: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
m4trace:configure.in:16: -1- AC_SUBST([AM_BACKSLASH])
m4trace:configure.in:16: -1- AC_SUBST_TRACE([AM_BACKSLASH])
m4trace:configure.in:16: -1- m4_pattern_allow([^AM_BACKSLASH$])
m4trace:configure.in:16: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
m4trace:configure.in:17: -1- _m4_warn([obsolete], ['AM_CONFIG_HEADER': this macro is obsolete.
You should use the 'AC_CONFIG_HEADERS' macro instead.], [aclocal.m4:747: AM_CONFIG_HEADER is expanded from...
configure.in:17: the top level])
m4trace:configure.in:17: -1- AC_CONFIG_HEADERS([config.h])
m4trace:configure.in:19: -1- AC_SUBST([CC])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([CC])
m4trace:configure.in:19: -1- m4_pattern_allow([^CC$])
m4trace:configure.in:19: -1- AC_SUBST([CFLAGS])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([CFLAGS])
m4trace:configure.in:19: -1- m4_pattern_allow([^CFLAGS$])
m4trace:configure.in:19: -1- AC_SUBST([LDFLAGS])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([LDFLAGS])
m4trace:configure.in:19: -1- m4_pattern_allow([^LDFLAGS$])
m4trace:configure.in:19: -1- AC_SUBST([LIBS])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([LIBS])
m4trace:configure.in:19: -1- m4_pattern_allow([^LIBS$])
m4trace:configure.in:19: -1- AC_SUBST([CPPFLAGS])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([CPPFLAGS])
m4trace:configure.in:19: -1- m4_pattern_allow([^CPPFLAGS$])
m4trace:configure.in:19: -1- AC_SUBST([CC])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([CC])
m4trace:configure.in:19: -1- m4_pattern_allow([^CC$])
m4trace:configure.in:19: -1- AC_SUBST([CC])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([CC])
m4trace:configure.in:19: -1- m4_pattern_allow([^CC$])
m4trace:configure.in:19: -1- AC_SUBST([CC])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([CC])
m4trace:configure.in:19: -1- m4_pattern_allow([^CC$])
m4trace:configure.in:19: -1- AC_SUBST([CC])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([CC])
m4trace:configure.in:19: -1- m4_pattern_allow([^CC$])
m4trace:configure.in:19: -1- AC_SUBST([ac_ct_CC])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([ac_ct_CC])
m4trace:configure.in:19: -1- m4_pattern_allow([^ac_ct_CC$])
m4trace:configure.in:19: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([EXEEXT])
m4trace:configure.in:19: -1- m4_pattern_allow([^EXEEXT$])
m4trace:configure.in:19: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([OBJEXT])
m4trace:configure.in:19: -1- m4_pattern_allow([^OBJEXT$])
m4trace:configure.in:19: -1- AC_REQUIRE_AUX_FILE([compile])
m4trace:configure.in:19: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([DEPDIR])
m4trace:configure.in:19: -1- m4_pattern_allow([^DEPDIR$])
m4trace:configure.in:19: -1- AC_SUBST([am__include])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([am__include])
m4trace:configure.in:19: -1- m4_pattern_allow([^am__include$])
m4trace:configure.in:19: -1- AC_SUBST([am__quote])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([am__quote])
m4trace:configure.in:19: -1- m4_pattern_allow([^am__quote$])
m4trace:configure.in:19: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
m4trace:configure.in:19: -1- AC_SUBST([AMDEP_TRUE])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([AMDEP_TRUE])
m4trace:configure.in:19: -1- m4_pattern_allow([^AMDEP_TRUE$])
m4trace:configure.in:19: -1- AC_SUBST([AMDEP_FALSE])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([AMDEP_FALSE])
m4trace:configure.in:19: -1- m4_pattern_allow([^AMDEP_FALSE$])
m4trace:configure.in:19: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
m4trace:configure.in:19: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
m4trace:configure.in:19: -1- AC_SUBST([AMDEPBACKSLASH])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
m4trace:configure.in:19: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
m4trace:configure.in:19: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
m4trace:configure.in:19: -1- AC_SUBST([am__nodep])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([am__nodep])
m4trace:configure.in:19: -1- m4_pattern_allow([^am__nodep$])
m4trace:configure.in:19: -1- _AM_SUBST_NOTMAKE([am__nodep])
m4trace:configure.in:19: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([CCDEPMODE])
m4trace:configure.in:19: -1- m4_pattern_allow([^CCDEPMODE$])
m4trace:configure.in:19: -1- AM_CONDITIONAL([am__fastdepCC], [
test "x$enable_dependency_tracking" != xno \
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3])
m4trace:configure.in:19: -1- AC_SUBST([am__fastdepCC_TRUE])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
m4trace:configure.in:19: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
m4trace:configure.in:19: -1- AC_SUBST([am__fastdepCC_FALSE])
m4trace:configure.in:19: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
m4trace:configure.in:19: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
m4trace:configure.in:19: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
m4trace:configure.in:19: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
m4trace:configure.in:20: -1- AC_SUBST([RANLIB])
m4trace:configure.in:20: -1- AC_SUBST_TRACE([RANLIB])
m4trace:configure.in:20: -1- m4_pattern_allow([^RANLIB$])
m4trace:configure.in:21: -1- _m4_warn([obsolete], [The macro `AC_ISC_POSIX' is obsolete.
You should run autoupdate.], [../../lib/autoconf/specific.m4:446: AC_ISC_POSIX is expanded from...
configure.in:21: the top level])
m4trace:configure.in:23: -1- AH_OUTPUT([HAVE_MALLOC_H], [/* Define to 1 if you have the <malloc.h> header file. */
@%:@undef HAVE_MALLOC_H])
m4trace:configure.in:23: -1- AC_SUBST([CPP])
m4trace:configure.in:23: -1- AC_SUBST_TRACE([CPP])
m4trace:configure.in:23: -1- m4_pattern_allow([^CPP$])
m4trace:configure.in:23: -1- AC_SUBST([CPPFLAGS])
m4trace:configure.in:23: -1- AC_SUBST_TRACE([CPPFLAGS])
m4trace:configure.in:23: -1- m4_pattern_allow([^CPPFLAGS$])
m4trace:configure.in:23: -1- AC_SUBST([CPP])
m4trace:configure.in:23: -1- AC_SUBST_TRACE([CPP])
m4trace:configure.in:23: -1- m4_pattern_allow([^CPP$])
m4trace:configure.in:23: -1- AC_SUBST([GREP])
m4trace:configure.in:23: -1- AC_SUBST_TRACE([GREP])
m4trace:configure.in:23: -1- m4_pattern_allow([^GREP$])
m4trace:configure.in:23: -1- AC_SUBST([EGREP])
m4trace:configure.in:23: -1- AC_SUBST_TRACE([EGREP])
m4trace:configure.in:23: -1- m4_pattern_allow([^EGREP$])
m4trace:configure.in:23: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
m4trace:configure.in:23: -1- m4_pattern_allow([^STDC_HEADERS$])
m4trace:configure.in:23: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
@%:@undef STDC_HEADERS])
m4trace:configure.in:23: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
@%:@undef HAVE_SYS_TYPES_H])
m4trace:configure.in:23: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
@%:@undef HAVE_SYS_STAT_H])
m4trace:configure.in:23: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
@%:@undef HAVE_STDLIB_H])
m4trace:configure.in:23: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
@%:@undef HAVE_STRING_H])
m4trace:configure.in:23: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
@%:@undef HAVE_MEMORY_H])
m4trace:configure.in:23: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
@%:@undef HAVE_STRINGS_H])
m4trace:configure.in:23: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
@%:@undef HAVE_INTTYPES_H])
m4trace:configure.in:23: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
@%:@undef HAVE_STDINT_H])
m4trace:configure.in:23: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
@%:@undef HAVE_UNISTD_H])
m4trace:configure.in:23: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC_H])
m4trace:configure.in:23: -1- m4_pattern_allow([^HAVE_MALLOC_H$])
m4trace:configure.in:27: -1- AC_DEFINE_TRACE_LITERAL([const])
m4trace:configure.in:27: -1- m4_pattern_allow([^const$])
m4trace:configure.in:27: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
@%:@undef const])
m4trace:configure.in:28: -1- AC_DEFINE_TRACE_LITERAL([size_t])
m4trace:configure.in:28: -1- m4_pattern_allow([^size_t$])
m4trace:configure.in:28: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
@%:@undef size_t])
m4trace:configure.in:29: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_UNSIGNED_CHAR])
m4trace:configure.in:29: -1- m4_pattern_allow([^SIZEOF_UNSIGNED_CHAR$])
m4trace:configure.in:29: -1- AH_OUTPUT([SIZEOF_UNSIGNED_CHAR], [/* The size of `unsigned char\', as computed by sizeof. */
@%:@undef SIZEOF_UNSIGNED_CHAR])
m4trace:configure.in:30: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_UNSIGNED_SHORT])
m4trace:configure.in:30: -1- m4_pattern_allow([^SIZEOF_UNSIGNED_SHORT$])
m4trace:configure.in:30: -1- AH_OUTPUT([SIZEOF_UNSIGNED_SHORT], [/* The size of `unsigned short\', as computed by sizeof. */
@%:@undef SIZEOF_UNSIGNED_SHORT])
m4trace:configure.in:31: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_UNSIGNED_INT])
m4trace:configure.in:31: -1- m4_pattern_allow([^SIZEOF_UNSIGNED_INT$])
m4trace:configure.in:31: -1- AH_OUTPUT([SIZEOF_UNSIGNED_INT], [/* The size of `unsigned int\', as computed by sizeof. */
@%:@undef SIZEOF_UNSIGNED_INT])
m4trace:configure.in:32: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_UNSIGNED_LONG])
m4trace:configure.in:32: -1- m4_pattern_allow([^SIZEOF_UNSIGNED_LONG$])
m4trace:configure.in:32: -1- AH_OUTPUT([SIZEOF_UNSIGNED_LONG], [/* The size of `unsigned long\', as computed by sizeof. */
@%:@undef SIZEOF_UNSIGNED_LONG])
m4trace:configure.in:33: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_UNSIGNED_LONG_LONG])
m4trace:configure.in:33: -1- m4_pattern_allow([^SIZEOF_UNSIGNED_LONG_LONG$])
m4trace:configure.in:33: -1- AH_OUTPUT([SIZEOF_UNSIGNED_LONG_LONG], [/* The size of `unsigned long long\', as computed by sizeof. */
@%:@undef SIZEOF_UNSIGNED_LONG_LONG])
m4trace:configure.in:34: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_FLOAT])
m4trace:configure.in:34: -1- m4_pattern_allow([^SIZEOF_FLOAT$])
m4trace:configure.in:34: -1- AH_OUTPUT([SIZEOF_FLOAT], [/* The size of `float\', as computed by sizeof. */
@%:@undef SIZEOF_FLOAT])
m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_DOUBLE])
m4trace:configure.in:35: -1- m4_pattern_allow([^SIZEOF_DOUBLE$])
m4trace:configure.in:35: -1- AH_OUTPUT([SIZEOF_DOUBLE], [/* The size of `double\', as computed by sizeof. */
@%:@undef SIZEOF_DOUBLE])
m4trace:configure.in:36: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG_DOUBLE])
m4trace:configure.in:36: -1- m4_pattern_allow([^SIZEOF_LONG_DOUBLE$])
m4trace:configure.in:36: -1- AH_OUTPUT([SIZEOF_LONG_DOUBLE], [/* The size of `long double\', as computed by sizeof. */
@%:@undef SIZEOF_LONG_DOUBLE])
m4trace:configure.in:37: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
# undef WORDS_BIGENDIAN
# endif
#endif])
m4trace:configure.in:37: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN])
m4trace:configure.in:37: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
m4trace:configure.in:37: -1- AC_DEFINE_TRACE_LITERAL([AC_APPLE_UNIVERSAL_BUILD])
m4trace:configure.in:37: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
m4trace:configure.in:37: -1- AH_OUTPUT([AC_APPLE_UNIVERSAL_BUILD], [/* Define if building universal (internal helper macro) */
@%:@undef AC_APPLE_UNIVERSAL_BUILD])
m4trace:configure.in:39: -1- AC_SUBST([STRIP])
m4trace:configure.in:39: -1- AC_SUBST_TRACE([STRIP])
m4trace:configure.in:39: -1- m4_pattern_allow([^STRIP$])
m4trace:configure.in:57: -1- AC_SUBST([COLE_MAJOR])
m4trace:configure.in:57: -1- AC_SUBST_TRACE([COLE_MAJOR])
m4trace:configure.in:57: -1- m4_pattern_allow([^COLE_MAJOR$])
m4trace:configure.in:58: -1- AC_SUBST([COLE_MINOR])
m4trace:configure.in:58: -1- AC_SUBST_TRACE([COLE_MINOR])
m4trace:configure.in:58: -1- m4_pattern_allow([^COLE_MINOR$])
m4trace:configure.in:59: -1- AC_SUBST([COLE_MICRO])
m4trace:configure.in:59: -1- AC_SUBST_TRACE([COLE_MICRO])
m4trace:configure.in:59: -1- m4_pattern_allow([^COLE_MICRO$])
m4trace:configure.in:62: -1- AC_CONFIG_FILES([Makefile cole/Makefile cole/version.c cole/cole.h xlhtml/Makefile ppthtml/Makefile])
m4trace:configure.in:62: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
You should run autoupdate.], [])
m4trace:configure.in:62: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
m4trace:configure.in:62: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
m4trace:configure.in:62: -1- m4_pattern_allow([^LIB@&t@OBJS$])
m4trace:configure.in:62: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
m4trace:configure.in:62: -1- AC_SUBST_TRACE([LTLIBOBJS])
m4trace:configure.in:62: -1- m4_pattern_allow([^LTLIBOBJS$])
m4trace:configure.in:62: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
m4trace:configure.in:62: -1- AC_SUBST([am__EXEEXT_TRUE])
m4trace:configure.in:62: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
m4trace:configure.in:62: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
m4trace:configure.in:62: -1- AC_SUBST([am__EXEEXT_FALSE])
m4trace:configure.in:62: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
m4trace:configure.in:62: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
m4trace:configure.in:62: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
m4trace:configure.in:62: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
m4trace:configure.in:62: -1- AC_SUBST_TRACE([top_builddir])
m4trace:configure.in:62: -1- AC_SUBST_TRACE([top_build_prefix])
m4trace:configure.in:62: -1- AC_SUBST_TRACE([srcdir])
m4trace:configure.in:62: -1- AC_SUBST_TRACE([abs_srcdir])
m4trace:configure.in:62: -1- AC_SUBST_TRACE([top_srcdir])
m4trace:configure.in:62: -1- AC_SUBST_TRACE([abs_top_srcdir])
m4trace:configure.in:62: -1- AC_SUBST_TRACE([builddir])
m4trace:configure.in:62: -1- AC_SUBST_TRACE([abs_builddir])
m4trace:configure.in:62: -1- AC_SUBST_TRACE([abs_top_builddir])
m4trace:configure.in:62: -1- AC_SUBST_TRACE([INSTALL])
m4trace:configure.in:62: -1- AC_SUBST_TRACE([MKDIR_P])

1046
autom4te.cache/traces.2 Normal file

File diff suppressed because it is too large Load Diff

671
autom4te.cache/traces.3 Normal file
View File

@ -0,0 +1,671 @@
m4trace:configure.ac:1: -1- AC_INIT
m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?A[CHUM]_])
m4trace:configure.ac:1: -1- m4_pattern_forbid([_AC_])
m4trace:configure.ac:1: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
m4trace:configure.ac:1: -1- m4_pattern_allow([^AS_FLAGS$])
m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?m4_])
m4trace:configure.ac:1: -1- m4_pattern_forbid([^dnl$])
m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?AS_])
m4trace:configure.ac:1: -1- AC_SUBST([SHELL])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([SHELL])
m4trace:configure.ac:1: -1- m4_pattern_allow([^SHELL$])
m4trace:configure.ac:1: -1- AC_SUBST([PATH_SEPARATOR])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
m4trace:configure.ac:1: -1- m4_pattern_allow([^PATH_SEPARATOR$])
m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_NAME])
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_STRING])
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_URL])
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_URL$])
m4trace:configure.ac:1: -1- AC_SUBST([exec_prefix], [NONE])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([exec_prefix])
m4trace:configure.ac:1: -1- m4_pattern_allow([^exec_prefix$])
m4trace:configure.ac:1: -1- AC_SUBST([prefix], [NONE])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([prefix])
m4trace:configure.ac:1: -1- m4_pattern_allow([^prefix$])
m4trace:configure.ac:1: -1- AC_SUBST([program_transform_name], [s,x,x,])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([program_transform_name])
m4trace:configure.ac:1: -1- m4_pattern_allow([^program_transform_name$])
m4trace:configure.ac:1: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([bindir])
m4trace:configure.ac:1: -1- m4_pattern_allow([^bindir$])
m4trace:configure.ac:1: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([sbindir])
m4trace:configure.ac:1: -1- m4_pattern_allow([^sbindir$])
m4trace:configure.ac:1: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([libexecdir])
m4trace:configure.ac:1: -1- m4_pattern_allow([^libexecdir$])
m4trace:configure.ac:1: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([datarootdir])
m4trace:configure.ac:1: -1- m4_pattern_allow([^datarootdir$])
m4trace:configure.ac:1: -1- AC_SUBST([datadir], ['${datarootdir}'])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([datadir])
m4trace:configure.ac:1: -1- m4_pattern_allow([^datadir$])
m4trace:configure.ac:1: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([sysconfdir])
m4trace:configure.ac:1: -1- m4_pattern_allow([^sysconfdir$])
m4trace:configure.ac:1: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([sharedstatedir])
m4trace:configure.ac:1: -1- m4_pattern_allow([^sharedstatedir$])
m4trace:configure.ac:1: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([localstatedir])
m4trace:configure.ac:1: -1- m4_pattern_allow([^localstatedir$])
m4trace:configure.ac:1: -1- AC_SUBST([runstatedir], ['${localstatedir}/run'])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([runstatedir])
m4trace:configure.ac:1: -1- m4_pattern_allow([^runstatedir$])
m4trace:configure.ac:1: -1- AC_SUBST([includedir], ['${prefix}/include'])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([includedir])
m4trace:configure.ac:1: -1- m4_pattern_allow([^includedir$])
m4trace:configure.ac:1: -1- AC_SUBST([oldincludedir], ['/usr/include'])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([oldincludedir])
m4trace:configure.ac:1: -1- m4_pattern_allow([^oldincludedir$])
m4trace:configure.ac:1: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
['${datarootdir}/doc/${PACKAGE_TARNAME}'],
['${datarootdir}/doc/${PACKAGE}'])])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([docdir])
m4trace:configure.ac:1: -1- m4_pattern_allow([^docdir$])
m4trace:configure.ac:1: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([infodir])
m4trace:configure.ac:1: -1- m4_pattern_allow([^infodir$])
m4trace:configure.ac:1: -1- AC_SUBST([htmldir], ['${docdir}'])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([htmldir])
m4trace:configure.ac:1: -1- m4_pattern_allow([^htmldir$])
m4trace:configure.ac:1: -1- AC_SUBST([dvidir], ['${docdir}'])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([dvidir])
m4trace:configure.ac:1: -1- m4_pattern_allow([^dvidir$])
m4trace:configure.ac:1: -1- AC_SUBST([pdfdir], ['${docdir}'])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([pdfdir])
m4trace:configure.ac:1: -1- m4_pattern_allow([^pdfdir$])
m4trace:configure.ac:1: -1- AC_SUBST([psdir], ['${docdir}'])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([psdir])
m4trace:configure.ac:1: -1- m4_pattern_allow([^psdir$])
m4trace:configure.ac:1: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([libdir])
m4trace:configure.ac:1: -1- m4_pattern_allow([^libdir$])
m4trace:configure.ac:1: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([localedir])
m4trace:configure.ac:1: -1- m4_pattern_allow([^localedir$])
m4trace:configure.ac:1: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([mandir])
m4trace:configure.ac:1: -1- m4_pattern_allow([^mandir$])
m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
@%:@undef PACKAGE_NAME])
m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
@%:@undef PACKAGE_TARNAME])
m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
@%:@undef PACKAGE_VERSION])
m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
@%:@undef PACKAGE_STRING])
m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
@%:@undef PACKAGE_BUGREPORT])
m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_URL$])
m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
@%:@undef PACKAGE_URL])
m4trace:configure.ac:1: -1- AC_SUBST([DEFS])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([DEFS])
m4trace:configure.ac:1: -1- m4_pattern_allow([^DEFS$])
m4trace:configure.ac:1: -1- AC_SUBST([ECHO_C])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([ECHO_C])
m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_C$])
m4trace:configure.ac:1: -1- AC_SUBST([ECHO_N])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([ECHO_N])
m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_N$])
m4trace:configure.ac:1: -1- AC_SUBST([ECHO_T])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([ECHO_T])
m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_T$])
m4trace:configure.ac:1: -1- AC_SUBST([LIBS])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([LIBS])
m4trace:configure.ac:1: -1- m4_pattern_allow([^LIBS$])
m4trace:configure.ac:1: -1- AC_SUBST([build_alias])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([build_alias])
m4trace:configure.ac:1: -1- m4_pattern_allow([^build_alias$])
m4trace:configure.ac:1: -1- AC_SUBST([host_alias])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([host_alias])
m4trace:configure.ac:1: -1- m4_pattern_allow([^host_alias$])
m4trace:configure.ac:1: -1- AC_SUBST([target_alias])
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([target_alias])
m4trace:configure.ac:1: -1- m4_pattern_allow([^target_alias$])
m4trace:configure.ac:4: -1- AC_CANONICAL_HOST
m4trace:configure.ac:4: -1- AC_CANONICAL_BUILD
m4trace:configure.ac:4: -1- AC_REQUIRE_AUX_FILE([config.sub])
m4trace:configure.ac:4: -1- AC_REQUIRE_AUX_FILE([config.guess])
m4trace:configure.ac:4: -1- AC_SUBST([build], [$ac_cv_build])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([build])
m4trace:configure.ac:4: -1- m4_pattern_allow([^build$])
m4trace:configure.ac:4: -1- AC_SUBST([build_cpu], [$[1]])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([build_cpu])
m4trace:configure.ac:4: -1- m4_pattern_allow([^build_cpu$])
m4trace:configure.ac:4: -1- AC_SUBST([build_vendor], [$[2]])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([build_vendor])
m4trace:configure.ac:4: -1- m4_pattern_allow([^build_vendor$])
m4trace:configure.ac:4: -1- AC_SUBST([build_os])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([build_os])
m4trace:configure.ac:4: -1- m4_pattern_allow([^build_os$])
m4trace:configure.ac:4: -1- AC_SUBST([host], [$ac_cv_host])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([host])
m4trace:configure.ac:4: -1- m4_pattern_allow([^host$])
m4trace:configure.ac:4: -1- AC_SUBST([host_cpu], [$[1]])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([host_cpu])
m4trace:configure.ac:4: -1- m4_pattern_allow([^host_cpu$])
m4trace:configure.ac:4: -1- AC_SUBST([host_vendor], [$[2]])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([host_vendor])
m4trace:configure.ac:4: -1- m4_pattern_allow([^host_vendor$])
m4trace:configure.ac:4: -1- AC_SUBST([host_os])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([host_os])
m4trace:configure.ac:4: -1- m4_pattern_allow([^host_os$])
m4trace:configure.ac:10: -1- AC_SUBST([HOST_CANONICAL_NAME])
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([HOST_CANONICAL_NAME])
m4trace:configure.ac:10: -1- m4_pattern_allow([^HOST_CANONICAL_NAME$])
m4trace:configure.ac:11: -1- AC_SUBST([HOST_ALIAS_NAME])
m4trace:configure.ac:11: -1- AC_SUBST_TRACE([HOST_ALIAS_NAME])
m4trace:configure.ac:11: -1- m4_pattern_allow([^HOST_ALIAS_NAME$])
m4trace:configure.ac:12: -1- AC_SUBST([HOST_CPU])
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([HOST_CPU])
m4trace:configure.ac:12: -1- m4_pattern_allow([^HOST_CPU$])
m4trace:configure.ac:13: -1- AC_SUBST([HOST_VENDOR])
m4trace:configure.ac:13: -1- AC_SUBST_TRACE([HOST_VENDOR])
m4trace:configure.ac:13: -1- m4_pattern_allow([^HOST_VENDOR$])
m4trace:configure.ac:14: -1- AC_SUBST([HOST_OS])
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([HOST_OS])
m4trace:configure.ac:14: -1- m4_pattern_allow([^HOST_OS$])
m4trace:configure.ac:16: -1- AC_INIT([xlhtml], [0.5])
m4trace:configure.ac:16: -1- m4_pattern_forbid([^_?A[CHUM]_])
m4trace:configure.ac:16: -1- m4_pattern_forbid([_AC_])
m4trace:configure.ac:16: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
m4trace:configure.ac:16: -1- m4_pattern_allow([^AS_FLAGS$])
m4trace:configure.ac:16: -1- m4_pattern_forbid([^_?m4_])
m4trace:configure.ac:16: -1- m4_pattern_forbid([^dnl$])
m4trace:configure.ac:16: -1- m4_pattern_forbid([^_?AS_])
m4trace:configure.ac:16: -1- AC_SUBST([SHELL])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([SHELL])
m4trace:configure.ac:16: -1- m4_pattern_allow([^SHELL$])
m4trace:configure.ac:16: -1- AC_SUBST([PATH_SEPARATOR])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
m4trace:configure.ac:16: -1- m4_pattern_allow([^PATH_SEPARATOR$])
m4trace:configure.ac:16: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([PACKAGE_NAME])
m4trace:configure.ac:16: -1- m4_pattern_allow([^PACKAGE_NAME$])
m4trace:configure.ac:16: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
m4trace:configure.ac:16: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
m4trace:configure.ac:16: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
m4trace:configure.ac:16: -1- m4_pattern_allow([^PACKAGE_VERSION$])
m4trace:configure.ac:16: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([PACKAGE_STRING])
m4trace:configure.ac:16: -1- m4_pattern_allow([^PACKAGE_STRING$])
m4trace:configure.ac:16: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
m4trace:configure.ac:16: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
m4trace:configure.ac:16: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([PACKAGE_URL])
m4trace:configure.ac:16: -1- m4_pattern_allow([^PACKAGE_URL$])
m4trace:configure.ac:16: -1- AC_SUBST([exec_prefix], [NONE])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([exec_prefix])
m4trace:configure.ac:16: -1- m4_pattern_allow([^exec_prefix$])
m4trace:configure.ac:16: -1- AC_SUBST([prefix], [NONE])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([prefix])
m4trace:configure.ac:16: -1- m4_pattern_allow([^prefix$])
m4trace:configure.ac:16: -1- AC_SUBST([program_transform_name], [s,x,x,])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([program_transform_name])
m4trace:configure.ac:16: -1- m4_pattern_allow([^program_transform_name$])
m4trace:configure.ac:16: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([bindir])
m4trace:configure.ac:16: -1- m4_pattern_allow([^bindir$])
m4trace:configure.ac:16: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([sbindir])
m4trace:configure.ac:16: -1- m4_pattern_allow([^sbindir$])
m4trace:configure.ac:16: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([libexecdir])
m4trace:configure.ac:16: -1- m4_pattern_allow([^libexecdir$])
m4trace:configure.ac:16: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([datarootdir])
m4trace:configure.ac:16: -1- m4_pattern_allow([^datarootdir$])
m4trace:configure.ac:16: -1- AC_SUBST([datadir], ['${datarootdir}'])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([datadir])
m4trace:configure.ac:16: -1- m4_pattern_allow([^datadir$])
m4trace:configure.ac:16: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([sysconfdir])
m4trace:configure.ac:16: -1- m4_pattern_allow([^sysconfdir$])
m4trace:configure.ac:16: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([sharedstatedir])
m4trace:configure.ac:16: -1- m4_pattern_allow([^sharedstatedir$])
m4trace:configure.ac:16: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([localstatedir])
m4trace:configure.ac:16: -1- m4_pattern_allow([^localstatedir$])
m4trace:configure.ac:16: -1- AC_SUBST([runstatedir], ['${localstatedir}/run'])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([runstatedir])
m4trace:configure.ac:16: -1- m4_pattern_allow([^runstatedir$])
m4trace:configure.ac:16: -1- AC_SUBST([includedir], ['${prefix}/include'])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([includedir])
m4trace:configure.ac:16: -1- m4_pattern_allow([^includedir$])
m4trace:configure.ac:16: -1- AC_SUBST([oldincludedir], ['/usr/include'])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([oldincludedir])
m4trace:configure.ac:16: -1- m4_pattern_allow([^oldincludedir$])
m4trace:configure.ac:16: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
['${datarootdir}/doc/${PACKAGE_TARNAME}'],
['${datarootdir}/doc/${PACKAGE}'])])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([docdir])
m4trace:configure.ac:16: -1- m4_pattern_allow([^docdir$])
m4trace:configure.ac:16: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([infodir])
m4trace:configure.ac:16: -1- m4_pattern_allow([^infodir$])
m4trace:configure.ac:16: -1- AC_SUBST([htmldir], ['${docdir}'])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([htmldir])
m4trace:configure.ac:16: -1- m4_pattern_allow([^htmldir$])
m4trace:configure.ac:16: -1- AC_SUBST([dvidir], ['${docdir}'])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([dvidir])
m4trace:configure.ac:16: -1- m4_pattern_allow([^dvidir$])
m4trace:configure.ac:16: -1- AC_SUBST([pdfdir], ['${docdir}'])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([pdfdir])
m4trace:configure.ac:16: -1- m4_pattern_allow([^pdfdir$])
m4trace:configure.ac:16: -1- AC_SUBST([psdir], ['${docdir}'])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([psdir])
m4trace:configure.ac:16: -1- m4_pattern_allow([^psdir$])
m4trace:configure.ac:16: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([libdir])
m4trace:configure.ac:16: -1- m4_pattern_allow([^libdir$])
m4trace:configure.ac:16: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([localedir])
m4trace:configure.ac:16: -1- m4_pattern_allow([^localedir$])
m4trace:configure.ac:16: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([mandir])
m4trace:configure.ac:16: -1- m4_pattern_allow([^mandir$])
m4trace:configure.ac:16: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
m4trace:configure.ac:16: -1- m4_pattern_allow([^PACKAGE_NAME$])
m4trace:configure.ac:16: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
@%:@undef PACKAGE_NAME])
m4trace:configure.ac:16: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
m4trace:configure.ac:16: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
m4trace:configure.ac:16: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
@%:@undef PACKAGE_TARNAME])
m4trace:configure.ac:16: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
m4trace:configure.ac:16: -1- m4_pattern_allow([^PACKAGE_VERSION$])
m4trace:configure.ac:16: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
@%:@undef PACKAGE_VERSION])
m4trace:configure.ac:16: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
m4trace:configure.ac:16: -1- m4_pattern_allow([^PACKAGE_STRING$])
m4trace:configure.ac:16: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
@%:@undef PACKAGE_STRING])
m4trace:configure.ac:16: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
m4trace:configure.ac:16: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
m4trace:configure.ac:16: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
@%:@undef PACKAGE_BUGREPORT])
m4trace:configure.ac:16: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
m4trace:configure.ac:16: -1- m4_pattern_allow([^PACKAGE_URL$])
m4trace:configure.ac:16: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
@%:@undef PACKAGE_URL])
m4trace:configure.ac:16: -1- AC_SUBST([DEFS])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([DEFS])
m4trace:configure.ac:16: -1- m4_pattern_allow([^DEFS$])
m4trace:configure.ac:16: -1- AC_SUBST([ECHO_C])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([ECHO_C])
m4trace:configure.ac:16: -1- m4_pattern_allow([^ECHO_C$])
m4trace:configure.ac:16: -1- AC_SUBST([ECHO_N])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([ECHO_N])
m4trace:configure.ac:16: -1- m4_pattern_allow([^ECHO_N$])
m4trace:configure.ac:16: -1- AC_SUBST([ECHO_T])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([ECHO_T])
m4trace:configure.ac:16: -1- m4_pattern_allow([^ECHO_T$])
m4trace:configure.ac:16: -1- AC_SUBST([LIBS])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([LIBS])
m4trace:configure.ac:16: -1- m4_pattern_allow([^LIBS$])
m4trace:configure.ac:16: -1- AC_SUBST([build_alias])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([build_alias])
m4trace:configure.ac:16: -1- m4_pattern_allow([^build_alias$])
m4trace:configure.ac:16: -1- AC_SUBST([host_alias])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([host_alias])
m4trace:configure.ac:16: -1- m4_pattern_allow([^host_alias$])
m4trace:configure.ac:16: -1- AC_SUBST([target_alias])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([target_alias])
m4trace:configure.ac:16: -1- m4_pattern_allow([^target_alias$])
m4trace:configure.ac:18: -1- AM_INIT_AUTOMAKE
m4trace:configure.ac:18: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
m4trace:configure.ac:18: -1- AM_AUTOMAKE_VERSION([1.15.1])
m4trace:configure.ac:18: -1- AC_REQUIRE_AUX_FILE([install-sh])
m4trace:configure.ac:18: -1- AC_SUBST([INSTALL_PROGRAM])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
m4trace:configure.ac:18: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
m4trace:configure.ac:18: -1- AC_SUBST([INSTALL_SCRIPT])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
m4trace:configure.ac:18: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
m4trace:configure.ac:18: -1- AC_SUBST([INSTALL_DATA])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([INSTALL_DATA])
m4trace:configure.ac:18: -1- m4_pattern_allow([^INSTALL_DATA$])
m4trace:configure.ac:18: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([am__isrc])
m4trace:configure.ac:18: -1- m4_pattern_allow([^am__isrc$])
m4trace:configure.ac:18: -1- _AM_SUBST_NOTMAKE([am__isrc])
m4trace:configure.ac:18: -1- AC_SUBST([CYGPATH_W])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([CYGPATH_W])
m4trace:configure.ac:18: -1- m4_pattern_allow([^CYGPATH_W$])
m4trace:configure.ac:18: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([PACKAGE])
m4trace:configure.ac:18: -1- m4_pattern_allow([^PACKAGE$])
m4trace:configure.ac:18: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([VERSION])
m4trace:configure.ac:18: -1- m4_pattern_allow([^VERSION$])
m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
m4trace:configure.ac:18: -1- m4_pattern_allow([^PACKAGE$])
m4trace:configure.ac:18: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
@%:@undef PACKAGE])
m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
m4trace:configure.ac:18: -1- m4_pattern_allow([^VERSION$])
m4trace:configure.ac:18: -1- AH_OUTPUT([VERSION], [/* Version number of package */
@%:@undef VERSION])
m4trace:configure.ac:18: -1- AC_REQUIRE_AUX_FILE([missing])
m4trace:configure.ac:18: -1- AC_SUBST([ACLOCAL])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([ACLOCAL])
m4trace:configure.ac:18: -1- m4_pattern_allow([^ACLOCAL$])
m4trace:configure.ac:18: -1- AC_SUBST([AUTOCONF])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([AUTOCONF])
m4trace:configure.ac:18: -1- m4_pattern_allow([^AUTOCONF$])
m4trace:configure.ac:18: -1- AC_SUBST([AUTOMAKE])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([AUTOMAKE])
m4trace:configure.ac:18: -1- m4_pattern_allow([^AUTOMAKE$])
m4trace:configure.ac:18: -1- AC_SUBST([AUTOHEADER])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([AUTOHEADER])
m4trace:configure.ac:18: -1- m4_pattern_allow([^AUTOHEADER$])
m4trace:configure.ac:18: -1- AC_SUBST([MAKEINFO])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([MAKEINFO])
m4trace:configure.ac:18: -1- m4_pattern_allow([^MAKEINFO$])
m4trace:configure.ac:18: -1- AC_SUBST([install_sh])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([install_sh])
m4trace:configure.ac:18: -1- m4_pattern_allow([^install_sh$])
m4trace:configure.ac:18: -1- AC_SUBST([STRIP])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([STRIP])
m4trace:configure.ac:18: -1- m4_pattern_allow([^STRIP$])
m4trace:configure.ac:18: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
m4trace:configure.ac:18: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
m4trace:configure.ac:18: -1- AC_REQUIRE_AUX_FILE([install-sh])
m4trace:configure.ac:18: -1- AC_SUBST([MKDIR_P])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([MKDIR_P])
m4trace:configure.ac:18: -1- m4_pattern_allow([^MKDIR_P$])
m4trace:configure.ac:18: -1- AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([mkdir_p])
m4trace:configure.ac:18: -1- m4_pattern_allow([^mkdir_p$])
m4trace:configure.ac:18: -1- AC_SUBST([AWK])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([AWK])
m4trace:configure.ac:18: -1- m4_pattern_allow([^AWK$])
m4trace:configure.ac:18: -1- AC_SUBST([SET_MAKE])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([SET_MAKE])
m4trace:configure.ac:18: -1- m4_pattern_allow([^SET_MAKE$])
m4trace:configure.ac:18: -1- AC_SUBST([am__leading_dot])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([am__leading_dot])
m4trace:configure.ac:18: -1- m4_pattern_allow([^am__leading_dot$])
m4trace:configure.ac:18: -1- AC_SUBST([AMTAR], ['$${TAR-tar}'])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([AMTAR])
m4trace:configure.ac:18: -1- m4_pattern_allow([^AMTAR$])
m4trace:configure.ac:18: -1- AC_SUBST([am__tar])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([am__tar])
m4trace:configure.ac:18: -1- m4_pattern_allow([^am__tar$])
m4trace:configure.ac:18: -1- AC_SUBST([am__untar])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([am__untar])
m4trace:configure.ac:18: -1- m4_pattern_allow([^am__untar$])
m4trace:configure.ac:18: -1- AM_SILENT_RULES
m4trace:configure.ac:18: -1- AC_SUBST([AM_V])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([AM_V])
m4trace:configure.ac:18: -1- m4_pattern_allow([^AM_V$])
m4trace:configure.ac:18: -1- _AM_SUBST_NOTMAKE([AM_V])
m4trace:configure.ac:18: -1- AC_SUBST([AM_DEFAULT_V])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([AM_DEFAULT_V])
m4trace:configure.ac:18: -1- m4_pattern_allow([^AM_DEFAULT_V$])
m4trace:configure.ac:18: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
m4trace:configure.ac:18: -1- AC_SUBST([AM_DEFAULT_VERBOSITY])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([AM_DEFAULT_VERBOSITY])
m4trace:configure.ac:18: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
m4trace:configure.ac:18: -1- AC_SUBST([AM_BACKSLASH])
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([AM_BACKSLASH])
m4trace:configure.ac:18: -1- m4_pattern_allow([^AM_BACKSLASH$])
m4trace:configure.ac:18: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
m4trace:configure.ac:20: -1- _m4_warn([obsolete], ['AM_CONFIG_HEADER': this macro is obsolete.
You should use the 'AC_CONFIG_HEADERS' macro instead.], [aclocal.m4:747: AM_CONFIG_HEADER is expanded from...
configure.ac:20: the top level])
m4trace:configure.ac:20: -1- AC_CONFIG_HEADERS([config.h])
m4trace:configure.ac:22: -1- AC_SUBST([CC])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CC])
m4trace:configure.ac:22: -1- m4_pattern_allow([^CC$])
m4trace:configure.ac:22: -1- AC_SUBST([CFLAGS])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CFLAGS])
m4trace:configure.ac:22: -1- m4_pattern_allow([^CFLAGS$])
m4trace:configure.ac:22: -1- AC_SUBST([LDFLAGS])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([LDFLAGS])
m4trace:configure.ac:22: -1- m4_pattern_allow([^LDFLAGS$])
m4trace:configure.ac:22: -1- AC_SUBST([LIBS])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([LIBS])
m4trace:configure.ac:22: -1- m4_pattern_allow([^LIBS$])
m4trace:configure.ac:22: -1- AC_SUBST([CPPFLAGS])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CPPFLAGS])
m4trace:configure.ac:22: -1- m4_pattern_allow([^CPPFLAGS$])
m4trace:configure.ac:22: -1- AC_SUBST([CC])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CC])
m4trace:configure.ac:22: -1- m4_pattern_allow([^CC$])
m4trace:configure.ac:22: -1- AC_SUBST([CC])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CC])
m4trace:configure.ac:22: -1- m4_pattern_allow([^CC$])
m4trace:configure.ac:22: -1- AC_SUBST([CC])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CC])
m4trace:configure.ac:22: -1- m4_pattern_allow([^CC$])
m4trace:configure.ac:22: -1- AC_SUBST([CC])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CC])
m4trace:configure.ac:22: -1- m4_pattern_allow([^CC$])
m4trace:configure.ac:22: -1- AC_SUBST([ac_ct_CC])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([ac_ct_CC])
m4trace:configure.ac:22: -1- m4_pattern_allow([^ac_ct_CC$])
m4trace:configure.ac:22: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([EXEEXT])
m4trace:configure.ac:22: -1- m4_pattern_allow([^EXEEXT$])
m4trace:configure.ac:22: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([OBJEXT])
m4trace:configure.ac:22: -1- m4_pattern_allow([^OBJEXT$])
m4trace:configure.ac:22: -1- AC_REQUIRE_AUX_FILE([compile])
m4trace:configure.ac:22: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([DEPDIR])
m4trace:configure.ac:22: -1- m4_pattern_allow([^DEPDIR$])
m4trace:configure.ac:22: -1- AC_SUBST([am__include])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([am__include])
m4trace:configure.ac:22: -1- m4_pattern_allow([^am__include$])
m4trace:configure.ac:22: -1- AC_SUBST([am__quote])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([am__quote])
m4trace:configure.ac:22: -1- m4_pattern_allow([^am__quote$])
m4trace:configure.ac:22: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
m4trace:configure.ac:22: -1- AC_SUBST([AMDEP_TRUE])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([AMDEP_TRUE])
m4trace:configure.ac:22: -1- m4_pattern_allow([^AMDEP_TRUE$])
m4trace:configure.ac:22: -1- AC_SUBST([AMDEP_FALSE])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([AMDEP_FALSE])
m4trace:configure.ac:22: -1- m4_pattern_allow([^AMDEP_FALSE$])
m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
m4trace:configure.ac:22: -1- AC_SUBST([AMDEPBACKSLASH])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
m4trace:configure.ac:22: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
m4trace:configure.ac:22: -1- AC_SUBST([am__nodep])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([am__nodep])
m4trace:configure.ac:22: -1- m4_pattern_allow([^am__nodep$])
m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([am__nodep])
m4trace:configure.ac:22: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CCDEPMODE])
m4trace:configure.ac:22: -1- m4_pattern_allow([^CCDEPMODE$])
m4trace:configure.ac:22: -1- AM_CONDITIONAL([am__fastdepCC], [
test "x$enable_dependency_tracking" != xno \
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3])
m4trace:configure.ac:22: -1- AC_SUBST([am__fastdepCC_TRUE])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
m4trace:configure.ac:22: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
m4trace:configure.ac:22: -1- AC_SUBST([am__fastdepCC_FALSE])
m4trace:configure.ac:22: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
m4trace:configure.ac:22: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
m4trace:configure.ac:23: -1- AC_SUBST([RANLIB])
m4trace:configure.ac:23: -1- AC_SUBST_TRACE([RANLIB])
m4trace:configure.ac:23: -1- m4_pattern_allow([^RANLIB$])
m4trace:configure.ac:24: -1- _m4_warn([obsolete], [The macro `AC_ISC_POSIX' is obsolete.
You should run autoupdate.], [../../lib/autoconf/specific.m4:446: AC_ISC_POSIX is expanded from...
configure.ac:24: the top level])
m4trace:configure.ac:26: -1- AH_OUTPUT([HAVE_MALLOC_H], [/* Define to 1 if you have the <malloc.h> header file. */
@%:@undef HAVE_MALLOC_H])
m4trace:configure.ac:26: -1- AC_SUBST([CPP])
m4trace:configure.ac:26: -1- AC_SUBST_TRACE([CPP])
m4trace:configure.ac:26: -1- m4_pattern_allow([^CPP$])
m4trace:configure.ac:26: -1- AC_SUBST([CPPFLAGS])
m4trace:configure.ac:26: -1- AC_SUBST_TRACE([CPPFLAGS])
m4trace:configure.ac:26: -1- m4_pattern_allow([^CPPFLAGS$])
m4trace:configure.ac:26: -1- AC_SUBST([CPP])
m4trace:configure.ac:26: -1- AC_SUBST_TRACE([CPP])
m4trace:configure.ac:26: -1- m4_pattern_allow([^CPP$])
m4trace:configure.ac:26: -1- AC_SUBST([GREP])
m4trace:configure.ac:26: -1- AC_SUBST_TRACE([GREP])
m4trace:configure.ac:26: -1- m4_pattern_allow([^GREP$])
m4trace:configure.ac:26: -1- AC_SUBST([EGREP])
m4trace:configure.ac:26: -1- AC_SUBST_TRACE([EGREP])
m4trace:configure.ac:26: -1- m4_pattern_allow([^EGREP$])
m4trace:configure.ac:26: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
m4trace:configure.ac:26: -1- m4_pattern_allow([^STDC_HEADERS$])
m4trace:configure.ac:26: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
@%:@undef STDC_HEADERS])
m4trace:configure.ac:26: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
@%:@undef HAVE_SYS_TYPES_H])
m4trace:configure.ac:26: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
@%:@undef HAVE_SYS_STAT_H])
m4trace:configure.ac:26: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
@%:@undef HAVE_STDLIB_H])
m4trace:configure.ac:26: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
@%:@undef HAVE_STRING_H])
m4trace:configure.ac:26: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
@%:@undef HAVE_MEMORY_H])
m4trace:configure.ac:26: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
@%:@undef HAVE_STRINGS_H])
m4trace:configure.ac:26: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
@%:@undef HAVE_INTTYPES_H])
m4trace:configure.ac:26: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
@%:@undef HAVE_STDINT_H])
m4trace:configure.ac:26: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
@%:@undef HAVE_UNISTD_H])
m4trace:configure.ac:26: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC_H])
m4trace:configure.ac:26: -1- m4_pattern_allow([^HAVE_MALLOC_H$])
m4trace:configure.ac:30: -1- AC_DEFINE_TRACE_LITERAL([const])
m4trace:configure.ac:30: -1- m4_pattern_allow([^const$])
m4trace:configure.ac:30: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
@%:@undef const])
m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([size_t])
m4trace:configure.ac:31: -1- m4_pattern_allow([^size_t$])
m4trace:configure.ac:31: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
@%:@undef size_t])
m4trace:configure.ac:32: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_UNSIGNED_CHAR])
m4trace:configure.ac:32: -1- m4_pattern_allow([^SIZEOF_UNSIGNED_CHAR$])
m4trace:configure.ac:32: -1- AH_OUTPUT([SIZEOF_UNSIGNED_CHAR], [/* The size of `unsigned char\', as computed by sizeof. */
@%:@undef SIZEOF_UNSIGNED_CHAR])
m4trace:configure.ac:33: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_UNSIGNED_SHORT])
m4trace:configure.ac:33: -1- m4_pattern_allow([^SIZEOF_UNSIGNED_SHORT$])
m4trace:configure.ac:33: -1- AH_OUTPUT([SIZEOF_UNSIGNED_SHORT], [/* The size of `unsigned short\', as computed by sizeof. */
@%:@undef SIZEOF_UNSIGNED_SHORT])
m4trace:configure.ac:34: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_UNSIGNED_INT])
m4trace:configure.ac:34: -1- m4_pattern_allow([^SIZEOF_UNSIGNED_INT$])
m4trace:configure.ac:34: -1- AH_OUTPUT([SIZEOF_UNSIGNED_INT], [/* The size of `unsigned int\', as computed by sizeof. */
@%:@undef SIZEOF_UNSIGNED_INT])
m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_UNSIGNED_LONG])
m4trace:configure.ac:35: -1- m4_pattern_allow([^SIZEOF_UNSIGNED_LONG$])
m4trace:configure.ac:35: -1- AH_OUTPUT([SIZEOF_UNSIGNED_LONG], [/* The size of `unsigned long\', as computed by sizeof. */
@%:@undef SIZEOF_UNSIGNED_LONG])
m4trace:configure.ac:36: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_UNSIGNED_LONG_LONG])
m4trace:configure.ac:36: -1- m4_pattern_allow([^SIZEOF_UNSIGNED_LONG_LONG$])
m4trace:configure.ac:36: -1- AH_OUTPUT([SIZEOF_UNSIGNED_LONG_LONG], [/* The size of `unsigned long long\', as computed by sizeof. */
@%:@undef SIZEOF_UNSIGNED_LONG_LONG])
m4trace:configure.ac:37: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_FLOAT])
m4trace:configure.ac:37: -1- m4_pattern_allow([^SIZEOF_FLOAT$])
m4trace:configure.ac:37: -1- AH_OUTPUT([SIZEOF_FLOAT], [/* The size of `float\', as computed by sizeof. */
@%:@undef SIZEOF_FLOAT])
m4trace:configure.ac:38: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_DOUBLE])
m4trace:configure.ac:38: -1- m4_pattern_allow([^SIZEOF_DOUBLE$])
m4trace:configure.ac:38: -1- AH_OUTPUT([SIZEOF_DOUBLE], [/* The size of `double\', as computed by sizeof. */
@%:@undef SIZEOF_DOUBLE])
m4trace:configure.ac:39: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG_DOUBLE])
m4trace:configure.ac:39: -1- m4_pattern_allow([^SIZEOF_LONG_DOUBLE$])
m4trace:configure.ac:39: -1- AH_OUTPUT([SIZEOF_LONG_DOUBLE], [/* The size of `long double\', as computed by sizeof. */
@%:@undef SIZEOF_LONG_DOUBLE])
m4trace:configure.ac:40: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
# undef WORDS_BIGENDIAN
# endif
#endif])
m4trace:configure.ac:40: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN])
m4trace:configure.ac:40: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
m4trace:configure.ac:40: -1- AC_DEFINE_TRACE_LITERAL([AC_APPLE_UNIVERSAL_BUILD])
m4trace:configure.ac:40: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
m4trace:configure.ac:40: -1- AH_OUTPUT([AC_APPLE_UNIVERSAL_BUILD], [/* Define if building universal (internal helper macro) */
@%:@undef AC_APPLE_UNIVERSAL_BUILD])
m4trace:configure.ac:42: -1- AC_SUBST([STRIP])
m4trace:configure.ac:42: -1- AC_SUBST_TRACE([STRIP])
m4trace:configure.ac:42: -1- m4_pattern_allow([^STRIP$])
m4trace:configure.ac:60: -1- AC_SUBST([COLE_MAJOR])
m4trace:configure.ac:60: -1- AC_SUBST_TRACE([COLE_MAJOR])
m4trace:configure.ac:60: -1- m4_pattern_allow([^COLE_MAJOR$])
m4trace:configure.ac:61: -1- AC_SUBST([COLE_MINOR])
m4trace:configure.ac:61: -1- AC_SUBST_TRACE([COLE_MINOR])
m4trace:configure.ac:61: -1- m4_pattern_allow([^COLE_MINOR$])
m4trace:configure.ac:62: -1- AC_SUBST([COLE_MICRO])
m4trace:configure.ac:62: -1- AC_SUBST_TRACE([COLE_MICRO])
m4trace:configure.ac:62: -1- m4_pattern_allow([^COLE_MICRO$])
m4trace:configure.ac:65: -1- AC_CONFIG_FILES([Makefile cole/Makefile cole/version.c cole/cole.h xlhtml/Makefile ppthtml/Makefile])
m4trace:configure.ac:65: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
You should run autoupdate.], [])
m4trace:configure.ac:65: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
m4trace:configure.ac:65: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
m4trace:configure.ac:65: -1- m4_pattern_allow([^LIB@&t@OBJS$])
m4trace:configure.ac:65: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
m4trace:configure.ac:65: -1- AC_SUBST_TRACE([LTLIBOBJS])
m4trace:configure.ac:65: -1- m4_pattern_allow([^LTLIBOBJS$])
m4trace:configure.ac:65: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
m4trace:configure.ac:65: -1- AC_SUBST([am__EXEEXT_TRUE])
m4trace:configure.ac:65: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
m4trace:configure.ac:65: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
m4trace:configure.ac:65: -1- AC_SUBST([am__EXEEXT_FALSE])
m4trace:configure.ac:65: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
m4trace:configure.ac:65: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
m4trace:configure.ac:65: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
m4trace:configure.ac:65: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
m4trace:configure.ac:65: -1- AC_SUBST_TRACE([top_builddir])
m4trace:configure.ac:65: -1- AC_SUBST_TRACE([top_build_prefix])
m4trace:configure.ac:65: -1- AC_SUBST_TRACE([srcdir])
m4trace:configure.ac:65: -1- AC_SUBST_TRACE([abs_srcdir])
m4trace:configure.ac:65: -1- AC_SUBST_TRACE([top_srcdir])
m4trace:configure.ac:65: -1- AC_SUBST_TRACE([abs_top_srcdir])
m4trace:configure.ac:65: -1- AC_SUBST_TRACE([builddir])
m4trace:configure.ac:65: -1- AC_SUBST_TRACE([abs_builddir])
m4trace:configure.ac:65: -1- AC_SUBST_TRACE([abs_top_builddir])
m4trace:configure.ac:65: -1- AC_SUBST_TRACE([INSTALL])
m4trace:configure.ac:65: -1- AC_SUBST_TRACE([MKDIR_P])

276
cole/Makefile Normal file
View File

@ -0,0 +1,276 @@
# Generated automatically from Makefile.in by configure.
# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
SHELL = /bin/sh
srcdir = .
top_srcdir = ..
prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include
DESTDIR =
pkgdatadir = $(datadir)/xlhtml/xlhtml
pkglibdir = $(libdir)/xlhtml/xlhtml
pkgincludedir = $(includedir)/xlhtml/xlhtml
top_builddir = ..
ACLOCAL = aclocal
AUTOCONF = autoconf
AUTOMAKE = automake
AUTOHEADER = autoheader
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
transform = s,x,x,
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = x86_64-unknown-linux-gnu
host_triplet =
CC = gcc
COLE_MAJOR = 2
COLE_MICRO = 2
COLE_MINOR = 0
HOST_ALIAS_NAME = x86_64-unknown-linux-gnu
HOST_CANONICAL_NAME =
HOST_CPU =
HOST_OS =
HOST_VENDOR =
MAKEINFO = makeinfo
PACKAGE = xlhtml/xlhtml
RANLIB = ranlib
STRIP = strip
VERSION = 0.5
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
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES = version.c cole.h
LIBRARIES = $(noinst_LIBRARIES)
DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I..
CPPFLAGS =
LDFLAGS =
LIBS =
libcole_a_LIBADD =
libcole_a_OBJECTS = cole.o internal.o oledecod.o olecod.o support.o \
version.o
AR = ar
CFLAGS = -g -O2
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON = AUTHORS COPYING ChangeLog Makefile.am Makefile.in NEWS \
THANKS TODO cole.h.in version.c.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = tar
GZIP_ENV = --best
SOURCES = $(libcole_a_SOURCES)
OBJECTS = $(libcole_a_OBJECTS)
all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .o .s
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps cole/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
version.c: $(top_builddir)/config.status version.c.in
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
cole.h: $(top_builddir)/config.status cole.h.in
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
mostlyclean-noinstLIBRARIES:
clean-noinstLIBRARIES:
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
distclean-noinstLIBRARIES:
maintainer-clean-noinstLIBRARIES:
.c.o:
$(COMPILE) -c $<
.s.o:
$(COMPILE) -c $<
.S.o:
$(COMPILE) -c $<
mostlyclean-compile:
-rm -f *.o core *.core
clean-compile:
distclean-compile:
-rm -f *.tab.c
maintainer-clean-compile:
libcole.a: $(libcole_a_OBJECTS) $(libcole_a_DEPENDENCIES)
-rm -f libcole.a
$(AR) cru libcole.a $(libcole_a_OBJECTS) $(libcole_a_LIBADD)
$(RANLIB) libcole.a
tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP)
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
here=`pwd` && cd $(srcdir) \
&& mkid -f$$here/ID $$unique $(LISP)
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
mostlyclean-tags:
clean-tags:
distclean-tags:
-rm -f TAGS ID
maintainer-clean-tags:
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
subdir = cole
distdir: $(DISTFILES)
$(mkinstalldirs) $(distdir)/doc $(distdir)/examples $(distdir)/utils
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file || :; \
fi; \
done
info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am:
install-exec: install-exec-am
install-data-am:
install-data: install-data-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am:
uninstall: uninstall-am
all-am: Makefile $(LIBRARIES)
all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic:
mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
mostlyclean-tags mostlyclean-generic
mostlyclean: mostlyclean-am
clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-generic \
mostlyclean-am
clean: clean-am
distclean-am: distclean-noinstLIBRARIES distclean-compile \
distclean-tags distclean-generic clean-am
distclean: distclean-am
maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
maintainer-clean-compile maintainer-clean-tags \
maintainer-clean-generic distclean-am
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
maintainer-clean: maintainer-clean-am
.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile tags mostlyclean-tags distclean-tags \
clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
check-am installcheck-am installcheck install-exec-am install-exec \
install-data-am install-data install-am install uninstall-am uninstall \
all-redirect all-am all installdirs mostlyclean-generic \
distclean-generic clean-generic maintainer-clean-generic clean \
mostlyclean distclean maintainer-clean
#AM_CFLAGS = -Wall -Wcast-align -Wpointer-arith
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

24
cole/Makefile.bc Normal file
View File

@ -0,0 +1,24 @@
# -w-8008 Disable warning "Condition is always true"
# -q Disable copyright message
#CFLAGS_DEBUG = -y -v
CFLAGS = -w-8008 -q -DWIN32=1 -I.. $(CFLAGS_DEBUG)
OBJECTS = cole.obj internal.obj oledecod.obj olecod.obj support.obj version.obj
all: cole.h cole.lib
clean:
-del *.obj
-del *.lib
cole.lib: $(OBJECTS)
tlib cole.lib -+$(OBJECTS: = -+)
version.obj: version.win32.c
$(CC) $(CFLAGS) -DCOMPILER=BC++ -c -o$@ $?
cole.h: cole.h.in
copy $? $@
# eof

View File

@ -1,6 +1,8 @@
# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
# Makefile.in generated by automake 1.15.1 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2017 Free Software Foundation, Inc.
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@ -10,264 +12,546 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
DESTDIR =
am__is_gnu_make = { \
if test -z '$(MAKELEVEL)'; then \
false; \
elif test -n '$(MAKE_HOST)'; then \
true; \
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
true; \
else \
false; \
fi; \
}
am__make_running_with_option = \
case $${target_option-} in \
?) ;; \
*) echo "am__make_running_with_option: internal error: invalid" \
"target option '$${target_option-}' specified" >&2; \
exit 1;; \
esac; \
has_opt=no; \
sane_makeflags=$$MAKEFLAGS; \
if $(am__is_gnu_make); then \
sane_makeflags=$$MFLAGS; \
else \
case $$MAKEFLAGS in \
*\\[\ \ ]*) \
bs=\\; \
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
esac; \
fi; \
skip_next=no; \
strip_trailopt () \
{ \
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
}; \
for flg in $$sane_makeflags; do \
test $$skip_next = yes && { skip_next=no; continue; }; \
case $$flg in \
*=*|--*) continue;; \
-*I) strip_trailopt 'I'; skip_next=yes;; \
-*I?*) strip_trailopt 'I';; \
-*O) strip_trailopt 'O'; skip_next=yes;; \
-*O?*) strip_trailopt 'O';; \
-*l) strip_trailopt 'l'; skip_next=yes;; \
-*l?*) strip_trailopt 'l';; \
-[dEDm]) skip_next=yes;; \
-[JT]) skip_next=yes;; \
esac; \
case $$flg in \
*$$target_option*) has_opt=yes; break;; \
esac; \
done; \
test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..
ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
build_triplet = @build@
host_triplet = @host@
subdir = cole
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES = version.c cole.h
CONFIG_CLEAN_VPATH_FILES =
LIBRARIES = $(noinst_LIBRARIES)
AR = ar
ARFLAGS = cru
AM_V_AR = $(am__v_AR_@AM_V@)
am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
am__v_AR_0 = @echo " AR " $@;
am__v_AR_1 =
libcole_a_AR = $(AR) $(ARFLAGS)
libcole_a_LIBADD =
am_libcole_a_OBJECTS = cole.$(OBJEXT) internal.$(OBJEXT) \
oledecod.$(OBJEXT) olecod.$(OBJEXT) support.$(OBJEXT) \
version.$(OBJEXT)
libcole_a_OBJECTS = $(am_libcole_a_OBJECTS)
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
am__v_GEN_0 = @echo " GEN " $@;
am__v_GEN_1 =
AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
am__v_at_1 =
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
AM_V_CC = $(am__v_CC_@AM_V@)
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
am__v_CC_0 = @echo " CC " $@;
am__v_CC_1 =
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
am__v_CCLD_0 = @echo " CCLD " $@;
am__v_CCLD_1 =
SOURCES = $(libcole_a_SOURCES)
DIST_SOURCES = $(libcole_a_SOURCES)
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates. Input order is
# *not* preserved.
am__uniquify_input = $(AWK) '\
BEGIN { nonempty = 0; } \
{ items[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in items) print i; }; } \
'
# Make sure the list of sources is unique. This is necessary because,
# e.g., the same source file might be shared among _SOURCES variables
# for different programs/libraries.
am__define_uniq_tagged_files = \
list='$(am__tagged_files)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/cole.h.in \
$(srcdir)/version.c.in $(top_srcdir)/depcomp \
$(top_srcdir)/mkinstalldirs AUTHORS COPYING ChangeLog NEWS \
THANKS TODO
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
COLE_MAJOR = @COLE_MAJOR@
COLE_MICRO = @COLE_MICRO@
COLE_MINOR = @COLE_MINOR@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
GREP = @GREP@
HOST_ALIAS_NAME = @HOST_ALIAS_NAME@
HOST_CANONICAL_NAME = @HOST_CANONICAL_NAME@
HOST_CPU = @HOST_CPU@
HOST_OS = @HOST_OS@
HOST_VENDOR = @HOST_VENDOR@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
runstatedir = @runstatedir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
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
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES = version.c cole.h
LIBRARIES = $(noinst_LIBRARIES)
all: all-am
DEFS = @DEFS@ -I. -I$(srcdir) -I..
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
libcole_a_LIBADD =
libcole_a_OBJECTS = cole.o internal.o oledecod.o olecod.o support.o \
version.o
AR = ar
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON = AUTHORS COPYING ChangeLog Makefile.am Makefile.in NEWS \
THANKS TODO cole.h.in version.c.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = tar
GZIP_ENV = --best
SOURCES = $(libcole_a_SOURCES)
OBJECTS = $(libcole_a_OBJECTS)
all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .o .s
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps cole/Makefile
.SUFFIXES: .c .o .obj
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu cole/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --gnu cole/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
version.c: $(top_builddir)/config.status version.c.in
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
cole.h: $(top_builddir)/config.status cole.h.in
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
mostlyclean-noinstLIBRARIES:
$(top_srcdir)/configure: $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
version.c: $(top_builddir)/config.status $(srcdir)/version.c.in
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
cole.h: $(top_builddir)/config.status $(srcdir)/cole.h.in
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
clean-noinstLIBRARIES:
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
distclean-noinstLIBRARIES:
maintainer-clean-noinstLIBRARIES:
.c.o:
$(COMPILE) -c $<
.s.o:
$(COMPILE) -c $<
.S.o:
$(COMPILE) -c $<
libcole.a: $(libcole_a_OBJECTS) $(libcole_a_DEPENDENCIES) $(EXTRA_libcole_a_DEPENDENCIES)
$(AM_V_at)-rm -f libcole.a
$(AM_V_AR)$(libcole_a_AR) libcole.a $(libcole_a_OBJECTS) $(libcole_a_LIBADD)
$(AM_V_at)$(RANLIB) libcole.a
mostlyclean-compile:
-rm -f *.o core *.core
clean-compile:
-rm -f *.$(OBJEXT)
distclean-compile:
-rm -f *.tab.c
maintainer-clean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cole.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/internal.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/olecod.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oledecod.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/support.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@
libcole.a: $(libcole_a_OBJECTS) $(libcole_a_DEPENDENCIES)
-rm -f libcole.a
$(AR) cru libcole.a $(libcole_a_OBJECTS) $(libcole_a_LIBADD)
$(RANLIB) libcole.a
.c.o:
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
tags: TAGS
.c.obj:
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
ID: $(HEADERS) $(SOURCES) $(LISP)
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
here=`pwd` && cd $(srcdir) \
&& mkid -f$$here/ID $$unique $(LISP)
ID: $(am__tagged_files)
$(am__define_uniq_tagged_files); mkid -fID $$unique
tags: tags-am
TAGS: tags
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
tags=; \
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
$(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
if test $$# -gt 0; then \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
"$$@" $$unique; \
else \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$unique; \
fi; \
fi
ctags: ctags-am
mostlyclean-tags:
CTAGS: ctags
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
$(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
clean-tags:
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
cscopelist: cscopelist-am
cscopelist-am: $(am__tagged_files)
list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
esac; \
for i in $$list; do \
if test -f "$$i"; then \
echo "$(subdir)/$$i"; \
else \
echo "$$sdir/$$i"; \
fi; \
done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID
maintainer-clean-tags:
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
subdir = cole
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES)
$(mkinstalldirs) $(distdir)/doc $(distdir)/examples $(distdir)/utils
@for file in $(DISTFILES); do \
d=$(srcdir); \
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file || :; \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am:
all-am: Makefile $(LIBRARIES)
installdirs:
install: install-am
install-exec: install-exec-am
install-data-am:
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am:
uninstall: uninstall-am
all-am: Makefile $(LIBRARIES)
all-redirect: all-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
install; \
else \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
mostlyclean-tags mostlyclean-generic
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
distclean: distclean-am
-rm -rf ./$(DEPDIR)
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-tags
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am:
install-dvi: install-dvi-am
install-dvi-am:
install-exec-am:
install-html: install-html-am
install-html-am:
install-info: install-info-am
install-info-am:
install-man:
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -rf ./$(DEPDIR)
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-generic \
mostlyclean-am
mostlyclean-am: mostlyclean-compile mostlyclean-generic
clean: clean-am
pdf: pdf-am
distclean-am: distclean-noinstLIBRARIES distclean-compile \
distclean-tags distclean-generic clean-am
pdf-am:
distclean: distclean-am
ps: ps-am
maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
maintainer-clean-compile maintainer-clean-tags \
maintainer-clean-generic distclean-am
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
ps-am:
maintainer-clean: maintainer-clean-am
uninstall-am:
.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile tags mostlyclean-tags distclean-tags \
clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
check-am installcheck-am installcheck install-exec-am install-exec \
install-data-am install-data install-am install uninstall-am uninstall \
all-redirect all-am all installdirs mostlyclean-generic \
distclean-generic clean-generic maintainer-clean-generic clean \
mostlyclean distclean maintainer-clean
.MAKE: install-am install-strip
.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
clean-noinstLIBRARIES cscopelist-am ctags ctags-am distclean \
distclean-compile distclean-generic distclean-tags distdir dvi \
dvi-am html html-am info info-am install install-am \
install-data install-data-am install-dvi install-dvi-am \
install-exec install-exec-am install-html install-html-am \
install-info install-info-am install-man install-pdf \
install-pdf-am install-ps install-ps-am install-strip \
installcheck installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
uninstall-am
.PRECIOUS: Makefile
#AM_CFLAGS = -Wall -Wcast-align -Wpointer-arith

21
cole/Makefile.vc Normal file
View File

@ -0,0 +1,21 @@
CFLAGS = /nologo /DWIN32=1 /I..
OBJECTS = cole.obj internal.obj oledecod.obj olecod.obj support.obj version.obj
all: cole.h cole.lib
clean:
-del *.obj
-del *.lib
cole.lib: $(OBJECTS)
lib /OUT:cole.lib $(OBJECTS)
version.obj: version.win32.c
$(CC) $(CFLAGS) /DCOMPILER=BC++ /c /Fo$@ version.win32.c
cole.h: cole.h.in
copy $? $@
# eof

View File

@ -1,3 +1,5 @@
/*
cole - A free C OLE library.
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
@ -20,8 +22,12 @@
Arturo Tena <arturo@directmail.org>
*/
#if !(defined( __BORLANDC__ ) || defined( __WIN32__ ))
#include "config.h"
#include "cole.h"
#else
#include "cole.h.in"
#endif
#include "internal.h"
#include <stdlib.h>
@ -189,7 +195,7 @@ cole_umount (COLEFS *colefilesystem, COLERRNO *colerrno)
if (colerrno != NULL) *colerrno = COLE_ECLOSEFILE;
ret = 1;
}
#if defined(WIN32)
#if defined(__WIN32__) || (__BORLANDC__)
if (remove (colefilesystem->sbfilename) && !ret) {
if (colerrno != NULL) *colerrno = COLE_EREMOVE;
ret = 1;
@ -243,9 +249,6 @@ __cole_print_tree_indir(COLEDIR *cd, void *info, COLERRNO *colerrno)
* Modify colerrno comment in the functions that call it,
* ie. cole_print_tree().
*/
(void) cd; /*UNUSED*/
(void) colerrno; /*UNUSED*/
(*((long*)info))++;
return 0;
}
@ -258,9 +261,6 @@ __cole_print_tree_outdir(COLEDIR *cd, void *info, COLERRNO *colerrno)
* Modify colerrno comment in the functions that call it,
* ie. cole_print_tree().
*/
(void) cd; /*UNUSED*/
(void) colerrno; /*UNUSED*/
(*((long*)info))--;
return 0;
}
@ -275,9 +275,6 @@ __cole_print_tree_inroot(COLEDIR *cd, void *info, COLERRNO *colerrno)
*/
char *entry_name;
(void) info; /*UNUSED*/
(void) colerrno; /*UNUSED*/
printf ("DIR ");
printf (" %7zu", cole_dir_getsize (cd));
printf (" %08lx-%08lx %08lx-%08lx",
@ -306,8 +303,6 @@ __cole_print_tree_indirentry(COLEDIRENT *cde, void *info, COLERRNO *colerrno)
long level;
long i;
(void) colerrno; /*UNUSED*/
level = *((long*)info);
for (i = 0; i < level; i++) {
if (i == level - 1)
@ -412,8 +407,6 @@ cole_opendir_direntry (COLEDIRENT *coledirentry, COLERRNO *colerrno)
int
cole_closedir (COLEDIR *coledir, COLERRNO *colerrno)
{
(void) colerrno; /*UNUSED*/
free (coledir);
return 0;
@ -624,13 +617,15 @@ _cole_fopen_action (COLEDIRENT *cde, void *_info)
return;
}
info->file = cole_fopen_direntry (cde, &info->colerrno);
if (info->file == NULL) {
/* colerrno is set */
info->succ = 0;
return;
}
info->succ = 1;
}
@ -838,39 +833,46 @@ cole_fseek (COLEFILE *colefile, size_t delta, COLE_SEEK_FLAG direction,
case COLE_SEEK_SET:
if (delta <= colefile->filesize) {
colefile->pos = delta;
return 0;
} else {
if (colerrno != NULL) *colerrno = COLE_EFSEEKDELTA;
return 1;
}
break;
case COLE_SEEK_END:
if (delta <= colefile->filesize) {
colefile->pos = colefile->filesize - delta;
return 0;
} else {
if (colerrno != NULL) *colerrno = COLE_EFSEEKDELTA;
return 1;
}
break;
case COLE_SEEK_BACKWARD:
if (delta <= colefile->pos) {
colefile->pos = colefile->pos - delta;
return 0;
} else {
if (colerrno != NULL) *colerrno = COLE_EFSEEKDELTA;
return 1;
}
break;
case COLE_SEEK_FORWARD:
if (delta <= colefile->filesize - colefile->pos) {
colefile->pos = colefile->pos + delta;
return 0;
} else {
if (colerrno != NULL) *colerrno = COLE_EFSEEKDELTA;
return 1;
}
break;
default:
if (colerrno != NULL) *colerrno = COLE_EFSEEKFLAG;
return 1;
}
fseek(colefile->file,colefile->pos,SEEK_SET);
}
@ -1145,8 +1147,6 @@ cole_locate_filename (COLEFS *colefilesystem, char *filename,
static int
__cole_locate_filename_visitdir (COLEDIR *cd, void *info)
{
(void) cd; /*UNUSED*/
return ((struct __cole_locate_filenameinfo *)info)->visitdir;
}

227
cole/cole.h Normal file
View File

@ -0,0 +1,227 @@
/*
cole - A free C OLE library.
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*
Arturo Tena <arturo@directmail.org>
*/
#ifndef __COLE_H
#define __COLE_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* Attention: this API is documentated in the `doc' subdirectory
*/
/* Just to get size_t */
#include <stdio.h>
#ifndef COLE_INTERNAL_H
#include "internal.h" /* For _COLE struct definitions */
#endif
#if !(defined( __BORLANDC__ ) || defined( __WIN32__ ))
/**************************************************************/
/* autoconf defines size_t as unsigned if not defined. */
/* Uncomment these ONLY if you don't have a size_t */
/* #ifndef size_t */
/* #define size_t unsigned */
/* #endif */
/**************************************************************/
#endif
/*
* **********************************************************************
* version info
* **********************************************************************
*/
#define COLE_MAJOR_VERSION 2
#define COLE_MINOR_VERSION 0
#define COLE_MICRO_VERSION 2
extern int cole_major_version;
extern int cole_minor_version;
extern int cole_micro_version;
extern char *cole_version;
extern char *cole_host_info;
/*
* **********************************************************************
* errors
* **********************************************************************
*/
enum _COLERRNO {
/* & = means that you can use perror(3) call to print an error message */
/* you can always use cole_perror to print an error message */
COLE_EFIRST, /* Leave this at first place */
/*&*/ COLE_EMEMORY, /* Failed malloc(3) or realloc(3) */
/*&*/ COLE_EOPENFILE, /* Failed fopen(3) */
/*&*/ COLE_ECLOSEFILE, /* Failed fclose(3) */
/*&*/ COLE_EREAD, /* Failed fread(3) */
/*&*/ COLE_EWRITE, /* Failed fwrite(3) */
/*&*/ COLE_EREMOVE, /* Failed remove(3) */
/*&*/ COLE_ETMPNAM, /* Failed tmpnam(3) */
/*&*/ COLE_ESEEK, /* Failed fseek(3) */
/*&*/ COLE_EERRNO, /* Some system call failed */
COLE_ENOFILESYSTEM, /* File is not a filesystem */
COLE_EINVALIDFILESYSTEM,/* Filesystem is broken, it's invalid */
COLE_EISNOTDIR, /* Directory entry is not a directory */
COLE_EISNOTFILE, /* Directory entry is not a file */
COLE_EFILENOTFOUND, /* Doesn't exist a file with the given name */
COLE_EOF, /* End of file has been reached */
COLE_EMEMBERISNOTDIR, /* A member of the filename is not
a directory */
COLE_EBROKENFILENAME, /* The filename is not right written */
COLE_EFILENAMEISNOTFILE,/* Filename is not a file */
COLE_EFSEEKDELTA, /* Delta argument is not valid */
COLE_EFSEEKFLAG, /* Flag argument is not valid */
COLE_EUNKNOWN, /* An unknown error ocurred, can be a bug */
COLE_ELAST /* Leave this at last place */
};
typedef enum _COLERRNO COLERRNO;
void cole_perror (const char *s, COLERRNO colerrno);
/*
* **********************************************************************
* other enums
* **********************************************************************
*/
enum _COLE_SEEK_FLAG
{
COLE_SEEK_SET,
COLE_SEEK_FORWARD,
COLE_SEEK_BACKWARD,
COLE_SEEK_END
};
typedef enum _COLE_SEEK_FLAG COLE_SEEK_FLAG;
/*
* **********************************************************************
* structures
* **********************************************************************
*/
/* These are opaque data types, because the internal structure will change */
typedef struct _COLEFS COLEFS;
typedef struct _COLEDIR COLEDIR;
typedef struct _COLEDIRENT COLEDIRENT;
typedef struct _COLEFILE COLEFILE;
/*
* **********************************************************************
* functions types
* **********************************************************************
*/
typedef int (COLE_RECURSE_DIR_FUNC) (COLEDIR *coledir,
void *info,
COLERRNO *colerrno);
typedef int (COLE_RECURSE_DIRENT_FUNC) (COLEDIRENT *coledirentry,
void *info,
COLERRNO *colerrno);
typedef int (COLE_RECURSE_VISIT_DIR_FUNC) (COLEDIR *coledir,
void *info);
typedef void (COLE_LOCATE_ACTION_FUNC) (COLEDIRENT *coledirentry,
void *info);
/*
* **********************************************************************
* calls
* **********************************************************************
*/
/* ***********
* filesystem
* ***********/
COLEFS * cole_mount (char *filename,
COLERRNO *colerrno);
int cole_umount (COLEFS *colefilesystem,
COLERRNO *colerrno);
int cole_print_tree (COLEFS *colefilesystem,
COLERRNO *colerrno);
int cole_locate_filename (COLEFS *colefilesystem,
char *filename,
void *info,
COLE_LOCATE_ACTION_FUNC *action,
COLERRNO *colerrno);
int cole_recurse_tree (COLEFS *colefilesystem,
void *info,
COLE_RECURSE_DIR_FUNC *inroot,
COLE_RECURSE_DIRENT_FUNC *indirentry,
COLE_RECURSE_DIR_FUNC *indir,
COLE_RECURSE_DIR_FUNC *outdir,
COLE_RECURSE_VISIT_DIR_FUNC *visitdir,
COLERRNO *colerrno);
/* ***********
* file
* ***********/
COLEFILE * cole_fopen (COLEFS *colefilesystem,
char *filename,
COLERRNO *colerrno);
COLEFILE * cole_fopen_direntry (COLEDIRENT *coledirentry,
COLERRNO *colerrno);
int cole_fclose (COLEFILE *colefile,
COLERRNO *colerrno);
size_t cole_fsize (COLEFILE *colefile);
size_t cole_fread (COLEFILE *colefile,
void *ptr,
size_t size,
COLERRNO *colerrno);
int cole_feof (COLEFILE *colefile);
size_t cole_ftell (COLEFILE *colefile);
int cole_fseek (COLEFILE *colefile,
size_t delta,
COLE_SEEK_FLAG direction,
COLERRNO *colerrno);
int cole_frewind (COLEFILE *colefile,
COLERRNO *colerrno);
/* ***********
* directory and directory entry
* ***********/
COLEDIR * cole_opendir_rootdir (COLEFS *colefilesystem,
COLERRNO *colerrno);
COLEDIR * cole_opendir_direntry (COLEDIRENT *coledirentry,
COLERRNO *colerrno);
int cole_closedir (COLEDIR *coledir,
COLERRNO *colerrno);
COLEDIRENT * cole_visiteddirentry (COLEDIR *coledir);
COLEDIRENT * cole_nextdirentry (COLEDIR *coledir);
char * cole_dir_getname (COLEDIR *coledir);
size_t cole_dir_getsize (COLEDIR *coledir);
long cole_dir_getdays1 (COLEDIR *coledir);
long cole_dir_getsec1 (COLEDIR *coledir);
long cole_dir_getdays2 (COLEDIR *coledir);
long cole_dir_getsec2 (COLEDIR *coledir);
char * cole_direntry_getname (COLEDIRENT *coledirentry);
size_t cole_direntry_getsize (COLEDIRENT *coledirentry);
long cole_direntry_getdays1 (COLEDIRENT *coledirentry);
long cole_direntry_getsec1 (COLEDIRENT *coledirentry);
long cole_direntry_getdays2 (COLEDIRENT *coledirentry);
long cole_direntry_getsec2 (COLEDIRENT *coledirentry);
int cole_direntry_isdir (COLEDIRENT *coledirentry);
int cole_direntry_isfile (COLEDIRENT *coledirentry);
#ifdef __cplusplus
}
#endif
#endif /* __COLE_H */

5
cole/version.c Normal file
View File

@ -0,0 +1,5 @@
int cole_major_version = 2;
int cole_minor_version = 0;
int cole_micro_version = 2;
char * cole_version = "2.0.2";
char * cole_host_info = "x86_64-unknown-linux-gnu (): , , ";

12
cole/version.win32.c Normal file
View File

@ -0,0 +1,12 @@
int cole_major_version = 2;
int cole_minor_version = 0;
int cole_micro_version = 2;
char * cole_version = "2.0.2";
#ifndef COMPILER
#error Define the COMPILER macro
#endif
#define STRINGIFY_SUB(s) #s
#define STRINGIFY(s) STRINGIFY_SUB(s)
char * cole_host_info = STRINGIFY(COMPILER) ": i686, Microsoft, Win32";

1
compile Symbolic link
View File

@ -0,0 +1 @@
/usr/share/automake-1.15/compile

38
config.cache Normal file
View File

@ -0,0 +1,38 @@
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs. It is not useful on other systems.
# If it contains results you don't want to keep, you may remove or edit it.
#
# By default, configure uses ./config.cache as the cache file,
# creating it if it does not exist already. You can give configure
# the --cache-file=FILE option to use a different cache file; that is
# what configure does when it calls configure scripts in
# subdirectories, so they share the cache.
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
#
ac_cv_c_bigendian=${ac_cv_c_bigendian='no'}
ac_cv_c_const=${ac_cv_c_const='yes'}
ac_cv_header_malloc_h=${ac_cv_header_malloc_h='yes'}
ac_cv_header_stdc=${ac_cv_header_stdc='yes'}
ac_cv_lib_cposix_strerror=${ac_cv_lib_cposix_strerror='no'}
ac_cv_path_install=${ac_cv_path_install='/usr/bin/install -c'}
ac_cv_prog_CC=${ac_cv_prog_CC='gcc'}
ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'}
ac_cv_prog_RANLIB=${ac_cv_prog_RANLIB='ranlib'}
ac_cv_prog_STRIP=${ac_cv_prog_STRIP='strip'}
ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross='no'}
ac_cv_prog_cc_g=${ac_cv_prog_cc_g='yes'}
ac_cv_prog_cc_works=${ac_cv_prog_cc_works='yes'}
ac_cv_prog_gcc=${ac_cv_prog_gcc='yes'}
ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set='yes'}
ac_cv_sizeof_double=${ac_cv_sizeof_double='8'}
ac_cv_sizeof_float=${ac_cv_sizeof_float='4'}
ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double='16'}
ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char='1'}
ac_cv_sizeof_unsigned_int=${ac_cv_sizeof_unsigned_int='4'}
ac_cv_sizeof_unsigned_long=${ac_cv_sizeof_unsigned_long='8'}
ac_cv_sizeof_unsigned_long_long=${ac_cv_sizeof_unsigned_long_long='8'}
ac_cv_sizeof_unsigned_short=${ac_cv_sizeof_unsigned_short='2'}
ac_cv_type_size_t=${ac_cv_type_size_t='yes'}

49
config.h Normal file
View File

@ -0,0 +1,49 @@
/* config.h. Generated automatically by configure. */
/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
/* Define to empty if the keyword does not work. */
/* #undef const */
/* Define to `unsigned' if <sys/types.h> doesn't define. */
/* #undef size_t */
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define if your processor stores words with the most significant
byte first (like Motorola and SPARC, unlike Intel and VAX). */
/* #undef WORDS_BIGENDIAN */
/* The number of bytes in a double. */
#define SIZEOF_DOUBLE 8
/* The number of bytes in a float. */
#define SIZEOF_FLOAT 4
/* The number of bytes in a long double. */
#define SIZEOF_LONG_DOUBLE 16
/* The number of bytes in a unsigned char. */
#define SIZEOF_UNSIGNED_CHAR 1
/* The number of bytes in a unsigned int. */
#define SIZEOF_UNSIGNED_INT 4
/* The number of bytes in a unsigned long. */
#define SIZEOF_UNSIGNED_LONG 8
/* The number of bytes in a unsigned long long. */
#define SIZEOF_UNSIGNED_LONG_LONG 8
/* The number of bytes in a unsigned short. */
#define SIZEOF_UNSIGNED_SHORT 2
/* Define if you have the <malloc.h> header file. */
#define HAVE_MALLOC_H 1
/* Name of package */
#define PACKAGE "xlhtml/xlhtml"
/* Version number of package */
#define VERSION "0.5"

View File

@ -1,48 +1,103 @@
/* config.h.in. Generated automatically from configure.in by autoheader. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define to empty if the keyword does not work. */
#undef const
/* Define if building universal (internal helper macro) */
#undef AC_APPLE_UNIVERSAL_BUILD
/* Define to `unsigned' if <sys/types.h> doesn't define. */
#undef size_t
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Define if your processor stores words with the most significant
byte first (like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN
/* The number of bytes in a double. */
#undef SIZEOF_DOUBLE
/* The number of bytes in a float. */
#undef SIZEOF_FLOAT
/* The number of bytes in a long double. */
#undef SIZEOF_LONG_DOUBLE
/* The number of bytes in a unsigned char. */
#undef SIZEOF_UNSIGNED_CHAR
/* The number of bytes in a unsigned int. */
#undef SIZEOF_UNSIGNED_INT
/* The number of bytes in a unsigned long. */
#undef SIZEOF_UNSIGNED_LONG
/* The number of bytes in a unsigned long long. */
#undef SIZEOF_UNSIGNED_LONG_LONG
/* The number of bytes in a unsigned short. */
#undef SIZEOF_UNSIGNED_SHORT
/* Define if you have the <malloc.h> header file. */
/* Define to 1 if you have the <malloc.h> header file. */
#undef HAVE_MALLOC_H
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Name of package */
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* The size of `double', as computed by sizeof. */
#undef SIZEOF_DOUBLE
/* The size of `float', as computed by sizeof. */
#undef SIZEOF_FLOAT
/* The size of `long double', as computed by sizeof. */
#undef SIZEOF_LONG_DOUBLE
/* The size of `unsigned char', as computed by sizeof. */
#undef SIZEOF_UNSIGNED_CHAR
/* The size of `unsigned int', as computed by sizeof. */
#undef SIZEOF_UNSIGNED_INT
/* The size of `unsigned long', as computed by sizeof. */
#undef SIZEOF_UNSIGNED_LONG
/* The size of `unsigned long long', as computed by sizeof. */
#undef SIZEOF_UNSIGNED_LONG_LONG
/* The size of `unsigned short', as computed by sizeof. */
#undef SIZEOF_UNSIGNED_SHORT
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Version number of package */
#undef VERSION
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
# undef WORDS_BIGENDIAN
# endif
#endif
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
/* Define to `unsigned int' if <sys/types.h> does not define. */
#undef size_t

103
config.h.in~ Normal file
View File

@ -0,0 +1,103 @@
/* config.h.in. Generated from configure.in by autoheader. */
/* Define if building universal (internal helper macro) */
#undef AC_APPLE_UNIVERSAL_BUILD
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the <malloc.h> header file. */
#undef HAVE_MALLOC_H
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Name of package */
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* The size of `double', as computed by sizeof. */
#undef SIZEOF_DOUBLE
/* The size of `float', as computed by sizeof. */
#undef SIZEOF_FLOAT
/* The size of `long double', as computed by sizeof. */
#undef SIZEOF_LONG_DOUBLE
/* The size of `unsigned char', as computed by sizeof. */
#undef SIZEOF_UNSIGNED_CHAR
/* The size of `unsigned int', as computed by sizeof. */
#undef SIZEOF_UNSIGNED_INT
/* The size of `unsigned long', as computed by sizeof. */
#undef SIZEOF_UNSIGNED_LONG
/* The size of `unsigned long long', as computed by sizeof. */
#undef SIZEOF_UNSIGNED_LONG_LONG
/* The size of `unsigned short', as computed by sizeof. */
#undef SIZEOF_UNSIGNED_SHORT
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Version number of package */
#undef VERSION
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
# undef WORDS_BIGENDIAN
# endif
#endif
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
/* Define to `unsigned int' if <sys/types.h> does not define. */
#undef size_t

193
config.log Normal file
View File

@ -0,0 +1,193 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = lultix
uname -m = x86_64
uname -r = 4.15.0-112-generic
uname -s = Linux
uname -v = #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /snap/bin
PATH: /home/charles/dotfiles/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2370: checking build system type
configure:2381: error: /bin/bash ./config.sub x86_64-unknown-linux-gnu failed
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR=''
AM_BACKSLASH=''
AM_DEFAULT_V=''
AM_DEFAULT_VERBOSITY=''
AM_V=''
AUTOCONF=''
AUTOHEADER=''
AUTOMAKE=''
AWK=''
CC=''
CCDEPMODE=''
CFLAGS=''
COLE_MAJOR=''
COLE_MICRO=''
COLE_MINOR=''
CPP=''
CPPFLAGS=''
CYGPATH_W=''
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
HOST_ALIAS_NAME=''
HOST_CANONICAL_NAME=''
HOST_CPU=''
HOST_OS=''
HOST_VENDOR=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTALL_STRIP_PROGRAM=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO=''
MKDIR_P=''
OBJEXT=''
PACKAGE=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION=''
ac_ct_CC=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot=''
am__nodep=''
am__quote=''
am__tar=''
am__untar=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
configure: exit 1

306
config.status Executable file
View File

@ -0,0 +1,306 @@
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host lultix:
#
# ./configure
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.
ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
for ac_option
do
case "$ac_option" in
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
echo "running ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion"
exec ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "./config.status generated by autoconf version 2.13"
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "$ac_cs_usage"; exit 0 ;;
*) echo "$ac_cs_usage"; exit 1 ;;
esac
done
ac_given_srcdir=.
ac_given_INSTALL="/usr/bin/install -c"
trap 'rm -fr Makefile cole/Makefile cole/version.c cole/cole.h xlhtml/Makefile ppthtml/Makefile config.h conftest*; exit 1' 1 2 15
# Protect against being on the right side of a sed subst in config.status.
sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
/^[ ]*VPATH[ ]*=[^:]*$/d
s%@SHELL@%/bin/sh%g
s%@CFLAGS@%-g -O2%g
s%@CPPFLAGS@%%g
s%@CXXFLAGS@%%g
s%@FFLAGS@%%g
s%@DEFS@%-DHAVE_CONFIG_H%g
s%@LDFLAGS@%%g
s%@LIBS@%%g
s%@exec_prefix@%${prefix}%g
s%@prefix@%/usr/local%g
s%@program_transform_name@%s,x,x,%g
s%@bindir@%${exec_prefix}/bin%g
s%@sbindir@%${exec_prefix}/sbin%g
s%@libexecdir@%${exec_prefix}/libexec%g
s%@datadir@%${prefix}/share%g
s%@sysconfdir@%${prefix}/etc%g
s%@sharedstatedir@%${prefix}/com%g
s%@localstatedir@%${prefix}/var%g
s%@libdir@%${exec_prefix}/lib%g
s%@includedir@%${prefix}/include%g
s%@oldincludedir@%/usr/include%g
s%@infodir@%${prefix}/info%g
s%@mandir@%${prefix}/man%g
s%@host@%%g
s%@host_alias@%x86_64-unknown-linux-gnu%g
s%@host_cpu@%%g
s%@host_vendor@%%g
s%@host_os@%%g
s%@HOST_CANONICAL_NAME@%%g
s%@HOST_ALIAS_NAME@%x86_64-unknown-linux-gnu%g
s%@HOST_CPU@%%g
s%@HOST_VENDOR@%%g
s%@HOST_OS@%%g
s%@INSTALL_PROGRAM@%${INSTALL}%g
s%@INSTALL_SCRIPT@%${INSTALL_PROGRAM}%g
s%@INSTALL_DATA@%${INSTALL} -m 644%g
s%@PACKAGE@%xlhtml/xlhtml%g
s%@VERSION@%0.5%g
s%@ACLOCAL@%aclocal%g
s%@AUTOCONF@%autoconf%g
s%@AUTOMAKE@%automake%g
s%@AUTOHEADER@%autoheader%g
s%@MAKEINFO@%makeinfo%g
s%@SET_MAKE@%%g
s%@CC@%gcc%g
s%@RANLIB@%ranlib%g
s%@CPP@%gcc -E%g
s%@build@%%g
s%@build_alias@%x86_64-unknown-linux-gnu%g
s%@build_cpu@%%g
s%@build_vendor@%%g
s%@build_os@%%g
s%@STRIP@%strip%g
s%@COLE_MAJOR@%2%g
s%@COLE_MINOR@%0%g
s%@COLE_MICRO@%2%g
CEOF
# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
ac_file=1 # Number of current file.
ac_beg=1 # First line for current file.
ac_end=$ac_max_sed_cmds # Line after last line for current file.
ac_more_lines=:
ac_sed_cmds=""
while $ac_more_lines; do
if test $ac_beg -gt 1; then
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
else
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
fi
if test ! -s conftest.s$ac_file; then
ac_more_lines=false
rm -f conftest.s$ac_file
else
if test -z "$ac_sed_cmds"; then
ac_sed_cmds="sed -f conftest.s$ac_file"
else
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
fi
ac_file=`expr $ac_file + 1`
ac_beg=$ac_end
ac_end=`expr $ac_end + $ac_max_sed_cmds`
fi
done
if test -z "$ac_sed_cmds"; then
ac_sed_cmds=cat
fi
CONFIG_FILES=${CONFIG_FILES-"Makefile cole/Makefile cole/version.c cole/cole.h xlhtml/Makefile ppthtml/Makefile"}
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
*) ac_file_in="${ac_file}.in" ;;
esac
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
# Remove last slash and all that follows it. Not all systems have dirname.
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
# The file is in a subdirectory.
test ! -d "$ac_dir" && mkdir "$ac_dir"
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
# A "../" for each directory in $ac_dir_suffix.
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
else
ac_dir_suffix= ac_dots=
fi
case "$ac_given_srcdir" in
.) srcdir=.
if test -z "$ac_dots"; then top_srcdir=.
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
*) # Relative path.
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
top_srcdir="$ac_dots$ac_given_srcdir" ;;
esac
case "$ac_given_INSTALL" in
[/$]*) INSTALL="$ac_given_INSTALL" ;;
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
esac
echo creating "$ac_file"
rm -f "$ac_file"
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
case "$ac_file" in
*Makefile*) ac_comsub="1i\\
# $configure_input" ;;
*) ac_comsub= ;;
esac
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
sed -e "$ac_comsub
s%@configure_input@%$configure_input%g
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
s%@INSTALL@%$INSTALL%g
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
fi; done
rm -f conftest.s*
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
# NAME is the cpp macro being defined and VALUE is the value it is being given.
#
# ac_d sets the value in "#define NAME VALUE" lines.
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
ac_dC='\3'
ac_dD='%g'
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
ac_uB='\([ ]\)%\1#\2define\3'
ac_uC=' '
ac_uD='\4%g'
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
ac_eB='$%\1#\2define\3'
ac_eC=' '
ac_eD='%g'
if test "${CONFIG_HEADERS+set}" != set; then
CONFIG_HEADERS="config.h"
fi
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
*) ac_file_in="${ac_file}.in" ;;
esac
echo creating $ac_file
rm -f conftest.frag conftest.in conftest.out
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
cat $ac_file_inputs > conftest.in
cat > conftest.frag <<CEOF
${ac_dA}PACKAGE${ac_dB}PACKAGE${ac_dC}"xlhtml/xlhtml"${ac_dD}
${ac_uA}PACKAGE${ac_uB}PACKAGE${ac_uC}"xlhtml/xlhtml"${ac_uD}
${ac_eA}PACKAGE${ac_eB}PACKAGE${ac_eC}"xlhtml/xlhtml"${ac_eD}
${ac_dA}VERSION${ac_dB}VERSION${ac_dC}"0.5"${ac_dD}
${ac_uA}VERSION${ac_uB}VERSION${ac_uC}"0.5"${ac_uD}
${ac_eA}VERSION${ac_eB}VERSION${ac_eC}"0.5"${ac_eD}
${ac_dA}HAVE_MALLOC_H${ac_dB}HAVE_MALLOC_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_MALLOC_H${ac_uB}HAVE_MALLOC_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_MALLOC_H${ac_eB}HAVE_MALLOC_H${ac_eC}1${ac_eD}
${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
${ac_eA}STDC_HEADERS${ac_eB}STDC_HEADERS${ac_eC}1${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}SIZEOF_UNSIGNED_CHAR${ac_dB}SIZEOF_UNSIGNED_CHAR${ac_dC}1${ac_dD}
${ac_uA}SIZEOF_UNSIGNED_CHAR${ac_uB}SIZEOF_UNSIGNED_CHAR${ac_uC}1${ac_uD}
${ac_eA}SIZEOF_UNSIGNED_CHAR${ac_eB}SIZEOF_UNSIGNED_CHAR${ac_eC}1${ac_eD}
${ac_dA}SIZEOF_UNSIGNED_SHORT${ac_dB}SIZEOF_UNSIGNED_SHORT${ac_dC}2${ac_dD}
${ac_uA}SIZEOF_UNSIGNED_SHORT${ac_uB}SIZEOF_UNSIGNED_SHORT${ac_uC}2${ac_uD}
${ac_eA}SIZEOF_UNSIGNED_SHORT${ac_eB}SIZEOF_UNSIGNED_SHORT${ac_eC}2${ac_eD}
${ac_dA}SIZEOF_UNSIGNED_INT${ac_dB}SIZEOF_UNSIGNED_INT${ac_dC}4${ac_dD}
${ac_uA}SIZEOF_UNSIGNED_INT${ac_uB}SIZEOF_UNSIGNED_INT${ac_uC}4${ac_uD}
${ac_eA}SIZEOF_UNSIGNED_INT${ac_eB}SIZEOF_UNSIGNED_INT${ac_eC}4${ac_eD}
${ac_dA}SIZEOF_UNSIGNED_LONG${ac_dB}SIZEOF_UNSIGNED_LONG${ac_dC}8${ac_dD}
${ac_uA}SIZEOF_UNSIGNED_LONG${ac_uB}SIZEOF_UNSIGNED_LONG${ac_uC}8${ac_uD}
${ac_eA}SIZEOF_UNSIGNED_LONG${ac_eB}SIZEOF_UNSIGNED_LONG${ac_eC}8${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}SIZEOF_UNSIGNED_LONG_LONG${ac_dB}SIZEOF_UNSIGNED_LONG_LONG${ac_dC}8${ac_dD}
${ac_uA}SIZEOF_UNSIGNED_LONG_LONG${ac_uB}SIZEOF_UNSIGNED_LONG_LONG${ac_uC}8${ac_uD}
${ac_eA}SIZEOF_UNSIGNED_LONG_LONG${ac_eB}SIZEOF_UNSIGNED_LONG_LONG${ac_eC}8${ac_eD}
${ac_dA}SIZEOF_FLOAT${ac_dB}SIZEOF_FLOAT${ac_dC}4${ac_dD}
${ac_uA}SIZEOF_FLOAT${ac_uB}SIZEOF_FLOAT${ac_uC}4${ac_uD}
${ac_eA}SIZEOF_FLOAT${ac_eB}SIZEOF_FLOAT${ac_eC}4${ac_eD}
${ac_dA}SIZEOF_DOUBLE${ac_dB}SIZEOF_DOUBLE${ac_dC}8${ac_dD}
${ac_uA}SIZEOF_DOUBLE${ac_uB}SIZEOF_DOUBLE${ac_uC}8${ac_uD}
${ac_eA}SIZEOF_DOUBLE${ac_eB}SIZEOF_DOUBLE${ac_eC}8${ac_eD}
${ac_dA}SIZEOF_LONG_DOUBLE${ac_dB}SIZEOF_LONG_DOUBLE${ac_dC}16${ac_dD}
${ac_uA}SIZEOF_LONG_DOUBLE${ac_uB}SIZEOF_LONG_DOUBLE${ac_uC}16${ac_uD}
${ac_eA}SIZEOF_LONG_DOUBLE${ac_eB}SIZEOF_LONG_DOUBLE${ac_eC}16${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
rm -f conftest.frag conftest.h
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
cat conftest.in >> conftest.h
rm -f conftest.in
if cmp -s $ac_file conftest.h 2>/dev/null; then
echo "$ac_file is unchanged"
rm -f conftest.h
else
# Remove last slash and all that follows it. Not all systems have dirname.
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
# The file is in a subdirectory.
test ! -d "$ac_dir" && mkdir "$ac_dir"
fi
rm -f $ac_file
mv conftest.h $ac_file
fi
fi; done
test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
exit 0

2306
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -13,7 +13,10 @@ AC_SUBST(HOST_CPU)
AC_SUBST(HOST_VENDOR)
AC_SUBST(HOST_OS)
AM_INIT_AUTOMAKE(xlhtml/xlhtml, 0.5)
AC_INIT([xlhtml], [0.5])
AC_CONFIG_SRCDIR([src/foo.c])
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h)
AC_PROG_CC

1
depcomp Symbolic link
View File

@ -0,0 +1 @@
/usr/share/automake-1.15/depcomp

381
ppthtml/Makefile Normal file
View File

@ -0,0 +1,381 @@
# Generated automatically from Makefile.in by configure.
# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
SHELL = /bin/sh
srcdir = .
top_srcdir = ..
prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include
DESTDIR =
pkgdatadir = $(datadir)/xlhtml/xlhtml
pkglibdir = $(libdir)/xlhtml/xlhtml
pkgincludedir = $(includedir)/xlhtml/xlhtml
top_builddir = ..
ACLOCAL = aclocal
AUTOCONF = autoconf
AUTOMAKE = automake
AUTOHEADER = autoheader
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
transform = s,x,x,
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = x86_64-unknown-linux-gnu
host_triplet =
CC = gcc
COLE_MAJOR = 2
COLE_MICRO = 2
COLE_MINOR = 0
HOST_ALIAS_NAME = x86_64-unknown-linux-gnu
HOST_CANONICAL_NAME =
HOST_CPU =
HOST_OS =
HOST_VENDOR =
MAKEINFO = makeinfo
PACKAGE = xlhtml/xlhtml
RANLIB = ranlib
STRIP = strip
VERSION = 0.5
EXTRA_DIST = README ChangeLog TODO THANKS test.ppt ppthtml.1
INCLUDES = -I../cole
noinst_PROGRAMS = pptdump
man_MANS = ppthtml.1
bin_SCRIPTS = nspptview
bin_PROGRAMS = ppthtml
LDADD = ../cole/libcole.a
ppthtml_SOURCES = ppthtml.c vector.c
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES =
PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I..
CPPFLAGS =
LDFLAGS =
LIBS =
ppthtml_OBJECTS = ppthtml.o vector.o
ppthtml_LDADD = $(LDADD)
ppthtml_DEPENDENCIES = ../cole/libcole.a
ppthtml_LDFLAGS =
pptdump_SOURCES = pptdump.c
pptdump_OBJECTS = pptdump.o
pptdump_LDADD = $(LDADD)
pptdump_DEPENDENCIES = ../cole/libcole.a
pptdump_LDFLAGS =
SCRIPTS = $(bin_SCRIPTS)
CFLAGS = -g -O2
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
man1dir = $(mandir)/man1
MANS = $(man_MANS)
NROFF = nroff
DIST_COMMON = README ChangeLog Makefile.am Makefile.in THANKS
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = tar
GZIP_ENV = --best
SOURCES = $(ppthtml_SOURCES) pptdump.c
OBJECTS = $(ppthtml_OBJECTS) pptdump.o
all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .o .s
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps ppthtml/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
mostlyclean-binPROGRAMS:
clean-binPROGRAMS:
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
distclean-binPROGRAMS:
maintainer-clean-binPROGRAMS:
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(bindir)
@list='$(bin_PROGRAMS)'; for p in $$list; do \
if test -f $$p; then \
echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
else :; fi; \
done
uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL)
list='$(bin_PROGRAMS)'; for p in $$list; do \
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
done
mostlyclean-noinstPROGRAMS:
clean-noinstPROGRAMS:
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
distclean-noinstPROGRAMS:
maintainer-clean-noinstPROGRAMS:
.c.o:
$(COMPILE) -c $<
.s.o:
$(COMPILE) -c $<
.S.o:
$(COMPILE) -c $<
mostlyclean-compile:
-rm -f *.o core *.core
clean-compile:
distclean-compile:
-rm -f *.tab.c
maintainer-clean-compile:
ppthtml: $(ppthtml_OBJECTS) $(ppthtml_DEPENDENCIES)
@rm -f ppthtml
$(LINK) $(ppthtml_LDFLAGS) $(ppthtml_OBJECTS) $(ppthtml_LDADD) $(LIBS)
pptdump: $(pptdump_OBJECTS) $(pptdump_DEPENDENCIES)
@rm -f pptdump
$(LINK) $(pptdump_LDFLAGS) $(pptdump_OBJECTS) $(pptdump_LDADD) $(LIBS)
install-binSCRIPTS: $(bin_SCRIPTS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(bindir)
@list='$(bin_SCRIPTS)'; for p in $$list; do \
if test -f $$p; then \
echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
$(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
else if test -f $(srcdir)/$$p; then \
echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
$(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
else :; fi; fi; \
done
uninstall-binSCRIPTS:
@$(NORMAL_UNINSTALL)
list='$(bin_SCRIPTS)'; for p in $$list; do \
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
done
install-man1:
$(mkinstalldirs) $(DESTDIR)$(man1dir)
@list='$(man1_MANS)'; \
l2='$(man_MANS)'; for i in $$l2; do \
case "$$i" in \
*.1*) list="$$list $$i" ;; \
esac; \
done; \
for i in $$list; do \
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
done
uninstall-man1:
@list='$(man1_MANS)'; \
l2='$(man_MANS)'; for i in $$l2; do \
case "$$i" in \
*.1*) list="$$list $$i" ;; \
esac; \
done; \
for i in $$list; do \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
rm -f $(DESTDIR)$(man1dir)/$$inst; \
done
install-man: $(MANS)
@$(NORMAL_INSTALL)
$(MAKE) $(AM_MAKEFLAGS) install-man1
uninstall-man:
@$(NORMAL_UNINSTALL)
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP)
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
here=`pwd` && cd $(srcdir) \
&& mkid -f$$here/ID $$unique $(LISP)
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
mostlyclean-tags:
clean-tags:
distclean-tags:
-rm -f TAGS ID
maintainer-clean-tags:
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
subdir = ppthtml
distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file || :; \
fi; \
done
info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am: install-binPROGRAMS install-binSCRIPTS
install-exec: install-exec-am
install-data-am: install-man
install-data: install-data-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-man
uninstall: uninstall-am
all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS)
all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(bindir) \
$(DESTDIR)$(mandir)/man1
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic:
mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-noinstPROGRAMS \
mostlyclean-compile mostlyclean-tags \
mostlyclean-generic
mostlyclean: mostlyclean-am
clean-am: clean-binPROGRAMS clean-noinstPROGRAMS clean-compile \
clean-tags clean-generic mostlyclean-am
clean: clean-am
distclean-am: distclean-binPROGRAMS distclean-noinstPROGRAMS \
distclean-compile distclean-tags distclean-generic \
clean-am
distclean: distclean-am
maintainer-clean-am: maintainer-clean-binPROGRAMS \
maintainer-clean-noinstPROGRAMS \
maintainer-clean-compile maintainer-clean-tags \
maintainer-clean-generic distclean-am
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
maintainer-clean: maintainer-clean-am
.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile uninstall-binSCRIPTS install-binSCRIPTS \
install-man1 uninstall-man1 install-man uninstall-man tags \
mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
distdir info-am info dvi-am dvi check check-am installcheck-am \
installcheck install-exec-am install-exec install-data-am install-data \
install-am install uninstall-am uninstall all-redirect all-am all \
installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
#AM_CFLAGS = -Wall -Wshadow -Wcast-align -Wpointer-arith
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@ -2,12 +2,12 @@
EXTRA_DIST = README ChangeLog TODO THANKS test.ppt ppthtml.1
INCLUDES = -I../cole
AM_CPPFLAGS = -I../cole
noinst_PROGRAMS = pptdump
man_MANS = ppthtml.1
bin_SCRIPTS = nspptview
bin_PROGRAMS = ppthtml
LDADD = ../cole/libcole.a
ppthtml_SOURCES = ppthtml.c
ppthtml_SOURCES = ppthtml.c vector.c
#AM_CFLAGS = -Wall -Wshadow -Wcast-align -Wpointer-arith

24
ppthtml/Makefile.bc Normal file
View File

@ -0,0 +1,24 @@
# -w-8008 Disable warning "Condition is always true"
# -w-8066 Disable warning "Unreachable code"
# -q Disable copyright message
#CFLAGS_DEBUG = -y -v
CFLAGS = -w-8008 -w-8066 -q -DWIN32=1 -I.. -I..\cole $(CFLAGS_DEBUG)
LDFLAGS = -q $(CFLAGS_DEBUG)
LIBCOLE = ..\cole\cole.lib
all: ppthtml.exe pptdump.exe
clean:
-del *.obj
-del *.exe
-del *.tds
ppthtml.exe: ppthtml.obj $(OBJECTS)
$(CC) $(LDFLAGS) ppthtml.obj $(LIBCOLE)
pptdump.exe: pptdump.obj $(OBJECTS)
$(CC) $(LDFLAGS) pptdump.obj $(LIBCOLE)
# eof

View File

@ -1,6 +1,8 @@
# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
# Makefile.in generated by automake 1.15.1 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2017 Free Software Foundation, Inc.
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@ -10,369 +12,704 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
DESTDIR =
am__is_gnu_make = { \
if test -z '$(MAKELEVEL)'; then \
false; \
elif test -n '$(MAKE_HOST)'; then \
true; \
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
true; \
else \
false; \
fi; \
}
am__make_running_with_option = \
case $${target_option-} in \
?) ;; \
*) echo "am__make_running_with_option: internal error: invalid" \
"target option '$${target_option-}' specified" >&2; \
exit 1;; \
esac; \
has_opt=no; \
sane_makeflags=$$MAKEFLAGS; \
if $(am__is_gnu_make); then \
sane_makeflags=$$MFLAGS; \
else \
case $$MAKEFLAGS in \
*\\[\ \ ]*) \
bs=\\; \
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
esac; \
fi; \
skip_next=no; \
strip_trailopt () \
{ \
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
}; \
for flg in $$sane_makeflags; do \
test $$skip_next = yes && { skip_next=no; continue; }; \
case $$flg in \
*=*|--*) continue;; \
-*I) strip_trailopt 'I'; skip_next=yes;; \
-*I?*) strip_trailopt 'I';; \
-*O) strip_trailopt 'O'; skip_next=yes;; \
-*O?*) strip_trailopt 'O';; \
-*l) strip_trailopt 'l'; skip_next=yes;; \
-*l?*) strip_trailopt 'l';; \
-[dEDm]) skip_next=yes;; \
-[JT]) skip_next=yes;; \
esac; \
case $$flg in \
*$$target_option*) has_opt=yes; break;; \
esac; \
done; \
test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..
ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
build_triplet = @build@
host_triplet = @host@
noinst_PROGRAMS = pptdump$(EXEEXT)
bin_PROGRAMS = ppthtml$(EXEEXT)
subdir = ppthtml
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" \
"$(DESTDIR)$(man1dir)"
PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
pptdump_SOURCES = pptdump.c
pptdump_OBJECTS = pptdump.$(OBJEXT)
pptdump_LDADD = $(LDADD)
pptdump_DEPENDENCIES = ../cole/libcole.a
am_ppthtml_OBJECTS = ppthtml.$(OBJEXT) vector.$(OBJEXT)
ppthtml_OBJECTS = $(am_ppthtml_OBJECTS)
ppthtml_LDADD = $(LDADD)
ppthtml_DEPENDENCIES = ../cole/libcole.a
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
for p in $$list; do echo "$$p $$p"; done | \
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
if (++n[$$2] == $(am__install_max)) \
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
END { for (dir in files) print dir, files[dir] }'
am__base_list = \
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir = { \
test -z "$$files" \
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
$(am__cd) "$$dir" && rm -f $$files; }; \
}
SCRIPTS = $(bin_SCRIPTS)
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
am__v_GEN_0 = @echo " GEN " $@;
am__v_GEN_1 =
AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
am__v_at_1 =
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
AM_V_CC = $(am__v_CC_@AM_V@)
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
am__v_CC_0 = @echo " CC " $@;
am__v_CC_1 =
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
am__v_CCLD_0 = @echo " CCLD " $@;
am__v_CCLD_1 =
SOURCES = pptdump.c $(ppthtml_SOURCES)
DIST_SOURCES = pptdump.c $(ppthtml_SOURCES)
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
man1dir = $(mandir)/man1
NROFF = nroff
MANS = $(man_MANS)
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates. Input order is
# *not* preserved.
am__uniquify_input = $(AWK) '\
BEGIN { nonempty = 0; } \
{ items[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in items) print i; }; } \
'
# Make sure the list of sources is unique. This is necessary because,
# e.g., the same source file might be shared among _SOURCES variables
# for different programs/libraries.
am__define_uniq_tagged_files = \
list='$(am__tagged_files)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
$(top_srcdir)/mkinstalldirs ChangeLog README THANKS
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
COLE_MAJOR = @COLE_MAJOR@
COLE_MICRO = @COLE_MICRO@
COLE_MINOR = @COLE_MINOR@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
GREP = @GREP@
HOST_ALIAS_NAME = @HOST_ALIAS_NAME@
HOST_CANONICAL_NAME = @HOST_CANONICAL_NAME@
HOST_CPU = @HOST_CPU@
HOST_OS = @HOST_OS@
HOST_VENDOR = @HOST_VENDOR@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
runstatedir = @runstatedir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
EXTRA_DIST = README ChangeLog TODO THANKS test.ppt ppthtml.1
INCLUDES = -I../cole
noinst_PROGRAMS = pptdump
AM_CPPFLAGS = -I../cole
man_MANS = ppthtml.1
bin_SCRIPTS = nspptview
bin_PROGRAMS = ppthtml
LDADD = ../cole/libcole.a
ppthtml_SOURCES = ppthtml.c
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES =
PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
ppthtml_SOURCES = ppthtml.c vector.c
all: all-am
DEFS = @DEFS@ -I. -I$(srcdir) -I..
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
ppthtml_OBJECTS = ppthtml.o
ppthtml_LDADD = $(LDADD)
ppthtml_DEPENDENCIES = ../cole/libcole.a
ppthtml_LDFLAGS =
pptdump_SOURCES = pptdump.c
pptdump_OBJECTS = pptdump.o
pptdump_LDADD = $(LDADD)
pptdump_DEPENDENCIES = ../cole/libcole.a
pptdump_LDFLAGS =
SCRIPTS = $(bin_SCRIPTS)
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
man1dir = $(mandir)/man1
MANS = $(man_MANS)
NROFF = nroff
DIST_COMMON = README ChangeLog Makefile.am Makefile.in THANKS
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = tar
GZIP_ENV = --best
SOURCES = $(ppthtml_SOURCES) pptdump.c
OBJECTS = $(ppthtml_OBJECTS) pptdump.o
all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .o .s
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps ppthtml/Makefile
.SUFFIXES: .c .o .obj
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ppthtml/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --gnu ppthtml/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
mostlyclean-binPROGRAMS:
$(top_srcdir)/configure: $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
if test -n "$$list"; then \
echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
$(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
fi; \
for p in $$list; do echo "$$p $$p"; done | \
sed 's/$(EXEEXT)$$//' | \
while read p p1; do if test -f $$p \
; then echo "$$p"; echo "$$p"; else :; fi; \
done | \
sed -e 'p;s,.*/,,;n;h' \
-e 's|.*|.|' \
-e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
sed 'N;N;N;s,\n, ,g' | \
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
{ d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
if ($$2 == $$4) files[d] = files[d] " " $$1; \
else { print "f", $$3 "/" $$4, $$1; } } \
END { for (d in files) print "f", d, files[d] }' | \
while read type dir files; do \
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
test -z "$$files" || { \
echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
$(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
} \
; done
uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
files=`for p in $$list; do echo "$$p"; done | \
sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
-e 's/$$/$(EXEEXT)/' \
`; \
test -n "$$list" || exit 0; \
echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(bindir)" && rm -f $$files
clean-binPROGRAMS:
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
distclean-binPROGRAMS:
maintainer-clean-binPROGRAMS:
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(bindir)
@list='$(bin_PROGRAMS)'; for p in $$list; do \
if test -f $$p; then \
echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
else :; fi; \
done
uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL)
list='$(bin_PROGRAMS)'; for p in $$list; do \
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
done
mostlyclean-noinstPROGRAMS:
clean-noinstPROGRAMS:
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
distclean-noinstPROGRAMS:
pptdump$(EXEEXT): $(pptdump_OBJECTS) $(pptdump_DEPENDENCIES) $(EXTRA_pptdump_DEPENDENCIES)
@rm -f pptdump$(EXEEXT)
$(AM_V_CCLD)$(LINK) $(pptdump_OBJECTS) $(pptdump_LDADD) $(LIBS)
maintainer-clean-noinstPROGRAMS:
ppthtml$(EXEEXT): $(ppthtml_OBJECTS) $(ppthtml_DEPENDENCIES) $(EXTRA_ppthtml_DEPENDENCIES)
@rm -f ppthtml$(EXEEXT)
$(AM_V_CCLD)$(LINK) $(ppthtml_OBJECTS) $(ppthtml_LDADD) $(LIBS)
install-binSCRIPTS: $(bin_SCRIPTS)
@$(NORMAL_INSTALL)
@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
if test -n "$$list"; then \
echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
$(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
done | \
sed -e 'p;s,.*/,,;n' \
-e 'h;s|.*|.|' \
-e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
{ d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
if ($$2 == $$4) { files[d] = files[d] " " $$1; \
if (++n[d] == $(am__install_max)) { \
print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
else { print "f", d "/" $$4, $$1 } } \
END { for (d in files) print "f", d, files[d] }' | \
while read type dir files; do \
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
test -z "$$files" || { \
echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
$(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
} \
; done
.c.o:
$(COMPILE) -c $<
.s.o:
$(COMPILE) -c $<
.S.o:
$(COMPILE) -c $<
uninstall-binSCRIPTS:
@$(NORMAL_UNINSTALL)
@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
files=`for p in $$list; do echo "$$p"; done | \
sed -e 's,.*/,,;$(transform)'`; \
dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
mostlyclean-compile:
-rm -f *.o core *.core
clean-compile:
-rm -f *.$(OBJEXT)
distclean-compile:
-rm -f *.tab.c
maintainer-clean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pptdump.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ppthtml.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vector.Po@am__quote@
ppthtml: $(ppthtml_OBJECTS) $(ppthtml_DEPENDENCIES)
@rm -f ppthtml
$(LINK) $(ppthtml_LDFLAGS) $(ppthtml_OBJECTS) $(ppthtml_LDADD) $(LIBS)
.c.o:
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
pptdump: $(pptdump_OBJECTS) $(pptdump_DEPENDENCIES)
@rm -f pptdump
$(LINK) $(pptdump_LDFLAGS) $(pptdump_OBJECTS) $(pptdump_LDADD) $(LIBS)
install-binSCRIPTS: $(bin_SCRIPTS)
.c.obj:
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
install-man1: $(man_MANS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(bindir)
@list='$(bin_SCRIPTS)'; for p in $$list; do \
if test -f $$p; then \
echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
$(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
else if test -f $(srcdir)/$$p; then \
echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
$(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
else :; fi; fi; \
done
uninstall-binSCRIPTS:
@$(NORMAL_UNINSTALL)
list='$(bin_SCRIPTS)'; for p in $$list; do \
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
done
install-man1:
$(mkinstalldirs) $(DESTDIR)$(man1dir)
@list='$(man1_MANS)'; \
l2='$(man_MANS)'; for i in $$l2; do \
case "$$i" in \
*.1*) list="$$list $$i" ;; \
esac; \
@list1=''; \
list2='$(man_MANS)'; \
test -n "$(man1dir)" \
&& test -n "`echo $$list1$$list2`" \
|| exit 0; \
echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
$(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
{ for i in $$list1; do echo "$$i"; done; \
if test -n "$$list2"; then \
for i in $$list2; do echo "$$i"; done \
| sed -n '/\.1[a-z]*$$/p'; \
fi; \
} | while read p; do \
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; echo "$$p"; \
done | \
sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
sed 'N;N;s,\n, ,g' | { \
list=; while read file base inst; do \
if test "$$base" = "$$inst"; then list="$$list $$file"; else \
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
fi; \
done; \
for i in $$list; do \
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
done
for i in $$list; do echo "$$i"; done | $(am__base_list) | \
while read files; do \
test -z "$$files" || { \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
done; }
uninstall-man1:
@list='$(man1_MANS)'; \
l2='$(man_MANS)'; for i in $$l2; do \
case "$$i" in \
*.1*) list="$$list $$i" ;; \
esac; \
done; \
for i in $$list; do \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
rm -f $(DESTDIR)$(man1dir)/$$inst; \
done
install-man: $(MANS)
@$(NORMAL_INSTALL)
$(MAKE) $(AM_MAKEFLAGS) install-man1
uninstall-man:
@$(NORMAL_UNINSTALL)
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
@list=''; test -n "$(man1dir)" || exit 0; \
files=`{ for i in $$list; do echo "$$i"; done; \
l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
sed -n '/\.1[a-z]*$$/p'; \
} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
tags: TAGS
ID: $(am__tagged_files)
$(am__define_uniq_tagged_files); mkid -fID $$unique
tags: tags-am
TAGS: tags
ID: $(HEADERS) $(SOURCES) $(LISP)
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
here=`pwd` && cd $(srcdir) \
&& mkid -f$$here/ID $$unique $(LISP)
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
tags=; \
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
$(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
if test $$# -gt 0; then \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
"$$@" $$unique; \
else \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$unique; \
fi; \
fi
ctags: ctags-am
mostlyclean-tags:
CTAGS: ctags
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
$(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
clean-tags:
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
cscopelist: cscopelist-am
cscopelist-am: $(am__tagged_files)
list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
esac; \
for i in $$list; do \
if test -f "$$i"; then \
echo "$(subdir)/$$i"; \
else \
echo "$$sdir/$$i"; \
fi; \
done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID
maintainer-clean-tags:
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
subdir = ppthtml
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file || :; \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am: install-binPROGRAMS install-binSCRIPTS
all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS)
installdirs:
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data-am: install-man
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-man
uninstall: uninstall-am
all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS)
all-redirect: all-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(bindir) \
$(DESTDIR)$(mandir)/man1
if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
install; \
else \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-noinstPROGRAMS \
mostlyclean-compile mostlyclean-tags \
mostlyclean-generic
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-binPROGRAMS clean-generic clean-noinstPROGRAMS \
mostlyclean-am
distclean: distclean-am
-rm -rf ./$(DEPDIR)
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-tags
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am: install-man
install-dvi: install-dvi-am
install-dvi-am:
install-exec-am: install-binPROGRAMS install-binSCRIPTS
install-html: install-html-am
install-html-am:
install-info: install-info-am
install-info-am:
install-man: install-man1
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -rf ./$(DEPDIR)
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
clean-am: clean-binPROGRAMS clean-noinstPROGRAMS clean-compile \
clean-tags clean-generic mostlyclean-am
mostlyclean-am: mostlyclean-compile mostlyclean-generic
clean: clean-am
pdf: pdf-am
distclean-am: distclean-binPROGRAMS distclean-noinstPROGRAMS \
distclean-compile distclean-tags distclean-generic \
clean-am
pdf-am:
distclean: distclean-am
ps: ps-am
maintainer-clean-am: maintainer-clean-binPROGRAMS \
maintainer-clean-noinstPROGRAMS \
maintainer-clean-compile maintainer-clean-tags \
maintainer-clean-generic distclean-am
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
ps-am:
maintainer-clean: maintainer-clean-am
uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-man
.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile uninstall-binSCRIPTS install-binSCRIPTS \
install-man1 uninstall-man1 install-man uninstall-man tags \
mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
distdir info-am info dvi-am dvi check check-am installcheck-am \
installcheck install-exec-am install-exec install-data-am install-data \
install-am install uninstall-am uninstall all-redirect all-am all \
installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
uninstall-man: uninstall-man1
.MAKE: install-am install-strip
.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
clean-binPROGRAMS clean-generic clean-noinstPROGRAMS \
cscopelist-am ctags ctags-am distclean distclean-compile \
distclean-generic distclean-tags distdir dvi dvi-am html \
html-am info info-am install install-am install-binPROGRAMS \
install-binSCRIPTS install-data install-data-am install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-info install-info-am install-man \
install-man1 install-pdf install-pdf-am install-ps \
install-ps-am install-strip installcheck installcheck-am \
installdirs maintainer-clean maintainer-clean-generic \
mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
ps ps-am tags tags-am uninstall uninstall-am \
uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-man \
uninstall-man1
.PRECIOUS: Makefile
#AM_CFLAGS = -Wall -Wshadow -Wcast-align -Wpointer-arith

19
ppthtml/Makefile.vc Normal file
View File

@ -0,0 +1,19 @@
CFLAGS = /nologo /DWIN32=1 /I.. /I..\cole
LDFLAGS = /nologo
LIBCOLE = ..\cole\cole.lib
all: ppthtml.exe pptdump.exe
clean:
-del *.obj
-del *.exe
ppthtml.exe: ppthtml.obj $(OBJECTS)
$(CC) $(LDFLAGS) ppthtml.obj $(LIBCOLE)
pptdump.exe: pptdump.obj $(OBJECTS)
$(CC) $(LDFLAGS) pptdump.obj $(LIBCOLE)
# eof

View File

@ -17,23 +17,37 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* The code used to extract title, author, subject and keywords was based
on original code from libcole2 written by
Michael Meeks (michael@helixcode.com)
Arturo Tena (arturo@directmail.org)
*/
#if !(defined( __BORLANDC__ ) || defined( __WIN32__ ))
#include "config.h" /* Created by ./configure script */
#include "support.h" /* Needs to be before internal.h */
#include "internal.h" /* Needs to be before cole */
#include "cole.h"
#if defined(WIN32)
#include <direct.h> /* _chdrive() */
#else
#include "config.h.in" /* Created by ./configure script */
#include "support.h" /* Needs to be before internal.h */
#include "internal.h" /* Needs to be before cole */
#include "cole.h.in"
#include <dir.h>
#endif
#include "vector.h"
#include <stdio.h>
#include <string.h> /* for strcpy() */
#include <string.h> /* For strcpy() */
#include <ctype.h> /* For isprint */
#include <stdlib.h> /* For exitt() */
#include <limits.h> /* For MAX_PATH */
#include "ppthtml.h" /* For SummaryInfo things*/
#define PRGNAME "pptHtml"
#if defined(VERSION)
#if !(defined( __WIN32__ ) || defined( __BORLANDC__ ))
#define PRGVER VERSION
#else
#define PRGVER "0.4"
@ -45,6 +59,8 @@ static char FileName[2][32] = /* The section of the PowerPoint File we read */
"/PP40" /* Everything else ? */
};
#define BUFFER_SIZE 128
/* Function Prototypes */
COLE_LOCATE_ACTION_FUNC dump_file;
@ -53,6 +69,10 @@ static void atom_processor(int, int, int, unsigned char);
static void print_unicode(unsigned char *, int);
static void print_utf8(unsigned short c);
static void put_utf8(unsigned short c);
static OleSummary *summary_open_stream(COLEFILE *cf, const PropertySetID psid);
static void close_summary(OleSummary *si);
static gboolean read_items(OleSummary *si, PropertySetID ps_id);
static char *summary_get_string (OleSummary *si,OleSummaryPID id,gboolean *available);
/* Global data */
static char filename[128];
@ -61,12 +81,23 @@ static int buf_idx=0;
static int output_this_container = 0;
static int past_first_slide = 0;
static int last_container = 0;
static char *title;
static char *author;
static char *subject;
static char *keywords;
int main (int argc, char **argv)
{
int f_ptr = 0;
COLEFS * cfs;
COLEFILE * cf;
COLERRNO colerrno;
char buffer[BUFFER_SIZE];
size_t char_read;
size_t char_read_total;
gboolean ok;
OleSummary *si;
if (argc < 2)
{
@ -77,14 +108,6 @@ int main (int argc, char **argv)
else
{
strncpy(filename, argv[1], 124);
#if 1 && defined(WIN32)
if( 0 != filename[0] && ':' == filename[1] )
{
_chdrive(tolower((unsigned char)filename[0]) - 'a' + 1);
/* cut the drive from the filename */
memmove(filename,filename+2,strlen(filename+2)+1);
}
#endif
cfs = cole_mount (filename, &colerrno);
if (cfs == NULL)
{
@ -93,6 +116,52 @@ int main (int argc, char **argv)
}
}
cf = cole_fopen (cfs, "/\005SummaryInformation", &colerrno);
if (!cf) {
printf("ERROR-No Summary Information available for this document\n");
cole_umount (cfs, NULL);
exit (1);
}
si = summary_open_stream(cf, OLE_PS_SUMMARY_INFO);
if (!si) {
printf ("Could not open SummaryInformation\n");
exit(1);
}
title = summary_get_string(si, OLE_SUMMARY_TITLE, &ok);
/* if (ok) */
/* printf ("The title is %s\n", title); */
/* else */
/* printf ("no title found\n"); */
subject = summary_get_string (si, OLE_SUMMARY_SUBJECT, &ok);
/* if (ok) */
/* printf ("The subject is %s\n", subject); */
/* else */
/* printf ("no subject found\n"); */
author =summary_get_string (si, OLE_SUMMARY_AUTHOR, &ok);
/* if (ok) */
/* printf ("The author is %s\n", author); */
/* else */
/* printf ("no author found\n"); */
keywords = summary_get_string (si, OLE_SUMMARY_KEYWORDS, &ok);
/* if (ok) */
/* printf ("The keywords are %s\n", keywords); */
/* else */
/* printf ("no keywords found\n"); */
cole_fclose (cf, &colerrno);
while (cole_locate_filename (cfs, FileName[f_ptr], NULL, dump_file, &colerrno))
{
if (f_ptr)
@ -106,6 +175,11 @@ int main (int argc, char **argv)
f_ptr++;
}
free (title);
free (subject);
free (author);
free (keywords);
if (cole_umount (cfs, &colerrno))
{
cole_perror ("travel", colerrno);
@ -115,24 +189,27 @@ int main (int argc, char **argv)
return 0;
}
void dump_file(COLEDIRENT *cde, void *_info)
{
unsigned long version=0, instance=0, type=0, length=0, target=0, count=0;
unsigned char buf[16];
COLEFILE *cf;
COLERRNO err;
(void) _info; /*UNUSED*/
cf = cole_fopen_direntry(cde, &err);
/* Ouput Header */
/* Ouput Header */
printf("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">\n");
printf("<HTML><HEAD><TITLE>%s", filename);
printf("</TITLE></HEAD><BODY>\n");
printf("<HTML><HEAD><TITLE>%s</TITLE>\n", title);
if(subject)
printf("<meta name=\"description\" content=\"%s\">\n", subject);
if(author)
printf("<meta name=\"author\" content=\"%s\">\n", author);
if(keywords)
printf("<meta name=\"keywords\" content=\"%s\">\n", keywords);
printf("</HEAD><BODY>\n");
/* Output body */
/* Output body */
while (cole_fread(cf, buf, 1, &err))
{
if (count == 0)
@ -213,7 +290,7 @@ static void container_processor(int type)
output_this_container = 1;
break;
default:
/* printf("Cont:%x|\n", type); */
/* printf("Cont:%x|\n", type); */
output_this_container = 0;
break;
}
@ -237,9 +314,9 @@ static void atom_processor(int type, int count, int buf_last, unsigned char data
working_buffer[buf_idx++] = data;
if (count == buf_last)
{
/* printf("Atom:%x|\n", type); */
/* working_buffer[buf_idx++] = 0; */
/* printf("%s<BR>\n", working_buffer); */
/* printf("Atom:%x|\n", type); */
/* working_buffer[buf_idx++] = 0; */
/* printf("%s<BR>\n", working_buffer); */
print_unicode(working_buffer, buf_idx);
printf("<BR>\n");
}
@ -249,11 +326,11 @@ static void atom_processor(int type, int count, int buf_last, unsigned char data
if (count == buf_last)
{
int i;
/* working_buffer[buf_idx++] = 0; */
/* printf("Atom:%x|\n", type); */
/* working_buffer[buf_idx++] = 0; */
/* printf("Atom:%x|\n", type); */
for (i=0;i<buf_idx; i++)
{
/* printf("%02X &nbsp;", (int)working_buffer[i]); */ /* Debug */
/* printf("%02X &nbsp;", (int)working_buffer[i]); */ /* Debug */
if (working_buffer[i] == 0x0D)
printf("<BR>\n");
else
@ -266,9 +343,9 @@ static void atom_processor(int type, int count, int buf_last, unsigned char data
working_buffer[buf_idx++] = data;
if (count == buf_last)
{
/* working_buffer[buf_idx++] = 0; */
/* printf("%s<BR>\n", working_buffer); */
/* printf("Atom:%x|\n", type); */
/* working_buffer[buf_idx++] = 0; */
/* printf("%s<BR>\n", working_buffer); */
/* printf("Atom:%x|\n", type); */
print_unicode(working_buffer, buf_idx);
printf("<BR>\n");
}
@ -414,3 +491,218 @@ static void put_utf8(unsigned short c)
putchar(0x0080 | ((short)c & 0x003F));
}
OleSummary *
summary_open_stream (COLEFILE *cf, const PropertySetID psid)
{
uint8_t data[64];
uint16_t byte_order;
gboolean panic=FALSE;
uint32_t os_version;
OleSummary *si;
int i, sections;
COLERRNO colerrno;
if (cf == NULL){
printf("No cole file info available\n");
return NULL;
}
/* reading data */
cole_fread (cf, data, 28, &colerrno);
si = malloc(sizeof(OleSummary));
si->sections = malloc(sizeof(ole_vector));
si->items = malloc(sizeof(item_vector));
si->s = cf;
si->write_items = NULL;
si->read_mode = TRUE;
byte_order = GET_UINT16(data);
if (byte_order != 0xfffe)
panic = TRUE;
if (GET_UINT16 (data + 2) != 0) /* Format */
panic = TRUE;
os_version = GET_UINT32 (data + 4);
for (i = 0; i < 16; i++)
si->class_id[i] = data[8 + i];
sections = GET_UINT32 (data + 24);
if (panic) {
close_summary(si);
return NULL;
}
create_ole_vector(si->sections);
for (i = 0; i < sections; i++) {
OleSummarySection sect;
if (!cole_fread (cf, data, 16 + 4, &colerrno)){
close_summary(si);
return NULL;
}
if (psid == OLE_PS_SUMMARY_INFO) {
if (GET_UINT32 (data + 0) == sum_fmtid[0] &&
GET_UINT32 (data + 4) == sum_fmtid[1] &&
GET_UINT32 (data + 8) == sum_fmtid[2] &&
GET_UINT32 (data + 12) == sum_fmtid[3]) {
si->ps_id = OLE_PS_SUMMARY_INFO;
sect.ps_id = OLE_PS_SUMMARY_INFO;
} else {
close_summary(si);
return NULL;
}
}
sect.offset = GET_UINT32 (data + 16);
append_ole(si->sections,sect);
}
create_item_vector(si->items);
for (i = 0; i < sections; i++) {
OleSummarySection st;
st = ole_at(si->sections,i);
if (!read_items(si, st.ps_id)) {
printf("Serious error reading items\n");
close_summary(si);
return NULL;
}
}
return si;
}
void
close_summary(OleSummary *si)
{
if(si->sections)
free(si->sections);
destroy_ole_vector(si->sections);
si->sections = NULL;
if(si->items)
free(si->items);
destroy_item_vector(si->items);
si->items=NULL;
free(si);
}
gboolean
read_items (OleSummary *si, PropertySetID ps_id)
{
int sect;
COLERRNO colerrno;
for (sect = 0; sect < si->sections->index; sect++) {
OleSummarySection st;
uint8_t data[8];
int i;
st = ole_at(si->sections,sect);
if (st.ps_id != ps_id)
continue;
cole_fseek(si->s, st.offset, COLE_SEEK_SET, &colerrno);
if (!cole_fread (si->s, data, 8, &colerrno))
return FALSE;
st.bytes = GET_UINT32 (data);
st.props = GET_UINT32 (data + 4);
if (st.props == 0)
continue;
for (i = 0; i < st.props; i++) {
item_t item;
if (!cole_fread (si->s, data, 8, &colerrno))
return FALSE;
item.id = GET_UINT32 (data);
item.offset = GET_UINT32 (data + 4);
item.offset = item.offset + st.offset;
item.ps_id = ps_id;
append_item(si->items, item);
}
}
return TRUE;
}
/* Seeks to the correct place, and returns a handle or NULL on failure */
static item_t *
seek_to_record (OleSummary *si, OleSummaryPID id)
{
int i;
COLERRNO colerrno;
for (i = 0; i < si->items->index; i++) {
item_t *item = &item_at(si->items,i);
if (item->id == SUMMARY_ID(id)) {
gboolean is_summary;
is_summary = ((si->ps_id == OLE_PS_SUMMARY_INFO) &&
(item->ps_id == OLE_PS_SUMMARY_INFO));
if (is_summary) {
cole_fseek(si->s, item->offset, COLE_SEEK_SET, &colerrno);
return item;
}
}
}
return NULL;
}
char *
summary_get_string (OleSummary *si, OleSummaryPID id, gboolean *available)
{
uint8_t data[8];
uint32_t type, len;
char *ans;
item_t *item;
COLERRNO colerrno;
*available = FALSE;
if (!(item = seek_to_record (si, id)))
return NULL;
if (!cole_fread(si->s, data, 8, &colerrno))
return NULL;
type = GET_UINT32 (data);
len = GET_UINT32 (data + 4);
if (type != TYPE_STRING) {
printf("Summary string type mismatch\n");
return NULL;
}
ans = allocate_mem(char, len + 1);
if (!cole_fread(si->s, ans, len,&colerrno)) {
free (ans);
return NULL;
}
ans[len] = '\0';
*available = TRUE;
return ans;
}

160
ppthtml/ppthtml.h Normal file
View File

@ -0,0 +1,160 @@
#ifndef PPTHTML_H
#define PPTHTML_H
#include <stdint.h>
#include <vector.h>
#undef MAX
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
#define TRUE 1
#define FALSE 0
#define TYPE_STRING 0x1e /* 30, VT_LPSTR */
#define SUMMARY_ID(x) ((x) & 0xff)
typedef uint32_t OlePos;
typedef int32_t OleSPos;
typedef struct _List List;
typedef void* pointer;
typedef const void *gconstpointer;
typedef int gboolean;
/* definitions for vector array */
typedef vector ole_vector;
/** The initial size of a ole_vector. */
#define OLE_VECTOR_SIZE 10
/** The growth factor of a ole_vector. */
#define OLE_VECTOR_FACTOR 2
#define resize_ole_vector(v, size) \
vector_resize(v, size, sizeof(OleSummarySection))
#define create_ole_vector(v) \
vector_create(v, OLE_VECTOR_SIZE, sizeof(OleSummarySection))
#define destroy_ole_vector(v) \
vector_destroy(v)
#define append_ole(v, token) \
vector_append(v, token, 0, OLE_VECTOR_FACTOR)
#define insert_ole(v, token, pos) \
vector_insert(v, token, pos, 0, OLE_VECTOR_FACTOR)
#define insert_ole_space(v, pos, n) \
vector_insert_space(v, OleSummarySection, pos, n, 0, OLE_VECTOR_FACTOR)
#define ole_at(v, index) \
element_at(v, index, OleSummarySection)
#define ole_delete(v, pos) \
vector_delete(v, OleSummarySection, pos)
/* definitions for vector array */
typedef vector item_vector;
/** The initial size of a item_vector. */
#define ITEM_VECTOR_SIZE 10
/** The growth factor of a item_vector. */
#define ITEM_VECTOR_FACTOR 2
#define resize_item_vector(v, size) \
vector_resize(v, size, sizeof(item_t))
#define create_item_vector(v) \
vector_create(v, ITEM_VECTOR_SIZE, sizeof(item_t))
#define destroy_item_vector(v) \
vector_destroy(v)
#define append_item(v, token) \
vector_append(v, token, 0, ITEM_VECTOR_FACTOR)
#define insert_item(v, token, pos) \
vector_insert(v, token, pos, 0, ITEM_VECTOR_FACTOR)
#define insert_item_space(v, pos, n) \
vector_insert_space(v, item_t, pos, n, 0, ITEM_VECTOR_FACTOR)
#define item_at(v, index) \
element_at(v, index, item_t)
#define item_delete(v, pos) \
vector_delete(v, item_t, pos)
/* memory allocation functions */
#define allocate_mem(type, count) \
((type *) malloc((unsigned) sizeof (type) * (count)))
#define GET_UINT16(p) (uint16_t)(*((const uint8_t *)(p)+0) | \
(*((const uint8_t *)(p)+1)<<8))
#define GET_UINT32(p) (uint32_t)(*((const uint8_t *)(p)+0) | \
(*((const uint8_t *)(p)+1)<<8) | \
(*((const uint8_t *)(p)+2)<<16) | \
(*((const uint8_t *)(p)+3)<<24))
const uint32_t sum_fmtid[4] = {
0xF29F85E0,
0x10684FF9,
0x000891AB,
0xD9B3272B
};
/*
* Property Set IDs
* The SummaryInformation stream contains the SummaryInformation property set.
* The DocumentSummaryInformation stream contains both the
* DocumentSummaryInformation and the UserDefined property sets as sections.
*/
typedef enum {
OLE_PS_SUMMARY_INFO,
OLE_PS_DOCUMENT_SUMMARY_INFO,
OLE_PS_USER_DEFINED_SUMMARY_INFO
} PropertySetID;
typedef enum {
OLE_ERR_OK,
OLE_ERR_EXIST,
OLE_ERR_INVALID,
OLE_ERR_FORMAT,
OLE_ERR_PERM,
OLE_ERR_MEM,
OLE_ERR_SPACE,
OLE_ERR_NOTEMPTY,
OLE_ERR_BADARG
}OleErr;
/* SummaryInformation Stream Properties */
/* String properties */
typedef enum {
OLE_SUMMARY_TITLE = 0x1002,
OLE_SUMMARY_SUBJECT = 0x1003,
OLE_SUMMARY_AUTHOR = 0x1004,
OLE_SUMMARY_KEYWORDS = 0x1005,
OLE_SUMMARY_COMMENTS = 0x1006
} OleSummaryPID;
struct _List
{
pointer data;
List *next;
List *prev;
};
typedef struct {
uint8_t class_id[16];
ole_vector * sections;
item_vector * items;
List * write_items;
gboolean read_mode;
COLEFILE *s;
PropertySetID ps_id;
} OleSummary;
typedef struct {
uint32_t offset;
uint32_t props;
uint32_t bytes;
PropertySetID ps_id;
} OleSummarySection;
typedef struct {
uint32_t offset;
uint32_t id;
PropertySetID ps_id;
} item_t;
#endif

70
ppthtml/vector.c Normal file
View File

@ -0,0 +1,70 @@
/**
* @file vector.c
* @brief Functions for creating and manipulating vectors.
*
* @author Jon Schutz
* @date 05-Feb-2001
**/
#include "vector.h"
#include <stdlib.h>
#include <string.h>
/** Resize a vector.
@param v The vector to resize.
@param size The new size of the vector. Must be >= 0.
@param element_size The size of elements in the vector.
@return 0 on success, -1 if a memory allocation error occurred.
*/
int
vector_resize(vector *v, size_t size, size_t element_size)
{
void *b;
b = (v->array)?realloc(v->array, size * element_size)
:malloc(size * element_size);
if ((0 < (size * element_size)) && (NULL == b))
return -1;
if (size > v->array_size) {
memset(b + v->array_size * element_size, 0,
(size - v->array_size) * element_size);
}
v->array = b;
v->array_size = size;
return 0;
}
/** Create a new vector.
@param v The vector to be initialised.
@param size The size of the set.
@param element_size The size of elements in the vector.
@return 0 on success, -1 on error.
*/
int
vector_create(vector *v, size_t size, size_t element_size)
{
v->array = NULL;
v->array_size = 0;
v->index = 0;
return vector_resize(v, size, element_size);
}
/** Destroy a vector, freeing storage associated with it. */
void
vector_destroy(vector *v)
{
free(v->array);
v->array = NULL;
v->array_size = 0;
}
int
word_vector_strcmp(const char **a, const char **b)
{
return strcmp(*a, *b);
}

252
ppthtml/vector.h Normal file
View File

@ -0,0 +1,252 @@
/**
* @file vector.h
* @brief Functions for creating and manipulating vectors.
*
* A vector is an array that can be resized to meet changing storage
* requirements. Usage is typically as follows:
\include vector_test.c
*
* @author Jon Schutz
* @date 05-Feb-2001
**/
#ifndef __VECTOR_H
#define __VECTOR_H /* To stop multiple inclusions. */
#include <stddef.h>
#include <stdint.h>
/** Vector */
typedef struct _vector {
/** The array to hold the data. */
void *array;
/** The size of the array. */
size_t array_size;
/** The used size, assuming vector_append is the only operation
which adds elements to the vector. */
size_t index;
} vector;
/** Add a new item to the end of a vector.
@param v The vector to which to add an item.
@param item The item to add.
@param increment The capacity to add when the array is resized.
Should be >0, or at least =0 if factor>1.
@param factor The factor by which to increase storage when the array is
resized. Should be >1, or at least =1 if increment>0.
@return 0 on success, -1 if vector_resize() fails.
*/
#define vector_append(v, item, increment, factor) \
({ \
int rv=0; \
\
if ((v)->index >= (v)->array_size) \
rv = vector_resize((v), \
(v)->array_size * factor + increment, sizeof(item)); \
if (0 == rv) \
((typeof(item) *)(v)->array)[(v)->index++] = item; \
rv; \
})
/** Insert space for several items into a vector at the given
position. No items are actually inserted.
If the given position exceeds the current end index of the array,
the new end index, then item is inserted before the specified
position and the end index points to the next position after the
inserted item.
If necessary, the vector is resized to accommodate the request.
@param v The vector to which to insert space.
@param item An instance or type of the items in the vector.
@param pos The position at which to insert space.
@param n The number of items for which to insert space.
@param increment The capacity to add when the array is resized.
Should be >0, or at least =0 if factor>1.
@param factor The factor by which to increase storage when the array is
resized. Should be >1, or at least =1 if increment>0.
@return 0 on success, -1 if vector_resize() fails.
*/
#define vector_insert_space(v, item, pos, n, increment, factor) \
({ \
int _rv=0; \
int new_end = ((pos)>(v)->index)?((pos)+(n)):((v)->index+(n)); \
if (new_end > (v)->array_size) { \
size_t new_size = (v)->array_size * factor + increment; \
if (new_end > new_size) \
new_size = new_end; \
_rv = vector_resize((v), new_size, sizeof(item)); \
} \
if (0 == _rv) { \
if ((v)->index > pos) { \
memmove(((char *)(v)->array) + sizeof(item)*((pos)+(n)), \
((char *)(v)->array) + sizeof(item)*(pos), \
sizeof(item)*((v)->index - pos)); \
(v)->index += (n); \
} \
else \
(v)->index = new_end; \
} \
_rv; \
})
/** Add a new item to the vector at a given position. The item is
inserted before the specified position.
If the given position exceeds the current end index of the array,
the new end index, the item is inserted before the specified
position and the end index points to the next position after the
inserted item.
If necessary, the vector is resized to accommodate the request.
@param v The vector to which to insert an item.
@param item The item to insert.
@param pos The position at which to insert the item.
@param increment The capacity to add when the array is resized.
Should be >0, or at least =0 if factor>1.
@param factor The factor by which to increase storage when the array is
resized. Should be >1, or at least =1 if increment>0.
@return 0 on success, -1 if vector_resize() fails.
*/
#define vector_insert(v, item, pos, increment, factor) \
({ \
const int c_pos = pos; \
int rv = vector_insert_space(v, item, pos, 1, increment, factor); \
if (0 == rv) { \
((typeof(item) *)(v)->array)[c_pos] = item; \
} \
rv; \
}) \
/** Delete several item from a vector.
@param v The vector in which to delete the item.
@param item An instance or type of the item to delete.
@param pos The first position at which to delete.
@param n The number of items to delete.
*/
#define vector_delete_n(v, item, pos, n) \
if ((v)->index > ((pos) + (n))) { \
memmove((v)->array + sizeof(item)*(pos), \
(v)->array + sizeof(item)*((pos)+(n)), \
sizeof(item)*((v)->index - (pos) - (n))); \
(v)->index -= (n); \
} \
else \
(v)->index = pos;
/** Delete an item from a vector.
@param v The vector in which to delete the item.
@param item An instance or type of the item to delete.
@param pos The position at which to delete.
*/
#define vector_delete(v, item, pos) \
vector_delete_n(v, item, pos, 1)
/** Access a member of a vector.
@param v The vector to access
@param index The index to read.
@param element_type The type name or an instance of the
type of which the vector is comprised.
@return v[index]
*/
#define element_at(v, index, element_type) \
(((typeof(element_type) *)(v)->array)[index])
/** Reverse items in a vector.
@param v The vector in which to reverse items.
@param item The type name or an instance of the
type of which the vector is comprised.
@param start The starting index of the sequence to be reversed.
@param end The index following the end of the sequence to be
reversed.
*/
#define vector_reverse(v, item, start, end) { \
int _i; \
int _half = (end-start)/2; \
typeof(item) _temp; \
for (_i=0; _i<_half; _i++) { \
_temp = element_at(v, (start)+_i, item); \
element_at(v, (start)+_i, item) = element_at(v, (end)-_i-1, item); \
element_at(v, (end)-_i-1, item) = _temp; \
} \
}
int vector_resize(vector *v, size_t size, size_t element_size);
int vector_create(vector *v, size_t size, size_t element_size);
void vector_destroy(vector *v);
/** Finds the next unused slot in a vector, by comparing the contents
* of a given \a field with \a thing that indicates a free slot.
*
* @param v The vector to search through.
* @param item The type of data held by the vector.
* @param field A field of a struct which is held in the vector's array.
* @param thing If the contents of the above field match this thing, we
* have found an unused slot.
*
* @return the index of the first unused slot.
**/
#define vector_find_next_free_slot(v, item, field, thing) \
({ \
int i = 0; \
if ((NULL != (v)->array) && (0 < (v)->index)) \
for (i = 0; i < (v)->index; i++) \
if (thing == ((typeof(item) *)(v)->array)[i]field) \
break; \
i; \
})
/**
* Stores a \a token of type \a item into \a v, in the first location in
* \a v whose \a field matches \a thing. If all \a v->index slots in \a
* v are in use, a new element is inserted at the end of the vector and
* \a v->index is incremented, otherwise, \a token is inserted at the
* first available slot, and \a v->index is left unchanged. An
* extension of the "vector" class, which can be used when
* "vector_delete" is not suitable (e.g. if the index into the vector
* is being remembered by external software, then vector_delete will not
* work, because it deletes from the middle of a vector and moves all
* the top entries down to fill the vacated slot(s)).
*
* @param v Vector into which we will insert the token.
* @param token The object to store in the vector.
* @param item The data-type of the token that we're inserting.
* @param size The size of the token that we're inserting.
* @param field A field of a struct which is held in the vector's array.
* (May be empty if not using a struct).
* @param thing If the contents of the above field match this thing, we
* have found an unused slot.
*
* @return The location of the slot in the vector where the data was
* stored.
**/
#define vector_store(v, token, item, size,field, thing) \
({ \
int pos = vector_find_next_free_slot(v, item,field, thing); \
if (pos == (v)->index) \
/* Increment (v)->index */ \
vector_append((v), token, size, 1); \
else \
/* Ignore (v)->index */ \
element_at((v), pos, item) = token; \
pos; \
})
#endif /* __VECTOR_H */

1
stamp-h Normal file
View File

@ -0,0 +1 @@
timestamp

View File

@ -20,6 +20,9 @@ HEAD
* Fixed handling of fonts (fixes some segfaults, closes bug 529044)
* Fixed "String Table Error" occurences in some (not all) empty cells
* Fixed non-functioning -xc: option when -xr: was not also specified
* Fixed one more SST bug - when the string table was broken with a
continuation record in the middle of formatting info, no more
strings would be read and a working buffer overflow would occur
* Added some Alpha portability fixes.
0.5 04/13/02

399
xlhtml/Makefile Normal file
View File

@ -0,0 +1,399 @@
# Generated automatically from Makefile.in by configure.
# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
SHELL = /bin/sh
srcdir = .
top_srcdir = ..
prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include
DESTDIR =
pkgdatadir = $(datadir)/xlhtml/xlhtml
pkglibdir = $(libdir)/xlhtml/xlhtml
pkgincludedir = $(includedir)/xlhtml/xlhtml
top_builddir = ..
ACLOCAL = aclocal
AUTOCONF = autoconf
AUTOMAKE = automake
AUTOHEADER = autoheader
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
transform = s,x,x,
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = x86_64-unknown-linux-gnu
host_triplet =
CC = gcc
COLE_MAJOR = 2
COLE_MICRO = 2
COLE_MINOR = 0
HOST_ALIAS_NAME = x86_64-unknown-linux-gnu
HOST_CANONICAL_NAME =
HOST_CPU =
HOST_OS =
HOST_VENDOR =
MAKEINFO = makeinfo
PACKAGE = xlhtml/xlhtml
RANLIB = ranlib
STRIP = strip
VERSION = 0.5
EXTRA_DIST = README ChangeLog TODO THANKS Test.xls Test.html xlhtml.1
INCLUDES = -I../cole
noinst_PROGRAMS = xldump xlcdump
noinst_SCRIPTS = xls-handler gpdemo
man_MANS = xlhtml.1
bin_SCRIPTS = nsopen nsxlview
bin_PROGRAMS = xlhtml
LDADD = ../cole/libcole.a -lm
xlhtml_SOURCES = support.c xlhtml.c html.c ascii.c xml.c setupExtraction.c
xldump_SOURCES = xldump.c
xlcdump_SOURCES = xlcdump.c
AM_CFLAGS = -Wall -Wshadow -Wcast-align -Wpointer-arith
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES =
PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I..
CPPFLAGS =
LDFLAGS =
LIBS =
xlhtml_OBJECTS = support.o xlhtml.o html.o ascii.o xml.o \
setupExtraction.o
xlhtml_LDADD = $(LDADD)
xlhtml_DEPENDENCIES = ../cole/libcole.a
xlhtml_LDFLAGS =
xldump_OBJECTS = xldump.o
xldump_LDADD = $(LDADD)
xldump_DEPENDENCIES = ../cole/libcole.a
xldump_LDFLAGS =
xlcdump_OBJECTS = xlcdump.o
xlcdump_LDADD = $(LDADD)
xlcdump_DEPENDENCIES = ../cole/libcole.a
xlcdump_LDFLAGS =
SCRIPTS = $(bin_SCRIPTS) $(noinst_SCRIPTS)
CFLAGS = -g -O2
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
man1dir = $(mandir)/man1
MANS = $(man_MANS)
NROFF = nroff
DIST_COMMON = README ChangeLog Makefile.am Makefile.in THANKS TODO
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = tar
GZIP_ENV = --best
SOURCES = $(xlhtml_SOURCES) $(xldump_SOURCES) $(xlcdump_SOURCES)
OBJECTS = $(xlhtml_OBJECTS) $(xldump_OBJECTS) $(xlcdump_OBJECTS)
all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .o .s
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps xlhtml/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
mostlyclean-binPROGRAMS:
clean-binPROGRAMS:
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
distclean-binPROGRAMS:
maintainer-clean-binPROGRAMS:
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(bindir)
@list='$(bin_PROGRAMS)'; for p in $$list; do \
if test -f $$p; then \
echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
else :; fi; \
done
uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL)
list='$(bin_PROGRAMS)'; for p in $$list; do \
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
done
mostlyclean-noinstPROGRAMS:
clean-noinstPROGRAMS:
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
distclean-noinstPROGRAMS:
maintainer-clean-noinstPROGRAMS:
.c.o:
$(COMPILE) -c $<
.s.o:
$(COMPILE) -c $<
.S.o:
$(COMPILE) -c $<
mostlyclean-compile:
-rm -f *.o core *.core
clean-compile:
distclean-compile:
-rm -f *.tab.c
maintainer-clean-compile:
xlhtml: $(xlhtml_OBJECTS) $(xlhtml_DEPENDENCIES)
@rm -f xlhtml
$(LINK) $(xlhtml_LDFLAGS) $(xlhtml_OBJECTS) $(xlhtml_LDADD) $(LIBS)
xldump: $(xldump_OBJECTS) $(xldump_DEPENDENCIES)
@rm -f xldump
$(LINK) $(xldump_LDFLAGS) $(xldump_OBJECTS) $(xldump_LDADD) $(LIBS)
xlcdump: $(xlcdump_OBJECTS) $(xlcdump_DEPENDENCIES)
@rm -f xlcdump
$(LINK) $(xlcdump_LDFLAGS) $(xlcdump_OBJECTS) $(xlcdump_LDADD) $(LIBS)
install-binSCRIPTS: $(bin_SCRIPTS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(bindir)
@list='$(bin_SCRIPTS)'; for p in $$list; do \
if test -f $$p; then \
echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
$(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
else if test -f $(srcdir)/$$p; then \
echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
$(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
else :; fi; fi; \
done
uninstall-binSCRIPTS:
@$(NORMAL_UNINSTALL)
list='$(bin_SCRIPTS)'; for p in $$list; do \
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
done
install-man1:
$(mkinstalldirs) $(DESTDIR)$(man1dir)
@list='$(man1_MANS)'; \
l2='$(man_MANS)'; for i in $$l2; do \
case "$$i" in \
*.1*) list="$$list $$i" ;; \
esac; \
done; \
for i in $$list; do \
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
done
uninstall-man1:
@list='$(man1_MANS)'; \
l2='$(man_MANS)'; for i in $$l2; do \
case "$$i" in \
*.1*) list="$$list $$i" ;; \
esac; \
done; \
for i in $$list; do \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
rm -f $(DESTDIR)$(man1dir)/$$inst; \
done
install-man: $(MANS)
@$(NORMAL_INSTALL)
$(MAKE) $(AM_MAKEFLAGS) install-man1
uninstall-man:
@$(NORMAL_UNINSTALL)
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP)
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
here=`pwd` && cd $(srcdir) \
&& mkid -f$$here/ID $$unique $(LISP)
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
mostlyclean-tags:
clean-tags:
distclean-tags:
-rm -f TAGS ID
maintainer-clean-tags:
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
subdir = xlhtml
distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file || :; \
fi; \
done
info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am: install-binPROGRAMS install-binSCRIPTS
install-exec: install-exec-am
install-data-am: install-man
install-data: install-data-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-man
uninstall: uninstall-am
all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS)
all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(bindir) \
$(DESTDIR)$(mandir)/man1
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic:
mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-noinstPROGRAMS \
mostlyclean-compile mostlyclean-tags \
mostlyclean-generic
mostlyclean: mostlyclean-am
clean-am: clean-binPROGRAMS clean-noinstPROGRAMS clean-compile \
clean-tags clean-generic mostlyclean-am
clean: clean-am
distclean-am: distclean-binPROGRAMS distclean-noinstPROGRAMS \
distclean-compile distclean-tags distclean-generic \
clean-am
distclean: distclean-am
maintainer-clean-am: maintainer-clean-binPROGRAMS \
maintainer-clean-noinstPROGRAMS \
maintainer-clean-compile maintainer-clean-tags \
maintainer-clean-generic distclean-am
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
maintainer-clean: maintainer-clean-am
.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile uninstall-binSCRIPTS install-binSCRIPTS \
install-man1 uninstall-man1 install-man uninstall-man tags \
mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
distdir info-am info dvi-am dvi check check-am installcheck-am \
installcheck install-exec-am install-exec install-data-am install-data \
install-am install uninstall-am uninstall all-redirect all-am all \
installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
doc: doxygen.conf xlhtml.c ascii.c xml.c html.c support.c xlhtml.h tuneable.h
@echo Generating documentation...
doxygen doxygen.conf
@echo done.
distclean:
rm -rf doc
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@ -2,14 +2,14 @@
EXTRA_DIST = README ChangeLog TODO THANKS Test.xls Test.html xlhtml.1
INCLUDES = -I../cole
AM_CPPFLAGS = -I../cole
noinst_PROGRAMS = xldump xlcdump
noinst_SCRIPTS = xls-handler gpdemo
man_MANS = xlhtml.1
bin_SCRIPTS = nsopen nsxlview
bin_PROGRAMS = xlhtml
LDADD = ../cole/libcole.a -lm
xlhtml_SOURCES = support.c xlhtml.c html.c ascii.c xml.c
xlhtml_SOURCES = support.c xlhtml.c html.c ascii.c xml.c setupExtraction.c
xldump_SOURCES = xldump.c
xlcdump_SOURCES = xlcdump.c
AM_CFLAGS = -Wall -Wshadow -Wcast-align -Wpointer-arith

30
xlhtml/Makefile.bc Normal file
View File

@ -0,0 +1,30 @@
# -w-8012 Disable warning "Comparing signed and unsigned values"
# -w-8008 Disable warning "Condition is always true"
# -w-8066 Disable warning "Unreachable code"
# -q Disable copyright message
#CFLAGS_DEBUG = -y -v
CFLAGS = -w-8012 -w-8008 -w-8066 -q -DWIN32=1 -I.. -I..\cole $(CFLAGS_DEBUG)
LDFLAGS = -q $(CFLAGS_DEBUG)
COMMON_OBJECTS = support.obj
XLHTML_OBJECTS = $(COMMON_OBJECTS) ascii.obj html.obj xml.obj
LIBCOLE = ..\cole\cole.lib
all: xlhtml.exe xldump.exe xlcdump.exe
clean:
-del *.obj
-del *.exe
-del *.tds
xlhtml.exe: xlhtml.obj $(XLHTML_OBJECTS)
$(CC) $(LDFLAGS) xlhtml.obj $(XLHTML_OBJECTS) $(LIBCOLE)
xldump.exe: xldump.obj $(COMMON_OBJECTS)
$(CC) $(LDFLAGS) xldump.obj $(COMMON_OBJECTS) $(LIBCOLE)
xlcdump.exe: xlcdump.obj $(COMMON_OBJECTS)
$(CC) $(LDFLAGS) xlcdump.obj $(COMMON_OBJECTS) $(LIBCOLE)
# eof

File diff suppressed because it is too large Load Diff

25
xlhtml/Makefile.vc Normal file
View File

@ -0,0 +1,25 @@
CFLAGS = /nologo /DWIN32=1 /I.. /I..\cole
LDFLAGS = /nologo
COMMON_OBJECTS = support.obj
XLHTML_OBJECTS = $(COMMON_OBJECTS) ascii.obj html.obj xml.obj
LIBCOLE = ..\cole\cole.lib
all: xlhtml.exe xldump.exe xlcdump.exe
clean:
-del *.obj
-del *.exe
xlhtml.exe: xlhtml.obj $(XLHTML_OBJECTS)
$(CC) $(LDFLAGS) xlhtml.obj $(XLHTML_OBJECTS) $(LIBCOLE)
xldump.exe: xldump.obj $(COMMON_OBJECTS)
$(CC) $(LDFLAGS) xldump.obj $(COMMON_OBJECTS) $(LIBCOLE)
xlcdump.exe: xlcdump.obj $(COMMON_OBJECTS)
$(CC) $(LDFLAGS) xlcdump.obj $(COMMON_OBJECTS) $(LIBCOLE)
# eof

View File

@ -26,78 +26,85 @@
void OutputPartialTableAscii(void)
void
OutputPartialTableAscii (void)
{
int i, j, k;
SetupExtraction();
SetupExtraction ();
/* Here's where we dump the Html Page out */
for (i=first_sheet; i<=last_sheet; i++) /* For each worksheet */
for (i = first_sheet; i <= last_sheet; i++) /* For each worksheet */
{
if (ws_array[i] == 0)
continue;
if ((ws_array[i]->biggest_row == -1)||(ws_array[i]->biggest_col == -1))
if ((ws_array[i]->biggest_row == -1)
|| (ws_array[i]->biggest_col == -1))
continue;
if (ws_array[i]->c_array == 0)
continue;
/* Now dump the table */
for (j=ws_array[i]->first_row; j<=ws_array[i]->biggest_row; j++)
for (j = ws_array[i]->first_row; j <= ws_array[i]->biggest_row; j++)
{
for (k=ws_array[i]->first_col; k<=ws_array[i]->biggest_col; k++)
for (k = ws_array[i]->first_col; k <= ws_array[i]->biggest_col; k++)
{
int safe, numeric=0;
cell *c = ws_array[i]->c_array[(j*ws_array[i]->max_cols)+k]; /* This stuff happens for each cell... */
int safe, numeric = 0;
cell *c = ws_array[i]->c_array[(j * ws_array[i]->max_cols) + k]; /* This stuff happens for each cell... */
if (c)
{
numeric = IsCellNumeric(c);
numeric = IsCellNumeric (c);
if (!numeric && Csv)
printf("\"");
safe = IsCellSafe(c);
printf ("\"");
safe = IsCellSafe (c);
if (c->ustr.str)
{
if (safe)
output_formatted_data(&(c->ustr), xf_array[c->xfmt]->fmt_idx, numeric, IsCellFormula(c));
output_formatted_data (&(c->ustr),
xf_array[c->xfmt]->fmt_idx,
numeric, IsCellFormula (c));
else
OutputString(&(c->ustr));
OutputString (&(c->ustr));
}
else if (!Csv)
printf(" "); /* Empty cell... */
printf (" "); /* Empty cell... */
}
else
{ /* Empty cell... */
if (!Csv)
printf(" ");
printf (" ");
else
printf("\"");
printf ("\"");
}
if (ws_array[i]->c_array[(j*ws_array[i]->max_cols)+k]) /* Honor Column spanning ? */
if (ws_array[i]->c_array[(j * ws_array[i]->max_cols) + k]) /* Honor Column spanning ? */
{
if (ws_array[i]->c_array[(j*ws_array[i]->max_cols)+k]->colspan != 0)
k += ws_array[i]->c_array[(j*ws_array[i]->max_cols)+k]->colspan-1;
if (ws_array[i]->c_array[(j * ws_array[i]->max_cols) + k]->
colspan != 0)
k +=
ws_array[i]->c_array[(j * ws_array[i]->max_cols) +
k]->colspan - 1;
}
if (!numeric && Csv)
printf("\"");
printf ("\"");
if (Csv && (k < ws_array[i]->biggest_col))
{ /* big cheat here: quoting everything! */
putchar(','); /* Csv Cell Separator */
putchar (','); /* Csv Cell Separator */
}
else
{
if (( !Csv )&&( k != ws_array[i]->biggest_col ))
putchar('\t'); /* Ascii Cell Separator */
if ((!Csv) && (k != ws_array[i]->biggest_col))
putchar ('\t'); /* Ascii Cell Separator */
}
}
if (Csv)
printf("\r\n");
printf ("\r\n");
else
putchar(0x0A); /* Row Separator */
putchar (0x0A); /* Row Separator */
}
if (!Csv)
printf("\n\n"); /* End of Table 2 LF-CR */
printf ("\n\n"); /* End of Table 2 LF-CR */
}
}

68
xlhtml/color.h Normal file
View File

@ -0,0 +1,68 @@
char colorTab[MAX_COLORS][8] = {
"000000", /* FIXME: Need to find these first 8 colors! */
"FFFFFF",
"FFFFFF",
"FFFFFF",
"FFFFFF",
"FFFFFF",
"FFFFFF",
"FFFFFF",
"FFFFFF", /*0x08 - This one's Black, too ??? */
"FFFFFF", /* This one's normal */
"red", /* "FF0000", */
"lime", /* "00FF00", */
"blue", /* "0000FF", */
"FFFF00",
"FF00FF",
"aqua", /* "00FFFF", */
"800000", /* 0x10 */
"green", /* "008000", */
"navy", /* "000080", */
"808000",
"800080",
"teal", /* "008080", */
"C0C0C0",
"gray", /* "808080", */
"9999FF", /* 0x18 */
"993366",
"FFFFCC",
"CCFFFF",
"660066",
"FF8080",
"0066CC",
"CCCCFF",
"000080",
"FF00FF", /* 0x20 */
"FFFF00",
"00FFFF",
"800080",
"800000",
"008080",
"0000FF",
"00CCFF", /* 0x28 */
"CCFFFF",
"CCFFCC",
"FFFF99",
"99CCFF",
"FF99CC",
"CC99FF",
"FFCC99",
"3366FF", /* 0x30 */
"33CCCC",
"99CC00",
"FFCC00",
"FF9900",
"FF6600",
"666699",
"969696",
"003366", /* 0x38 */
"339966",
"003300",
"333300",
"993300",
"993366",
"333399",
"333333",
"FFFFFF" /* 0x40 */
};

View File

@ -28,349 +28,395 @@
/* prototypes for functions in this file */
void output_header(void);
void output_footer(void);
void output_header (void);
void output_footer (void);
void OutputTableHTML(void)
void
OutputTableHTML (void)
{
int i, j, k;
output_header();
output_header ();
if (center_tables)
{
printf("<CENTER>");
do_cr();
printf ("<CENTER>");
do_cr ();
}
SetupExtraction();
SetupExtraction ();
/* Here's where we dump the Html Page out */
for (i=first_sheet; i<=last_sheet; i++) /* For each worksheet */
for (i = first_sheet; i <= last_sheet; i++) /* For each worksheet */
{
update_default_font(i);
update_default_font (i);
if (ws_array[i] == 0)
continue;
if ((ws_array[i]->biggest_row == -1)||(ws_array[i]->biggest_col == -1))
if ((ws_array[i]->biggest_row == -1)
|| (ws_array[i]->biggest_col == -1))
continue;
if (ws_array[i]->c_array == 0)
continue;
trim_sheet_edges(i);
trim_sheet_edges (i);
/* Print its name */
if (next_ws_title > 0)
{
if (ws_array[i]->ws_title.str)
{
printf("<CENTER><H1>");
OutputString(&ws_array[i]->ws_title);
printf("</H1></CENTER><br>");
do_cr();
printf ("<CENTER><H1>");
OutputString (&ws_array[i]->ws_title);
printf ("</H1></CENTER><br>");
do_cr ();
}
else
{
printf("<H1><CENTER>(Unknown Page)</CENTER></H1><br>");
do_cr();
printf ("<H1><CENTER>(Unknown Page)</CENTER></H1><br>");
do_cr ();
}
}
/* Now dump the table */
printf("<FONT FACE=\"");
OutputString(&default_font);
printf ("<FONT FACE=\"");
OutputString (&default_font);
if (default_fontsize != 3)
printf("\" SIZE=\"%d", default_fontsize);
printf("\">");
do_cr();
printf("<TABLE BORDER=\"1\" CELLSPACING=\"2\">");
do_cr();
for (j=ws_array[i]->first_row; j<=ws_array[i]->biggest_row; j++)
printf ("\" SIZE=\"%d", default_fontsize);
printf ("\">");
do_cr ();
printf ("<TABLE BORDER=\"1\" CELLSPACING=\"2\">");
do_cr ();
if (TableHeaders)
{
update_default_alignment(i, j);
printf("<TR");
if (null_string((U8 *)default_alignment))
printf(">");
else
printf ("<TR><TH></TH>");
for (k = ws_array[i]->first_col; k <= ws_array[i]->biggest_col; k++)
{
if (strcmp(default_alignment, "left") != 0)
printf(" ALIGN=\"%s\"", default_alignment);
if (!aggressive)
printf(" VALIGN=\"bottom\">\n");
else
printf(">");
char col_hdr[3];
if (k < 26)
{
col_hdr[0] = 'A' + (k % 26);
col_hdr[1] = '\0';
}
for (k=ws_array[i]->first_col; k<=ws_array[i]->biggest_col; k++)
else
{
output_cell(ws_array[i]->c_array[(j*ws_array[i]->max_cols)+k],0); /* This stuff happens for each cell... */
if (ws_array[i]->c_array[(j*ws_array[i]->max_cols)+k])
col_hdr[0] = 'A' - 1 + (k / 26);
col_hdr[1] = 'A' + (k % 26);
col_hdr[2] = '\0';
}
printf ("<TH>%s%s", col_hdr, (aggressive ? "" : "</TH>"));
}
printf ("</TR>\n");
}
for (j = ws_array[i]->first_row; j <= ws_array[i]->biggest_row; j++)
{
if (ws_array[i]->c_array[(j*ws_array[i]->max_cols)+k]->colspan != 0)
k += ws_array[i]->c_array[(j*ws_array[i]->max_cols)+k]->colspan-1;
update_default_alignment (i, j);
printf ("<TR");
if (null_string ((U8 *) default_alignment))
printf (">");
else
{
if (strcmp (default_alignment, "left") != 0)
printf (" ALIGN=\"%s\"", default_alignment);
if (!aggressive)
printf (" VALIGN=\"bottom\">\n");
else
printf (">");
}
if (TableHeaders)
printf ("<TH>%d%s", j + 1, (aggressive ? "" : "</TH>"));
for (k = ws_array[i]->first_col; k <= ws_array[i]->biggest_col; k++)
{
output_cell (ws_array[i]->c_array[(j * ws_array[i]->max_cols) + k], 0); /* This stuff happens for each cell... */
if (ws_array[i]->c_array[(j * ws_array[i]->max_cols) + k])
{
if (ws_array[i]->c_array[(j * ws_array[i]->max_cols) + k]->
colspan != 0)
k +=
ws_array[i]->c_array[(j * ws_array[i]->max_cols) +
k]->colspan - 1;
}
}
if (!aggressive)
printf("</TR>\n");
printf ("</TR>\n");
}
printf("</TABLE></FONT><HR>");
do_cr();
printf ("</TABLE></FONT><HR>");
do_cr ();
}
if (center_tables)
{
printf("</CENTER>");
do_cr();
printf ("</CENTER>");
do_cr ();
}
/* Print the author's name in itallics... */
if (author.str)
{
printf("<FONT SIZE=\"-1\"><I>Spreadsheet's Author:&nbsp;");
OutputString(&author);
printf("</I></FONT><br>");
do_cr();
printf ("<FONT SIZE=\"-1\"><I>Spreadsheet's Author:&nbsp;");
OutputString (&author);
printf ("</I></FONT><br>");
do_cr ();
}
/* Print when & how the file was last updated. */
printf("<FONT SIZE=\"-1\"><I>Last Updated ");
printf ("<FONT SIZE=\"-1\"><I>Last Updated ");
if (lastUpdated)
printf("%s&nbsp; ", lastUpdated);
printf ("%s&nbsp; ", lastUpdated);
switch (file_version)
{
case EXCEL95:
printf("with Excel 5.0 or 95");
printf ("with Excel 5.0 or 95");
break;
case EXCEL97:
printf("with Excel 97");
printf ("with Excel 97");
break;
default:
printf("with Excel ????");
printf ("with Excel ????");
break;
}
printf("</I></FONT><br>");
do_cr();
printf ("</I></FONT><br>");
do_cr ();
/* Next print Disclaimers... */
if (NoFormat)
{
printf("<br>* This cell's format is not supported.<br>");
do_cr();
printf ("<br>* This cell's format is not supported.<br>");
do_cr ();
}
if ((notAccurate)&&(formula_warnings))
if ((notAccurate) && (formula_warnings))
{
printf("<br>** This cell's data may not be accurate.<br>");
do_cr();
printf ("<br>** This cell's data may not be accurate.<br>");
do_cr ();
}
if (NotImplemented)
{
printf("<br>*** This cell's data type will be supported in the future.<br>");
do_cr();
printf
("<br>*** This cell's data type will be supported in the future.<br>");
do_cr ();
}
if (Unsupported)
{
printf("<br>**** This cell's type is unsupported.<br>");
do_cr();
printf ("<br>**** This cell's type is unsupported.<br>");
do_cr ();
}
/* Now out exceeded capacity warnings... */
if (MaxWorksheetsExceeded || MaxRowExceeded || MaxColExceeded || MaxStringsExceeded ||
MaxFontsExceeded || MaxPalExceeded || MaxXFExceeded || MaxFormatsExceeded )
printf("<FONT COLOR=\"%s\">", colorTab[0x0A]);
if (MaxWorksheetsExceeded || MaxRowExceeded || MaxColExceeded
|| MaxStringsExceeded || MaxFontsExceeded || MaxPalExceeded
|| MaxXFExceeded || MaxFormatsExceeded)
printf ("<FONT COLOR=\"%s\">", colorTab[0x0A]);
if (MaxWorksheetsExceeded)
{
printf("The Maximum Number of Worksheets was exceeded, you might want to increase it.<br>");
do_cr();
printf
("The Maximum Number of Worksheets was exceeded, you might want to increase it.<br>");
do_cr ();
}
if (MaxRowExceeded)
{
printf("The Maximum Number of Rows was exceeded, you might want to increase it.<br>");
do_cr();
printf
("The Maximum Number of Rows was exceeded, you might want to increase it.<br>");
do_cr ();
}
if (MaxColExceeded)
{
printf("The Maximum Number of Columns was exceeded, you might want to increase it.<br>");
do_cr();
printf
("The Maximum Number of Columns was exceeded, you might want to increase it.<br>");
do_cr ();
}
if (MaxStringsExceeded)
{
printf("The Maximum Number of Strings was exceeded, you might want to increase it.<br>");
do_cr();
printf
("The Maximum Number of Strings was exceeded, you might want to increase it.<br>");
do_cr ();
}
if (MaxFontsExceeded)
{
printf("The Maximum Number of Fonts was exceeded, you might want to increase it.<br>");
do_cr();
printf
("The Maximum Number of Fonts was exceeded, you might want to increase it.<br>");
do_cr ();
}
if (MaxPalExceeded)
{
printf("The Maximum Number of Color Palettes was exceeded, you might want to increase it.<br>");
do_cr();
printf
("The Maximum Number of Color Palettes was exceeded, you might want to increase it.<br>");
do_cr ();
}
if (MaxXFExceeded)
{
printf("The Maximum Number of Extended Formats was exceeded, you might want to increase it.<br>");
do_cr();
printf
("The Maximum Number of Extended Formats was exceeded, you might want to increase it.<br>");
do_cr ();
}
if (MaxFormatsExceeded)
{
printf("The Maximum Number of Formats was exceeded, you might want to increase it.<br>");
do_cr();
printf
("The Maximum Number of Formats was exceeded, you might want to increase it.<br>");
do_cr ();
}
if (MaxWorksheetsExceeded || MaxRowExceeded || MaxColExceeded || MaxStringsExceeded ||
MaxFontsExceeded || MaxPalExceeded || MaxXFExceeded || MaxFormatsExceeded )
printf("</FONT>");
if (MaxWorksheetsExceeded || MaxRowExceeded || MaxColExceeded
|| MaxStringsExceeded || MaxFontsExceeded || MaxPalExceeded
|| MaxXFExceeded || MaxFormatsExceeded)
printf ("</FONT>");
printf("&nbsp;<br>");
do_cr();
printf ("&nbsp;<br>");
do_cr ();
/* Output Credit */
printf("<hr><FONT SIZE=\"-1\">Created with <a href=\"http://chicago.sf.net/xlhtml\">xlhtml %s</a></FONT><br>", VERSION);
do_cr();
printf
("<hr><FONT SIZE=\"-1\">Created with <a href=\"http://chicago.sf.net/xlhtml\">xlhtml %s</a></FONT><br>",
VERSION);
do_cr ();
/* Output Tail */
output_footer();
output_footer ();
}
void output_header(void)
void
output_header (void)
{ /* Ouput Header */
if (NoHeaders)
return;
if (!aggressive)
{
printf("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML Transitional//EN\"");
do_cr();
printf("\"http://www.w3.org/TR/REC-html40/loose.dtd\">");
do_cr();
printf ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML Transitional//EN\"");
do_cr ();
printf ("\"http://www.w3.org/TR/REC-html40/loose.dtd\">");
do_cr ();
}
printf("<HTML>\n");
printf("<HEAD>\n");
do_cr();
printf("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=");
if ((UnicodeStrings <= 1)&&CodePage&&(CodePage != 1252))
printf("windows-%d\">", CodePage);
printf ("<HTML>\n");
printf ("<HEAD>\n");
do_cr ();
printf ("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=");
if ((UnicodeStrings <= 1) && CodePage && (CodePage != 1252))
printf ("windows-%d\">", CodePage);
else
{
switch (UnicodeStrings)
{
case 0:
printf("iso-8859-1\">"); /* Latin-1 */
printf ("iso-8859-1\">"); /* Latin-1 */
break;
case 1:
printf("windows-1252\">"); /* Microsoft */
printf ("windows-1252\">"); /* Microsoft */
break;
default:
printf("utf-8\">"); /* Unicode */
printf ("utf-8\">"); /* Unicode */
break;
}
}
do_cr();
do_cr ();
if (!aggressive)
{
printf("<meta name=\"GENERATOR\" content=\"xlhtml\">");
do_cr();
printf ("<meta name=\"GENERATOR\" content=\"xlhtml\">");
do_cr ();
}
printf("<TITLE>");
printf ("<TITLE>");
if (title)
printf("%s", title);
printf ("%s", title);
else
printf("%s", filename);
printf("</TITLE>");
do_cr();
printf("</HEAD>");
do_cr();
do_cr();
printf("<BODY TEXT=\"#%s\" BGCOLOR=\"#%s\"",
printf ("%s", filename);
printf ("</TITLE>");
do_cr ();
printf ("</HEAD>");
do_cr ();
do_cr ();
printf ("<BODY TEXT=\"#%s\" BGCOLOR=\"#%s\"",
default_text_color, default_background_color);
if (default_image)
printf("BACKGROUND=\"%s\"", default_image);
printf("><br>");
do_cr();
printf ("BACKGROUND=\"%s\"", default_image);
printf ("><br>");
do_cr ();
}
void output_footer(void)
void
output_footer (void)
{
if (NoHeaders)
return;
printf("</BODY></HTML>");
do_cr();
fflush(stdout);
printf ("</BODY></HTML>");
do_cr ();
fflush (stdout);
}
void output_start_html_attr(html_attr *h, unsigned int fnt_idx, int do_underlines)
void
output_start_html_attr (html_attr * h, unsigned int fnt_idx,
int do_underlines)
{
if (fnt_idx < next_font)
{
if (((font_array[fnt_idx]->underline&0x0023) > 0)&&(do_underlines))
if (((font_array[fnt_idx]->underline & 0x0023) > 0) && (do_underlines))
{
printf("<U>");
printf ("<U>");
h->uflag = 1;
}
if (font_array[fnt_idx]->bold >= 0x02BC)
{
h->bflag = 1;
printf("<B>");
printf ("<B>");
}
if (font_array[fnt_idx]->attr & 0x0002)
{
h->iflag = 1;
printf("<I>");
printf ("<I>");
}
if (font_array[fnt_idx]->attr & 0x0008)
{
h->sflag = 1;
printf("<S>");
printf ("<S>");
}
if ((font_array[fnt_idx]->super & 0x0003) == 0x0001)
{
h->spflag = 1;
printf("<SUP>");
printf ("<SUP>");
}
else if ((font_array[fnt_idx]->super & 0x0003) == 0x0002)
{
h->sbflag = 1;
printf("<SUB>");
printf ("<SUB>");
}
}
}
void output_end_html_attr(html_attr *h)
void
output_end_html_attr (html_attr * h)
{
if (h->sbflag)
{
printf("</SUB>");
printf ("</SUB>");
h->sbflag = 0;
}
else if (h->spflag)
{
printf("</SUP>");
printf ("</SUP>");
h->spflag = 0;
}
if (h->sflag)
{
printf("</S>");
printf ("</S>");
h->sflag = 0;
}
if (h->iflag)
{
printf("</I>");
printf ("</I>");
h->iflag = 0;
}
if (h->bflag)
{
printf("</B>");
printf ("</B>");
h->bflag = 0;
}
if (h->uflag)
{
if (h->uflag == 1)
printf("</U>");
printf ("</U>");
else
printf("</A>");
printf ("</A>");
h->uflag = 0;
}
if (h->fflag)
{
printf("</FONT>");
printf ("</FONT>");
h->fflag = 0;
}
}

94
xlhtml/setupExtraction.c Normal file
View File

@ -0,0 +1,94 @@
#include <stdio.h>
#include "xlhtml.h"
#include "support.h"
extern int Xtract;
extern int xp;
extern int sheet_count;
extern int xr1 ;
extern int xr2 ;
extern int xc1 ;
extern int xc2 ;
extern int Ascii;
void
SetupExtraction (void)
{
if (Xtract)
{ /* Revise the page settings... */
/* printf("-%d %d %d %d %d<br>\n", xp, xr1, xr2, xc1, xc2); */
if ((xp >= first_sheet) && (xp <= last_sheet) && (xp <= sheet_count))
{
first_sheet = xp;
last_sheet = xp;
if (xr1 < 0)
{
xr1 = (S16) ws_array[xp]->first_row;
xr2 = (S16) ws_array[xp]->biggest_row;
}
else if ((xr1 >= ws_array[xp]->first_row)
&& (xr1 <= ws_array[xp]->biggest_row)
&& (xr2 >= ws_array[xp]->first_row)
&& (xr2 <= ws_array[xp]->biggest_row))
{
ws_array[xp]->first_row = xr1;
ws_array[xp]->biggest_row = xr2;
}
else
{
if (Ascii)
fprintf (stderr, "Error - Row not in range during extraction"
" (%d or %d not in [%ld..%ld])\n", xr1, xr2,
(long) ws_array[xp]->first_row,
(long) ws_array[xp]->biggest_row);
else
{
printf ("Error - Row not in range during extraction.");
output_footer ();
}
return;
}
if (xc1 < 0)
{
xc1 = ws_array[xp]->first_col;
xc2 = ws_array[xp]->biggest_col;
}
else if ((xc1 >= ws_array[xp]->first_col)
&& (xc1 <= ws_array[xp]->biggest_col)
&& (xc2 >= ws_array[xp]->first_col)
&& (xc2 <= ws_array[xp]->biggest_col))
{
ws_array[xp]->first_col = xc1;
ws_array[xp]->biggest_col = xc2;
}
else
{
if (Ascii)
fprintf (stderr, "Error - Col not in range during extraction"
" (%d or %d not in [%d..%d])\n", xc1, xc2,
ws_array[xp]->first_col, ws_array[xp]->biggest_col);
else
{
printf ("Error - Col not in range during extraction.\n");
output_footer ();
}
return;
}
}
else
{
if (Ascii)
fprintf (stderr, "Error - Page not in range during extraction.");
else
{
printf ("Error - Page not in range during extraction.");
output_footer ();
}
return;
}
}
}

View File

@ -30,21 +30,24 @@
int DatesR1904 = 0; /*!< Flag that the dates are based on McIntosh Dates system */
void print_version(void)
void
print_version (void)
{
printf("xlhtml %s \nCopyright (c) 1999-2002, Charles Wyble\n"
"Released under GPL.\n", VERSION );
exit(0);
printf ("xlhtml %s \nCopyright (c) 1999-2002, Charles Wyble\n"
"Released under GPL.\n", VERSION);
exit (0);
}
void display_usage(void)
void
display_usage (void)
{
fprintf(stderr, "\nxlhtml converts excel files (.xls) to Html.\n"
fprintf (stderr, "\nxlhtml converts excel files (.xls) to Html.\n"
"Copyright (c) 1999-2001, Charles Wyble. Released under GPL.\n"
"Usage: xlhtml [-xp:# -xc:#-# -xr:#-# -bc###### -bi???????? -tc######] <FILE>\n"
"Usage: xlhtml [-xp:# -xc:#-# -xr:#-# -bc###### -bi???????? -tc###### -sc:?] <FILE>\n"
"\t-a: aggressive html optimization\n"
"\t-asc ascii output for -dp & -x? options\n"
"\t-csv comma separated value output for -dp & -x? options\n"
"\t-sc: separator character to use for -csv option (default is ',')\n"
"\t-xml XML output\n"
"\t-bc: Set default background color - default white\n"
"\t-bi: Set background image path\n"
@ -60,66 +63,89 @@ fprintf(stderr, "\nxlhtml converts excel files (.xls) to Html.\n"
"\t-xc: Columns (separated by a dash) for extraction (zero based)\n"
"\t-xp: Page extracted (zero based)\n"
"\t-xr: Rows (separated by a dash) to be extracted (zero based)\n");
fprintf(stderr, "\nReport bugs to jackshck@thewybles.com\n");
fprintf (stderr, "\nReport bugs to jackshck@thewybles.com\n");
exit (1);
}
void do_cr(void)
void
do_cr (void)
{
extern int aggressive;
if (!aggressive)
putchar('\n');
putchar ('\n');
}
U16 getShort(U8 *ptr)
U16
getShort (U8 * ptr)
{
if (ptr == 0)
return (U16)0;
return (U16) 0;
return (U16)((*(ptr+1)<<8)+*ptr);
return (U16) ((*(ptr + 1) << 8) + *ptr);
}
/*! This is used in the RK number, so signedness counts */
S32 getLong(U8 *ptr)
S32
getLong (U8 * ptr)
{
if (ptr == 0)
return (S32)0;
return (S32) 0;
return (S32)(*(ptr+3)<<24)+(*(ptr+2)<<16)+(*(ptr+1)<<8)+*ptr;
return (S32) (*(ptr + 3) << 24) + (*(ptr + 2) << 16) + (*(ptr + 1) << 8) +
*ptr;
}
#ifndef WORDS_BIGENDIAN /* Defined in <config.h> */
/*! Little Endian - 0x86 family */
void getDouble(U8 *ptr, F64 *d)
#ifdef __arm__
/* cross-endian doubles in little endian ARM */
void
getDouble (U8 * ptr, F64 * d)
{
size_t i;
F64 dd;
U8 *t = (U8 *)&dd;
U8 *t = (U8 *) & dd;
for (i=0; i<sizeof(F64); i++)
*(t+i) = *(ptr+i);
for (i = 0; i < sizeof (F64); i++)
*(t + i) = *(ptr + (i ^ 4));
*d = (F64)dd;
*d = (F64) dd;
}
#else
/*! Big Endian version - UltraSparc's, etc. */
void getDouble (U8 *ptr, F64 *d)
/*! Little Endian - 0x86 family */
void
getDouble (U8 * ptr, F64 * d)
{
size_t i;
F64 dd;
U8 *t = (U8 *)&dd;
U8 *t = (U8 *) & dd;
for (i=0; i<sizeof(F64); i++)
*(t+i) = *(ptr+sizeof(F64) - 1 - i);
for (i = 0; i < sizeof (F64); i++)
*(t + i) = *(ptr + i);
*d = (F64)dd;
*d = (F64) dd;
}
#endif
#else
/*! Big Endian version - UltraSparc's, etc. */
void
getDouble (U8 * ptr, F64 * d)
{
size_t i;
F64 dd;
U8 *t = (U8 *) & dd;
for (i = 0; i < sizeof (F64); i++)
*(t + i) = *(ptr + sizeof (F64) - 1 - i);
*d = (F64) dd;
}
#endif
int null_string(U8 *str)
int
null_string (U8 * str)
{ /* FIXME: This function may not be unicode safe */
U8 *ptr;
if ((str == NULL)||(*str == 0))
if ((str == NULL) || (*str == 0))
return 1;
ptr = str;
@ -131,27 +157,28 @@ int null_string(U8 *str)
return 1;
}
void FracToTime(U8 *cnum, int *hr, int *minut, int *sec, int *msec)
void
FracToTime (U8 * cnum, int *hr, int *minut, int *sec, int *msec)
{
int Hr, Min, Sec, Msec;
F64 fnum, tHr, tMin, tSec, tMsec;
if (msec)
fnum = atof((char *)&cnum[0])+(0.05 / 86400.0); /* Round off to 1/10th seconds */
fnum = atof ((char *) &cnum[0]) + (0.05 / 86400.0); /* Round off to 1/10th seconds */
else if (sec)
fnum = atof((char *)&cnum[0])+(0.5 / 86400.0); /* Round off to seconds */
fnum = atof ((char *) &cnum[0]) + (0.5 / 86400.0); /* Round off to seconds */
else
fnum = atof((char *)&cnum[0])+(30 / 86400.0); /* Round off to minutes */
fnum = atof ((char *) &cnum[0]) + (30 / 86400.0); /* Round off to minutes */
tHr = 24.0 * fnum;
Hr = (int)tHr;
tMin = (tHr - (F64)Hr) * 60.0;
Min = (int)tMin;
tSec = (tMin - (F64)Min) * 60.0;
Sec = (int)tSec;
tMsec = (tSec - (F64)Sec) * 10.0;
Msec = (int)tMsec;
Hr = (int) tHr;
tMin = (tHr - (F64) Hr) * 60.0;
Min = (int) tMin;
tSec = (tMin - (F64) Min) * 60.0;
Sec = (int) tSec;
tMsec = (tSec - (F64) Sec) * 10.0;
Msec = (int) tMsec;
Hr = Hr%24; /* Fix roll-overs */
Hr = Hr % 24; /* Fix roll-overs */
if (hr)
*hr = Hr;
if (minut)
@ -163,24 +190,25 @@ void FracToTime(U8 *cnum, int *hr, int *minut, int *sec, int *msec)
}
void NumToDate(long num, int *year, int *month, int *day)
void
NumToDate (long num, int *year, int *month, int *day)
{
const int ldays[]={31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
const int ndays[]={31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
const int ldays[] = { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
const int ndays[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
int t, i, y = 0;
num = num%36525L; /* Trim century */
while (num > (((y%4) == 0) ? 366 : 365))
num -= ((y++%4) == 0) ? 366 : 365;
num = num % 36525L; /* Trim century */
while (num > (((y % 4) == 0) ? 366 : 365))
num -= ((y++ % 4) == 0) ? 366 : 365;
*year = y;
t = num;
if (DatesR1904)
*year += 4; /* Adjust for McIntosh... */
if ((*year%4) == 0)
if ((*year % 4) == 0)
{ /* Leap Year */
for (i=0; i<12; i++)
for (i = 0; i < 12; i++)
{
if (t <= ldays[i])
break;
@ -189,7 +217,7 @@ void NumToDate(long num, int *year, int *month, int *day)
}
else
{
for (i=0; i<12; i++)
for (i = 0; i < 12; i++)
{
if (t <= ndays[i])
break;
@ -197,7 +225,7 @@ void NumToDate(long num, int *year, int *month, int *day)
}
}
/* Some fixups... */
*month = 1+i;
*month = 1 + i;
if (t == 0)
t = 1;
*day = t;
@ -210,20 +238,33 @@ typedef S32 swords[2];
(((union{swords sw; F64 dub;} *)(ptr))->sw)
#ifndef WORDS_BIGENDIAN /*! Defined in <config.h> */
/*! Little Endian - 0x86 family */
void RKtoDouble(S32 n, F64 *d)
#ifdef __arm__
/* cross-endian doubles in little endian ARM */
void
RKtoDouble (S32 n, F64 * d)
{
noaliasdub(swords,d)[0] = 0;
noaliasdub(swords,d)[1] = n << 2;
noaliasdub (swords, d)[0] = n << 2;
noaliasdub (swords, d)[1] = 0;
}
#else
/*! Big Endian version - UltraSparc's, etc. */
void RKtoDouble(S32 n, F64 *d)
/*! Little Endian - 0x86 family */
void
RKtoDouble (S32 n, F64 * d)
{
U8 *ptr = (U8 *)&n;
noaliasdub(swords,d)[1] = 0;
noaliasdub(swords,d)[0] =
((*(ptr+0)<<24)+(*(ptr+1)<<16)+(*(ptr+2)<<8)+(*(ptr+3))) << 2;
noaliasdub (swords, d)[0] = 0;
noaliasdub (swords, d)[1] = n << 2;
}
#endif
#else
/*! Big Endian version - UltraSparc's, etc. */
void
RKtoDouble (S32 n, F64 * d)
{
U8 *ptr = (U8 *) & n;
noaliasdub (swords, d)[1] = 0;
noaliasdub (swords, d)[0] =
((*(ptr + 0) << 24) + (*(ptr + 1) << 16) + (*(ptr + 2) << 8) +
(*(ptr + 3))) << 2;
}
#endif

View File

@ -40,7 +40,7 @@ static char FileName[2][12] = /* The section of the Excel Spreadsheet we read
/* Function Prototypes */
COLE_LOCATE_ACTION_FUNC dump_file;
static void output_opcode_string(int);
static void output_opcode_string (int);
/* Global data */
static char filename[128];
@ -48,21 +48,22 @@ static char filename[128];
int aggressive = 0; /*!< Aggressive html optimization */
int main (int argc, char **argv)
int
main (int argc, char **argv)
{
int f_ptr = 0;
COLEFS * cfs;
COLEFS *cfs;
COLERRNO colerrno;
if (argc < 2)
{
fprintf (stderr, "dump - Outputs excel chart records for analysis.\n"
"Usage: "PRGNAME" <FILE>\n");
"Usage: " PRGNAME " <FILE>\n");
exit (1);
}
else
{
strncpy(filename, argv[1], 124);
strncpy (filename, argv[1], 124);
cfs = cole_mount (filename, &colerrno);
if (cfs == NULL)
{
@ -71,7 +72,8 @@ int main (int argc, char **argv)
}
}
while (cole_locate_filename (cfs, FileName[f_ptr], NULL, dump_file, &colerrno))
while (cole_locate_filename
(cfs, FileName[f_ptr], NULL, dump_file, &colerrno))
{
if (f_ptr)
{
@ -92,27 +94,27 @@ int main (int argc, char **argv)
}
void dump_file(COLEDIRENT *cde, void *_info)
void
dump_file (COLEDIRENT * cde, void *_info)
{
unsigned int length=0, opcode=0, target=0, count = 0;
unsigned int length = 0, opcode = 0, target = 0, count = 0;
unsigned char buf[16];
COLEFILE *cf;
COLERRNO err;
(void) _info; /*UNUSED*/
cf = cole_fopen_direntry(cde, &err);
(void) _info;
/*UNUSED*/ cf = cole_fopen_direntry (cde, &err);
/* Ouput Header */
printf("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2//EN\">\n");
printf("<HTML><HEAD><TITLE>%s", filename);
printf("</TITLE></HEAD><BODY>\n");
printf ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2//EN\">\n");
printf ("<HTML><HEAD><TITLE>%s", filename);
printf ("</TITLE></HEAD><BODY>\n");
/* Output body */
#if (MODE == 1)
while (cole_fread(cf, buf, 8, &err)) /* For mode >= 1 */
while (cole_fread (cf, buf, 8, &err)) /* For mode >= 1 */
#else
while (cole_fread(cf, buf, 1, &err))
while (cole_fread (cf, buf, 1, &err))
#endif
{
if (MODE == 0)
@ -120,251 +122,257 @@ void dump_file(COLEDIRENT *cde, void *_info)
if (count == 0)
{
length = 0;
opcode = (unsigned)buf[0];
opcode = (unsigned) buf[0];
target = 80; /* ficticious number */
printf("<br>");
printf ("<br>");
}
else if (count == 1)
opcode |= (buf[0]<<8)&0x0000FFFFL;
opcode |= (buf[0] << 8) & 0x0000FFFFL;
else if (count == 2)
length = (unsigned)buf[0];
length = (unsigned) buf[0];
else if (count == 3)
{
length |= (buf[0]<<8);
length |= (buf[0] << 8);
target = length;
printf("<br>\nLength:%04X Opcode:%04X - ", length, opcode);
output_opcode_string(opcode);
puts("<br>\n");
printf ("<br>\nLength:%04X Opcode:%04X - ", length, opcode);
output_opcode_string (opcode);
puts ("<br>\n");
}
if (count > 3)
{ /* Here is where we want to process the data */
/* based on the opcode... */
#if (TEXT == 0)
if (isprint(buf[0]))
putc(buf[0], stdout);
if (isprint (buf[0]))
putc (buf[0], stdout);
#else
printf("%02X ", buf[0]);
if (((count-3) % 8) == 0)
printf("<br>\n");
printf ("%02X ", buf[0]);
if (((count - 3) % 8) == 0)
printf ("<br>\n");
#endif
}
if (count == (target+3))
if (count == (target + 3))
count = 0;
else
count++;
}
else /* mode >= 1 */
{
printf("%02x %02x %02x %02x %02x %02x %02x %02x &nbsp; &nbsp; &nbsp; &nbsp; ",
(unsigned)buf[0], (unsigned)buf[1], (unsigned)buf[2], (unsigned)buf[3],
(unsigned)buf[4], (unsigned)buf[5], (unsigned)buf[6], (unsigned)buf[7]);
putchar(buf[0]); putchar(buf[1]);
putchar(buf[2]); putchar(buf[3]);
putchar(buf[4]); putchar(buf[5]);
putchar(buf[6]); putchar(buf[7]);
printf("<br>\n");
printf
("%02x %02x %02x %02x %02x %02x %02x %02x &nbsp; &nbsp; &nbsp; &nbsp; ",
(unsigned) buf[0], (unsigned) buf[1], (unsigned) buf[2],
(unsigned) buf[3], (unsigned) buf[4], (unsigned) buf[5],
(unsigned) buf[6], (unsigned) buf[7]);
putchar (buf[0]);
putchar (buf[1]);
putchar (buf[2]);
putchar (buf[3]);
putchar (buf[4]);
putchar (buf[5]);
putchar (buf[6]);
putchar (buf[7]);
printf ("<br>\n");
}
}
/* Output Tail */
printf("</BODY></HTML>\n");
cole_fclose(cf, &err);
printf ("</BODY></HTML>\n");
cole_fclose (cf, &err);
}
static void output_opcode_string(int opcode)
static void
output_opcode_string (int opcode)
{
switch (opcode&0x00FF)
switch (opcode & 0x00FF)
{
case 0x10:
case 0x01:
puts("UNITS: Chart Units");
puts ("UNITS: Chart Units");
break;
case 0x02:
puts("CHART: Location and overall chart dimensions");
puts ("CHART: Location and overall chart dimensions");
break;
case 0x03:
puts("SERIES: Series Definition");
puts ("SERIES: Series Definition");
break;
case 0x06:
puts("DATAFORMAT: Series and Data Point Numbers");
puts ("DATAFORMAT: Series and Data Point Numbers");
break;
case 0x07:
puts("LINEFORMAT: Style of a line or border");
puts ("LINEFORMAT: Style of a line or border");
break;
case 0x09:
puts("MARKERFORMAT: Style of a line marker");
puts ("MARKERFORMAT: Style of a line marker");
break;
case 0x0A:
puts("AREAFORMAT: Colors and patterns for an area");
puts ("AREAFORMAT: Colors and patterns for an area");
break;
case 0x0B:
puts("PIEFORMAT: Position of the pie slice");
puts ("PIEFORMAT: Position of the pie slice");
break;
case 0x0C:
puts("ATTACHEDLABEL: Series data/value labels");
puts ("ATTACHEDLABEL: Series data/value labels");
break;
case 0x0D:
puts("SERIESTEXT: Legend/category/value text");
puts ("SERIESTEXT: Legend/category/value text");
break;
case 0x14:
puts("CHARTFORMAT: Parent record for chart group");
puts ("CHARTFORMAT: Parent record for chart group");
break;
case 0x15:
puts("LEGEND: Legend type and position");
puts ("LEGEND: Legend type and position");
break;
case 0x16:
puts("SERIESLIST: Specifies the series in an overlay chart");
puts ("SERIESLIST: Specifies the series in an overlay chart");
break;
case 0x17:
puts("BAR: Chart group is a bar or column chart group");
puts ("BAR: Chart group is a bar or column chart group");
break;
case 0x18:
puts("LINE: Chart group is a line chart group");
puts ("LINE: Chart group is a line chart group");
break;
case 0x19:
puts("PIE: Chart group is a pie chart group");
puts ("PIE: Chart group is a pie chart group");
break;
case 0x1A:
puts("AREA: Chart group is an area chart group");
puts ("AREA: Chart group is an area chart group");
break;
case 0x1B:
puts("SCATTER: Chart group is a scatter chart group");
puts ("SCATTER: Chart group is a scatter chart group");
break;
case 0x1C:
puts("CHARTLINE: Drop/Hi-Lo/Series Lines on a line chart");
puts ("CHARTLINE: Drop/Hi-Lo/Series Lines on a line chart");
break;
case 0x1D:
puts("AXIS: Axis Type");
puts ("AXIS: Axis Type");
break;
case 0x1E:
puts("TICK: Tick marks and labels format");
puts ("TICK: Tick marks and labels format");
break;
case 0x1F:
puts("VALUERANGE: Defines value axis scale");
puts ("VALUERANGE: Defines value axis scale");
break;
case 0x20:
puts("CATSERRANGE: Defines a category or series axis");
puts ("CATSERRANGE: Defines a category or series axis");
break;
case 0x21:
puts("AXISLINEFORMAT: Defines a line that spans an axis");
puts ("AXISLINEFORMAT: Defines a line that spans an axis");
break;
case 0x22:
puts("CHARTFORMTLINK: Not Used");
puts ("CHARTFORMTLINK: Not Used");
break;
case 0x24:
puts("DEFAULTTEXT: Default data label text properties");
puts ("DEFAULTTEXT: Default data label text properties");
break;
case 0x25:
puts("TEXT: Defines display of text fields");
puts ("TEXT: Defines display of text fields");
break;
case 0x26:
puts("FONTX: Font Index");
puts ("FONTX: Font Index");
break;
case 0x27:
puts("OBJECTLINK: Attaches Text to chart or chart item");
puts ("OBJECTLINK: Attaches Text to chart or chart item");
break;
case 0x32:
puts("FRAME: Defines border shape around displayed text");
puts ("FRAME: Defines border shape around displayed text");
break;
case 0x33:
puts("BEGIN: Defines the beginning of an object");
puts ("BEGIN: Defines the beginning of an object");
break;
case 0x34:
puts("END: Defines the end of an object");
puts ("END: Defines the end of an object");
break;
case 0x35:
puts("PLOTAREA: Frame belongs to ploat area");
puts ("PLOTAREA: Frame belongs to ploat area");
break;
case 0x3A:
puts("3d Chart group");
puts ("3d Chart group");
break;
case 0x3C:
puts("PICF: Picture Format");
puts ("PICF: Picture Format");
break;
case 0x3D:
puts("DROPBAR: Defines drop bars");
puts ("DROPBAR: Defines drop bars");
break;
case 0x3E:
puts("RADAR: Chart group is a radar chart group");
puts ("RADAR: Chart group is a radar chart group");
break;
case 0x3F:
puts("SURFACE: Chart group is a surface chart group");
puts ("SURFACE: Chart group is a surface chart group");
break;
case 0x40:
puts("RADARAREA: Chart group is a radar area chart group");
puts ("RADARAREA: Chart group is a radar area chart group");
break;
case 0x41:
puts("AXISPARENT: Axis size and location");
puts ("AXISPARENT: Axis size and location");
break;
case 0x43:
puts("LEGENDXN: Legend Exception");
puts ("LEGENDXN: Legend Exception");
break;
case 0x44:
puts("SHTPROPS: Sheet Properties");
puts ("SHTPROPS: Sheet Properties");
break;
case 0x45:
puts("SERTOCRT: Series chart-group index");
puts ("SERTOCRT: Series chart-group index");
break;
case 0x46:
puts("AXESUSED: Number of axes sets");
puts ("AXESUSED: Number of axes sets");
break;
case 0x48:
puts("SBASEREF: PivotTable Reference");
puts ("SBASEREF: PivotTable Reference");
break;
case 0x4A:
puts("SERPARENT: Trendline or Errorbar series index");
puts ("SERPARENT: Trendline or Errorbar series index");
break;
case 0x4B:
puts("SERAUXTREND: Series trendline");
puts ("SERAUXTREND: Series trendline");
break;
case 0x4E:
puts("IFMT: Number-Format Index");
puts ("IFMT: Number-Format Index");
break;
case 0x4F:
puts("POS: Position information");
puts ("POS: Position information");
break;
case 0x50:
puts("ALRUNS: Text formatting");
puts ("ALRUNS: Text formatting");
break;
case 0x51:
puts("AI: Linked data");
puts ("AI: Linked data");
break;
case 0x5B:
puts("Series ErrorBar");
puts ("Series ErrorBar");
break;
case 0x5D:
puts("SERFMT: Series Format");
puts ("SERFMT: Series Format");
break;
case 0x60:
puts("FBI: Font Basis");
puts ("FBI: Font Basis");
break;
case 0x61:
puts("BOPPOP: Bar of pie/pie of pie chart options");
puts ("BOPPOP: Bar of pie/pie of pie chart options");
break;
case 0x62:
puts("AXCEXT: Axis options");
puts ("AXCEXT: Axis options");
break;
case 0x63:
puts("DAT: Data Table Options");
puts ("DAT: Data Table Options");
break;
case 0x64:
puts("PLOTGROWTH: Font scale factors");
puts ("PLOTGROWTH: Font scale factors");
break;
case 0x65:
puts("SIINDEX: Series Index");
puts ("SIINDEX: Series Index");
break;
case 0x66:
puts("GELFRAME: Fill data");
puts ("GELFRAME: Fill data");
break;
case 0x67:
puts("Custom bar of pie/ pie of pie chart options");
puts ("Custom bar of pie/ pie of pie chart options");
break;
default:
puts("Unknown Chart Opcode");
puts ("Unknown Chart Opcode");
break;
}
}

View File

@ -41,7 +41,7 @@ static char FileName[2][12] = /* The section of the Excel Spreadsheet we read
/* Function Prototypes */
COLE_LOCATE_ACTION_FUNC dump_file;
/*static void main_line_processor(int opcode, char data);*/
static void output_opcode_string(int);
static void output_opcode_string (int);
/* Global data */
static char filename[128];
@ -49,21 +49,22 @@ static char filename[128];
int aggressive = 0; /*!< Aggressive html optimization */
int main (int argc, char **argv)
int
main (int argc, char **argv)
{
int f_ptr = 0;
COLEFS * cfs;
COLEFS *cfs;
COLERRNO colerrno;
if (argc < 2)
{
fprintf (stderr, "dump - Outputs excel file records for analysis.\n"
"Usage: "PRGNAME" <FILE>\n");
"Usage: " PRGNAME " <FILE>\n");
exit (1);
}
else
{
strncpy(filename, argv[1], 124);
strncpy (filename, argv[1], 124);
cfs = cole_mount (filename, &colerrno);
if (cfs == NULL)
{
@ -72,7 +73,8 @@ int main (int argc, char **argv)
}
}
while (cole_locate_filename (cfs, FileName[f_ptr], NULL, dump_file, &colerrno))
while (cole_locate_filename
(cfs, FileName[f_ptr], NULL, dump_file, &colerrno))
{
if (f_ptr)
{
@ -93,27 +95,27 @@ int main (int argc, char **argv)
}
void dump_file(COLEDIRENT *cde, void *_info)
void
dump_file (COLEDIRENT * cde, void *_info)
{
unsigned int length=0, opcode=0, target=0, count = 0;
unsigned int length = 0, opcode = 0, target = 0, count = 0;
unsigned char buf[16];
COLEFILE *cf;
COLERRNO err;
(void) _info; /*UNUSED*/
cf = cole_fopen_direntry(cde, &err);
(void) _info;
/*UNUSED*/ cf = cole_fopen_direntry (cde, &err);
/* Ouput Header */
printf("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2//EN\">\n");
printf("<HTML><HEAD><TITLE>%s", filename);
printf("</TITLE></HEAD><BODY>\n");
printf ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2//EN\">\n");
printf ("<HTML><HEAD><TITLE>%s", filename);
printf ("</TITLE></HEAD><BODY>\n");
/* Output body */
#if (MODE == 1)
while (cole_fread(cf, buf, 8, &err)) /* For mode >= 1 */
while (cole_fread (cf, buf, 8, &err)) /* For mode >= 1 */
#else
while (cole_fread(cf, buf, 1, &err))
while (cole_fread (cf, buf, 1, &err))
#endif
{
if (MODE == 0)
@ -121,55 +123,61 @@ void dump_file(COLEDIRENT *cde, void *_info)
if (count == 0)
{
length = 0;
opcode = (unsigned)buf[0];
opcode = (unsigned) buf[0];
target = 80; /* ficticious number */
printf("<br>");
printf ("<br>");
}
else if (count == 1)
opcode |= (buf[0]<<8)&0x0000FFFFL;
opcode |= (buf[0] << 8) & 0x0000FFFFL;
else if (count == 2)
length = (unsigned)buf[0];
length = (unsigned) buf[0];
else if (count == 3)
{
length |= (buf[0]<<8);
length |= (buf[0] << 8);
target = length;
printf("<br>\nLength:%04X Opcode:%04X - ", length, opcode);
output_opcode_string(opcode);
puts("<br>\n");
printf ("<br>\nLength:%04X Opcode:%04X - ", length, opcode);
output_opcode_string (opcode);
puts ("<br>\n");
}
if (count > 3)
{ /* Here is where we want to process the data */
/* based on the opcode... */
#if (TEXT == 0)
if (isprint(buf[0]))
putc(buf[0], stdout);
if (isprint (buf[0]))
putc (buf[0], stdout);
#else
printf("%02X ", buf[0]);
if (((count-3) % 8) == 0)
printf("<br>\n");
printf ("%02X ", buf[0]);
if (((count - 3) % 8) == 0)
printf ("<br>\n");
#endif
}
if (count == (target+3))
if (count == (target + 3))
count = 0;
else
count++;
}
else /* mode >= 1 */
{
printf("%02x %02x %02x %02x %02x %02x %02x %02x &nbsp; &nbsp; &nbsp; &nbsp; ",
(unsigned)buf[0], (unsigned)buf[1], (unsigned)buf[2], (unsigned)buf[3],
(unsigned)buf[4], (unsigned)buf[5], (unsigned)buf[6], (unsigned)buf[7]);
putchar(buf[0]); putchar(buf[1]);
putchar(buf[2]); putchar(buf[3]);
putchar(buf[4]); putchar(buf[5]);
putchar(buf[6]); putchar(buf[7]);
printf("<br>\n");
printf
("%02x %02x %02x %02x %02x %02x %02x %02x &nbsp; &nbsp; &nbsp; &nbsp; ",
(unsigned) buf[0], (unsigned) buf[1], (unsigned) buf[2],
(unsigned) buf[3], (unsigned) buf[4], (unsigned) buf[5],
(unsigned) buf[6], (unsigned) buf[7]);
putchar (buf[0]);
putchar (buf[1]);
putchar (buf[2]);
putchar (buf[3]);
putchar (buf[4]);
putchar (buf[5]);
putchar (buf[6]);
putchar (buf[7]);
printf ("<br>\n");
}
}
/* Output Tail */
printf("</BODY></HTML>\n");
cole_fclose(cf, &err);
printf ("</BODY></HTML>\n");
cole_fclose (cf, &err);
}
/*static void main_line_processor(int opcode, char data)
@ -177,330 +185,331 @@ void dump_file(COLEDIRENT *cde, void *_info)
}
*/
static void output_opcode_string(int opcode)
static void
output_opcode_string (int opcode)
{
switch (opcode&0x00FF)
switch (opcode & 0x00FF)
{
/* start of documented general opcodes */
case 0x0A:
puts("\nEOF: End of File");
puts ("\nEOF: End of File");
break;
case 0x0C:
puts("CALCCOUNT: Iteration count");
puts ("CALCCOUNT: Iteration count");
break;
case 0x0D:
puts("CalcMode: Calculation mode");
puts ("CalcMode: Calculation mode");
break;
case 0x0E:
puts("Precision");
puts ("Precision");
break;
case 0x0F:
puts("Reference Mode");
puts ("Reference Mode");
break;
case 0x10:
puts("Delta: Iteration Increment");
puts ("Delta: Iteration Increment");
break;
case 0x11:
puts("Iteration Mode");
puts ("Iteration Mode");
break;
case 0x12:
puts("Protection Flag");
puts ("Protection Flag");
break;
case 0x13:
puts("Protection Password");
puts ("Protection Password");
break;
case 0x14:
puts("Print Header on each page");
puts ("Print Header on each page");
break;
case 0x15:
puts("Print Footer on each page");
puts ("Print Footer on each page");
break;
case 0x16:
puts("External Count: Number of external references");
puts ("External Count: Number of external references");
break;
case 0x17:
puts("External reference");
puts ("External reference");
break;
case 0x18:
puts("NAME");
puts ("NAME");
break;
case 0x19:
puts("Windows are Protected");
puts ("Windows are Protected");
break;
case 0x1A:
puts("Vertical Page Breaks");
puts ("Vertical Page Breaks");
break;
case 0x1B:
puts("Horizontal Page Breaks");
puts ("Horizontal Page Breaks");
break;
case 0x1C:
puts("Cell Note");
puts ("Cell Note");
break;
case 0x1D:
puts("Selection");
puts ("Selection");
break;
case 0x22:
puts("1904 date system");
puts ("1904 date system");
break;
case 0x26:
puts("Left Margin Measurement");
puts ("Left Margin Measurement");
break;
case 0x27:
puts("Right Margin Measurement");
puts ("Right Margin Measurement");
break;
case 0x28:
puts("Top Margin Measurement");
puts ("Top Margin Measurement");
break;
case 0x29:
puts("Bottom Margin Measurement");
puts ("Bottom Margin Measurement");
break;
case 0x2A:
puts("Print Row/Column Labels");
puts ("Print Row/Column Labels");
break;
case 0x2B:
puts("Print Gridlines Flag");
puts ("Print Gridlines Flag");
break;
case 0x2F:
puts("File is Password protected");
puts ("File is Password protected");
break;
case 0x31:
puts("FONT");
puts ("FONT");
break;
case 0x3C:
puts("Continues long records");
puts ("Continues long records");
break;
case 0x3D:
puts("Window1");
puts ("Window1");
break;
case 0x40:
puts("BACKUP: Save Backup Version of the File");
puts ("BACKUP: Save Backup Version of the File");
break;
case 0x41:
puts("Number of Panes and their position");
puts ("Number of Panes and their position");
break;
case 0x42:
puts("CODEPAGE: Default code page");
puts ("CODEPAGE: Default code page");
break;
case 0x4D:
puts("PLS: Environment specific print record");
puts ("PLS: Environment specific print record");
break;
case 0x50:
puts("DCON: Data consolidation information");
puts ("DCON: Data consolidation information");
break;
case 0x51:
puts("DCONREF: Data consolidation references");
puts ("DCONREF: Data consolidation references");
break;
case 0x52:
puts("DCONNAME: Data Consolidation Named References");
puts ("DCONNAME: Data Consolidation Named References");
break;
case 0x55:
puts("DEFCOLWIDTH: Default Column Width");
puts ("DEFCOLWIDTH: Default Column Width");
break;
case 0x59:
puts("XCT: CRN Record Count");
puts ("XCT: CRN Record Count");
break;
case 0x5A:
puts("CRN: Nonresident operands");
puts ("CRN: Nonresident operands");
break;
case 0x5B:
puts("FILESHARING:File-sharing information");
puts ("FILESHARING:File-sharing information");
break;
case 0x5C:
puts("Write Access");
puts ("Write Access");
break;
case 0x5D:
puts("OBJ: Describes a Graphic object");
puts ("OBJ: Describes a Graphic object");
break;
case 0x5E:
puts("UNCALCED: Recalculation Status");
puts ("UNCALCED: Recalculation Status");
break;
case 0x5F:
puts("SAVERECALC: Recalculate before save");
puts ("SAVERECALC: Recalculate before save");
break;
case 0x60:
puts("TEMPLATE: Workbook is a template");
puts ("TEMPLATE: Workbook is a template");
break;
case 0x63:
puts("OBJPROTECT: Objects are protected");
puts ("OBJPROTECT: Objects are protected");
break;
case 0x7D:
puts("COLINFO: Column formatting information");
puts ("COLINFO: Column formatting information");
break;
case 0x7E:
puts("RK Number");
puts ("RK Number");
break;
case 0x7F:
puts("IMDATA: Image data");
puts ("IMDATA: Image data");
break;
case 0x80:
puts("GUTS: Size of row and column gutters");
puts ("GUTS: Size of row and column gutters");
break;
case 0x81:
puts("WSBOOL: Additional workspace information");
puts ("WSBOOL: Additional workspace information");
break;
case 0x82:
puts("GRIDSET: State change of gridlines option");
puts ("GRIDSET: State change of gridlines option");
break;
case 0x83:
puts("HCENTER: Center between horizontal margins");
puts ("HCENTER: Center between horizontal margins");
break;
case 0x84:
puts("VCENTER: Center between vertical margins");
puts ("VCENTER: Center between vertical margins");
break;
case 0x85:
puts("BoundSheet");
puts ("BoundSheet");
break;
case 0x86:
puts("WRITEPROT: Workbook is Write-protected");
puts ("WRITEPROT: Workbook is Write-protected");
break;
case 0x87:
puts("ADDIN: Workbook is add-in macro");
puts ("ADDIN: Workbook is add-in macro");
break;
case 0x88:
puts("EDG: Edition globals");
puts ("EDG: Edition globals");
break;
case 0x89:
puts("PUB: Publisher");
puts ("PUB: Publisher");
break;
case 0x8C:
puts("COUNTRY: Default country and WIN.INI Country");
puts ("COUNTRY: Default country and WIN.INI Country");
break;
case 0x8D:
puts("HIDEOBJ: Object display options");
puts ("HIDEOBJ: Object display options");
break;
case 0x90:
puts("SORT: Sorting options");
puts ("SORT: Sorting options");
break;
case 0x91:
puts("SUB: Subscriber");
puts ("SUB: Subscriber");
break;
case 0x92:
puts("Palette Info");
puts ("Palette Info");
break;
case 0x94:
puts("LHRECORD: .WK? File Conversion Information");
puts ("LHRECORD: .WK? File Conversion Information");
break;
case 0x95:
puts("LHNGRAPH: Named Graph Information");
puts ("LHNGRAPH: Named Graph Information");
break;
case 0x96:
puts("SOUND: Sound note");
puts ("SOUND: Sound note");
break;
case 0x98:
puts("LPR: Sheet was printed using LINE.PRINT()");
puts ("LPR: Sheet was printed using LINE.PRINT()");
break;
case 0x99:
puts("STANDARDWIDTH: Standard column width");
puts ("STANDARDWIDTH: Standard column width");
break;
case 0x9A:
puts("FNGROUPNAME: Function Group name");
puts ("FNGROUPNAME: Function Group name");
break;
case 0x9B:
puts("FILTERMODE: Sheet contains filtered list");
puts ("FILTERMODE: Sheet contains filtered list");
break;
case 0x9C:
puts("FNGROUPCOUNT: Built-in function group count");
puts ("FNGROUPCOUNT: Built-in function group count");
break;
case 0x9D:
puts("AUTOFILTERINFO: Drop Down Arrow Count");
puts ("AUTOFILTERINFO: Drop Down Arrow Count");
break;
case 0x9E:
puts("AUTOFILTER: AutoFilter data");
puts ("AUTOFILTER: AutoFilter data");
break;
case 0xA0:
puts("SCL: Window Zoom magnification");
puts ("SCL: Window Zoom magnification");
break;
case 0xA1:
puts("Page Setup");
puts ("Page Setup");
break;
case 0xA9:
puts("COORDLIST: Polygon Object Vertex coordinates");
puts ("COORDLIST: Polygon Object Vertex coordinates");
break;
case 0xAB:
puts("GCW: Global Column-Wdith flags");
puts ("GCW: Global Column-Wdith flags");
break;
case 0xAE:
puts("SCENMAN: Scenario Output data");
puts ("SCENMAN: Scenario Output data");
break;
case 0xAF:
puts("PROT4REV: Shared Workbook protection flag");
puts ("PROT4REV: Shared Workbook protection flag");
break;
case 0xB0:
puts("SXVIEW: View Definition");
puts ("SXVIEW: View Definition");
break;
case 0xB1:
puts("SXVD: View Fields");
puts ("SXVD: View Fields");
break;
case 0xB2:
puts("SXVI: View Item");
puts ("SXVI: View Item");
break;
case 0xB4:
puts("SXIVD: Row/Column Field Ids");
puts ("SXIVD: Row/Column Field Ids");
break;
case 0xB5:
puts("SXLI: Line item array");
puts ("SXLI: Line item array");
break;
case 0xB6:
puts("SXPI: Page item");
puts ("SXPI: Page item");
break;
case 0xB8:
puts("DOCROUTE: Routing slip information");
puts ("DOCROUTE: Routing slip information");
break;
case 0xB9:
puts("RECIPNAME: Recipient name");
puts ("RECIPNAME: Recipient name");
break;
case 0xBC:
puts("SHRFMLA: Shared formula");
puts ("SHRFMLA: Shared formula");
break;
case 0xBD:
puts("MULRK: Multiple RK cells");
puts ("MULRK: Multiple RK cells");
break;
case 0xBE:
puts("Multiple Blanks");
puts ("Multiple Blanks");
break;
case 0xC1:
puts("MMS: ADDMENU/DELMENU Record Group count");
puts ("MMS: ADDMENU/DELMENU Record Group count");
break;
case 0xC2:
puts("ADDMENU: Menu Addition");
puts ("ADDMENU: Menu Addition");
break;
case 0xC3:
puts("DELMENU: Menu Deletion");
puts ("DELMENU: Menu Deletion");
break;
case 0xC5:
puts("SXDI: Data Item");
puts ("SXDI: Data Item");
break;
case 0xC6:
puts("SXDB: PivtoTable Cache Data");
puts ("SXDB: PivtoTable Cache Data");
break;
case 0xCD:
puts("SXSTRING: String");
puts ("SXSTRING: String");
break;
case 0xD0:
puts("SXTBL: Multiple Consolidation Source Info");
puts ("SXTBL: Multiple Consolidation Source Info");
break;
case 0xD1:
puts("SXTBRGIITM: Page Item Name Count");
puts ("SXTBRGIITM: Page Item Name Count");
break;
case 0xD2:
puts("SXTBPG: Page Item Indexes");
puts ("SXTBPG: Page Item Indexes");
break;
case 0xD3:
puts("OBPROJ: Visual Basic Project");
puts ("OBPROJ: Visual Basic Project");
break;
case 0xD5:
puts("SXIDSTM: Stream ID");
puts ("SXIDSTM: Stream ID");
break;
case 0xD6:
puts("RString");
puts ("RString");
break;
case 0xD7:
puts("DBCELL: Stream offsets");
puts ("DBCELL: Stream offsets");
break;
case 0xDA:
puts("BOOKBOOL: Workbook option flag");
puts ("BOOKBOOL: Workbook option flag");
break;
/* error in ms docs
@ -513,76 +522,75 @@ static void output_opcode_string(int opcode)
*/
case 0xDD:
puts("SCENPROTECT: Scenario protection");
puts ("SCENPROTECT: Scenario protection");
break;
case 0xDE:
puts("OLESIZE: Size of an OLE object");
puts ("OLESIZE: Size of an OLE object");
break;
case 0xDF:
puts("UDDESC: Description string for chart autoformat");
puts ("UDDESC: Description string for chart autoformat");
break;
case 0xE0:
puts("Extended Format");
puts ("Extended Format");
break;
case 0xE1:
puts("INTERFACEHDR: Beginning of User Interface Records");
puts ("INTERFACEHDR: Beginning of User Interface Records");
break;
case 0xE2:
puts("INTERFACEEND: End of User interface records");
puts ("INTERFACEEND: End of User interface records");
break;
case 0xE3:
puts("SXVS: View source");
puts ("SXVS: View source");
break;
case 0xEA:
puts("TABIDCONF: Sheet tab ID of Conflict history");
puts ("TABIDCONF: Sheet tab ID of Conflict history");
break;
case 0xEB:
puts("MSODRAWINGGROUP: MS Office Drawing Group");
puts ("MSODRAWINGGROUP: MS Office Drawing Group");
break;
case 0xEC:
puts("MSODRAWING: MS Office Drawing");
puts ("MSODRAWING: MS Office Drawing");
break;
case 0xED:
puts("MS Office Drawing Selection");
puts ("MS Office Drawing Selection");
break;
case 0xF0:
puts("SXRULE: PivotTable Rule data");
puts ("SXRULE: PivotTable Rule data");
break;
case 0xF1:
puts("SXEX: PivotTable Extended information");
puts ("SXEX: PivotTable Extended information");
break;
case 0xF2:
puts("SXFILT: PivotTable Rule Filter");
puts ("SXFILT: PivotTable Rule Filter");
break;
case 0xF6:
puts("SXNAME: PivotTable Name");
puts ("SXNAME: PivotTable Name");
break;
case 0xF7:
puts("SXSELECT: PivotTable Selection Information");
puts ("SXSELECT: PivotTable Selection Information");
break;
case 0xF8:
puts("PivotTable Name Pair");
puts ("PivotTable Name Pair");
break;
case 0xF9:
puts("PivotTable Parsed Expression");
puts ("PivotTable Parsed Expression");
break;
case 0xFB:
puts("PivotTable Format Record");
puts ("PivotTable Format Record");
break;
case 0xFC:
puts("Shared String Table");
puts ("Shared String Table");
break;
case 0xFD:
puts("Cell Value, String Constant/SST");
puts ("Cell Value, String Constant/SST");
break;
case 0xFF:
puts("Extended Shared String Table");
puts ("Extended Shared String Table");
break;
default:
puts("Unknown Opcode");
puts ("Unknown Opcode");
break;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -152,6 +152,7 @@ extern char *default_image;
extern int aggressive;
extern int center_tables;
extern int NoHeaders;
extern int TableHeaders;
extern int formula_warnings;
extern int Csv;
extern xf_attr **xf_array;
@ -179,6 +180,7 @@ extern int MaxRowExceeded;
extern int MaxWorksheetsExceeded;
extern int MaxStringsExceeded;
extern int MaxFontsExceeded;
extern int WorkingBufferOverflow;
extern int UnicodeStrings;
extern int CodePage;

View File

@ -25,143 +25,168 @@
void OutputTableXML(void)
void
OutputTableXML (void)
{
int i, j, k;
printf( "<?xml version=\"1.0\" encoding=\"" );
printf ("<?xml version=\"1.0\" encoding=\"");
switch (UnicodeStrings)
{
case 0:
printf("iso-8859-1\" ?>\n"); /* Latin-1 */
printf ("iso-8859-1\" ?>\n"); /* Latin-1 */
break;
case 1:
printf("windows-1252\"?>\n"); /* Microsoft */
printf ("windows-1252\"?>\n"); /* Microsoft */
break;
default:
printf("utf-8\"?>\n"); /* Unicode */
printf ("utf-8\"?>\n"); /* Unicode */
break;
}
SetupExtraction();
SetupExtraction ();
printf( "<excel_workbook>\n" );
printf( "\t<sheets>\n" );
printf ("<excel_workbook>\n");
printf ("<workbook_title>");
if (title)
printf ("%s", title);
else
printf ("%s", filename);
printf ("</workbook_title>\n");
printf ("\t<sheets>\n");
/* Here's where we dump the Html Page out */
for (i=first_sheet; i<=last_sheet; i++) /* For each worksheet */
for (i = first_sheet; i <= last_sheet; i++) /* For each worksheet */
{
trim_sheet_edges(i);
update_default_font(i);
trim_sheet_edges (i);
update_default_font (i);
if (ws_array[i] == 0)
continue;
if ((ws_array[i]->biggest_row == -1)||(ws_array[i]->biggest_col == -1))
if ((ws_array[i]->biggest_row == -1)
|| (ws_array[i]->biggest_col == -1))
continue;
if (ws_array[i]->c_array == 0)
continue;
printf( "\t\t<sheet>\n" );
printf( "\t\t\t<page>%d</page>\n", i );
printf ("\t\t<sheet>\n");
printf ("\t\t\t<page>%d</page>\n", i);
/* Print its name */
if (next_ws_title > 0)
{
if (ws_array[i]->ws_title.str)
{
printf("\t\t\t<pagetitle>");
OutputString(&ws_array[i]->ws_title);
printf("</pagetitle>\n");
printf ("\t\t\t<pagetitle>");
OutputString (&ws_array[i]->ws_title);
printf ("</pagetitle>\n");
}
else
printf("\t\t\t<pagetitle>(Unknown Page)</pagetitle>\n");
printf ("\t\t\t<pagetitle>(Unknown Page)</pagetitle>\n");
}
printf( "\t\t\t<firstrow>%ld</firstrow>\n", (unsigned long)ws_array[i]->first_row );
printf( "\t\t\t<lastrow>%d</lastrow>\n", (int) ws_array[i]->biggest_row );
printf( "\t\t\t<firstcol>%ld</firstcol>\n", (long) ws_array[i]->first_col );
printf( "\t\t\t<lastcol>%d</lastcol>\n", (int)ws_array[i]->biggest_col );
printf( "\t\t\t<rows>\n" );
printf ("\t\t\t<firstrow>%ld</firstrow>\n",
(unsigned long) ws_array[i]->first_row);
printf ("\t\t\t<lastrow>%d</lastrow>\n",
(int) ws_array[i]->biggest_row);
printf ("\t\t\t<firstcol>%ld</firstcol>\n",
(long) ws_array[i]->first_col);
printf ("\t\t\t<lastcol>%d</lastcol>\n",
(int) ws_array[i]->biggest_col);
printf ("\t\t\t<rows>\n");
for (j=ws_array[i]->first_row; j<=ws_array[i]->biggest_row; j++)
for (j = ws_array[i]->first_row; j <= ws_array[i]->biggest_row; j++)
{
update_default_alignment(i, j);
printf("\t\t\t\t<row>\n");
for (k=ws_array[i]->first_col; k<=ws_array[i]->biggest_col; k++)
update_default_alignment (i, j);
printf ("\t\t\t\t<row>\n");
for (k = ws_array[i]->first_col; k <= ws_array[i]->biggest_col; k++)
{
printf("\t\t\t\t\t<cell row=\"%d\" col=\"%d\"", j, k );
output_cell(ws_array[i]->c_array[(j*ws_array[i]->max_cols)+k], 1); /* This stuff happens for each cell... */
printf("</cell>\n" );
if (ws_array[i]->c_array[(j*ws_array[i]->max_cols)+k])
printf ("\t\t\t\t\t<cell row=\"%d\" col=\"%d\"", j, k);
output_cell (ws_array[i]->c_array[(j * ws_array[i]->max_cols) + k], 1); /* This stuff happens for each cell... */
printf ("</cell>\n");
if (ws_array[i]->c_array[(j * ws_array[i]->max_cols) + k])
{
if (ws_array[i]->c_array[(j*ws_array[i]->max_cols)+k]->colspan != 0)
k += ws_array[i]->c_array[(j*ws_array[i]->max_cols)+k]->colspan-1;
if (ws_array[i]->c_array[(j * ws_array[i]->max_cols) + k]->
colspan != 0)
k +=
ws_array[i]->c_array[(j * ws_array[i]->max_cols) +
k]->colspan - 1;
}
}
printf("\t\t\t\t</row>\n");
printf ("\t\t\t\t</row>\n");
}
printf( "\t\t\t</rows>\n" );
printf("\t\t</sheet>\n");
printf ("\t\t\t</rows>\n");
printf ("\t\t</sheet>\n");
}
printf( "\t</sheets>\n" );
printf ("\t</sheets>\n");
/* Print the author's name in itallics... */
if (author.str)
{
printf("\t<author>");
OutputString(&author);
printf("</author>\n");
printf ("\t<author>");
OutputString (&author);
printf ("</author>\n");
}
/* Print when & how the file was last updated. */
if (lastUpdated)
printf("\t<lastwrite>%s</lastwrite>", lastUpdated);
printf( "\t<excelversion>" );
printf ("\t<lastwrite>%s</lastwrite>", lastUpdated);
printf ("\t<excelversion>");
switch (file_version)
{
case EXCEL95:
printf("using Excel 5.0 or 95");
printf ("using Excel 5.0 or 95");
break;
case EXCEL97:
printf("using Excel 97/2000");
printf ("using Excel 97/2000");
break;
default:
printf("using Excel ????");
printf ("using Excel ????");
break;
}
printf("</excelversion>\n");
printf ("</excelversion>\n");
/* Next print Disclaimers... */
if (NoFormat)
printf("\t<noformat>%d</noformat>\n", NoFormat );
if ((notAccurate)&&(formula_warnings))
printf("\t<accuracy>%d</accuracy>\n", notAccurate );
printf ("\t<noformat>%d</noformat>\n", NoFormat);
if ((notAccurate) && (formula_warnings))
printf ("\t<accuracy>%d</accuracy>\n", notAccurate);
if (NotImplemented)
printf("\t<notimplemented>%d</notimplemented>\n", NotImplemented );
printf ("\t<notimplemented>%d</notimplemented>\n", NotImplemented);
if (Unsupported)
printf("\t<unsupported>%d</unsupported>\n", Unsupported );
printf ("\t<unsupported>%d</unsupported>\n", Unsupported);
/* Now out exceeded capacity warnings... */
if (MaxWorksheetsExceeded)
printf("\t<MaxWorksheetsExceeded>The Maximum Number of Worksheets were exceeded, you might want to increase it.</MaxWorksheetsExceeded>\n ");
printf
("\t<MaxWorksheetsExceeded>The Maximum Number of Worksheets were exceeded, you might want to increase it.</MaxWorksheetsExceeded>\n ");
if (MaxRowExceeded)
printf("\t<MaxRowExceeded>The Maximum Number of Rows were exceeded, you might want to increase it.</MaxRowExceeded>\n ");
printf
("\t<MaxRowExceeded>The Maximum Number of Rows were exceeded, you might want to increase it.</MaxRowExceeded>\n ");
if (MaxColExceeded)
printf("\t<MaxColExceeded>The Maximum Number of Columns were exceeded, you might want to increase it.</MaxColExceeded>\n");
printf
("\t<MaxColExceeded>The Maximum Number of Columns were exceeded, you might want to increase it.</MaxColExceeded>\n");
if (MaxStringsExceeded)
printf("\t<MaxStringsExceeded>The Maximum Number of Strings were exceeded, you might want to increase it.</MaxStringsExceeded>\n");
printf
("\t<MaxStringsExceeded>The Maximum Number of Strings were exceeded, you might want to increase it.</MaxStringsExceeded>\n");
if (MaxFontsExceeded)
printf("\t<MaxFontsExceeded>The Maximum Number of Fonts were exceeded, you might want to increase it.</MaxFontsExceeded>\n");
printf
("\t<MaxFontsExceeded>The Maximum Number of Fonts were exceeded, you might want to increase it.</MaxFontsExceeded>\n");
if (MaxPalExceeded)
printf("\t<MaxPalExceeded>The Maximum Number of Color Palettes were exceeded, you might want to increase it.</MaxPalExceeded>\n");
printf
("\t<MaxPalExceeded>The Maximum Number of Color Palettes were exceeded, you might want to increase it.</MaxPalExceeded>\n");
if (MaxXFExceeded)
printf("\t<MaxXFExceeded>The Maximum Number of Extended Formats were exceeded, you might want to increase it.</MaxXFExceeded>\n");
printf
("\t<MaxXFExceeded>The Maximum Number of Extended Formats were exceeded, you might want to increase it.</MaxXFExceeded>\n");
if (MaxFormatsExceeded)
printf("\t<MaxFormatsExceeded>The Maximum Number of Formats were exceeded, you might want to increase it.</MaxFormatsExceeded>\n");
printf
("\t<MaxFormatsExceeded>The Maximum Number of Formats were exceeded, you might want to increase it.</MaxFormatsExceeded>\n");
/* Output Credit */
printf("\t<tool>Created with xlhtml %s</tool>\n", VERSION);
printf("\t<toollink>http://chicago.sf.net/xlhtml/</toollink>\n");
printf( "</excel_workbook>\n" );
printf ("\t<tool>Created with xlhtml %s</tool>\n", VERSION);
printf ("\t<toollink>http://chicago.sf.net/xlhtml/</toollink>\n");
printf ("</excel_workbook>\n");
}