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:49:31 +01:00
parent d537f9dd35
commit 10814feab2

View File

@ -197,7 +197,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)
THREAD_LIBS=-lpthread
AC_SUBST(THREAD_LIBS)