-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
60 lines (51 loc) · 1.12 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
AC_PREREQ(2.53)
AC_INIT(libphone-ui-shr, 0.0.1, http://www.shr-project.org/)
AM_INIT_AUTOMAKE()
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
AC_GNU_SOURCE
AC_ISC_POSIX
AC_PROG_CC
AC_STDC_HEADERS
AC_PROG_LIBTOOL
# base deps
PKG_CHECK_MODULES(LIBPHONEUI, libphone-ui)
PKG_CHECK_MODULES(LIBPHONE_UTILS, libphone-utils)
PKG_CHECK_MODULES(GLIB, glib-2.0)
PKG_CHECK_MODULES(FSO_GLIB, fso-glib-1.0)
PKG_CHECK_MODULES(FSO_FRAMEWORK, fsoframework-2.0)
PKG_CHECK_MODULES(E, [
evas
ecore
ecore-evas
edje
elementary
])
AC_SUBST(LIBPHONEUI_CFLAGS)
AC_SUBST(LIBPHONEUI_LIBS)
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIC_LIBS)
AC_SUBST(E_CFLAGS)
AC_SUBST(E_LIBS)
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_SUBST(DATADIR, $datadir)
ALL_LINGUAS="ar ca de es fi gl pl ru"
AC_SUBST(ALL_LINGUAS)
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.12.1])
# output stuff
AC_OUTPUT([
Makefile
data/Makefile
src/Makefile
po/Makefile.in
])