-
Notifications
You must be signed in to change notification settings - Fork 9
/
configure.ac
280 lines (245 loc) · 9.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
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
dnl initialize autoconf
dnl when going to/from release please remove/add the nano (fourth number)
dnl releases only do Wall, cvs and prerelease does Werror too
AC_INIT(flumotion, m4_esyscmd([ test -z "$VERSION" && VERSION=0.11.0.1;
common/version-gen $VERSION .tarball-version]),
[flumotion], [http://www.flumotion.net/])
dnl initialize automake
AM_INIT_AUTOMAKE([-Wno-portability])
dnl define PACKAGE_VERSION_* variables
AS_VERSION
AC_SUBST(PACKAGE_VERSION_SPEC, `echo $VERSION | tr '-' '_'`)
AS_NANO
AC_SUBST_FILE(AUTHORS)
AUTHORS=$srcdir/AUTHORS
dnl keep in sync with flumotion/common/boot.py and
AC_SUBST(PYGTK_010_REQ, 2.10.0)
AC_SUBST(PYCAIRO_010_REQ, 1.2.0)
AC_SUBST(PYGST_010_REQ, 0.10.4)
AC_SUBST(GST_010_REQ, 0.10.11)
GST_010_SUPPORTED=true
dnl Start date used to autogenrate ChangeLog from 'git log'
AC_SUBST(GIT_LOG_START_COMMIT, "e504f6baf852066b47c96b74d9f7f1c78313a841")
dnl Add parameters for aclocal
AC_SUBST(ACLOCAL_AMFLAGS, "-I m4 -I common")
dnl for rerunning libtoolize
AC_CONFIG_MACRO_DIR([m4])
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)
AC_PROG_INTLTOOL([0.34.2])
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)
AS_AC_EXPAND(BINDIR, $bindir)
AC_MSG_NOTICE(Using bindir $BINDIR)
AS_AC_EXPAND(SBINDIR, $sbindir)
AC_MSG_NOTICE(Using sbindir $SBINDIR)
AC_DISABLE_STATIC
AS_LIBTOOL_TAGS([])
AC_PROG_LIBTOOL
dnl check for python
AS_PATH_PYTHON(2.4.0)
AM_CHECK_PYTHON_HEADERS(HAVE_PYTHON_H=yes, [
AC_MSG_ERROR([You need to install the Python development packages.])
])
as_save_PYTHONPATH=$PYTHONPATH
PYTHONPATH=$srcdir:$PYTHONPATH
export PYTHONPATH
PYTHONPATH=$as_save_PYTHONPATH
export PYTHONPATH
dnl XVFB can be used for documentation building and testing because
dnl some things need to import gtk
AC_CHECK_PROG(XVFB, Xvfb, yes, no)
dnl check for documentation
AC_ARG_ENABLE(docs,
[AC_HELP_STRING([--enable-docs],
[create flumotion documentation [default=yes]])],,
[enable_docs=yes])
if test "x$enable_docs" = "xyes"; then
AC_CHECK_PROG(EPYDOC, epydoc, yes, no)
if test "x$EPYDOC" = "xno"; then
enable_docs=no
fi
if test "x$XVFB" = "xno"; then
enable_docs=no
fi
else
EPYDOC=no
fi
AM_CONDITIONAL(HAVE_EPYDOC, test "x$EPYDOC" = "xyes")
AM_CONDITIONAL(BUILD_DOCS, test "x$enable_docs" = "xyes")
dnl check for pychecker
AC_CHECK_PROG(PYCHECKER, pychecker, yes, no)
AM_CONDITIONAL(HAVE_PYCHECKER, test "x$PYCHECKER" = "xyes")
dnl Cortado
AC_ARG_WITH(cortado_prefix,
AC_HELP_STRING(--with-cortado-prefix=<dir>, where cortado can be found))
CORTADO_PREFIX="$with_cortado_prefix"
AC_SUBST(CORTADO_PREFIX)
AC_CONFIG_FILES([env], [chmod +x env])
AC_CONFIG_FILES([bin/flumotion], [chmod +x bin/flumotion])
AC_CONFIG_FILES([bin/flumotion-admin], [chmod +x bin/flumotion-admin])
AC_CONFIG_FILES([bin/flumotion-admin-text], [chmod +x bin/flumotion-admin-text])
AC_CONFIG_FILES([bin/flumotion-command], [chmod +x bin/flumotion-command])
AC_CONFIG_FILES([bin/flumotion-inspect], [chmod +x bin/flumotion-inspect])
AC_CONFIG_FILES([bin/flumotion-job], [chmod +x bin/flumotion-job])
AC_CONFIG_FILES([bin/flumotion-launch], [chmod +x bin/flumotion-launch])
AC_CONFIG_FILES([bin/flumotion-manager], [chmod +x bin/flumotion-manager])
AC_CONFIG_FILES([bin/flumotion-nagios], [chmod +x bin/flumotion-nagios])
AC_CONFIG_FILES([bin/flumotion-rrdmon], [chmod +x bin/flumotion-rrdmon])
AC_CONFIG_FILES([bin/flumotion-tester], [chmod +x bin/flumotion-tester])
AC_CONFIG_FILES([bin/flumotion-worker], [chmod +x bin/flumotion-worker])
AC_CONFIG_FILES([bin/runtest], [chmod +x bin/runtest])
AC_CONFIG_FILES([misc/flumotion-verify-config], [chmod +x misc/flumotion-verify-config])
dnl output stuff
AC_OUTPUT(
Makefile
bin/Makefile
common/Makefile
data/Makefile
data/glade/Makefile
data/image/Makefile
data/image/16x16/Makefile
data/image/24x24/Makefile
data/image/36x36/Makefile
data/image/wizard/Makefile
data/flumotion-admin.desktop
flumotion/Makefile
flumotion/admin/Makefile
flumotion/admin/assistant/Makefile
flumotion/admin/command/Makefile
flumotion/admin/gtk/Makefile
flumotion/admin/rrdmon/Makefile
flumotion/admin/text/Makefile
flumotion/common/Makefile
flumotion/component/Makefile
flumotion/component/base/Makefile
flumotion/component/bouncers/Makefile
flumotion/component/bouncers/algorithms/Makefile
flumotion/component/common/Makefile
flumotion/component/common/fgdp/Makefile
flumotion/component/common/avproducer/Makefile
flumotion/component/common/streamer/Makefile
flumotion/component/effects/Makefile
flumotion/component/effects/audioconvert/Makefile
flumotion/component/effects/audioresync/Makefile
flumotion/component/effects/colorbalance/Makefile
flumotion/component/effects/deinterlace/Makefile
flumotion/component/effects/kuscheduler/Makefile
flumotion/component/effects/videorate/Makefile
flumotion/component/effects/videoscale/Makefile
flumotion/component/effects/volume/Makefile
flumotion/component/encoders/Makefile
flumotion/component/combiners/Makefile
flumotion/component/combiners/composite/Makefile
flumotion/component/combiners/switch/Makefile
flumotion/component/consumers/Makefile
flumotion/component/consumers/disker/Makefile
flumotion/component/consumers/fgdp/Makefile
flumotion/component/consumers/icystreamer/Makefile
flumotion/component/consumers/httpstreamer/Makefile
flumotion/component/consumers/hlsstreamer/Makefile
flumotion/component/consumers/pipeline/Makefile
flumotion/component/consumers/preview/Makefile
flumotion/component/consumers/shout2/Makefile
flumotion/component/converters/Makefile
flumotion/component/converters/pipeline/Makefile
flumotion/component/converters/overlay/Makefile
flumotion/component/converters/video/Makefile
flumotion/component/decoders/Makefile
flumotion/component/decoders/generic/Makefile
flumotion/component/misc/Makefile
flumotion/component/misc/httpserver/Makefile
flumotion/component/misc/httpserver/httpcached/Makefile
flumotion/component/misc/kuscheduler/Makefile
flumotion/component/misc/porter/Makefile
flumotion/component/misc/repeater/Makefile
flumotion/component/muxers/Makefile
flumotion/component/plugs/Makefile
flumotion/component/plugs/cortado/Makefile
flumotion/component/plugs/cortado/cortado_location.py
flumotion/component/plugs/hlsmultibitrate/Makefile
flumotion/component/plugs/html5/Makefile
flumotion/component/producers/Makefile
flumotion/component/producers/audiotest/Makefile
flumotion/component/producers/bttv/Makefile
flumotion/component/producers/blackmagic/Makefile
flumotion/component/producers/dvsource/Makefile
flumotion/component/producers/dvswitch/Makefile
flumotion/component/producers/firewire/Makefile
flumotion/component/producers/fgdp/Makefile
flumotion/component/producers/icecast/Makefile
flumotion/component/producers/ivtv/Makefile
flumotion/component/producers/pipeline/Makefile
flumotion/component/producers/playlist/Makefile
flumotion/component/producers/rtsp/Makefile
flumotion/component/producers/screencast/Makefile
flumotion/component/producers/soundcard/Makefile
flumotion/component/producers/videotest/Makefile
flumotion/component/producers/webcam/Makefile
flumotion/component/producers/looper/Makefile
flumotion/component/producers/unixdomain/Makefile
flumotion/configure/Makefile
flumotion/configure/installed.py
flumotion/configure/uninstalled.py
flumotion/extern/Makefile
flumotion/extern/fdpass/Makefile
flumotion/job/Makefile
flumotion/launch/Makefile
flumotion/manager/Makefile
flumotion/monitor/Makefile
flumotion/monitor/nagios/Makefile
flumotion/project/Makefile
flumotion/service/Makefile
flumotion/scenario/Makefile
flumotion/scenario/live/Makefile
flumotion/scenario/ondemand/Makefile
flumotion/scenario/loadflow/Makefile
flumotion/scenario/steps/Makefile
flumotion/test/Makefile
flumotion/tester/Makefile
flumotion/twisted/Makefile
flumotion/ui/Makefile
flumotion/worker/Makefile
flumotion/worker/checks/Makefile
conf/Makefile
doc/Makefile
doc/reference/Makefile
doc/man/Makefile
pkgconfig/Makefile
pkgconfig/flumotion.pc
pkgconfig/flumotion-uninstalled.pc
tests/Makefile
tests/integration/Makefile
flumotion.spec
po/Makefile.in
)
echo
echo " $PACKAGE_STRING ($PACKAGE_VERSION_RELEASE)"
echo
echo " Building documentation: $enable_docs"
echo " pychecker: $PYCHECKER"
echo " epydoc: $EPYDOC"
echo
echo "Now type \"make\" to build flumotion"
dnl echo
dnl echo "configure: *** Flumotion has been configured with support for the"
dnl echo " following versions of GStreamer:"
dnl echo
dnl echo " GStreamer 0.10: $GST_010_SUPPORTED"
dnl echo
dnl echo "If either version is disabled, check the configure output above to"
dnl echo "determine the cause of the problem, and re-run the configure"
dnl echo "script after installing the necessary dependencies."
dnl echo
dnl build triggers area