fixes for DJGPP-based MSDOS port

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2002-09-26 22:26:28 +00:00
parent 335f8251c4
commit fc253b5bd3
2 changed files with 473 additions and 447 deletions

905
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -1444,6 +1444,10 @@ AC_CACHE_CHECK([size of wchar_t], wx_cv_sizeof_wchar_t,
[
AC_TRY_RUN(
[
/* DJGPP only has fake wchar_t: */
#ifdef __DJGPP__
# error "fake wchar_t"
#endif
#ifdef HAVE_WCHAR_H
# ifdef __CYGWIN__
# include <stddef.h>
@@ -1464,7 +1468,16 @@ AC_CACHE_CHECK([size of wchar_t], wx_cv_sizeof_wchar_t,
],
wx_cv_sizeof_wchar_t=`cat conftestval`,
wx_cv_sizeof_wchar_t=0,
wx_cv_sizeof_wchar_t=4
[
case "${host}" in
*-pc-msdosdjgpp )
wx_cv_sizeof_wchar_t=0
;;
* )
wx_cv_sizeof_wchar_t=4
;;
esac
]
)
])