the configure script in ipsec-tools-0.6.2 does not work
on the s390 architecture. Due to compilation errors of
the test snipet in conftest.c, it errorneously #defines
RETSIGTYPE as int instead of void. This then causes
The problem is that when configure tries to determine
ti RETSIGTYPE, CPPFLAGS includes /usr/src/linux; This
in turn includes include/asm-s390/sigcontext.h from the
kernel source tree and not the intended
In recent kernels include/asm-s390/sigcontext.h makes
use of the __user macro, which is not defined unless
compiling the kernel itself. This is what makes the
compilation fail in configure.
The simple attached patch fixes this.