fixed size_t == uint detection

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-06-15 14:27:05 +00:00
parent b0c89ddf39
commit 19af3b06be
2 changed files with 298 additions and 278 deletions

566
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -2300,6 +2300,8 @@ fi
dnl check what exactly size_t is on this machine - this is necessary to avoid dnl check what exactly size_t is on this machine - this is necessary to avoid
dnl ambiguos overloads in several places, notably wx/string.h and wx/array.h dnl ambiguos overloads in several places, notably wx/string.h and wx/array.h
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_CACHE_CHECK([if size_t is unsigned int], AC_CACHE_CHECK([if size_t is unsigned int],
wx_cv_size_t_is_uint, wx_cv_size_t_is_uint,
AC_TRY_COMPILE([#include <stddef.h>], AC_TRY_COMPILE([#include <stddef.h>],
@@ -2330,6 +2332,8 @@ else
fi fi
fi fi
AC_LANG_RESTORE
dnl --------------------------------------------------------------------------- dnl ---------------------------------------------------------------------------
dnl Checks for structures dnl Checks for structures
dnl --------------------------------------------------------------------------- dnl ---------------------------------------------------------------------------
@@ -2556,9 +2560,9 @@ AC_CACHE_CHECK([if iconv() takes char**], wx_cv_iconv_takes_char,
AC_TRY_COMPILE([#include <iconv.h>], AC_TRY_COMPILE([#include <iconv.h>],
[ [
char **inbuf, **outbuf; char **inbuf, **outbuf;
iconv_t cd; iconv_t cd;
size_t insz, outsz; size_t insz, outsz;
iconv(cd, inbuf, &insz, outbuf, &outsz); iconv(cd, inbuf, &insz, outbuf, &outsz);
], ],
wx_cv_iconv_takes_char=yes, wx_cv_iconv_takes_char=yes,
wx_cv_iconv_takes_char=no) wx_cv_iconv_takes_char=no)