Disable wxStackWalker on platforms other than Win32 or UNIX.

For instance, Mac OS (PEF) doesn't have an implementation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2005-03-27 04:06:37 +00:00
parent 707c441892
commit 898beab1cd
2 changed files with 13 additions and 0 deletions

7
configure vendored
View File

@@ -31589,6 +31589,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
fi
if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
{ echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
wxUSE_STACKWALKER=no
fi
for ac_func in mkstemp mktemp

View File

@@ -3885,6 +3885,12 @@ if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
AC_LANG_RESTORE
fi
if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
AC_MSG_WARN([wxStackWalker is only available on Win32 and UNIX... disabled])
wxUSE_STACKWALKER=no
fi
dnl check for the function for temp files creation
AC_CHECK_FUNCS(mkstemp mktemp, break)