Commit Graph

27 Commits

Author SHA1 Message Date
Fred L. Drake, Jr.
16b90ab627 Add missing word in comment. 2002-04-20 21:14:48 +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.
8b8f94fc2c Be more careful about deciding which filemap implementation to use for
xmlwf.  Part of SF patch #465018.

Only add the -fexceptions option when the version of GCC we're using
actually supports it.  This relates to & partially solves SF bug #445893;
see also SF bug #419585 for why the option was originally added.
2001-11-09 04:19:01 +00:00
Greg Stein
48d3438f5a Simplify the version handling some more by breaking the release process out
of the makefile into a separate script -- the script can do much more and
the makefile dependencies were not used anyways (just serving to obfuscate).
2001-08-23 13:26:37 +00:00
Greg Stein
a5e3cad879 Revamp how the version stuff is handled. Use the header file as the
original, and extract the numbers within the configure script.

* configure.in: extract the numbers from lib/expat.h

* Makefile.in: simplify the construction of DISTDIR

* lib/Makefile.in: no need to define the VERSION preprocessor symbol

* lib/expat.dsp: do not define VERSION (changed, but untested!)

* lib/xmlparse.c: revamp the XML_ExpatVersion() function

* lib/expat.h(.in): just ship the baby, rather than generating it
2001-08-23 12:35:53 +00:00
Greg Stein
33589a12bc * stop using aclocal.m4 and directly sinclude() the .m4 files into the
configure script. don't "clean" it and remove it from .cvsignore.
  Note: to avoid problems in developer dirs, we nuke the file in
  buildconf.sh for now; we'll stop doing that at some future time.
  [idea from ASF]

* look for glibtoolize, in addition to libtoolize (e.g. the MacOS X platform
  names it differently). [patch from ASF]

* conftools/missing is not needed

* use "exit 0" in buildconf.sh to help calling scripts. [patch from ASF]

* minor output cleanup in "make clean"
2001-08-23 11:27:26 +00:00
Greg Stein
866f6330cc Clean out some unused bits from the makefiles. Remove some of the recursion
and just do it from the top-level instead.
2001-08-23 09:24:45 +00:00
Fred L. Drake, Jr.
b48c6919bb Update so the tests will be run by "make check". 2001-08-17 19:23:02 +00:00
Fred L. Drake, Jr.
bea3e90921 Remove the sample directory; it is no longer used. 2001-07-26 21:57:57 +00:00
Fred L. Drake, Jr.
d8263250ee More GCC flags, when we're using GCC:
-Wmissing-prototypes, to tighten up the warnings, and
-fexceptions, to make the generated code exception-safe when using it
with C++ code.

This closes SF bug #419585.
2001-07-26 20:48:06 +00:00
Fred L. Drake, Jr.
286151fe68 When using GCC, use stronger error-checking options. 2001-07-25 17:25:46 +00:00
Fred L. Drake, Jr.
3b3a7ec889 Use the AC_C_BIGENDIAN_CROSS macro instead of the non-cross-compile-safe
version normally provided with autoconf.

I have not tested this in a cross-compilation environment, but it does
not break things in my x86 environment.  (If this breaks things for anyone,
please file a bug report!)

This closes SF patch #431342.
2001-07-24 19:54:20 +00:00
Fred L. Drake, Jr.
84ec06ca9c Support building from directories other than the source directory.
Patch contributed by Mo DeJong -- thanks!

This closes SF patch #431340.
2001-07-21 03:37:12 +00:00
Greg Stein
4232566291 Revamp config/build to keep generated files out of CVS (some libtool files
were out of date, and we've previously seen expat.h out of sync).

*) Use new script "buildconf.sh" to create the set of generated files
   (aclocal.m4, config.h.in, configure). This is intended to be used by
   developers (rerun when configure.in changes) and just before a release
   (releases include these outputs).

   Developers now need the "autoconf" and "libtool" packages.

*) config.h.in is now built by autoheader and includes bits from acconfig.h
   rather than manual construction/maintenance. (renamed from config.hin)

*) added conftools/PrintPath from the ASF; it is a portable "which"

*) added "extraclean" target to top-level Makefile to get rid of all
   generated files (return to pure CVS state; before buildconf.sh)

*) updates various bits for config.hin -> config.h.in rename

*) no longer need to delete the ".deps" subdir since we don't create it
   anymore (dependencies are explicit rather than auto-generated).
2001-03-10 15:41:50 +00:00
Fred L. Drake, Jr.
6c543e265d Spoke to soon -- one of the patches added a Makefile.in to the sample/
directory, so we do need to configure it.
2001-03-01 04:14:23 +00:00
Fred L. Drake, Jr.
43be41d965 There is no sample/Makefile.in, so do not try to generate sample/Makefile
even if the directory exists.
2001-03-01 04:07:20 +00:00
Fred L. Drake, Jr.
83e53eb8d0 Sam TH:
Only configure makefiles in child directories that exist.

[...and added explanation as to why this is useful -- FLD.]

This closes SF tracker patch #403585.
2001-03-01 03:47:12 +00:00
Fred L. Drake, Jr.
16031442b8 Make sure we generate lib/expat.h. 2001-01-24 19:42:05 +00:00
Clark Cooper
604600883c Clark's compromise changes to Fred's version info change. 2000-12-27 19:37:37 +00:00
Fred L. Drake, Jr.
c9d4a09e50 Add a comment that the version numbers here must match those in lib/expat.h. 2000-12-21 14:33:23 +00:00
Fred L. Drake, Jr.
11464c65f8 Update the minor version number since the C API has been extended. 2000-12-21 01:50:28 +00:00
Clark Cooper
809a5d2916 Revised fix for abort occurring with a percent followed by whitespace or
another percent in entity values.
2000-10-20 15:14:36 +00:00
Clark Cooper
e8b7b5fa4f Fixes to allow DLLs to built under Windows. 2000-09-28 17:53:00 +00:00
Clark Cooper
a37327861c Change version number to accord with beta release. 2000-09-26 13:52:33 +00:00
Clark Cooper
24a3551e56 Added dynamic malloc substitution. Added libtool versioning. 2000-09-24 03:43:37 +00:00
Clark Cooper
c446fb274e Merged in modifications from perl-expat. Also fiddled around with more
configuration issues.
2000-09-21 21:20:18 +00:00
Clark Cooper
c135be083d These are the first check-ins for the libexpat task: create configuration
files and setup for building a shareable libexpat.
2000-09-18 16:26:23 +00:00