From: Bartosz Golaszewski Date: Tue, 17 Jan 2023 08:24:44 +0000 (+0100) Subject: Revert "configure: replace deprecated macro" X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4eb41479de9c807edac16fdf56f3c66cff0c0c1e;p=qemu-gpiodev%2Flibgpiod.git 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 --- 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])])