X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bdcade0a101893a5030ac2e91dabc79e1388b0a3..df16c649d21716a3e54eb2598477fa9ed970f278:/configure.in diff --git a/configure.in b/configure.in index 81fc47f931..097230bc13 100644 --- a/configure.in +++ b/configure.in @@ -1540,7 +1540,7 @@ case "${host}" in fi fi if test "$wxUSE_OMF" = "yes"; then - LDFLAGS="$LDFLAGS -Zlinker /PMTYPE:PM -Zlinker /EXEPACK" + LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK" fi dnl (end of OS/2-only piece) ;; @@ -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 + ], + [ + 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