configure: replace deprecated macro
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 16 Dec 2022 13:44:43 +0000 (14:44 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 16 Dec 2022 13:45:15 +0000 (14:45 +0100)
AC_HEADER_STDC is deprecated. Replace it with AC_CHECK_INCLUDES_DEFAULT.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
configure.ac

index 0effa7c1c7f7503511636d334026e5774925ec56..599c598e8cce66e9cac9868df962ff4279c89fab 100644 (file)
@@ -77,7 +77,8 @@ AC_DEFUN([HEADER_NOT_FOUND_CXX],
        [ERR_NOT_FOUND([$1 header], [C++ bindings])])
 
 # This is always checked (library needs this)
-AC_HEADER_STDC
+AC_CHECK_INCLUDES_DEFAULT
+
 AC_FUNC_MALLOC
 AC_HEADER_STDBOOL
 AC_CHECK_FUNC([ioctl], [], [FUNC_NOT_FOUND_LIB([ioctl])])