Added to configure.ac explicit checks for stdint.h, inttypes.h, stdlib.h because slibtool does not put them into ./configure by default

This commit is contained in:
Thomas Schmitt 2025-03-24 08:51:23 +01:00
parent 17d297b3de
commit 30fcd2d84b

View File

@ -96,7 +96,9 @@ AC_SUBST(LIBTOOL_DEPS)
AC_PROG_INSTALL
AC_CHECK_HEADERS()
dnl GNU libtool checks them by default/unconditionally, but slibtool does not.
dnl So accept the ugly double check and -DHAVE_*_H arguments with GNU libtool.
AC_CHECK_HEADERS(stdint.h inttypes.h stdlib.h)
dnl Use GNU extensions if available
AC_DEFINE(_GNU_SOURCE, 1)