-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
41 lines (32 loc) · 835 Bytes
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
AC_INIT([omap4-media-apps], [0.2.2], [tigrux@gmail.com], [omap4-media-apps])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS(config.h)
AM_INIT_AUTOMAKE([foreign])
AC_PROG_CC
AC_PROG_LIBTOOL
AC_DISABLE_STATIC
AC_PATH_PROG(VALAC, valac, valac)
AC_SUBST(VALAC)
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
VALA_DEPS="--pkg gtk+-2.0 --pkg gdk-x11-2.0 --pkg gstreamer-0.10 --pkg gstreamer-interfaces-0.10 --pkg posix"
AC_SUBST(VALA_DEPS)
min_gtk_ver=2.14
min_gst_ver=0.10
PKG_CHECK_MODULES(PROGRAM,
gtk+-2.0 >= $min_gtk_ver
gdk-x11-2.0 >= $min_gtk_ver
gstreamer-0.10 >= $min_gst_ver
gstreamer-interfaces-0.10 >= $min_gst_ver
)
AC_SUBST(PROGRAM_CFLAGS)
AC_SUBST(PROGRAM_LIBS)
AC_CONFIG_FILES([
Makefile
common/Makefile
player-app/Makefile
muxer-app/Makefile
imageview-app/Makefile
])
AC_OUTPUT