Revert "configure: replace deprecated macro"
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 17 Jan 2023 08:24:44 +0000 (09:24 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 17 Jan 2023 08:27:05 +0000 (09:27 +0100)
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 <viresh.kumar@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
configure.ac

index 599c598e8cce66e9cac9868df962ff4279c89fab..0effa7c1c7f7503511636d334026e5774925ec56 100644 (file)
@@ -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])])