| From 652b208b8c3038934fb55169f44068bbdf399b69 Mon Sep 17 00:00:00 2001 |
| From: Liu Yiding <liuyd.fnst@fujitsu.com> |
| Date: Wed, 15 Apr 2026 01:34:56 +0000 |
| Subject: [PATCH] configure.ac: Remove /usr/include/libnl3 |
| |
| Fixes: |
| |
| | configure: error: can not find required header files |
| netlink/attr.h, netlink/handlers.h, netlink/msg.h |
| |
| Upstream-Status: Inappropriate [OE-specific] |
| |
| Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> |
| |
| Update for 3.5.0. |
| Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> |
| --- |
| configure.ac | 4 ++-- |
| 1 file changed, 2 insertions(+), 2 deletions(-) |
| |
| diff --git a/configure.ac b/configure.ac |
| index 2d174d73..ee8b29ca 100644 |
| --- a/configure.ac |
| +++ b/configure.ac |
| @@ -1638,7 +1638,7 @@ case "$enable_delayacct" in |
| |
| htop_save_CFLAGS=$CFLAGS |
| # New include path searched after what user has specified |
| - CFLAGS="$CFLAGS $LIBNL3_CFLAGS" |
| + CFLAGS="$CFLAGS" |
| AC_CHECK_HEADERS( |
| [netlink/attr.h netlink/handlers.h netlink/msg.h], |
| [], |
| @@ -1681,7 +1681,7 @@ case "$enable_delayacct" in |
| esac |
| if test "$enable_delayacct" = yes; then |
| AC_DEFINE([HAVE_DELAYACCT], [1], [Define if delay accounting support should be enabled.]) |
| - AM_CFLAGS="$AM_CFLAGS $LIBNL3_CFLAGS" |
| + AM_CFLAGS="$AM_CFLAGS" |
| fi |
| AM_CONDITIONAL([HAVE_DELAYACCT], [test "$enable_delayacct" = yes]) |
| |
| -- |
| 2.43.0 |
| |