diff options
Diffstat (limited to 'meta-oe/recipes-support/hstr/files/0001-configure.ac-Don-t-use-AC_CHECK_FILE.patch')
-rw-r--r-- | meta-oe/recipes-support/hstr/files/0001-configure.ac-Don-t-use-AC_CHECK_FILE.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/hstr/files/0001-configure.ac-Don-t-use-AC_CHECK_FILE.patch b/meta-oe/recipes-support/hstr/files/0001-configure.ac-Don-t-use-AC_CHECK_FILE.patch new file mode 100644 index 000000000..e9b44c4c9 --- /dev/null +++ b/meta-oe/recipes-support/hstr/files/0001-configure.ac-Don-t-use-AC_CHECK_FILE.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From d5ad538adb9fcbad8a3b4e46f266b668301cb1c4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Changqing Li <changqing.li@windriver.com> | ||
3 | Date: Wed, 2 Mar 2022 05:36:48 +0000 | ||
4 | Subject: [PATCH] configure.ac: Don't use AC_CHECK_FILE | ||
5 | |||
6 | AC_CHECK_FILE is not suitable for cross-compile, so | ||
7 | remove it to fix configure error: | ||
8 | cannot check for file existence when cross compiling | ||
9 | |||
10 | Upstream-Status: Inappropriate[oe specific] | ||
11 | |||
12 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
13 | --- | ||
14 | configure.ac | 3 --- | ||
15 | 1 file changed, 3 deletions(-) | ||
16 | |||
17 | diff --git a/configure.ac b/configure.ac | ||
18 | index 775c795..bd99188 100644 | ||
19 | --- a/configure.ac | ||
20 | +++ b/configure.ac | ||
21 | @@ -116,9 +116,6 @@ AC_TYPE_SIZE_T | ||
22 | AC_FUNC_MALLOC | ||
23 | AC_CHECK_FUNCS([memset strdup strstr]) | ||
24 | |||
25 | -# Bash@Ubuntu@Windows | ||
26 | -AC_CHECK_FILE(/tmp/hstr-ms-wsl,AC_DEFINE(__MS_WSL__), []) | ||
27 | - | ||
28 | # Bash CLI autocomplete | ||
29 | AC_ARG_WITH([bash-completion-dir], | ||
30 | AS_HELP_STRING([--with-bash-completion-dir[=PATH]], | ||
31 | -- | ||
32 | 2.31.1 | ||
33 | |||