diff --git a/configure.ac b/configure.ac index 8828c183..ac3b5fc7 100644 --- a/configure.ac +++ b/configure.ac @@ -97,7 +97,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 Check for tm_gmtoff field in struct tm AC_CHECK_MEMBER([struct tm.tm_gmtoff], diff --git a/xorriso/configure_ac.txt b/xorriso/configure_ac.txt index 618626c4..02ed8648 100644 --- a/xorriso/configure_ac.txt +++ b/xorriso/configure_ac.txt @@ -84,7 +84,9 @@ dnl LIBTOOL="$LIBTOOL --silent" 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) AC_CHECK_MEMBER([struct tm.tm_gmtoff], [AC_DEFINE(HAVE_TM_GMTOFF, 1,