From 4f522b6f5c299e1ca63efdc44fbf79a32585d88e Mon Sep 17 00:00:00 2001 From: Gary Houston Date: Sun, 14 Oct 2001 21:21:20 +0000 Subject: [PATCH] * configure.in: include sys/types.h when testing uint32_t. thanks to Bill Schottstaedt. --- ChangeLog | 5 +++++ configure.in | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) 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)