X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba0e7d4111bc25b8d1d5914041b5d6a66fbd5085..742ff1e12fe845a79db772285dea63a227d867b7:/configure.in diff --git a/configure.in b/configure.in index c9b71236fd..a8f003d553 100644 --- a/configure.in +++ b/configure.in @@ -49,6 +49,7 @@ dnl checks the results of gtk-config to some extent) dnl AC_TRY_RUN([ #include +#include #include int @@ -61,6 +62,13 @@ main () exit(1); } + if ((GTK_MAJOR_VERSION != gtk_major_version) || + (GTK_MINOR_VERSION != gtk_minor_version) || + (GTK_MICRO_VERSION != gtk_micro_version)) { + printf("Headers vs. library version mismatch!\n"); + exit(1); + } + if (gtk_minor_version == 1) return FALSE; return !((gtk_major_version > major) || @@ -544,18 +552,7 @@ case "${host}" in DEFAULT_DEFAULT_wxUSE_MOTIF=1 ;; - *-*-cygwin32* ) - USE_UNIX=0 - USE_WIN32=1 - AC_DEFINE(__WIN32__) - AC_DEFINE(__WIN95__) - AC_DEFINE(__WINDOWS__) - AC_DEFINE(__GNUWIN32__) - AC_DEFINE(STRICT) - AC_DEFINE(WINVER, 0x0400) - DEFAULT_DEFAULT_wxUSE_MSW=1 - ;; - *-*-mingw32* ) + *-*-cygwin32* | *-*-mingw32* ) USE_UNIX=0 USE_WIN32=1 AC_DEFINE(__WIN32__)