stdbuf: fix automake variable name to work with cutting edge automake
commite23f179557bc17bb7d2d72728d3b730d21aa41d8
authorJim Meyering <meyering@redhat.com>
Sun, 19 Jun 2011 09:41:24 +0000 (19 11:41 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 19 Jun 2011 19:57:43 +0000 (19 21:57 +0200)
treec55cecd97782354eccb9353926bddd4295e5cff2
parent24b3c8b160e44305359c121e88c731b0366ad210
stdbuf: fix automake variable name to work with cutting edge automake

* src/Makefile.am (pkglibexec_PROGRAMS): Rename from pkglib_PROGRAMS.
The latter is invalid.  Without this change, automake
v1.11-373-g9ca6326 and newer (on master) would fail with this:
`pkglibdir' is not a legitimate directory for `PROGRAMS'
This changes the default installation directory of libstdbuf.so from
$prefix/lib/coreutils/ to
$prefix/libexec/coreutils/
* src/stdbuf.c (set_LD_PRELOAD): Search in PKGLIBEXECDIR, not PKGLIBDIR,
since that's where we install libstdbuf.so.
Do not search in "", the system default search path.
src/Makefile.am
src/stdbuf.c