From: Maksym Veremeyenko Date: Sat, 18 Jun 2011 14:29:43 +0000 (+0300) Subject: move packges detection to configure.in X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=5b8660aa24307a5ea69119579e7e060860a786b9;p=rugen move packges detection to configure.in --- diff --git a/configure.in b/configure.in index 7487e05..1cc0fe6 100644 --- a/configure.in +++ b/configure.in @@ -11,7 +11,7 @@ AM_PROG_CC_STDC AM_PROG_CC_C_O AC_HEADER_STDC -pkg_modules="gtk+-2.0 >= 1.3.13" +pkg_modules="gtk+-2.0 >= 1.3.13 gthread-2.0 mlt-melted mlt-mvcp mlt-framework" PKG_CHECK_MODULES(PACKAGE, [$pkg_modules]) AC_SUBST(PACKAGE_CFLAGS) AC_SUBST(PACKAGE_LIBS) diff --git a/src/Makefile.am b/src/Makefile.am index 6bc5baa..2be38cc 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -21,6 +21,4 @@ rugen_SOURCES = \ page_operate.c \ gtkenhancedscale.c gtkenhancedscale.h -rugen_CFLAGS = `pkg-config --cflags gthread-2.0 mlt-melted mlt-mvcp` rugen_LDADD = @PACKAGE_LIBS@ -rugen_LDFLAGS = `pkg-config --libs gthread-2.0 mlt-melted mlt-mvcp`