]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
autoconf: Remove AC_C_CONST
authorAlejandro Colomar <alx.manpages@gmail.com>
Thu, 30 Dec 2021 14:52:04 +0000 (15:52 +0100)
committerSerge Hallyn <serge@hallyn.com>
Sat, 15 Jan 2022 14:25:53 +0000 (08:25 -0600)
All current compilers support C89's 'const' keyword.
Autoconf declares this macro as obsolescent.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
configure.ac

index fc64fecd15bc2a201554ef3c20a0e6bc200e5da9..ba3314c8511d0c278da56f0fbbb10a1f2c2201b1 100644 (file)
@@ -56,7 +56,6 @@ AC_CHECK_FUNCS(arc4random_buf l64a fchmod fchown fsync futimes \
 AC_SYS_LARGEFILE
 
 dnl Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
 AC_CHECK_MEMBERS([struct stat.st_rdev])
 AC_CHECK_MEMBERS([struct stat.st_atim])
 AC_CHECK_MEMBERS([struct stat.st_atimensec])