Commit Graph

69 Commits

Author SHA1 Message Date
Sebastian Pipping
99e0a5c245 Fix "make install" for Git clone 2016-05-06 21:00:49 +02:00
Sebastian Pipping
9eb0c7189f Makefile: Add target "qa" 2016-05-06 03:14:16 +02:00
Sebastian Pipping
379213ca19 Have "make run-xmltest" report on expected output 2016-05-01 16:01:51 +02:00
Sebastian Pipping
aed54a0ec9 Fix "make run-xmltest" more 2016-05-01 15:59:23 +02:00
Sebastian Pipping
a29cfb19d8 Makefile.in: Call libtool with --verbose for Debian 2016-03-11 23:22:51 +01:00
Raphael Bossek
95d0faf2b4 Install expat_config.h as well
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=302191
2016-03-11 23:22:51 +01:00
Karl Waclawek
d07166d698 Changed version of XML test suite used to 20080827. 2012-03-18 22:18:10 +00:00
Karl Waclawek
b46cee3884 Fix for bug #3500861 did not work properly, fixed the fix by applying
the setContext() call only to the root parser.
Also added a make target to run the benchmark - it relies on the testdata
module being present at the same location as in the repository.
2012-03-11 05:13:12 +00:00
Karl Waclawek
06f392cb07 Changes to the build files:
- replaced the contents of buildconf.sh with instructions to run "autoreconf -fvi")
- some build files were removed, like config.guess, config.sub and install-sh,
  as autoreconf will re-create them.
- clean-up modified to remove files that autoreconf re-created
2012-03-03 18:35:54 +00:00
Karl Waclawek
1ce475e909 Fix for issues #2884086 and #2815947. 2012-02-21 02:50:08 +00:00
Karl Waclawek
352cfc8f59 Added pkg-config support - patch #1749198 by Dan Nicholson. 2007-09-03 17:26:20 +00:00
Karl Waclawek
824490720a One more patch for bug #1490371. 2007-05-09 18:38:50 +00:00
Karl Waclawek
37cfa469d4 Trying to make conditional syntax more cross-platform compatible.
See bugs # 1490371, 1613457, 1618673.
2007-05-05 17:26:37 +00:00
Karl Waclawek
91f506c4e3 Re-introducing the old "indef..endif" logic, but using "?=", as ifndef is only
supported by GNU Make, but not BSD and Solaris Make. Fix for bugs
# 1490371 and #1613457.
2006-12-13 17:26:07 +00:00
Karl Waclawek
65fb6b9167 Applied patch #1437840. Fix for bugs #1414066 and #1033965 . 2006-03-06 14:24:36 +00:00
Karl Waclawek
e5bee8cde7 Fix for bug # 1408143: "make check" failure. 2006-01-25 23:04:46 +00:00
Fred L. Drake, Jr.
36bd5dab5c when uninstalling the library, remove both headers
(closes SF bug #1114960)
2005-02-10 15:52:02 +00:00
Fred L. Drake, Jr.
6ba548aabc fix dependency information for C++ tests 2005-01-28 05:46:46 +00:00
Fred L. Drake, Jr.
537b806d7e test using Expat from C++
(closes SF bug #1006708)
2005-01-28 05:19:53 +00:00
Fred L. Drake, Jr.
f2f6fed3b1 make sure the -I options to the headers for the version being compiled
come before any additional -I options passed in via CPPFLAGS
(closes SF bug #693747)
2005-01-28 04:35:57 +00:00
Fred L. Drake, Jr.
ee9719230c remove use of the check library; always use our own testing package
(this reduces variables and simplifies the build process)
2005-01-27 06:27:57 +00:00
Karl Waclawek
8fcf7de86f Applied the DESTDIR patch provided by Enrico Weigelt.
This is a modified form of the patches included with Patch # 779334
and Bug # 985235.
2004-12-17 18:08:08 +00:00
Fred L. Drake, Jr.
a605dc750b Install expat_external.h properly on all platforms.
Closes SF bug #1000112.
2004-09-24 15:19:11 +00:00
Karl Waclawek
0d04bafbbd Added expat_external.h 2004-05-07 20:00:48 +00:00
Fred L. Drake, Jr.
d1df594ca2 If the check library is not available, use an abbreviated implementation of
the check API.  This allows the unit and regression tests to be run on any
system without requiring an external package.
2004-04-30 03:18:11 +00:00
Fred L. Drake, Jr.
d11807a7b5 Allow the configure script to set where manpages go using --mandir.
Closes SF bug #827319.
2003-11-02 08:21:30 +00:00
Fred L. Drake, Jr.
99609421a8 Make it possible to avoid the import of expat_config.h. This makes it
easier to compile Expat without the autoconf support.
This closes SF patch #458907.
2003-10-16 04:51:11 +00:00
Fred L. Drake, Jr.
d976fa61a6 Add a clobber target. "clean" should really be less destructive, but
libtool is really a thorn with regard to this.
2003-01-24 16:21:46 +00:00
Fred L. Drake, Jr.
de3338154c Avoid use of xargs; not available on Windows when using MSYS/MinGW. 2002-11-07 21:48:05 +00:00
Fred L. Drake, Jr.
858593e849 Use the FASTCALL macro for many of the internal functions. 2002-09-05 01:58:27 +00:00
Fred L. Drake, Jr.
8875cf76db Update to Karl's version of this script, and use the latest version of
the tests from the W3C.
2002-09-03 23:19:30 +00:00
Fred L. Drake, Jr.
5b85b08976 Update the "clean" target to match the current arrangement. 2002-08-23 21:53:29 +00:00
Fred L. Drake, Jr.
06f03f92da Fix installation when building from outside the source directory.
Closes SF patch #566901.
2002-07-11 18:54:42 +00:00
Fred L. Drake, Jr.
0c406cce19 Split the install and uninstall targets into library and non-library
components, creating the new targets installlib and uninstalllib.
2002-06-03 18:16:07 +00:00
Greg Stein
733fc33825 conftools/libtool.m4 is generated by buildconf.sh, so make sure that
it gets tossed during 'extraclean'
2002-06-01 22:35:28 +00:00
Greg Stein
72ced69405 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.
2002-06-01 22:29:30 +00:00
Fred L. Drake, Jr.
cad79377e7 Factor out the definition of the directory the manual page is
installed into; hopefully this will fix the RPM construction.
2002-05-31 15:51:21 +00:00
Greg Stein
04d54677dc 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
2002-05-18 00:26:59 +00:00
Greg Stein
950c9a1124 A couple more tweaks for config.h -> expat_config.h 2002-05-17 21:38:44 +00:00
Greg Stein
9fcff4a9eb 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
2002-05-17 21:30:07 +00:00
Fred L. Drake, Jr.
74b32a6fc3 Make the uninstall target use the right location for the header file. 2002-05-17 14:12:25 +00:00
Fred L. Drake, Jr.
d05c7a58f7 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.
2002-04-29 21:31:18 +00:00
Fred L. Drake, Jr.
198ab270fe 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.
2002-04-25 04:04:42 +00:00
Fred L. Drake, Jr.
91e3f5c543 Add support for the xmlwf manpage, both for install and uninstall. 2002-04-22 17:04:36 +00:00
Greg Stein
5fa57b76e6 xmlwf should depend on the library, too. 2002-04-22 10:22:48 +00:00
Fred L. Drake, Jr.
d084912ca5 Added missing library to link line for tests; not sure how this had not
been checked in!
2002-04-20 13:24:59 +00:00
Fred L. Drake, Jr.
be3da03386 Simplify the command used to run the test program. 2002-04-20 13:11:16 +00:00
Fred L. Drake, Jr.
1d5e745673 Make the sample applications depend on the Expat library. 2002-04-19 18:57:24 +00:00
Greg Stein
a13d856e8f * Switch to a single, top-level Makefile (simplification, consistency)
* use libtool to compile/link all programs
* remove */Makefile.in and remove them from configure
* remove autom4te.cache after running autoconf
* remove .o from the FILEMAP logic in configure and the Make system;
  provides more flexibility in the Makefile to use it
* for VPATH builds: create the build subdirs by running
  "make mkdir-init" from the configure script
* adjust .cvsignore files to account for presence of .libs now
2001-12-07 10:19:31 +00:00
Fred L. Drake, Jr.
b9ca027b09 Revert previous change and use an alternate approach, this time actually
tested on one of the platforms that exhibited the problem this tries to
fix.  Solution contributed by Michael C. Maggio; thanks!
2001-10-02 16:40:17 +00:00