X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/62e2654261961f74b79a9581bd7c882f20acebde..138be2534644631ea5118e24782b23ab4ee37060:/configure.in diff --git a/configure.in b/configure.in index c054d21ba7..a35557aafc 100644 --- a/configure.in +++ b/configure.in @@ -1631,6 +1631,11 @@ if test "$wxUSE_GUI" = "yes"; then if test -z "$wx_cv_lib_gtk"; then dnl looks better in AC_MSG_RESULT wx_cv_lib_gtk=none + else + dnl we need to cache GTK_CFLAGS and GTK_LIBS for the + dnl subsequent runs + wx_cv_cflags_gtk=$GTK_CFLAGS + wx_cv_libs_gtk=$GTK_LIBS fi ] ) @@ -1657,8 +1662,8 @@ equivalent variable and GTK+ is version 1.2.3 or above. ;; esac - TOOLKIT_INCLUDE="$GTK_CFLAGS" - GUI_TK_LIBRARY="$GTK_LIBS" + TOOLKIT_INCLUDE="$wx_cv_cflags_gtk" + GUI_TK_LIBRARY="$wx_cv_lib_gtk" AFMINSTALL=afminstall TOOLKIT=GTK