build: new module to convert lib/ to non-recursive make
authorJim Meyering <meyering@redhat.com>
Mon, 10 Sep 2012 14:38:03 +0000 (16:38 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 11 Sep 2012 09:23:00 +0000 (11:23 +0200)
commit640fb7a108eec6242c85481fbc0093f67147918b
tree047709e86b198b5cbc9cb7ad968ab52c90da3b18
parent40e8affc16740e79713de7d929fcd594ce4fb87f
build: new module to convert lib/ to non-recursive make

* gl/modules/non-recursive-gnulib-prefix-hack: New module.
* gl/m4/non-recursive-gnulib-prefix-hack.m4:
(gl_NON_RECURSIVE_GNULIB_PREFIX_HACK): This is the snippet
that this module inserts near the end of configure.
* gl/build-aux/prefix-gnulib-mk: New script, from bison.
Changes from the code in bison:
(prefix_assignment): Split a long line.
(prefix): Add trailing slashes to avoid a single false match.
Prefix imaxtostr.c and the other *tostr.c file names manually.
Also, use $prefix in place of hard-coded "lib/".
gl/build-aux/prefix-gnulib-mk [new file with mode: 0755]
gl/m4/non-recursive-gnulib-prefix-hack.m4 [new file with mode: 0644]
gl/modules/non-recursive-gnulib-prefix-hack [new file with mode: 0644]