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:
parent
b9c39474ea
commit
1098709bf4
@ -97,7 +97,9 @@ AC_SUBST(LIBTOOL_DEPS)
|
|||||||
|
|
||||||
AC_PROG_INSTALL
|
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
|
dnl Check for tm_gmtoff field in struct tm
|
||||||
AC_CHECK_MEMBER([struct tm.tm_gmtoff],
|
AC_CHECK_MEMBER([struct tm.tm_gmtoff],
|
||||||
|
@ -84,7 +84,9 @@ dnl LIBTOOL="$LIBTOOL --silent"
|
|||||||
|
|
||||||
AC_PROG_INSTALL
|
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_CHECK_MEMBER([struct tm.tm_gmtoff],
|
||||||
[AC_DEFINE(HAVE_TM_GMTOFF, 1,
|
[AC_DEFINE(HAVE_TM_GMTOFF, 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user