[Pdbg] [PATCH v2 1/3] configure: Add configure check for <linux/fsi.h>

Joel Stanley joel at jms.id.au
Wed Feb 23 16:34:44 AEDT 2022


From: Amitay Isaacs <amitay at ozlabs.org>

This is required for sbefifo ioctl definition.

Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
v2: no change

 configure.ac | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure.ac b/configure.ac
index 8b4a012177b2..7b5dacafd2ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,6 +34,11 @@ else
 	AC_SUBST([LIBFDT], ["-lfdt"])
 fi
 
+AC_CHECK_HEADER([linux/fsi.h],
+	[AC_DEFINE([HAVE_LINUX_FSI_H], 1,
+		   [Define to 1 if you have the <linux/fsi> header file])],
+	[])
+
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_FILES([Makefile])
-- 
2.34.1



More information about the Pdbg mailing list