move packges detection to configure.in
authorMaksym Veremeyenko <verem@m1stereo.tv>
Sat, 18 Jun 2011 14:29:43 +0000 (17:29 +0300)
committerMaksym Veremeyenko <verem@m1stereo.tv>
Sat, 18 Jun 2011 14:29:43 +0000 (17:29 +0300)
configure.in
src/Makefile.am

index 7487e05..1cc0fe6 100644 (file)
@@ -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)
index 6bc5baa..2be38cc 100644 (file)
@@ -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`