1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

* configure.in: include sys/types.h when testing uint32_t.

thanks to Bill Schottstaedt.
This commit is contained in:
Gary Houston 2001-10-14 21:21:20 +00:00
parent dba1190aed
commit 4f522b6f5c
2 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2001-10-14 Gary Houston <ghouston@arglist.com>
* configure.in: include sys/types.h when testing uint32_t.
thanks to Bill Schottstaedt.
2001-10-14 Marius Vollmer <mvo@zagadka.ping.de>
* configure.in: Do not use an absolute path for <unistd.h> when

View file

@ -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 <netdb.h>],
[uint32_t a;],
guile_cv_have_uint32_t=yes, guile_cv_have_uint32_t=no)])
[AC_TRY_COMPILE([#include <sys/types.h>
#include <netdb.h>],
[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)