[PATCH] use gnulib

Jim Meyering jim at meyering.net
Thu Dec 16 12:42:35 UTC 2010


At 25 change sets, this is a large series, but the impact on iwhd
itself is minimal.  Benefits: improved portability, maintainability
and robustness.

The idea is to provide an improved development framework, in which
it is easier to avoid certain classes of mistakes.  That series is a
prerequisite for my dynamic provider series, about which I will post soon.

I've pushed the 24 change sets to the gnulib branch.
View it via this:

    http://repo.or.cz/w/iwhd.git/shortlog/refs/heads/gnulib

If you want to build using the new framework, start with the new
README-* files.  Realize that there is some cost in using gnulib.
The initial clone+./bootstrap (bootstrap is the new name for autogen.sh)
takes longer because it may include cloning gnulib (if you don't
have an existing copy), and the new configure script takes longer
because it does more.

See README-* for details.

Here's the combined diffstat:

 GNUmakefile                  |   21 -
 INSTALL                      |  365 ------------------
 Makefile.am                  |    7
 b/.gitignore                 |    2
 b/.gitmodules                |    3
 b/.x-sc_trailing_blank       |    1
 b/Makefile.am                |    4
 b/auto.c                     |    8
 b/backend.c                  |    3
 b/bootstrap                  |  858 +++++++++++++++++++++++++++++++++++++++++++
 b/bootstrap.conf             |   96 ++++
 b/cfg.mk                     |   73 +++
 b/configure.ac               |   27 -
 b/doc/.gitignore             |    1
 b/doc/warehouse_api_final.md |    8
 b/gnulib                     |    1
 b/gnulib-tests/.gitignore    |   97 ++++
 b/gnulib-tests/Makefile.am   |    3
 b/iwh.h                      |    4
 b/lib/.gitignore             |   94 ++++
 b/lib/Makefile.am            |   23 +
 b/m4/ax_boost_base.m4        |    8
 b/m4/ax_boost_system.m4      |   12
 b/m4/ax_boost_thread.m4      |   12
 b/mpipe.h                    |    1
 b/notes.txt                  |    1
 b/qparser.y                  |   38 -
 b/replica.c                  |    3
 b/replica.h                  |    2
 b/rest.c                     |    2
 b/setup.c                    |    2
 b/t/Makefile.am              |    3
 b/t/replication              |   18
 backend.c                    |    7
 bootstrap.conf               |    7
 cfg.mk                       |    9
 configure.ac                 |   84 ++++
 m4/ax_boost_base.m4          |    2
 replica.c                    |    5
 rest.c                       |   21 -
 setup.c                      |    5
 41 files changed, 1423 insertions(+), 518 deletions(-)


More information about the iwhd-devel mailing list