autoconf: drop obsolete unused stdbool.h check
Subsystems (2)
PATCH 1/1 autoconf: drop obsolete unused stdbool.h check
With configure as shipped using GNU Autoconf 2.69 for cifs-utils 7.1 configure fails when compiling with -std=c23 (gcc 15):
checking for stdbool.h... (cached) no
configure: error: necessary header(s) not found
Using GNU Autoconf 2.72 to create the configure file does allow the build to complete, but as the HAVE_STDBOOL_H is unused - drop the check entirely.
Signed-off-by Rudi Heitbaum <[email protected]>
--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
@@ -127,7 +127,7 @@ AC_CHECK_FUNCS(clock_gettime, [], [ AC_SUBST(RT_LDADD) # Checks for header files. -AC_CHECK_HEADERS([arpa/inet.h ctype.h fcntl.h inttypes.h limits.h mntent.h netdb.h stddef.h stdint.h stdbool.h stdlib.h stdio.h errno.h string.h strings.h sys/mount.h sys/param.h sys/socket.h sys/time.h syslog.h unistd.h], , [AC_MSG_ERROR([necessary header(s) not found])]) +AC_CHECK_HEADERS([arpa/inet.h ctype.h fcntl.h inttypes.h limits.h mntent.h netdb.h stddef.h stdint.h stdlib.h stdio.h errno.h string.h strings.h sys/mount.h sys/param.h sys/socket.h sys/time.h syslog.h unistd.h], , [AC_MSG_ERROR([necessary header(s) not found])]) # do we have sys/fsuid.h and setfsuid()? AC_CHECK_HEADERS([sys/fsuid.h])
Signature · 1 line
2.43.0