-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.in
68 lines (52 loc) · 1.34 KB
/
configure.in
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
AC_INIT(erocks, 0.0.1, [email protected])
AC_PREREQ(2.52)
AC_CONFIG_SRCDIR(configure.in)
AM_INIT_AUTOMAKE(1.11 dist-bzip2)
AM_CONFIG_HEADER(config.h)
AC_C_BIGENDIAN
AC_ISC_POSIX
AC_PROG_CC
AM_PROG_CC_STDC
AC_HEADER_STDC
AC_C_CONST
AM_PROG_VALAC ([0.9.7])
EROCKS_VALAFLAGS="--thread"
EROCKS_PACKAGES="--pkg posix --pkg gio-2.0 --pkg gstreamer-0.10 --pkg sqlite3 --pkg taglib_c --pkg eina --pkg evas --pkg ecore --pkg edje --pkg elm"
PKG_CHECK_MODULES(EROCKS, glib-2.0 >= 2.25.0
gobject-2.0
gio-2.0
gstreamer-0.10
sqlite3
taglib_c
elementary
edje
eina)
AC_SUBST(EROCKS_LIBS)
AC_SUBST(EROCKS_CFLAGS)
AC_SUBST(EROCKS_PACKAGES)
AC_ARG_ENABLE([fso],
[AC_HELP_STRING([--enable-fso], [enable FSO support])],
[
if test "x${enableval}" = "xyes" ; then
enable_fso="yes"
else
enable_fso="no"
fi
],
[enable_fso="no"])
if test "x$enable_fso" = "xyes" ; then
echo "ADDING FSO SUPPORT FOR THIS BUILD..."
EROCKS_VALAFLAGS="$EROCKS_VALAFLAGS --define=_FSO_"
fi
AC_SUBST(EROCKS_VALAFLAGS)
AC_ARG_WITH(edje-cc,
[ --with-edje-cc=PATH specify a specific path to edje_cc],
[
v=$withval;
edje_cc=$v
echo " Enlightenment edje_cc explicitly set to "$edje_cc;
],[
edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc
])
AC_SUBST(edje_cc)
AC_OUTPUT(Makefile)