passfd: fix test regression on Linux
authorEric Blake <eblake@redhat.com>
Thu, 21 Apr 2011 20:53:49 +0000 (14:53 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 21 Apr 2011 20:53:49 +0000 (14:53 -0600)
* modules/passfd-tests (configure.ac): Correct socketpair check.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
modules/passfd-tests

index be6470a..c9f717e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-04-21  Eric Blake  <eblake@redhat.com>
 
+       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
index 29e3ad9..9bb1c5c 100644 (file)
@@ -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