diff options
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | polkitgtkmate/Makefile.am | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 8a7bddc..1ab7753 100644 --- a/configure.ac +++ b/configure.ac @@ -19,6 +19,7 @@ LT_AGE=0 AC_SUBST(LT_CURRENT) AC_SUBST(LT_REVISION) AC_SUBST(LT_AGE) +AC_SUBST(GTK_API_VERSION) AC_PROG_CC AC_ISC_POSIX diff --git a/polkitgtkmate/Makefile.am b/polkitgtkmate/Makefile.am index 4d0932f..ff816c3 100644 --- a/polkitgtkmate/Makefile.am +++ b/polkitgtkmate/Makefile.am @@ -80,12 +80,12 @@ PolkitGtkMate-1.0.gir: libpolkit-gtk-mate-1.la $(G_IR_SCANNER) Makefile.am --namespace PolkitGtkMate \ --strip-prefix=Polkit \ --nsversion=1.0 \ - --include=Gtk-2.0 \ + --include=Gtk-${GTK_API_VERSION} \ --include=Polkit-1.0 \ --library=polkit-gtk-mate-1 \ --output $@ \ --pkg=polkit-gobject-1 \ - --pkg=gtk+-2.0 \ + --pkg=gtk+-${GTK_API_VERSION} \ --libtool=$(top_builddir)/libtool \ -I$(top_srcdir) \ -DPOLKIT_GTK_MATE_COMPILATION \ |