From 4eb41479de9c807edac16fdf56f3c66cff0c0c1e Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Tue, 17 Jan 2023 09:24:44 +0100 Subject: [PATCH] Revert "configure: replace deprecated macro" This reverts commit b353e7b1b65450d04bcbc72e42efc13b04d98a00. AC_CHECK_INCLUDES_DEFAULT is only available in autoconf v2.70 while we want to keep supporting v2.69. Reported-by: Viresh Kumar Signed-off-by: Bartosz Golaszewski --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 599c598..0effa7c 100644 --- a/configure.ac +++ b/configure.ac @@ -77,8 +77,7 @@ AC_DEFUN([HEADER_NOT_FOUND_CXX], [ERR_NOT_FOUND([$1 header], [C++ bindings])]) # This is always checked (library needs this) -AC_CHECK_INCLUDES_DEFAULT - +AC_HEADER_STDC AC_FUNC_MALLOC AC_HEADER_STDBOOL AC_CHECK_FUNC([ioctl], [], [FUNC_NOT_FOUND_LIB([ioctl])]) -- 2.30.2