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:
7
configure
vendored
7
configure
vendored
@@ -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
|
||||
|
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user