#1134830 n2n FTCBFS: configure.ac hard codes the build architecture compiler

Package:
n2n
Source:
n2n
Description:
Peer-to-Peer VPN network daemon
Submitter:
Helmut Grohne
Date:
2026-04-24 19:39:02 UTC
Severity:
normal
Tags:
#1134830#5
Date:
2026-04-24 11:35:40 UTC
From:
To:
n2n regressed cross building, because configure.ac initializes the CC
(and AR) variable before AC_PROG_CC as "gcc". This prevents AC_PROG_CC
from correctly detecting a suitable value for cross compilation. I am
attaching a patch that fully defers the default to autoconf and thus
fixes cross compilation.

Helmut