Add a section on CVS access, since we can't change the CVS info on
SourceForge to use the shorter hostnames.
This adds information on the specific modules checked into CVS.
Include unistd.h when HAVE_UNISTD_H is defined, not _POSIX_SOURCE.
This requires that expat_config.h or winconfig.h has been included.
Using unistd.h avoids warnings about close() and read() not being defined
on some platforms.
This closes SF bug #563184.
Be more specific with a couple of the files that we install.
I'm still not sure where the manpage gets compressed, but it certainly
does; leaving off the .gz causes the RPM build to not find the file.
Greg Stein [Sat, 1 Jun 2002 22:29:30 +0000 (22:29 +0000)]
Work on fixing bug #462960
* add Apache's version of config.guess and config.sub, which are both
recent, and have some helpful mods
* buildconf.sh: tweak call to libtoolize to avoid overwriting the above
* conftools/.cvsignore: the new files are supposed to be there
* Makefile.in: tweak to use $(prefix) for the manual page so that it
picks up install-time prefix changes. tossed an old comment. tweak
the 'extraclean' rule to avoid tossing the added config.* files.
Specify the compression type; the current version of Inno Setup
supports the more efficient bzip algorithm, so we can produce a
smaller installer to download. Or at least partially mitigate
the addition of the wchar_t version of the DLLs.
Install the Changes file as Changes.txt.
Add a note telling what version of Inno Setup the script is for.
Renamed the Expat DLLs from "expat.dll" to "libexpat.dll". This solves
a real naming conflict with Perl's XML::Parser::Expat module and the
relatively recent 1.95.x naming of the combined Expat DLL.
This does not introduce new names for the "wide" version of the Expat
API; this will be a separate change.
Fix the regression test for SF bug #477667. This now fails, but accurately
tests the reported bug.
It should also serve as increased motivation for me to get it fixed
before the next release.
Greg Stein [Sat, 18 May 2002 00:26:59 +0000 (00:26 +0000)]
Add some cygwin fixes.
* Makefile.in:
- from cygwin: add -no-undefined to the library link line
* conftools/get-version.sh: (new file)
- script to extract the version number from expat.h
* configure.in:
(some from the cygwin patch)
- update the prereq to 2.52 instead of just 2.50
- update the AC_INIT line to 2.52 standards: include the package
name, version (with a lot of gunk to get this), and where to send
bugs)
- update the output file generation to 2.52 standards
* make-release.sh:
- update to use the new get-version.sh script
* lib/expat.h:
- from cygwin: add a little define for CYGWIN
Greg Stein [Fri, 17 May 2002 21:30:07 +0000 (21:30 +0000)]
Various configuration fixes, focused primarily around expat_config.h
(which used to be called config.h)
* configure.in:
- change the header name to expat_config.h to prevent any possible
conflict with some other packages 'config.h'
- add a prerequisite on autoconf 2.50 or newer
- shift some acconfig.h values to AC_DEFINE() values
* MANIFEST:
- rename config.h.in to expat_config.h.in
* Makefile.in:
- clean out expat_config.h* instead of config.h*
* acconfig.h:
- remove the XML_NS, XML_DTD, and XML_CONTEXT_BYTES symbols; they
are now defined directly by configure.in
- shift the memmove() compatibility to xmlparse.c, its only consumer
- remove the @BOTTOM@ part since there are no more values to put at
the bottom of expat_config.h.in via acconfig.h
* xmlparse.c:
- switch from config.h to expat_config.h
- insert macro to define memmove() if it isn't available, but
bcopy() is available. also, changed one branch to #error rather
than insert bogus code.
* xmlrole.c:
- tweak the copyright header, per Fred-ism
- remove the unused RCSId[] variable (no other file has these)
- switch from config.h to expat_config.h
* xmltok.c:
- switch from config.h to expat_config.h
Greg Stein [Fri, 17 May 2002 21:16:42 +0000 (21:16 +0000)]
These files are unmaintained, so I'm removing them. If somebody wants
to restart a C++ Expat, they should use the current sources. Of
course, these will always be available in the CVS repository for
historical purposes and for recovery.
Hopefully the last needed checks for MALLOC() failure in xmlparse.c, this
avoids memory faults when the initial allocations fail, returning NULL to
the caller instead.
This closes SF bug #496505.
Greg Stein [Fri, 10 May 2002 00:10:57 +0000 (00:10 +0000)]
Patch from Joe Orton <joe@manyfish.co.uk>:
Allow the environment to specify a different autoconf and autoheader.
This is useful when Expat is bundled into another program, which is
being configured using something other than the autoconf/autoheader in
the path.
Added target to run checks based on xmlwf and James Clark's test cases.
This is not run by "make check" since it requires unzip, wget, and network
access to set up the tests. Use "make run-xmltext" to run the tests.
Revise the data accumulation to be at least a little separated from the
actual test code. Not pretty & lacking in internal documentation, but
allows the test code to be a bit more readable.