diff --git a/configure.ac b/configure.ac index ea9f7ea..0925da0 100644 --- a/configure.ac +++ b/configure.ac @@ -265,6 +265,16 @@ AC_SUBST(jvm_arch) AC_SUBST(JDK_HOME) AC_SUBST(JRE_HOME) +dnl --------------------------------------------------------------------------- +dnl Check for GTK +dnl --------------------------------------------------------------------------- + +PKG_CHECK_MODULES( [GTK], [gtk+-3.0], AC_DEFINE(HAVE_GTK)) + +AC_SUBST(GTK_LIBS) +AC_SUBST(GTK_CFLAGS) +AC_SUBST(GTK_VERSION,`$PKG_CONFIG --modversion gtk+-3.0`) + dnl --------------------------------------------------------------------------- dnl Check for integer types & library functions diff --git a/src/plugin/Makefile.in b/src/plugin/Makefile.in index b22cd16..d006114 100644 --- a/src/plugin/Makefile.in +++ b/src/plugin/Makefile.in @@ -43,7 +43,7 @@ datarootdir=@datarootdir@ BASEDIR=@BASEDIR@ SRCDIR=$(BASEDIR)/.src/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION) -OBJDIR=$(BASEDIR)/.obj +OBJDIR=$(BASEDIR)/.obj/plugin OBJDBG=$(OBJDIR)/Debug OBJRLS=$(OBJDIR)/Release @@ -73,11 +73,10 @@ LDFLAGS=@LDFLAGS@ #---[ Rules ]---------------------------------------------------------------------------- -DEPENDS=../include/*.h Makefile - $(OBJDBG)/%.o: \ %.cc \ - $(DEPENDS) + Makefile \ + ../include/*.h @echo $< ... @$(MKDIR) `dirname $@` @@ -87,7 +86,8 @@ $(OBJDBG)/%.o: \ $(OBJRLS)/%.o: \ %.cc \ - $(DEPENDS) + Makefile \ + ../include/*.h @echo $< ... @$(MKDIR) `dirname $@` -- libgit2 0.21.2