define wx_cv_func_snprintf_pos_params when cross-compiling too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-09-07 22:03:11 +00:00
parent 57bd4c6031
commit 5039a2df01
2 changed files with 24 additions and 16 deletions

View File

@@ -1689,11 +1689,11 @@ case "${host}" in
#else
"Innotek6"
#endif
);
);
exit(0);
}
],
wx_cv_gccversion=`cat conftestval`,
wx_cv_gccversion=`cat conftestval`,
wx_cv_gccversion="EMX2",
dnl Compilation error: Assuming standard EMX environment
wx_cv_gccversion="EMX2"
@@ -4402,7 +4402,13 @@ if test "$ac_cv_func_snprintf" = "yes"; then
}
],
wx_cv_func_snprintf_pos_params=no,
wx_cv_func_snprintf_pos_params=yes
wx_cv_func_snprintf_pos_params=yes,
dnl be pessimistic when cross-compiling
[
AC_MSG_WARN([Assuming Unix98 printf() is not available,
define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available.])
wx_cv_func_snprintf_pos_params=no
]
)
]
)