Collin Funk <collin.fu...@gmail.com> writes: > I had assumed these macros were defined since sys_socket depends on > m4/sockpfaf.m4. However, the module doesn't invoke gl_SOCKET_FAMILIES.
... Sorry, I didn't see gl_SOCKET_FAMILIES only checked IPv4 & IPv6 sockets. UNIX sockets are in gl_SOCKET_FAMILY_UNIX. One line change. Collin
>From 50f3ee48c030af01ddd5f6f1d3b38a582287a202 Mon Sep 17 00:00:00 2001 From: Collin Funk <collin.fu...@gmail.com> Date: Tue, 23 Jul 2024 21:22:16 -0700 Subject: [PATCH] sys_socket tests: Fix mistake in previous commit. * modules/sys_socket-tests (configure.ac): Invoke gl_SOCKET_FAMILY_UNIX. --- ChangeLog | 3 +++ modules/sys_socket-tests | 1 + 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3730873e91..5910b4699c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2024-07-23 Collin Funk <collin.fu...@gmail.com> + sys_socket tests: Fix mistake in previous commit. + * modules/sys_socket-tests (configure.ac): Invoke gl_SOCKET_FAMILY_UNIX. + sys_socket tests: Define macros necessary for tests (regr. 2024-07-22). * modules/sys_socket-tests (configure.ac): Invoke gl_SOCKET_FAMILIES. diff --git a/modules/sys_socket-tests b/modules/sys_socket-tests index d55b9ce51b..651d22c65f 100644 --- a/modules/sys_socket-tests +++ b/modules/sys_socket-tests @@ -9,6 +9,7 @@ sys_socket-c++-tests configure.ac: AC_CHECK_FUNCS_ONCE([shutdown]) gl_SOCKET_FAMILIES +gl_SOCKET_FAMILY_UNIX Makefile.am: TESTS += test-sys_socket -- 2.45.2