- Fix #684: [FTBS] configure script error with libmnl on openSUSE 15.3 (and possibly other distributions)

This commit is contained in:
W.C.A. Wijngaards 2022-05-27 09:10:16 +02:00
parent 11d077c826
commit 2d61706171
3 changed files with 4808 additions and 6547 deletions

11342
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -1880,11 +1880,17 @@ case "$enable_ipset" in
withval="/usr/local /opt/local /usr/lib /usr/pkg /usr/sfw /usr" withval="/usr/local /opt/local /usr/lib /usr/pkg /usr/sfw /usr"
fi fi
for dir in $withval ; do for dir in $withval ; do
if test -f "$dir/include/libmnl/libmnl.h"; then if test -f "$dir/include/libmnl/libmnl.h" -o -f "$dir/include/libmnl/libmnl/libmnl.h"; then
found_libmnl="yes" found_libmnl="yes"
dnl assume /usr is in default path. dnl assume /usr is in default path.
extralibmnl=""
if test -f "$dir/include/libmnl/libmnl/libmnl.h"; then
extralibmnl="/libmnl"
fi
if test "$dir" != "/usr" -o -n "$extralibmnl"; then
CPPFLAGS="$CPPFLAGS -I$dir/include$extralibmnl"
fi
if test "$dir" != "/usr"; then if test "$dir" != "/usr"; then
CPPFLAGS="$CPPFLAGS -I$dir/include"
LDFLAGS="$LDFLAGS -L$dir/lib" LDFLAGS="$LDFLAGS -L$dir/lib"
fi fi
AC_MSG_RESULT(found in $dir) AC_MSG_RESULT(found in $dir)

View file

@ -1,3 +1,6 @@
27 May 2022: Wouter
- Fix #684: [FTBS] configure script error with libmnl on openSUSE 15.3 (and possibly other distributions)
20 May 2022: Wouter 20 May 2022: Wouter
- Fix to silence test for ede error output to the console from the - Fix to silence test for ede error output to the console from the
test setup script. test setup script.