diff options
Diffstat (limited to 'meta-networking/recipes-support/ntopng/files/0001-configure.ac.in-fix-configure-error.patch')
| -rw-r--r-- | meta-networking/recipes-support/ntopng/files/0001-configure.ac.in-fix-configure-error.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/meta-networking/recipes-support/ntopng/files/0001-configure.ac.in-fix-configure-error.patch b/meta-networking/recipes-support/ntopng/files/0001-configure.ac.in-fix-configure-error.patch deleted file mode 100644 index d4908e3227..0000000000 --- a/meta-networking/recipes-support/ntopng/files/0001-configure.ac.in-fix-configure-error.patch +++ /dev/null | |||
| @@ -1,42 +0,0 @@ | |||
| 1 | From 29797dd037009d38e4976249ed21b2076240751e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Mingli Yu <mingli.yu@windriver.com> | ||
| 3 | Date: Wed, 4 Nov 2020 04:36:46 +0000 | ||
| 4 | Subject: [PATCH] configure.ac.in: fix configure error | ||
| 5 | |||
| 6 | fix the below error: | ||
| 7 | configure: error: cannot run test program while cross compiling | ||
| 8 | |||
| 9 | Upstream-Status: Inappropriate [embedded specific] | ||
| 10 | |||
| 11 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | ||
| 12 | --- | ||
| 13 | configure.ac.in | 13 +------------ | ||
| 14 | 1 file changed, 1 insertion(+), 12 deletions(-) | ||
| 15 | |||
| 16 | diff --git a/configure.ac.in b/configure.ac.in | ||
| 17 | index a321f9bbf..03f9a31b0 100644 | ||
| 18 | --- a/configure.ac.in | ||
| 19 | +++ b/configure.ac.in | ||
| 20 | @@ -642,18 +642,7 @@ if test x$radcli = xtrue; then | ||
| 21 | fi | ||
| 22 | fi | ||
| 23 | |||
| 24 | -AC_CACHE_CHECK([if pthread rwlocks are supported], [my_cv_rw_locks_supported], [ | ||
| 25 | - AC_TRY_RUN([ | ||
| 26 | - #include <pthread.h> | ||
| 27 | - | ||
| 28 | - int main() { | ||
| 29 | - pthread_rwlock_t t; | ||
| 30 | - return 0; | ||
| 31 | - } | ||
| 32 | -] | ||
| 33 | -, [my_cv_rw_locks_supported=yes], [my_cv_rw_locks_supported=no]) | ||
| 34 | -] | ||
| 35 | -) | ||
| 36 | +AC_CACHE_CHECK([if pthread rwlocks are supported], [my_cv_rw_locks_supported]) | ||
| 37 | |||
| 38 | if test "$my_cv_rw_locks_supported" = yes; then | ||
| 39 | AC_DEFINE_UNQUOTED(HAVE_RW_LOCK, 1, [pthread rwlocks supported]) | ||
| 40 | -- | ||
| 41 | 2.26.2 | ||
| 42 | |||
