diff options
author | Nikita Ronja <nikita@NetBSD.org> | 2022-03-18 13:51:02 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-03-18 23:03:03 +0100 |
commit | 4f3c8d098ae6d039effdd314018257b9ca2cfb94 (patch) | |
tree | 21ca62d2311097c7122d6cd2e418f28ef97976ee /configure.ac | |
parent | fcbabc6b637ba341c7a86e240302010a4429d41c (diff) | |
download | gnunet-4f3c8d098ae6d039effdd314018257b9ca2cfb94.tar.gz gnunet-4f3c8d098ae6d039effdd314018257b9ca2cfb94.zip |
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>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
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"], | |||
128 | [*freebsd*], | 128 | [*freebsd*], |
129 | [CFLAGS="-D_THREAD_SAFE $CFLAGS" | 129 | [CFLAGS="-D_THREAD_SAFE $CFLAGS" |
130 | build_target="freebsd" | 130 | build_target="freebsd" |
131 | DEFAULT_INTERFACE="\"lo0\"" | ||
131 | xbsd="yes" | 132 | xbsd="yes" |
132 | LIBPREFIX= | 133 | LIBPREFIX= |
133 | DLLDIR=lib | 134 | DLLDIR=lib |
@@ -139,6 +140,7 @@ AS_CASE(["$host_os"], | |||
139 | # and PIC has to be enabled | 140 | # and PIC has to be enabled |
140 | CFLAGS="-fPIC $CFLAGS" | 141 | CFLAGS="-fPIC $CFLAGS" |
141 | build_target="openbsd" | 142 | build_target="openbsd" |
143 | DEFAULT_INTERFACE="\"lo0\"" | ||
142 | xbsd="yes" | 144 | xbsd="yes" |
143 | LIBPREFIX= | 145 | LIBPREFIX= |
144 | DLLDIR=lib | 146 | DLLDIR=lib |
@@ -146,6 +148,7 @@ AS_CASE(["$host_os"], | |||
146 | ], | 148 | ], |
147 | [*netbsd*], | 149 | [*netbsd*], |
148 | [build_target="netbsd" | 150 | [build_target="netbsd" |
151 | DEFAULT_INTERFACE="\"lo0\"" | ||
149 | xbsd="yes" | 152 | xbsd="yes" |
150 | LIBPREFIX= | 153 | LIBPREFIX= |
151 | DLLDIR=lib | 154 | DLLDIR=lib |