diff --git a/ChangeLog b/ChangeLog index 9da47c34a..1486683be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-10-14 Gary Houston + + * configure.in: include sys/types.h when testing uint32_t. + thanks to Bill Schottstaedt. + 2001-10-14 Marius Vollmer * configure.in: Do not use an absolute path for when diff --git a/configure.in b/configure.in index 756a40735..0ddff0eb7 100644 --- a/configure.in +++ b/configure.in @@ -309,11 +309,12 @@ if test $guile_cv_have_h_errno = yes; then AC_DEFINE(HAVE_H_ERRNO) fi -AC_MSG_CHECKING(whether netdb.h defines uint32_t) +AC_MSG_CHECKING(whether uint32_t is defined) AC_CACHE_VAL(guile_cv_have_uint32_t, -[AC_TRY_COMPILE([#include ], -[uint32_t a;], -guile_cv_have_uint32_t=yes, guile_cv_have_uint32_t=no)]) + [AC_TRY_COMPILE([#include + #include ], + [uint32_t a;], + guile_cv_have_uint32_t=yes, guile_cv_have_uint32_t=no)]) AC_MSG_RESULT($guile_cv_have_uint32_t) if test $guile_cv_have_uint32_t = yes; then AC_DEFINE(HAVE_UINT32_T)