Commit Graph

33 Commits

Author SHA1 Message Date
Sebastian Pipping
21381bf35e conftools: Use -Werror when checking compile flags 2020-03-20 05:35:57 +01:00
Sebastian Pipping
c69657f8fd m4: Fix check for -fvisibility=hidden for Clang 2019-01-26 18:35:37 +01:00
Sebastian Pipping
8a95a28658 m4: Reformat C test code to be readable 2019-01-26 16:42:02 +01:00
Marco Maggi
8e64ef849d fixed missing dollar sign in parameter expansion of custom autoconf macro 2018-10-20 20:55:16 +02:00
Marco Maggi
12733c9026 rewritten check for visibility support by the compiler 2018-10-20 12:57:22 +02:00
Marco Maggi
c66e010436 fixed name of autoconf macro file 2018-10-20 12:37:56 +02:00
Marco Maggi
78646864c9 reorganised check for compiler supporting visibility 2018-10-18 13:27:40 +02:00
Marco Maggi
67342942d6 more autoconf macros for linker flags 2018-10-18 13:06:14 +02:00
Marco Maggi
97afdec50d added usage of more autoconf macros (from the autoconf marcros archive) 2018-10-18 12:54:28 +02:00
Marco Maggi
d84a5f6caa added use of AX_CHECK_COMPILE_FLAG Autoconf macro 2018-10-18 12:26:04 +02:00
Marco Maggi
cf3c2aa084 stopped using ac_c_bigendian_croos in favor of ac_c_bigendian 2018-10-18 11:40:29 +02:00
Marco Maggi
9fb802c7fc started autotools usage overhaul with some configure.ac revision
Modernisation of libtool initialisation.  Use of acinclude.m4 to load
macro definition files.
2018-10-18 11:24:11 +02:00
luz.paz
5b1584c81d Misc. typos
Found via `codespell -q 3`
2018-02-16 09:47:13 -05:00
Sebastian Pipping
ed2f80870a conftools/mkinstalldirs: Removed generated file (#65) 2017-08-19 16:37:38 +02:00
Sebastian Pipping
d4390f34f3 Replace handwritten Makefile with GNU Automake 2017-08-12 16:09:50 +02:00
Kerin Millar
c14a173105 conftools/get-version.sh: Fix unsafe expansions of $hdr
Also, use $() instead of ``. See http://mywiki.wooledge.org/BashFAQ/082.
2017-06-29 17:00:36 +01:00
Kerin Millar
9502963fd2 conftools/get-version.sh: Use printf rather than try to infer non-portable echo options 2017-06-29 16:59:59 +01:00
Sebastian Pipping
3f5ed8f18d Extend .gitignore 2016-03-02 18:01:53 +01: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
6daf07c969 As per issue #1983953: updates to the most recent versions available
at the repository http://git.savannah.gnu.org.
2009-01-18 22:58:32 +00:00
Karl Waclawek
014f661d16 Applied patch originating from Debian (http://svn.debian.org/wsvn/debian-xml-sgml/packages/expat/trunk/debian/patches/485129_fix_underquotation_in_m4.dpatch?op=file&rev=0&sc=0). 2009-01-18 21:26:13 +00:00
Karl Waclawek
cf917aae90 Updated to recognize more platforms. See bug # 1554618 2006-09-22 14:42:54 +00:00
Karl Waclawek
855d53bf77 Some typos corrected. 2006-04-07 20:29:26 +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
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
Fred L. Drake, Jr.
777f7a9413 autoconf probe macro to determine how to use Expat.
Anonymous contribution: SF patch #438892.
2001-11-09 04:55:33 +00:00
Fred L. Drake, Jr.
28a00dfecb Added a "-c" option to the $CC command line to make this macro work as
expected on more platforms (IBM's xlC compiler in particular).
2001-10-01 20:03:13 +00:00
Greg Stein
3a09ad5535 Hush up, cvs... 2001-08-23 13:27:38 +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
Fred L. Drake, Jr.
109f8790f9 Adding cross-compile safe BIGENDIAN test for autoconf. Original source:
http://cryp.to/autoconf-archive/Cross_Compilation/ac_c_bigendian_cross.html

This is part of SF patch #431342.
2001-07-24 19:51:35 +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
Clark Cooper
63d2f68760 Switch to using MANIFEST to build distribution.
Also fix xmlwf to use current entity declaration signature.
2000-09-28 19:47:35 +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