mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-17 20:51:57 +02:00
ntopng is a web-based network traffic monitoring application released under GPLv3. It is the new incarnation of the original ntop written in 1998, and now revamped in terms of performance, usability, and features. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
43 lines
1.1 KiB
Diff
43 lines
1.1 KiB
Diff
From 29797dd037009d38e4976249ed21b2076240751e Mon Sep 17 00:00:00 2001
|
|
From: Mingli Yu <mingli.yu@windriver.com>
|
|
Date: Wed, 4 Nov 2020 04:36:46 +0000
|
|
Subject: [PATCH] configure.seed: fix configure error
|
|
|
|
fix the below error:
|
|
configure: error: cannot run test program while cross compiling
|
|
|
|
Upstream-Status: Inappropriate [embedded specific]
|
|
|
|
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
|
|
---
|
|
configure.seed | 13 +------------
|
|
1 file changed, 1 insertion(+), 12 deletions(-)
|
|
|
|
diff --git a/configure.seed b/configure.seed
|
|
index a321f9bbf..03f9a31b0 100644
|
|
--- a/configure.seed
|
|
+++ b/configure.seed
|
|
@@ -642,18 +642,7 @@ if test x$radcli = xtrue; then
|
|
fi
|
|
fi
|
|
|
|
-AC_CACHE_CHECK([if pthread rwlocks are supported], [my_cv_rw_locks_supported], [
|
|
- AC_TRY_RUN([
|
|
- #include <pthread.h>
|
|
-
|
|
- int main() {
|
|
- pthread_rwlock_t t;
|
|
- return 0;
|
|
- }
|
|
-]
|
|
-, [my_cv_rw_locks_supported=yes], [my_cv_rw_locks_supported=no])
|
|
-]
|
|
-)
|
|
+AC_CACHE_CHECK([if pthread rwlocks are supported], [my_cv_rw_locks_supported])
|
|
|
|
if test "$my_cv_rw_locks_supported" = yes; then
|
|
AC_DEFINE_UNQUOTED(HAVE_RW_LOCK, 1, [pthread rwlocks supported])
|
|
--
|
|
2.26.2
|
|
|