Patrick Williams | 56b44a9 | 2024-01-19 08:49:29 -0600 | [diff] [blame] | 1 | From 1438c3694665961aa9c478727846343ad31fa133 Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex@linutronix.de> |
| 3 | Date: Fri, 17 Nov 2023 14:16:40 +0100 |
| 4 | Subject: [PATCH] configure.ac: do not add a curses include path from the host |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 5 | |
| 6 | This leads to host contamination, and particularly can cause |
| 7 | curses modules to fail at runtime if the host curses is configured |
| 8 | differently to native curses (observed on current OpenSuse Tumbleweed |
| 9 | as dnf failures). |
| 10 | |
| 11 | Upstream-Status: Inappropriate [oe-core specific] |
| 12 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 13 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 14 | --- |
| 15 | configure.ac | 6 ------ |
Patrick Williams | 56b44a9 | 2024-01-19 08:49:29 -0600 | [diff] [blame] | 16 | 1 file changed, 6 deletions(-) |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 17 | |
| 18 | diff --git a/configure.ac b/configure.ac |
Patrick Williams | 56b44a9 | 2024-01-19 08:49:29 -0600 | [diff] [blame] | 19 | index d81c19a..b15b765 100644 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 20 | --- a/configure.ac |
| 21 | +++ b/configure.ac |
Patrick Williams | 56b44a9 | 2024-01-19 08:49:29 -0600 | [diff] [blame] | 22 | @@ -6507,12 +6507,6 @@ AS_VAR_IF([have_panel], [no], [ |
| 23 | AC_MSG_RESULT([$have_panel (CFLAGS: $PANEL_CFLAGS, LIBS: $PANEL_LIBS)]) |
| 24 | ]) |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 25 | |
| 26 | -# first curses header check |
| 27 | -ac_save_cppflags="$CPPFLAGS" |
| 28 | -if test "$cross_compiling" = no; then |
| 29 | - CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw" |
| 30 | -fi |
| 31 | - |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 32 | # On Solaris, term.h requires curses.h |
Patrick Williams | 56b44a9 | 2024-01-19 08:49:29 -0600 | [diff] [blame] | 33 | AC_CHECK_HEADERS([term.h], [], [], [ |
| 34 | #ifdef HAVE_CURSES_H |