[pacman-dev] [PATCH 5/5] Update build system (automake, autoconf, libtool)

Dan McGee dan at archlinux.org
Thu Sep 23 10:17:59 EDT 2010


Unfortunately this patch is hard to split up into smaller chunks. Our build
system and the associated automake/autoconf/libtool macros has been left
untouched for a while, and could use a refresher.

* Upgrade ltmain.sh to the latest version
* Move away from a huge acinclude.m4 directory to using individual files in
  the m4/ subdirectory, suggested by upstream automake documentation
* Update all macros to their latest available version
* Adjust Makefile.am and autogen.sh to accommodate m4/ subdirectory

Signed-off-by: Dan McGee <dan at archlinux.org>
---

Full patch available here:
http://code.toofishes.net/cgit/dan/pacman.git/commit/?h=build-system&id=f489e969f0ca65fe210678844fabddd29a7597e1

 Makefile.am       |    2 +
 acinclude.m4      | 4872 ------------------
 autogen.sh        |    2 +-
 configure.ac      |    2 +-
 ltmain.sh         |14812 +++++++++++++++++++++++++++++++----------------------
 m4/gettext.m4     |  383 ++
 m4/iconv.m4       |  214 +
 m4/intlmacosx.m4  |   51 +
 m4/lib-ld.m4      |  110 +
 m4/lib-link.m4    |  774 +++
 m4/lib-prefix.m4  |  224 +
 m4/libtool.m4     | 7831 ++++++++++++++++++++++++++++
 m4/ltoptions.m4   |  369 ++
 m4/ltsugar.m4     |  123 +
 m4/ltversion.m4   |   23 +
 m4/lt~obsolete.m4 |   98 +
 m4/nls.m4         |   32 +
 m4/po.m4          |  449 ++
 m4/progtest.m4    |   92 +
 19 files changed, 19523 insertions(+), 10940 deletions(-)
 mode change 100644 => 100755 ltmain.sh
 create mode 100644 m4/gettext.m4
 create mode 100644 m4/iconv.m4
 create mode 100644 m4/intlmacosx.m4
 create mode 100644 m4/lib-ld.m4
 create mode 100644 m4/lib-link.m4
 create mode 100644 m4/lib-prefix.m4
 create mode 100644 m4/libtool.m4
 create mode 100644 m4/ltoptions.m4
 create mode 100644 m4/ltsugar.m4
 create mode 100644 m4/ltversion.m4
 create mode 100644 m4/lt~obsolete.m4
 create mode 100644 m4/nls.m4
 create mode 100644 m4/po.m4
 create mode 100644 m4/progtest.m4



More information about the pacman-dev mailing list