[Nouveau] [PATCH xf86-video-nouveau 09/17] config: remove unrequired AC_HEADER_STDC
Rhys Kidd
rhyskidd at gmail.com
Mon Jan 21 05:52:15 UTC 2019
Autoconf says:
"This macro is obsolescent, as current systems have conforming
header files. New programs need not use this macro".
Was previously required to ensure the system has C header files conforming
to ANSI C89 (ISO C90). Specifically, this macro checks for stdlib.h,
stdarg.h, string.h, and float.h.
This autoconf option was used to provide conditional fallback support
via defined STDC_HEADERS.
xf86-video-nouveau does not do so, so this macro is obsolete and unused,
so let's drop it.
Signed-off-by: Rhys Kidd <rhyskidd at gmail.com>
---
configure.ac | 3 ---
1 file changed, 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index f9e0e54..3a1e18e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,9 +94,6 @@ AM_CONDITIONAL(LIBUDEV, [ test "x$LIBUDEV" = "xyes" ] )
AC_SUBST([LIBUDEV_CFLAGS])
AC_SUBST([LIBUDEV_LIBS])
-# Checks for header files.
-AC_HEADER_STDC
-
# Use -Wall all the time
CFLAGS="$CFLAGS -Wall"
--
2.19.1
More information about the Nouveau
mailing list