Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 1 | From 2bd01e844096ab4ecaaab8eccfbfdc721a136d01 Mon Sep 17 00:00:00 2001 |
| 2 | From: Mark Hatle <mark.hatle@amd.com> |
| 3 | Date: Tue, 22 Aug 2023 12:28:01 -0600 |
| 4 | Subject: [PATCH] Avoid using hard coded /usr/include paths |
| 5 | |
| 6 | The system could end up using an include path that points to the host |
| 7 | system instead of the sysroot. Force the system to use the sysroot. |
| 8 | |
| 9 | Upstream-Status: Inappropriate [configuration] |
| 10 | |
| 11 | Signed-off-by: Mark Hatle <mark.hatle@amd.com> |
| 12 | --- |
| 13 | configure.ac | 4 ---- |
| 14 | 1 file changed, 4 deletions(-) |
| 15 | |
| 16 | diff --git a/configure.ac b/configure.ac |
| 17 | index 150bc50..4dc684f 100644 |
| 18 | --- a/configure.ac |
| 19 | +++ b/configure.ac |
| 20 | @@ -344,10 +344,6 @@ AS_IF( |
| 21 | [test "$need_panel_menu" = "yes" -o "$need_panel_menu" = "auto"], |
| 22 | [AC_SUBST([ncurses_nconf_CPPFLAGS]) |
| 23 | AC_SUBST([ncurses_panel_menu_LIBS]) |
| 24 | - AS_CASE( |
| 25 | - [$CURSES_LOC], |
| 26 | - [ncursesw/*],[ncurses_nconf_CPPFLAGS="-I/usr/include/ncursesw"], |
| 27 | - [ncurses/*],[ncurses_nconf_CPPFLAGS="-I/usr/include/ncurses"]) |
| 28 | LIBS_old="$LIBS" |
| 29 | LIBS= |
| 30 | AC_SEARCH_LIBS( |
| 31 | -- |
| 32 | 2.34.1 |
| 33 | |