forked from zaheerm/flumotion-ugly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
88 lines (68 loc) · 2.29 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
AC_INIT(flumotion-ugly,
0.8.0,
http://github.com/zaheerm/flumotion-ugly/issues,
flumotion-ugly)
AM_INIT_AUTOMAKE([-Wno-portability])
AS_VERSION
AS_NANO
AC_SUBST_FILE(AUTHORS)
AUTHORS=$srcdir/AUTHORS
AC_SUBST(PYGTK_REQ, 2.4.0)
AC_SUBST(FLU_REQ, 0.8.0)
dnl Add parameters for aclocal
AC_SUBST(ACLOCAL_AMFLAGS, "-I m4 -I common")
dnl set up gettext
dnl the version check needs to stay here because autopoint greps for it
AM_GNU_GETTEXT_VERSION([0.11.5])
AM_GNU_GETTEXT([external])
GETTEXT_PACKAGE=$PACKAGE
AC_SUBST(GETTEXT_PACKAGE)
AS_AC_EXPAND(LIBDIR, $libdir)
AC_MSG_NOTICE(Storing library files in $LIBDIR)
AS_AC_EXPAND(DATADIR, $datadir)
AC_MSG_NOTICE(Storing data files in $DATADIR)
AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
AC_MSG_NOTICE(Storing configuration files in $SYSCONFDIR)
AS_AC_EXPAND(LOCALSTATEDIR, $localstatedir)
AC_MSG_NOTICE(Using localstatedir $LOCALSTATEDIR)
dnl check for python
AS_PATH_PYTHON(2.5)
dnl useful when we compile our own python modules
dnl AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
dnl check for epydoc
AC_CHECK_PROG(EPYDOC, epydoc, yes, no)
AM_CONDITIONAL(HAVE_EPYDOC, test "x$EPYDOC" = "xyes")
dnl check for pychecker
AC_CHECK_PROG(PYCHECKER, pychecker, yes, no)
AM_CONDITIONAL(HAVE_PYCHECKER, test "x$PYCHECKER" = "xyes")
dnl check for flumotion
PKG_CHECK_MODULES(FLUMOTION, flumotion >= $FLU_REQ)
FLUMOTION_DIR="`$PKG_CONFIG --variable=flumotiondir flumotion`"
AC_MSG_NOTICE([Flumotion code base directory is $FLUMOTION_DIR])
AC_SUBST(FLUMOTION_DIR)
PREAMBLE=`cat $srcdir/misc/preamble.py`
dnl output stuff
FLUMOTION_SETUP(flumotion/test/setup.py, $FLUMOTION_DIR, $PREAMBLE, ugly)
FLUMOTION_SETUP(misc/setup.py, $FLUMOTION_DIR, $PREAMBLE, ugly)
AC_CONFIG_FILES([env], [chmod +x env])
dnl output stuff
AC_OUTPUT(
Makefile
flumotion-ugly.spec
common/Makefile
flumotion/Makefile
flumotion/test/Makefile
flumotion/component/Makefile
flumotion/component/encoders/Makefile
flumotion/component/encoders/x264/Makefile
flumotion/component/encoders/lamemp3/Makefile
flumotion/component/encoders/faac/Makefile
flumotion/component/muxers/Makefile
flumotion/component/muxers/gstflv/Makefile
flumotion/component/muxers/lamemp3/Makefile
flumotion/component/muxers/faac/Makefile
flumotion/project/Makefile
flumotion/project/ugly.py
misc/Makefile
po/Makefile.in
)