summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Ronja <nikita@NetBSD.org>2022-03-18 13:51:02 +0100
committerMartin Schanzenbach <schanzen@gnunet.org>2022-03-18 23:03:03 +0100
commit4f3c8d098ae6d039effdd314018257b9ca2cfb94 (patch)
tree21ca62d2311097c7122d6cd2e418f28ef97976ee
parentfcbabc6b637ba341c7a86e240302010a4429d41c (diff)
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 <schanzen@gnunet.org>
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
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