For OS/2 PM builds, check for type SPBCDATA in system headers.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis 2004-05-16 13:12:58 +00:00
parent 337a3714b6
commit 0ed330b47a
2 changed files with 25 additions and 2 deletions

View File

@ -2950,7 +2950,27 @@ equivalent variable and GTK+ is version 1.2.3 or above.
if test "$wxUSE_PM" = 1; then
TOOLKIT=PM
GUIDIST=GTK_DIST
GUIDIST=PM_DIST
AC_CACHE_CHECK([for type SPBCDATA],
wx_cv_spbcdata,
[
AC_TRY_COMPILE(
[
#define INCL_PM
#include <os2.h>
],
[
SPBCDATA test;
],
wx_cv_spbcdata=yes,
wx_cv_spbcdata=no
)
]
)
if test $wx_cv_spbcdata = "yes"; then
AC_DEFINE(HAVE_SPBCDATA)
fi
fi
dnl the name of the directory where the files for this toolkit live

View File

@ -1245,9 +1245,12 @@
/* Define this if you are using gtk and gdk contains support for X11R6 XIM */
#undef HAVE_XIM
/* Define this is you have X11/extensions/shape.h */
/* Define this if you have X11/extensions/shape.h */
#undef HAVE_XSHAPE
/* Define this if you have type SPBCDATA */
#undef HAVE_SPBCDATA
/* -------------------------------------------------------------------------
Win32 adjustments section
------------------------------------------------------------------------- */