diff --git a/configure.ac b/configure.ac index 2681362..9fec1ce 100644 --- a/configure.ac +++ b/configure.ac @@ -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)