dnl initialization
dnl ---------------------------------------------------------------------------
-AC_INIT([wxWidgets], [2.9.0], [wx-dev@lists.wxwidgets.org])
+AC_INIT([wxWidgets], [2.9.1], [wx-dev@lists.wxwidgets.org])
dnl the file passed to AC_CONFIG_SRCDIR should be specific to our package
AC_CONFIG_SRCDIR([wx-config.in])
wx_major_version_number=2
wx_minor_version_number=9
-wx_release_number=0
+wx_release_number=1
wx_subrelease_number=0
WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
AC_DEFINE(__DARWIN__)
AC_DEFINE(TARGET_CARBON)
DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
- DEFAULT_STD_FLAG=no
- ;;
- powerpc-apple-macos* )
- dnl Classic Mac OS (< X)
- USE_UNIX=0
- dnl For some reason the test that should be cross-compiler capable fails
- dnl However, there is no doubt that MacOS PowerPC is big endian.
- ac_cv_c_bigendian=yes
- dnl AC_DEFINE(TARGET_CARBON)
- dnl platform.h needs TARGET_CARBON before setup.h, we'll add it to CPPFLAGS
- DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
- DEFAULT_STD_FLAG=no
;;
*-*-beos* )
/usr/local/include \
/usr/local/X11/include \
/usr/local/include/X11 \
+ /usr/local/X11R7/include \
/usr/local/X11R6/include \
+ /usr/local/include/X11R7 \
/usr/local/include/X11R6 \
\
/usr/Motif-2.1/include \
\
/usr/include/Xm \
\
+ /usr/X11R7/include \
/usr/X11R6/include \
/usr/X11R6.4/include \
\
+ /usr/include/X11R7 \
/usr/include/X11R6 \
\
/usr/X11/include \
wxUSE_OPENGL=no
USE_OPENGL=0
fi
- else
- dnl libraries are available... change 'auto' in 'yes'
- wxUSE_OPENGL=yes
fi
else
AC_MSG_WARN([wxGLCanvas not implemented for this port, library will be compiled without it.])
wxUSE_OPENGL="no"
fi
+ if test "$wxUSE_OPENGL" = "auto"; then
+ dnl if the OpenGL libraries were unavailable, this would have been
+ dnl changed to "no" above, if it wasn't, change it to "yes" as we've
+ dnl verified that we can indeed use OpenGL
+ wxUSE_OPENGL=yes
+ fi
+
if test "$wxUSE_OPENGL" = "yes"; then
USE_OPENGL=1
AC_DEFINE(wxUSE_OPENGL)
elif test "$GXX" = yes ; then
CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
AX_CXXFLAGS_GCC_OPTION(-Woverloaded-virtual, CXXWARNINGS)
+
+ dnl when building under Mac we currently get hundreds of deprecation
+ dnl warnings for Carbon symbols from the standard headers -- disable them
+ dnl as we already know that they're deprecated and nothing else can be seen
+ dnl with these warnings on
+ if test "$wxUSE_MAC" = 1 ; then
+ CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
+ fi
fi