blob: 832d768ff3610229b51a3c4f4f5ce68a18680d4f [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001From d5ad538adb9fcbad8a3b4e46f266b668301cb1c4 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Wed, 2 Mar 2022 05:36:48 +0000
4Subject: [PATCH] configure.ac: Don't use AC_CHECK_FILE
5
6AC_CHECK_FILE is not suitable for cross-compile, so
7remove it to fix configure error:
8cannot check for file existence when cross compiling
9
Andrew Geissler6aa7eec2023-03-03 12:41:14 -060010Upstream-Status: Inappropriate [oe specific]
Andrew Geissler9aee5002022-03-30 16:27:02 +000011
12Signed-off-by: Changqing Li <changqing.li@windriver.com>
13---
14 configure.ac | 3 ---
15 1 file changed, 3 deletions(-)
16
17diff --git a/configure.ac b/configure.ac
18index 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--
322.31.1
33