Line
Link Here
|
0 |
-- |
0 |
++ configure.ac |
1 |
-- configure.ac |
|
|
Lines 20-52
Link Here
|
20 |
# GObject Introspection |
20 |
# GObject Introspection |
21 |
GOBJECT_INTROSPECTION_REQUIRE(0.6.5) |
21 |
GOBJECT_INTROSPECTION_REQUIRE(0.6.5) |
22 |
|
22 |
|
|
|
23 |
dnl ---------- |
23 |
dnl dbus |
24 |
dnl dbus |
24 |
PKG_CHECK_MODULES(DBUS, dbus-glib-1, |
25 |
dnl ---------- |
25 |
have_dbus=true, have_dbus=false) |
26 |
AC_ARG_ENABLE(dbus, |
|
|
27 |
AS_HELP_STRING([--enable-dbus], [Build DBus gir data])) |
28 |
have_dbus=false |
29 |
if test "$enable_dbus" != "no"; then |
30 |
PKG_CHECK_MODULES(DBUS, dbus-glib-1, |
31 |
have_dbus=true, have_dbus=false) |
32 |
|
33 |
if test "$enable_dbus" = "yes" -a "$have_dbus" = "false"; then |
34 |
AC_MSG_ERROR([DBus gir data requested but dbus-glib-1 not found]) |
35 |
fi |
36 |
fi |
26 |
AM_CONDITIONAL(BUILD_DBUS, $have_dbus) |
37 |
AM_CONDITIONAL(BUILD_DBUS, $have_dbus) |
27 |
|
38 |
|
|
|
39 |
dnl ---------- |
28 |
dnl atk |
40 |
dnl atk |
29 |
PKG_CHECK_MODULES(ATK, atk >= 1.12.0, |
41 |
dnl ---------- |
30 |
have_atk=true, have_atk=false) |
42 |
AC_ARG_ENABLE(atk, |
|
|
43 |
AS_HELP_STRING([--enable-atk], [Build Atk gir data])) |
44 |
have_atk=false |
45 |
if test "$enable_atk" != "no"; then |
46 |
PKG_CHECK_MODULES(ATK, atk >= 1.12.0, |
47 |
have_atk=true, have_atk=false) |
48 |
|
49 |
if test "$enable_atk" = "yes" -a "$have_atk" = "false"; then |
50 |
AC_MSG_ERROR([Atk gir data requested but atk not found]) |
51 |
fi |
52 |
fi |
31 |
AM_CONDITIONAL(BUILD_ATK, $have_atk) |
53 |
AM_CONDITIONAL(BUILD_ATK, $have_atk) |
32 |
|
54 |
|
|
|
55 |
dnl ---------- |
33 |
dnl pango |
56 |
dnl pango |
34 |
PKG_CHECK_MODULES(PANGO, pango >= 1.16.0, |
57 |
dnl ---------- |
35 |
have_pango=true, have_pango=false) |
58 |
AC_ARG_ENABLE(pango, |
36 |
AM_CONDITIONAL(BUILD_PANGO, $have_pango) |
59 |
AS_HELP_STRING([--enable-pango], [Build Pango gir data])) |
|
|
60 |
have_pango=false |
61 |
have_pangoxft=false |
62 |
if test "$enable_pango" != "no"; then |
63 |
PKG_CHECK_MODULES(PANGO, pango >= 1.16.0, |
64 |
have_pango=true, have_pango=false) |
65 |
|
66 |
if test "$enable_pango" = "yes" -a "$have_pango" = "false"; then |
67 |
AC_MSG_ERROR([Pango gir data requested but pango not found]) |
68 |
fi |
37 |
|
69 |
|
38 |
PKG_CHECK_MODULES(PANGOXFT, pangoxft >= 1.16.0, |
70 |
PKG_CHECK_MODULES(PANGOXFT, pangoxft >= 1.16.0, |
39 |
have_pangoxft=true, have_pangoxft=false) |
71 |
have_pangoxft=true, have_pangoxft=false) |
|
|
72 |
fi |
73 |
AM_CONDITIONAL(BUILD_PANGO, $have_pango) |
40 |
AM_CONDITIONAL(BUILD_PANGOXFT, $have_pangoxft) |
74 |
AM_CONDITIONAL(BUILD_PANGOXFT, $have_pangoxft) |
41 |
|
75 |
|
|
|
76 |
dnl ---------- |
42 |
dnl poppler |
77 |
dnl poppler |
43 |
PKG_CHECK_MODULES(POPPLER, poppler-glib >= 0.8, |
78 |
dnl ---------- |
44 |
have_poppler=true, have_poppler=false) |
79 |
AC_ARG_ENABLE(poppler, |
|
|
80 |
AS_HELP_STRING([--enable-poppler], [Build Poppler gir data])) |
81 |
have_poppler=false |
82 |
if test "$enable_poppler" != "no"; then |
83 |
PKG_CHECK_MODULES(POPPLER, poppler-glib >= 0.8, |
84 |
have_poppler=true, have_poppler=false) |
85 |
|
86 |
if test "$enable_poppler" = "yes" -a "$have_poppler" = "false"; then |
87 |
AC_MSG_ERROR([Poppler gir data requested but poppler-glib not found]) |
88 |
fi |
89 |
fi |
45 |
AM_CONDITIONAL(BUILD_POPPLER, $have_poppler) |
90 |
AM_CONDITIONAL(BUILD_POPPLER, $have_poppler) |
46 |
|
91 |
|
|
|
92 |
dnl ---------- |
47 |
dnl gtk+ |
93 |
dnl gtk+ |
48 |
PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 1.12.0, |
94 |
dnl ---------- |
49 |
have_gtk=true, have_gtk=false) |
95 |
AC_ARG_ENABLE(gtk, |
|
|
96 |
AS_HELP_STRING([--enable-gtk], [Build GTK+ gir data])) |
97 |
have_gtk=false |
98 |
if test "$enable_gtk" != "no"; then |
99 |
PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 1.12.0, |
100 |
have_gtk=true, have_gtk=false) |
101 |
|
102 |
if test "$enable_gtk" = "yes" -a "$have_gtk" = "false"; then |
103 |
AC_MSG_ERROR([GTK+ gir data requested but gtk+-2.0 not found]) |
104 |
fi |
105 |
fi |
50 |
AM_CONDITIONAL(BUILD_GTK, $have_gtk) |
106 |
AM_CONDITIONAL(BUILD_GTK, $have_gtk) |
51 |
GDK_TARGET= |
107 |
GDK_TARGET= |
52 |
GDK_TARGET_GIRS= |
108 |
GDK_TARGET_GIRS= |
Lines 61-109
Link Here
|
61 |
AC_SUBST(GDK_TARGET) |
117 |
AC_SUBST(GDK_TARGET) |
62 |
AC_SUBST(GDK_TARGET_GIRS) |
118 |
AC_SUBST(GDK_TARGET_GIRS) |
63 |
|
119 |
|
|
|
120 |
dnl ---------- |
64 |
dnl gconf |
121 |
dnl gconf |
65 |
PKG_CHECK_MODULES(GCONF, gconf-2.0, |
122 |
dnl ---------- |
66 |
have_gconf=true, have_gconf=false) |
123 |
AC_ARG_ENABLE(gconf, |
|
|
124 |
AS_HELP_STRING([--enable-gconf], [Build GConf gir data])) |
125 |
have_gconf=false |
126 |
if test "$enable_gconf" != "no"; then |
127 |
PKG_CHECK_MODULES(GCONF, gconf-2.0, |
128 |
have_gconf=true, have_gconf=false) |
129 |
|
130 |
if test "$enable_gconf" = "yes" -a "$have_gconf" = "false"; then |
131 |
AC_MSG_ERROR([GConf gir data requested but gconf-2.0 not found]) |
132 |
fi |
133 |
fi |
67 |
AM_CONDITIONAL(BUILD_GCONF, $have_gconf) |
134 |
AM_CONDITIONAL(BUILD_GCONF, $have_gconf) |
68 |
|
135 |
|
|
|
136 |
dnl ---------- |
69 |
dnl soup |
137 |
dnl soup |
70 |
PKG_CHECK_MODULES(SOUP, libsoup-2.4, |
138 |
dnl ---------- |
71 |
have_soup=true, have_soup=false) |
139 |
AC_ARG_ENABLE(soup, |
|
|
140 |
AS_HELP_STRING([--enable-soup], [Build LibSoup gir data])) |
141 |
have_soup=false |
142 |
if test "$enable_soup" != "no"; then |
143 |
PKG_CHECK_MODULES(SOUP, libsoup-2.4, |
144 |
have_soup=true, have_soup=false) |
145 |
|
146 |
if test "$enable_soup" = "yes" -a "$have_soup" = "false"; then |
147 |
AC_MSG_ERROR([LibSoup gir data requested but libsoup-2.4 not found]) |
148 |
fi |
149 |
fi |
72 |
AM_CONDITIONAL(BUILD_SOUP, $have_soup) |
150 |
AM_CONDITIONAL(BUILD_SOUP, $have_soup) |
73 |
|
151 |
|
|
|
152 |
dnl ---------- |
74 |
dnl babl |
153 |
dnl babl |
75 |
PKG_CHECK_MODULES(BABL, babl, |
154 |
dnl ---------- |
76 |
have_babl=true, have_babl=false) |
155 |
AC_ARG_ENABLE(babl, |
|
|
156 |
AS_HELP_STRING([--enable-babl], [Build Babl gir data])) |
157 |
have_babl=false |
158 |
if test "$enable_babl" != "no"; then |
159 |
PKG_CHECK_MODULES(BABL, babl, |
160 |
have_babl=true, have_babl=false) |
161 |
|
162 |
if test "$enable_babl" = "yes" -a "$have_babl" = "false"; then |
163 |
AC_MSG_ERROR([Babl gir data requested but babl not found]) |
164 |
fi |
165 |
fi |
77 |
AM_CONDITIONAL(BUILD_BABL, $have_babl) |
166 |
AM_CONDITIONAL(BUILD_BABL, $have_babl) |
78 |
|
167 |
|
|
|
168 |
dnl ---------- |
79 |
dnl nautilus-extension |
169 |
dnl nautilus-extension |
80 |
PKG_CHECK_MODULES(NAUTILUS, libnautilus-extension, |
170 |
dnl ---------- |
81 |
have_nautilusextension=true, have_nautilusextension=false) |
171 |
AC_ARG_ENABLE(nautilus, |
|
|
172 |
AS_HELP_STRING([--enable-nautilus], [Build Nautilus Extension gir data])) |
173 |
have_nautilusextension=false |
174 |
if test "$enable_nautilus" != "no"; then |
175 |
PKG_CHECK_MODULES(NAUTILUS, libnautilus-extension, |
176 |
have_nautilusextension=true, have_nautilusextension=false) |
177 |
|
178 |
if test "$enable_nautilus" = "yes" -a "$have_nautilusextension" = "false"; then |
179 |
AC_MSG_ERROR([Nautilus Extension gir data requested but libnautilus-extension not found]) |
180 |
fi |
181 |
fi |
82 |
AM_CONDITIONAL(BUILD_NAUTILUS, $have_nautilusextension) |
182 |
AM_CONDITIONAL(BUILD_NAUTILUS, $have_nautilusextension) |
83 |
|
183 |
|
|
|
184 |
dnl ---------- |
84 |
dnl gnome-keyring |
185 |
dnl gnome-keyring |
85 |
PKG_CHECK_MODULES(GNOMEKEYRING, gnome-keyring-1, |
186 |
dnl ---------- |
86 |
have_gnomekeyring=true, have_gnomekeyring=false) |
187 |
AC_ARG_ENABLE(gnomekeyring, |
|
|
188 |
AS_HELP_STRING([--enable-gnomekeyring], [Build gnome-keyring gir data])) |
189 |
have_gnomekeyring=false |
190 |
if test "$enable_gnomekeyring" != "no"; then |
191 |
PKG_CHECK_MODULES(GNOMEKEYRING, gnome-keyring-1, |
192 |
have_gnomekeyring=true, have_gnomekeyring=false) |
193 |
|
194 |
if test "$enable_gnomekeyring" = "yes" -a "$have_gnomekeyring" = "false"; then |
195 |
AC_MSG_ERROR([gnome-keyring gir data requested but gnome-keyring-1 not found]) |
196 |
fi |
197 |
fi |
87 |
AM_CONDITIONAL(BUILD_GNOMEKEYRING, $have_gnomekeyring) |
198 |
AM_CONDITIONAL(BUILD_GNOMEKEYRING, $have_gnomekeyring) |
88 |
|
199 |
|
|
|
200 |
dnl ---------- |
89 |
dnl webkit |
201 |
dnl webkit |
90 |
PKG_CHECK_MODULES(WEBKIT, webkit-1.0 >= 1.0, |
202 |
dnl ---------- |
91 |
have_webkit=true, have_webkit=false) |
203 |
AC_ARG_ENABLE(webkit, |
|
|
204 |
AS_HELP_STRING([--enable-webkit], [Build Webkit-Gtk gir data])) |
205 |
have_webkit=false |
206 |
if test "$enable_webkit" != "no"; then |
207 |
PKG_CHECK_MODULES(WEBKIT, webkit-1.0 >= 1.0, |
208 |
have_webkit=true, have_webkit=false) |
209 |
|
210 |
if test "$enable_webkit" = "yes" -a "$have_webkit" = "false"; then |
211 |
AC_MSG_ERROR([WebKit-Gtk gir data requested but webkit-1.0 not found]) |
212 |
fi |
213 |
fi |
92 |
AM_CONDITIONAL(BUILD_WEBKIT, $have_webkit) |
214 |
AM_CONDITIONAL(BUILD_WEBKIT, $have_webkit) |
93 |
|
215 |
|
|
|
216 |
dnl ---------- |
94 |
dnl notify |
217 |
dnl notify |
95 |
PKG_CHECK_MODULES(NOTIFY, libnotify, |
218 |
dnl ---------- |
96 |
have_notify=true, have_notify=false) |
219 |
AC_ARG_ENABLE(notify, |
|
|
220 |
AS_HELP_STRING([--enable-libnotify], [Build LibNotify gir data])) |
221 |
have_notify=false |
222 |
if test "$enable_notify" != "no"; then |
223 |
PKG_CHECK_MODULES(NOTIFY, libnotify, |
224 |
have_notify=true, have_notify=false) |
225 |
|
226 |
if test "$enable_notify" = "yes" -a "$have_notify" = "false"; then |
227 |
AC_MSG_ERROR([LibNotify gir data requested but libnotify not found]) |
228 |
fi |
229 |
fi |
97 |
AM_CONDITIONAL(BUILD_NOTIFY, $have_notify) |
230 |
AM_CONDITIONAL(BUILD_NOTIFY, $have_notify) |
98 |
|
231 |
|
|
|
232 |
dnl ---------- |
99 |
dnl gnio |
233 |
dnl gnio |
100 |
PKG_CHECK_MODULES(GNIO, gnio, |
234 |
dnl ---------- |
101 |
have_gnio=true, have_gnio=false) |
235 |
AC_ARG_ENABLE(gnio, |
|
|
236 |
AS_HELP_STRING([--enable-gnio], [Build gnio gir data])) |
237 |
have_gnio=false |
238 |
if test "$enable_gnio" != "no"; then |
239 |
PKG_CHECK_MODULES(GNIO, gnio, |
240 |
have_gnio=true, have_gnio=false) |
241 |
|
242 |
if test "$enable_gnio" = "yes" -a "$have_gnio" = "false"; then |
243 |
AC_MSG_ERROR([gnio gir data requested but gnio not found]) |
244 |
fi |
245 |
fi |
102 |
AM_CONDITIONAL(BUILD_GNIO, $have_gnio) |
246 |
AM_CONDITIONAL(BUILD_GNIO, $have_gnio) |
103 |
|
247 |
|
|
|
248 |
dnl ---------- |
104 |
dnl clutter |
249 |
dnl clutter |
105 |
PKG_CHECK_MODULES(CLUTTER, clutter-0.8 >= 0.8, |
250 |
dnl ---------- |
106 |
have_clutter=true, have_clutter=false) |
251 |
AC_ARG_ENABLE(clutter, |
|
|
252 |
AS_HELP_STRING([--enable-clutter], [Build Clutter gir data])) |
253 |
have_clutter=false |
254 |
if test "$enable_clutter" != "no"; then |
255 |
PKG_CHECK_MODULES(CLUTTER, clutter-0.8 >= 0.8, |
256 |
have_clutter=true, have_clutter=false) |
257 |
|
258 |
if test "$enable_clutter" = "yes" -a "$have_clutter" = "false"; then |
259 |
AC_MSG_ERROR([Clutter gir data requested but clutter-0.8 not found]) |
260 |
fi |
261 |
fi |
107 |
AM_CONDITIONAL(BUILD_CLUTTER, $have_clutter) |
262 |
AM_CONDITIONAL(BUILD_CLUTTER, $have_clutter) |
108 |
CLUTTER_BACKEND= |
263 |
CLUTTER_BACKEND= |
109 |
CLUTTER_BACKEND_GIRS= |
264 |
CLUTTER_BACKEND_GIRS= |
Lines 126-198
Link Here
|
126 |
AC_SUBST(CLUTTER_BACKEND) |
281 |
AC_SUBST(CLUTTER_BACKEND) |
127 |
AC_SUBST(CLUTTER_BACKEND_GIRS) |
282 |
AC_SUBST(CLUTTER_BACKEND_GIRS) |
128 |
|
283 |
|
|
|
284 |
dnl ---------- |
129 |
dnl clutter-gtk |
285 |
dnl clutter-gtk |
130 |
PKG_CHECK_MODULES(CLUTTERGTK, clutter-gtk-0.8 >= 0.8, |
286 |
dnl ---------- |
131 |
have_clutter_gtk=true, have_clutter_gtk=false) |
287 |
AC_ARG_ENABLE(clutter_gtk, |
|
|
288 |
AS_HELP_STRING([--enable-clutter-gtk], [Build Clutter-Gtk gir data])) |
289 |
have_clutter_gtk=false |
290 |
if test "$enable_clutter_gtk" != "no"; then |
291 |
PKG_CHECK_MODULES(CLUTTERGTK, clutter-gtk-0.8 >= 0.8, |
292 |
have_clutter_gtk=true, have_clutter_gtk=false) |
293 |
|
294 |
if test "$enable_clutter_gtk" = "yes" -a "$have_clutter_gtk" = "false"; then |
295 |
AC_MSG_ERROR([Clutter-Gtk gir data requested but clutter-gtk-0.8 not found]) |
296 |
fi |
297 |
fi |
132 |
AM_CONDITIONAL(BUILD_CLUTTERGTK, $have_clutter_gtk) |
298 |
AM_CONDITIONAL(BUILD_CLUTTERGTK, $have_clutter_gtk) |
133 |
|
299 |
|
|
|
300 |
dnl ---------- |
134 |
dnl clutter-cairo |
301 |
dnl clutter-cairo |
135 |
PKG_CHECK_MODULES(CLUTTERCAIRO, clutter-cairo-0.8 >= 0.8, |
302 |
dnl ---------- |
136 |
have_clutter_cairo=true, have_clutter_cairo=false) |
303 |
AC_ARG_ENABLE(clutter_cairo, |
|
|
304 |
AS_HELP_STRING([--enable-clutter-cairo], [Build Clutter-Cairo gir data])) |
305 |
have_clutter_cairo=false |
306 |
if test "$enable_clutter_cairo" != "no"; then |
307 |
PKG_CHECK_MODULES(CLUTTERCAIRO, clutter-cairo-0.8 >= 0.8, |
308 |
have_clutter_cairo=true, have_clutter_cairo=false) |
309 |
|
310 |
if test "$enable_clutter_cairo" = "yes" -a "$have_clutter_cairo" = "false"; then |
311 |
AC_MSG_ERROR([Clutter-Cairo gir data requested but clutter-cairo-0.8 not found]) |
312 |
fi |
313 |
fi |
137 |
AM_CONDITIONAL(BUILD_CLUTTERCAIRO, $have_clutter_cairo) |
314 |
AM_CONDITIONAL(BUILD_CLUTTERCAIRO, $have_clutter_cairo) |
138 |
|
315 |
|
|
|
316 |
dnl ---------- |
139 |
dnl gstreamer |
317 |
dnl gstreamer |
140 |
PKG_CHECK_MODULES(GSTREAMER, gstreamer-0.10 >= 0.10.0, |
318 |
dnl ---------- |
141 |
have_gstreamer=true, have_gstreamer=false) |
319 |
AC_ARG_ENABLE(gstreamer, |
142 |
AM_CONDITIONAL(BUILD_GSTREAMER, $have_gstreamer) |
320 |
AS_HELP_STRING([--enable-gstreamer], [Build Gstreamer gir data])) |
143 |
|
321 |
have_gstreamer=false |
144 |
dnl gstbufferlist.h, gsttaskpool.h were added in 0.10.24 (and in |
322 |
have_gstreamer_plugins_base=false |
145 |
dnl prereleases of that) |
|
|
146 |
have_gstbufferlist_h=false |
323 |
have_gstbufferlist_h=false |
147 |
if $have_gstreamer ; then |
|
|
148 |
save_CPPFLAGS="$CPPFLAGS"; CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS" |
149 |
AC_CHECK_HEADER(gst/gstbufferlist.h, [have_gstbufferlist_h=true]) |
150 |
CPPFLAGS="$save_CPPFLAGS" |
151 |
fi |
152 |
AM_CONDITIONAL(HAVE_GSTBUFFERLIST_H, $have_gstbufferlist_h) |
153 |
|
154 |
have_gsttaskpool_h=false |
324 |
have_gsttaskpool_h=false |
155 |
if $have_gstreamer ; then |
325 |
if test "$enable_gstreamer" != "no"; then |
156 |
save_CPPFLAGS="$CPPFLAGS"; CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS" |
326 |
PKG_CHECK_MODULES(GSTREAMER, gstreamer-0.10 >= 0.10.0, |
157 |
AC_CHECK_HEADER(gst/gsttaskpool.h, [have_gsttaskpool_h=true]) |
327 |
have_gstreamer=true, have_gstreamer=false) |
158 |
CPPFLAGS="$save_CPPFLAGS" |
328 |
|
|
|
329 |
if test "$enable_gstreamer" = "yes" -a "$have_gstreamer" = "false"; then |
330 |
AC_MSG_ERROR([Gstreamer gir data requested but gstreamer-0.10 not found]) |
331 |
fi |
332 |
|
333 |
dnl gstbufferlist.h, gsttaskpool.h were added in 0.10.24 (and in |
334 |
dnl prereleases of that) |
335 |
if $have_gstreamer ; then |
336 |
save_CPPFLAGS="$CPPFLAGS"; CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS" |
337 |
AC_CHECK_HEADER(gst/gstbufferlist.h, [have_gstbufferlist_h=true]) |
338 |
CPPFLAGS="$save_CPPFLAGS" |
339 |
fi |
340 |
|
341 |
if $have_gstreamer ; then |
342 |
save_CPPFLAGS="$CPPFLAGS"; CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS" |
343 |
AC_CHECK_HEADER(gst/gsttaskpool.h, [have_gsttaskpool_h=true]) |
344 |
CPPFLAGS="$save_CPPFLAGS" |
345 |
fi |
346 |
|
347 |
PKG_CHECK_MODULES(GSTREAMER_PLUGINS_BASE, gstreamer-plugins-base-0.10 >= 0.10.0, |
348 |
have_gstreamer_plugins_base=true, |
349 |
have_gstreamer_plugins_base=false) |
159 |
fi |
350 |
fi |
|
|
351 |
AM_CONDITIONAL(HAVE_GSTBUFFERLIST_H, $have_gstbufferlist_h) |
160 |
AM_CONDITIONAL(HAVE_GSTTASKPOOL_H, $have_gsttaskpool_h) |
352 |
AM_CONDITIONAL(HAVE_GSTTASKPOOL_H, $have_gsttaskpool_h) |
161 |
|
353 |
AM_CONDITIONAL(BUILD_GSTREAMER, $have_gstreamer) |
162 |
dnl gstreamer |
|
|
163 |
PKG_CHECK_MODULES(GSTREAMER_PLUGINS_BASE, gstreamer-plugins-base-0.10 >= 0.10.0, |
164 |
have_gstreamer_plugins_base=true, |
165 |
have_gstreamer_plugins_base=false) |
166 |
AM_CONDITIONAL(BUILD_GSTREAMER_PLUGINS_BASE, $have_gstreamer_plugins_base) |
354 |
AM_CONDITIONAL(BUILD_GSTREAMER_PLUGINS_BASE, $have_gstreamer_plugins_base) |
167 |
|
355 |
|
|
|
356 |
dnl ---------- |
168 |
dnl gtksourceview |
357 |
dnl gtksourceview |
169 |
PKG_CHECK_MODULES(GTKSOURCEVIEW, gtksourceview-2.0, |
358 |
dnl ---------- |
170 |
have_gtksourceview=true, have_gtksourceview=false) |
359 |
AC_ARG_ENABLE(gtksourceview, |
|
|
360 |
AS_HELP_STRING([--enable-gtksourceview], [Build gtksourceview gir data])) |
361 |
have_gtksourceview=false |
362 |
if test "$enable_gtksourceview" != "no"; then |
363 |
PKG_CHECK_MODULES(GTKSOURCEVIEW, gtksourceview-2.0, |
364 |
have_gtksourceview=true, have_gtksourceview=false) |
365 |
|
366 |
if test "$enable_gtksourceview" = "yes" -a "$have_gtksourceview" = "false"; then |
367 |
AC_MSG_ERROR([gtksourceview gir data requested but gtksourceview-2.0 not found]) |
368 |
fi |
369 |
fi |
171 |
AM_CONDITIONAL(BUILD_GTKSOURCEVIEW, $have_gtksourceview) |
370 |
AM_CONDITIONAL(BUILD_GTKSOURCEVIEW, $have_gtksourceview) |
172 |
|
371 |
|
|
|
372 |
dnl ---------- |
173 |
dnl vte |
373 |
dnl vte |
174 |
PKG_CHECK_MODULES(VTE, vte, |
374 |
dnl ---------- |
175 |
have_vte=true, have_vte=false) |
375 |
AC_ARG_ENABLE(vte, |
|
|
376 |
AS_HELP_STRING([--enable-vte], [Build Vte gir data])) |
377 |
have_vte=false |
378 |
if test "$enable_vte" != "no"; then |
379 |
PKG_CHECK_MODULES(VTE, vte, |
380 |
have_vte=true, have_vte=false) |
381 |
|
382 |
if test "$enable_vte" = "yes" -a "$have_vte" = "false"; then |
383 |
AC_MSG_ERROR([Vte gir data requested but vte not found]) |
384 |
fi |
385 |
fi |
176 |
AM_CONDITIONAL(BUILD_VTE, $have_vte) |
386 |
AM_CONDITIONAL(BUILD_VTE, $have_vte) |
177 |
|
387 |
|
|
|
388 |
dnl ---------- |
178 |
dnl goocanvas |
389 |
dnl goocanvas |
179 |
PKG_CHECK_MODULES(GOOCANVAS, goocanvas, |
390 |
dnl ---------- |
180 |
have_goocanvas=true, have_goocanvas=false) |
391 |
AC_ARG_ENABLE(goocanvas, |
|
|
392 |
AS_HELP_STRING([--enable-goocanvas], [Build goocanvas gir data])) |
393 |
have_goocanvas=false |
394 |
if test "$enable_goocanvas" != "no"; then |
395 |
PKG_CHECK_MODULES(GOOCANVAS, goocanvas, |
396 |
have_goocanvas=true, have_goocanvas=false) |
397 |
|
398 |
if test "$enable_goocanvas" = "yes" -a "$have_goocanvas" = "false"; then |
399 |
AC_MSG_ERROR([goocanvas gir data requested but goocanvas not found]) |
400 |
fi |
401 |
fi |
181 |
AM_CONDITIONAL(BUILD_GOOCANVAS, $have_goocanvas) |
402 |
AM_CONDITIONAL(BUILD_GOOCANVAS, $have_goocanvas) |
182 |
|
403 |
|
|
|
404 |
dnl ---------- |
183 |
dnl mission-control (disabled for now, it has odd structs and isn't useful yet) |
405 |
dnl mission-control (disabled for now, it has odd structs and isn't useful yet) |
184 |
dnl PKG_CHECK_MODULES(MISSIONCONTROL, libmissioncontrol, |
406 |
dnl ---------- |
185 |
dnl have_missioncontrol=true, have_missioncontrol=false) |
407 |
dnl AC_ARG_ENABLE(missioncontrol, |
|
|
408 |
dnl AS_HELP_STRING([--enable-missioncontrol], [Build missioncontrol gir data])) |
409 |
dnl have_missioncontrol=false |
410 |
dnl if test "$enable_missioncontrol" != "no"; then |
411 |
dnl PKG_CHECK_MODULES(MISSIONCONTROL, libmissioncontrol, |
412 |
dnl have_missioncontrol=true, have_missioncontrol=false) |
413 |
dnl |
414 |
dnl if test "$enable_missioncontrol" = "yes" -a "$have_missioncontrol" = "false"; then |
415 |
dnl AC_MSG_ERROR([missioncontrol gir data requested but libmissioncontrol not found]) |
416 |
dnl fi |
417 |
dnl fi |
186 |
have_missioncontrol=false |
418 |
have_missioncontrol=false |
187 |
AM_CONDITIONAL(BUILD_MISSIONCONTROL, $have_missioncontrol) |
419 |
AM_CONDITIONAL(BUILD_MISSIONCONTROL, $have_missioncontrol) |
188 |
|
420 |
|
189 |
dnl gssdp |
421 |
dnl ---------- |
190 |
PKG_CHECK_MODULES(GSSDP, gssdp-1.0, |
422 |
dnl gssdp & gupnp |
191 |
have_gssdp=true, have_gssdp=false) |
423 |
dnl ---------- |
|
|
424 |
AC_ARG_ENABLE(gssdp, |
425 |
AS_HELP_STRING([--enable-gssdp], [Build gssdp & gupnp gir data])) |
426 |
have_gssdp=false |
427 |
if test "$enable_gssdp" != "no"; then |
428 |
PKG_CHECK_MODULES(GSSDP, gssdp-1.0, |
429 |
have_gssdp=true, have_gssdp=false) |
430 |
|
431 |
if test "$enable_gssdp" = "yes" -a "$have_gssdp" = "false"; then |
432 |
AC_MSG_ERROR([gssdp gir data requested but gssdp-1.0 not found]) |
433 |
fi |
434 |
fi |
192 |
AM_CONDITIONAL(BUILD_GSSDP, $have_gssdp) |
435 |
AM_CONDITIONAL(BUILD_GSSDP, $have_gssdp) |
193 |
|
436 |
|
194 |
dnl gupnp |
437 |
if test "$have_gssdp" = "true"; then |
195 |
if test $have_gssdp; then |
|
|
196 |
PKG_CHECK_MODULES(GUPNP, gupnp-1.0, |
438 |
PKG_CHECK_MODULES(GUPNP, gupnp-1.0, |
197 |
have_gupnp=true, have_gupnp=false) |
439 |
have_gupnp=true, have_gupnp=false) |
198 |
else |
440 |
else |
Lines 200-223
Link Here
|
200 |
fi |
442 |
fi |
201 |
AM_CONDITIONAL(BUILD_GUPNP, $have_gupnp) |
443 |
AM_CONDITIONAL(BUILD_GUPNP, $have_gupnp) |
202 |
|
444 |
|
|
|
445 |
dnl ---------- |
203 |
dnl avahi-gobject |
446 |
dnl avahi-gobject |
204 |
PKG_CHECK_MODULES(AVAHI, avahi-core >= 0.6 avahi-gobject >= 0.6, |
447 |
dnl ---------- |
205 |
have_avahi=true, have_avahi=false) |
448 |
AC_ARG_ENABLE(avahi, |
|
|
449 |
AS_HELP_STRING([--enable-avahi], [Build avahi gir data])) |
450 |
have_avahi=false |
451 |
if test "$enable_avahi" != "no"; then |
452 |
PKG_CHECK_MODULES(AVAHI, avahi-core >= 0.6 avahi-gobject >= 0.6, |
453 |
have_avahi=true, have_avahi=false) |
454 |
|
455 |
if test "$enable_avahi" = "yes" -a "$have_avahi" = "false"; then |
456 |
AC_MSG_ERROR([Avahi gir data requested but avahi-core and avahi-gobject not found]) |
457 |
fi |
458 |
fi |
206 |
AM_CONDITIONAL(BUILD_AVAHI, $have_avahi) |
459 |
AM_CONDITIONAL(BUILD_AVAHI, $have_avahi) |
207 |
|
460 |
|
|
|
461 |
dnl ---------- |
208 |
dnl unique |
462 |
dnl unique |
209 |
PKG_CHECK_MODULES(UNIQUE, unique-1.0 >= 1.0.0, |
463 |
dnl ---------- |
210 |
have_unique=true, have_unique=false) |
464 |
AC_ARG_ENABLE(unique, |
|
|
465 |
AS_HELP_STRING([--enable-unique], [Build LibUnique gir data])) |
466 |
have_unique=false |
467 |
if test "$enable_unique" != "no"; then |
468 |
PKG_CHECK_MODULES(UNIQUE, unique-1.0 >= 1.0.0, |
469 |
have_unique=true, have_unique=false) |
470 |
|
471 |
if test "$enable_unique" = "yes" -a "$have_unique" = "false"; then |
472 |
AC_MSG_ERROR([LibUnique gir data requested but unique-1.0 not found]) |
473 |
fi |
474 |
fi |
211 |
AM_CONDITIONAL(BUILD_UNIQUE, $have_unique) |
475 |
AM_CONDITIONAL(BUILD_UNIQUE, $have_unique) |
212 |
|
476 |
|
|
|
477 |
dnl ---------- |
213 |
dnl gmenu |
478 |
dnl gmenu |
214 |
PKG_CHECK_MODULES(GMENU, libgnome-menu, |
479 |
dnl ---------- |
215 |
have_gmenu=true, have_gmenu=false) |
480 |
AC_ARG_ENABLE(gmenu, |
|
|
481 |
AS_HELP_STRING([--enable-gmenu], [Build libgnome-menu gir data])) |
482 |
have_gmenu=false |
483 |
if test "$enable_gmenu" != "no"; then |
484 |
PKG_CHECK_MODULES(GMENU, libgnome-menu, |
485 |
have_gmenu=true, have_gmenu=false) |
486 |
|
487 |
if test "$enable_gmenu" = "yes" -a "$have_gmenu" = "false"; then |
488 |
AC_MSG_ERROR([libgnome-menu gir data requested but libgnome-menu not found]) |
489 |
fi |
490 |
fi |
216 |
AM_CONDITIONAL(BUILD_GMENU, $have_gmenu) |
491 |
AM_CONDITIONAL(BUILD_GMENU, $have_gmenu) |
217 |
|
492 |
|
|
|
493 |
dnl ---------- |
218 |
dnl wnck |
494 |
dnl wnck |
219 |
PKG_CHECK_MODULES(WNCK, libwnck-1.0, |
495 |
dnl ---------- |
220 |
have_wnck=true, have_wnck=false) |
496 |
AC_ARG_ENABLE(wnck, |
|
|
497 |
AS_HELP_STRING([--enable-wnck], [Build libwnck gir data])) |
498 |
have_wnck=false |
499 |
if test "$enable_wnck" != "no"; then |
500 |
PKG_CHECK_MODULES(WNCK, libwnck-1.0, |
501 |
have_wnck=true, have_wnck=false) |
502 |
|
503 |
if test "$enable_wnck" = "yes" -a "$have_wnck" = "false"; then |
504 |
AC_MSG_ERROR([libwnck gir data requested but libwnck-1.0 not found]) |
505 |
fi |
506 |
fi |
221 |
AM_CONDITIONAL(BUILD_WNCK, $have_wnck) |
507 |
AM_CONDITIONAL(BUILD_WNCK, $have_wnck) |
222 |
|
508 |
|
223 |
AC_CONFIG_FILES([Makefile |
509 |
AC_CONFIG_FILES([Makefile |