mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 19:50:24 +02:00
* configure.in: include sys/types.h when testing uint32_t.
thanks to Bill Schottstaedt.
This commit is contained in:
parent
dba1190aed
commit
4f522b6f5c
2 changed files with 10 additions and 4 deletions
|
@ -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>
|
2001-10-14 Marius Vollmer <mvo@zagadka.ping.de>
|
||||||
|
|
||||||
* configure.in: Do not use an absolute path for <unistd.h> when
|
* configure.in: Do not use an absolute path for <unistd.h> when
|
||||||
|
|
|
@ -309,11 +309,12 @@ if test $guile_cv_have_h_errno = yes; then
|
||||||
AC_DEFINE(HAVE_H_ERRNO)
|
AC_DEFINE(HAVE_H_ERRNO)
|
||||||
fi
|
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_CACHE_VAL(guile_cv_have_uint32_t,
|
||||||
[AC_TRY_COMPILE([#include <netdb.h>],
|
[AC_TRY_COMPILE([#include <sys/types.h>
|
||||||
[uint32_t a;],
|
#include <netdb.h>],
|
||||||
guile_cv_have_uint32_t=yes, guile_cv_have_uint32_t=no)])
|
[uint32_t a;],
|
||||||
|
guile_cv_have_uint32_t=yes, guile_cv_have_uint32_t=no)])
|
||||||
AC_MSG_RESULT($guile_cv_have_uint32_t)
|
AC_MSG_RESULT($guile_cv_have_uint32_t)
|
||||||
if test $guile_cv_have_uint32_t = yes; then
|
if test $guile_cv_have_uint32_t = yes; then
|
||||||
AC_DEFINE(HAVE_UINT32_T)
|
AC_DEFINE(HAVE_UINT32_T)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue