From 4f3c8d098ae6d039effdd314018257b9ca2cfb94 Mon Sep 17 00:00:00 2001 From: Nikita Ronja Date: Fri, 18 Mar 2022 13:51:02 +0100 Subject: configure.ac: use lo0 for the 3 listed BSD Systems. Without this, GNUNET_DEFAULT_INTERFACE is empty, which leads to a compilation-time error on at least NetBSD due to the resulting syntax error. lo0 definitely exists, it is up to the individual package maintainers and/or system administrators after installation to set this to usable devices. We can not predict the default device names on those *BSD systems, as there are no default names. Signed-off-by: Martin Schanzenbach --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 713817168..c2296f004 100644 --- a/configure.ac +++ b/configure.ac @@ -128,6 +128,7 @@ AS_CASE(["$host_os"], [*freebsd*], [CFLAGS="-D_THREAD_SAFE $CFLAGS" build_target="freebsd" + DEFAULT_INTERFACE="\"lo0\"" xbsd="yes" LIBPREFIX= DLLDIR=lib @@ -139,6 +140,7 @@ AS_CASE(["$host_os"], # and PIC has to be enabled CFLAGS="-fPIC $CFLAGS" build_target="openbsd" + DEFAULT_INTERFACE="\"lo0\"" xbsd="yes" LIBPREFIX= DLLDIR=lib @@ -146,6 +148,7 @@ AS_CASE(["$host_os"], ], [*netbsd*], [build_target="netbsd" + DEFAULT_INTERFACE="\"lo0\"" xbsd="yes" LIBPREFIX= DLLDIR=lib -- cgit v1.2.3