[xml] [PATCH] Autotools updates, follow-on fixes



The attached patch updates obsolete Autoconf/Automake syntax, and fixes one spot I overlooked in my recently-merged omnibus patch. All this was inspired by "autoreconf -Wall" :)

The walk-through:

Makefile.am, doc/examples/Makefile.am, example/Makefile.am, python/Makefile.am:

* Use AM_CPPFLAGS instead of INCLUDES, as the latter is an obsolete name

* (Where applicable) Moved $(*_CFLAGS) variables into AM_CFLAGS rather
  than AM_CPPFLAGS, to keep CFLAGS segregated from CPPFLAGS

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

* 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

doc/examples/index.py:

* Use AM_CPPFLAGS instead of INCLUDES, as the latter is an obsolete name

* Moved $(*_CFLAGS) variables into AM_CFLAGS rather than AM_CPPFLAGS, to
  keep CFLAGS segregated from CPPFLAGS

* Missed this ealier: Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of
  $(mkinstalldirs)


--Daniel


--
Daniel Richard G. || danielg teragram com || Software Developer
Teragram Linguistic Technologies (a division of SAS)
http://www.teragram.com/

Attachment: libxml2-autotools-updates.patch
Description: Patch against git master



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]