* modules/passfd-tests (configure.ac): Correct socketpair check.

Signed-off-by: Eric Blake <[email protected]>
---

Apparently, FUNCS and DECLS look too much alike, and I did an
ill-advised last-minute consolidation in my series.

 ChangeLog            |    3 +++
 modules/passfd-tests |    3 ++-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index be6470a..c9f717e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-04-21  Eric Blake  <[email protected]>

+       passfd: fix test regression on Linux
+       * modules/passfd-tests (configure.ac): Correct socketpair check.
+
        passfd: speed up configure and drop unused code
        * m4/afunix.m4 (gl_SOCKET_AFUNIX): Rename...
        * m4/passfd.m4 (gl_PASSFD): ...to something more fitting of
diff --git a/modules/passfd-tests b/modules/passfd-tests
index 29e3ad9..9bb1c5c 100644
--- a/modules/passfd-tests
+++ b/modules/passfd-tests
@@ -6,7 +6,8 @@ Depends-on:
 sys_wait

 configure.ac:
-AC_CHECK_DECLS_ONCE([alarm socketpair])
+AC_CHECK_DECLS_ONCE([alarm])
+AC_CHECK_FUNCS_ONCE([socketpair])

 Makefile.am:
 TESTS += test-passfd
-- 
1.7.4.4


Reply via email to