1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-24 21:33:51 +03:00
Commit Graph

29 Commits

Author SHA1 Message Date
Nick Wellnhofer
0e6e39213a ci: Show config.log if configuration failed 2024-03-22 18:39:57 +01:00
Nick Wellnhofer
65b01647bf Build Autotools CI tests out of source tree (VPATH) 2022-04-21 06:59:02 +02:00
Nick Wellnhofer
ff05c94a6e Fix check for libtool in autogen.sh
libtoolize is named glibtoolize on some macOS systems.
2022-01-16 13:58:39 +01:00
Vitaly Buka
19f5efd677 Change dir to $THEDIR after ACLOCAL_PATH check
autoreconf creates aclocal.m4 in $srcdir
2018-08-23 20:42:23 +00:00
Nick Wellnhofer
b6ab8b449c Improve error message if pkg.m4 couldn't be found
Check whether aclocal.m4 contains the pkg.m4 macro package after running
autoreconf and print a more helpful error message.

Thanks to 林博仁 (Buo-ren Lin) for the initial patch.

Closes: #21
2018-08-19 19:31:19 +02:00
林博仁(Buo-ren Lin)
173ea684dd Don't instruct user to run make when autogen.sh failed
Currently the autogen script will always tell user to run make even
when the configure script failed, this patch changes the behavior to
only show this message when the configure script terminates without
error.
2018-08-19 19:02:12 +02:00
Daniel Richard G
ec4fc529b3 More updates and cleanups on autotools and Makefiles
Makefile.am, example/Makefile.am:

* Replaced the obsolete INCLUDES variable with AM_CPPFLAGS/AM_CFLAGS

acinclude.m4:

* autoupdate replaced AC_FD_CC with AS_MESSAGE_LOG_FD

autogen.sh:

* Added -Wall to the autoreconf invocation, which turned up a whole slew
   of warnings that are fixed by this patch

configure.in:

* Most of the changes are due to autoupdate, with subsequent manual
   tidying

* Note that autoupdate bumped the AC_PREREQ version from 2.59 to 2.68. If
   you normally use an older version of Autoconf, and everything works fine
   if you comment out that directive, feel free to bump down the version
   accordingly.

* Ensure that #include directives in C fragments always have no whitespace
   to the left of the '#' mark, as some preprocessors need that to be in
   the first column

example/Makefile.am:

* Don't need DEPS

* Use plain LDADD instead of LDADDS; if all programs in this file need to
   link against the same set of libraries, then this is all you need
2012-08-17 10:04:30 +08:00
Javier Jardón
05fd0285bf autogen.sh: Fix typo 2012-04-02 17:39:26 +01:00
Daniel Veillard
16d3a61880 Add --system support to autogen.sh 2012-02-29 09:34:32 +08:00
Colin Walters
ca03efc4bf autogen: Only check for libtoolize
The system /usr/bin/libtool may not be in all installations.
2012-01-27 07:08:40 -05:00
Colin Walters
81809d527c autogen.sh: Honor NOCONFIGURE environment variable
See http://people.gnome.org/~walters/docs/build-api.txt
2012-01-05 10:08:03 -05:00
Rob Richards
bdf24b9f9b Autogen.sh needs to create m4 directory
* autogen.sh: create m4 directory if not already existing
2010-04-26 16:09:34 -04:00
Daniel Veillard
743311bd91 use autoreconf in autogen.sh
* autogen.sh: use autoreconf instead of the direct set of calls for
  auto* updates
* INSTALL INSTALL.libxml2: migrate the INSTALL to INSTALL.libxml2 since
  autoreconf copies a new INSTALL
2010-03-10 10:35:56 +01:00
Daniel Veillard
3157e51508 Upgrade some of the configure and autogen
Based on Roumen Petrov suggestions
2010-03-09 11:32:46 +01:00
William M. Brack
476cd96411 took away the requirement for automake-1.4, changed the messages for
* autogen.sh: took away the requirement for automake-1.4,
  changed the messages for getting auto* tools to current
  gnu pages.
* configure.in, configure: added check for Linux Dec alpha
  requiring -ieee flag, fixed test for ipv6
* trionan.c: fixed problem for compiling on Linux Dec alpha
  using native compiler
* doc/Makefile.am: implemented regeneration of win32/libxml2.def.src
  whenever libxml2-api.xml is changed.
2003-08-13 11:09:42 +00:00
Havoc Pennington
84ec40a51c update error message for missing automake
2002-08-22  Havoc Pennington  <hp@pobox.com>

	* autogen.sh: update error message for missing automake
2002-08-22 13:59:35 +00:00
Havoc Pennington
830e8971f4 hardcode aclocal-1.4/automake-1.4 so that users with both automake 1.6 and
2002-08-18  Havoc Pennington  <hp@pobox.com>

	* autogen.sh: hardcode aclocal-1.4/automake-1.4 so that users with
	both automake 1.6 and 1.4 installed get the right automake. Means
	compilation from CVS will now require the latest automake 1.4
	release, or manually creating symlinks called "automake-1.4" and
	"aclocal-1.4"
2002-08-18 22:22:13 +00:00
Daniel Veillard
cd1d9448b8 should finish the migration of exported includes into a real
* configure.in: should finish the migration of exported includes
  into a real include/libxml in CVS, at least for CVS users.
* removed the exported headers, added in include/libxml (as well
  as xmlversion.h.in).
Daniel
2001-06-23 18:53:44 +00:00
Owen Taylor
3473f88a7a Revert directory structure changes 2001-02-23 17:55:21 +00:00
CET 2001 Tomasz Koczko
64636e7f6e moved to libxml directory - this allow simplify automake/autoconf. Now
Thu Feb 23 02:03:56 CET 2001 Tomasz Koczko <kloczek@pld.org.pl>

        * *.c *.h libxml files: moved to libxml directory - this allow
	  simplify automake/autoconf. Now isn't neccessary hack on
	  am/ac level for make and remove libxml symlink (modified for this
	  also configure.in and main Makefile.am). Now automake abilities
	  are used in best way (like in many other projects with libraries).
	* include/win32config.h: moved to libxml directory (now include
	  directory isn't neccessary).
	* Makefile.am, examples/Makefile.am, libxml/Makefile.am:
	  added empty DEFS and in INCLUDES rest only -I$(top_builddir) -
	  this allow minimize parameters count passed to libtool script
	  (now compilation is also slyghtly more quiet).
	* configure.in: simplifies libzdetestion - prepare separated
	  variables for keep libz name and path to libz header files isn't
	  realy neccessary (if someone have libz installed in non standard
	  prefix path to header files ald library can be passed as:
	  $ CFALGS="-I</libz.h/path>" LDFLAGS="-L</libz/path>" ./configure
	* autogen.sh: check now for libxml/entities.h.

	After above building libxml pass correctly and also pass
	"make install DESTDIR=</install/prefix>" from tar ball generated by
	"make dist". Seems ac/am reorganization is finished. This changes
	not touches any other things on *.{c,h} files level.
2001-02-23 01:37:32 +00:00
Daniel Veillard
361d845de0 Work done on the plane, ready to release libxml2-2.0.0, Daniel 2000-04-03 19:48:13 +00:00
Daniel Veillard
19b858c4e8 *** empty log message *** 1999-02-06 18:12:01 +00:00
Arturo Espinosa
cd69df9b7f Fix Sopwith's autogen.sh hack. Dunno exactly what he was trying to do here though 1998-12-28 23:49:02 +00:00
Elliot Lee
8f8b4c80f6 allow srcdir != builddir, or somesuch.
allow srcdir != builddir, or somesuch.
1998-12-23 00:37:26 +00:00
Elliot Lee
aa873f7b76 allow setting $OBJ_DIR to specify building in a subdir 1998-11-20 05:12:04 +00:00
Daniel Veillard
7066a79c63 Patched autogen.sh to to autoupdate libtool and automake config files, Daniel. 1998-10-01 20:28:28 +00:00
Daniel Veillard
260a68fd34 Release 0.2, 80% rewrite, nothing left intact ... Daniel 1998-08-13 03:39:55 +00:00
Christopher Blizzard
b7e2badf8e )
* We're compiling gnome-xml, not GLIB. :)
1998-07-24 20:09:58 +00:00
Daniel Veillard
01791d57d6 Added the XML code developped at W3C, Daniel. 1998-07-24 19:24:09 +00:00