Use gnulib pipe module instead of popen(3).
commit54a1ab447fc79ed0f817e6b8e140ac2fd49b6e62
authorEric Blake <ebb9@byu.net>
Mon, 2 Mar 2009 13:54:28 +0000 (2 06:54 -0700)
committerEric Blake <ebb9@byu.net>
Fri, 13 Mar 2009 12:55:13 +0000 (13 06:55 -0600)
tree161d60f9f7037b935daece637e0225351344ecaa
parentdda0922ce08566dc37d4521495f78a0fbc9bc5f7
Use gnulib pipe module instead of popen(3).

* ltdl/m4/gnulib-cache.m4: Import pipe and wait-process modules.
* modules/gnu.c (M4_SYSVAL_EXITBITS, M4_SYSVAL_TERMSIGBITS):
Delete.
(esyscmd): Rewrite with pipe module.
Resolves a failure on AIX, reported by Gary V. Vaughan.

Signed-off-by: Eric Blake <ebb9@byu.net>
(cherry picked from commit 9915ef54d55fae837209bc87d35c777715653bed)
ChangeLog
ltdl/m4/gnulib-cache.m4
modules/gnu.c