added __POWERPC__ define to compilation flags for Mac OS X
do not add _REENTRANT define to compilation flags for Mac OS X disable drag and drop for Mac OS X (not yet supported) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f3412ea748
commit
2c6025bce6
11
configure.in
11
configure.in
@ -2709,9 +2709,11 @@ fi
|
||||
if test "$wxUSE_THREADS" = "yes"; then
|
||||
AC_DEFINE(wxUSE_THREADS)
|
||||
|
||||
dnl must define _REENTRANT for multithreaded code
|
||||
dnl must define _REENTRANT for multithreaded code except for Mac OS X
|
||||
if test "$wxUSE_MAC" = "0"; then
|
||||
CFLAGS="${CFLAGS} -D_REENTRANT"
|
||||
CXXFLAGS="${CXXFLAGS} -D_REENTRANT"
|
||||
fi
|
||||
|
||||
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
|
||||
else
|
||||
@ -2747,7 +2749,7 @@ if test "$WXWINE" = 1 ; then
|
||||
fi
|
||||
|
||||
if test "$wxUSE_MAC" = 1 ; then
|
||||
TOOLKIT_DEF="${TOOLKIT_DEF} -D__UNIX__ -DTARGET_CARBON"
|
||||
TOOLKIT_DEF="${TOOLKIT_DEF} -D__UNIX__ -D__POWERPC__ -DTARGET_CARBON"
|
||||
TOOLKIT_INCLUDE="${TOOLKIT_INCLUDE}"
|
||||
fi
|
||||
|
||||
@ -3511,6 +3513,11 @@ if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
|
||||
wxUSE_DRAG_AND_DROP=no
|
||||
fi
|
||||
|
||||
if test "$wxUSE_MAC" = 1; then
|
||||
AC_MSG_WARN([Drag and drop is not yet supported under Mac OS X])
|
||||
wxUSE_DRAG_AND_DROP=no
|
||||
fi
|
||||
|
||||
if test "$USE_WIN32" = 1; then
|
||||
dnl check for ole headers and disable DnD if not present (earlier
|
||||
dnl versions of mingw32 don't have them)
|
||||
|
Loading…
Reference in New Issue
Block a user