]> git.0d.be Git - empathy.git/blob - configure.ac
Depend on GLib 2.32
[empathy.git] / configure.ac
1 dnl If not 1, append datestamp to the version number
2 m4_define(empathy_released, 1)
3
4 m4_define([empathy_major_version], [3])
5 m4_define([empathy_minor_version], [5])
6 m4_define([empathy_micro_version], [0])
7 m4_define([empathy_nano_version], [1])
8
9 dnl Display the nano_version only if it's not '0'
10 m4_define([empathy_base_version],
11           [empathy_major_version.empathy_minor_version.empathy_micro_version])
12 m4_define([empathy_full_version],
13           [m4_if(empathy_nano_version, 0, [empathy_base_version],
14               [empathy_base_version].[empathy_nano_version])])
15
16 m4_define(empathy_maybe_datestamp,
17           m4_esyscmd([if test x]empathy_released[ != x1; then date +.%Y%m%d | tr -d '\n\r'; fi]))
18
19 m4_define(empathy_version, empathy_full_version[]empathy_maybe_datestamp)
20
21
22 AC_INIT([Empathy],
23         [empathy_version],
24         [http://bugzilla.gnome.org/browse.cgi?product=empathy],
25         [empathy],
26         [https://live.gnome.org/Empathy])
27
28 AC_PREREQ([2.64])
29 AC_COPYRIGHT([
30   Copyright (C) 2003-2007 Imendio AB
31   Copyright (C) 2007-2010 Collabora Ltd.
32 ])
33
34 # Minimal version required
35
36 # Hardp deps
37 FOLKS_REQUIRED=0.6.6
38 GNUTLS_REQUIRED=2.8.5
39
40 GLIB_REQUIRED=2.32.0
41 AC_DEFINE(GLIB_VERSION_MIN_REQUIRED, GLIB_VERSION_2_30, [Ignore post 2.30 deprecations])
42 AC_DEFINE(GLIB_VERSION_MAX_ALLOWED, GLIB_VERSION_2_32, [Prevent post 2.32 APIs])
43
44 GTK_REQUIRED=3.3.6
45 AC_DEFINE(GDK_VERSION_MIN_REQUIRED, GDK_VERSION_3_4, [Ignore post 3.4 deprecations])
46 AC_DEFINE(GDK_VERSION_MAX_ALLOWED, GDK_VERSION_3_4, [Prevent post 3.4 APIs])
47
48 CLUTTER_REQUIRED=1.10.0
49 AC_DEFINE(CLUTTER_VERSION_MIN_REQUIRED, CLUTTER_VERSION_1_8, [Ignore post 1.8 deprecations])
50 AC_DEFINE(CLUTTER_VERSION_MAX_ALLOWED, CLUTTER_VERSION_1_10, [Prevent post 1.10 APIs])
51
52 CLUTTER_GTK_REQUIRED=0.90.3
53 CLUTTER_GST_REQUIRED=1.5.2
54
55 GSTREAMER_REQUIRED=0.10.32
56 KEYRING_REQUIRED=2.26.0
57 GCR_REQUIRED=2.91.4
58 LIBCANBERRA_GTK_REQUIRED=0.25
59 LIBNOTIFY_REQUIRED=0.7.0
60 TELEPATHY_FARSTREAM_REQUIRED=0.2.1
61 TELEPATHY_GLIB_REQUIRED=0.17.5
62 TELEPATHY_LOGGER=0.2.13
63 WEBKIT_REQUIRED=1.3.13
64 GOA_REQUIRED=3.3.0
65
66 # Optional deps
67 ENCHANT_REQUIRED=1.2.0
68 GEOCLUE_REQUIRED=0.12
69 ISO_CODES_REQUIRED=0.35
70 NAUTILUS_SENDTO_REQUIRED=2.90.0
71 NETWORK_MANAGER_REQUIRED=0.7.0
72 CHAMPLAIN_REQUIRED=0.12.1
73
74 # Use --enable-maintainer-mode to disable deprecated symbols,
75 # disable single include and enable GSEAL. If this is not a released empathy,
76 # maintainer mode is forced
77 # FIXME: don't disable deprecated symbols until bgo #636654 has been fixed
78 #ifelse(empathy_released, 1, [], [enable_maintainer_mode="yes"])
79 #GNOME_MAINTAINER_MODE_DEFINES
80
81 AC_CONFIG_MACRO_DIR([m4])
82 AC_CONFIG_HEADERS([config.h])
83 AC_CONFIG_SRCDIR([configure.ac])
84 AC_CONFIG_AUX_DIR(.)
85
86 AM_INIT_AUTOMAKE([1.11 no-define -Wno-portability tar-ustar no-dist-gzip dist-xz])
87
88 # Support silent build rules. Disable
89 # by either passing --disable-silent-rules to configure or passing V=1
90 # to make
91 AM_SILENT_RULES([yes])
92
93 # Check for programs
94 AC_PROG_CC
95 AC_HEADER_STDC
96 AM_PROG_MKDIR_P
97 AM_PATH_GLIB_2_0
98 AC_PATH_XTRA
99
100 # Initialize libtool
101 LT_PREREQ([2.2])
102 LT_INIT
103
104 AC_PATH_PROG(DBUS_BINDING_TOOL, dbus-binding-tool)
105 GLIB_GSETTINGS
106 GLIB_GENMARSHAL=`$PKG_CONFIG glib-2.0 --variable=glib_genmarshal`
107 AC_SUBST(GLIB_GENMARSHAL)
108
109 AC_CHECK_PROGS([XSLTPROC], [xsltproc])
110 if test -z "$XSLTPROC"; then
111   AC_MSG_ERROR([xsltproc (from libxslt) is required])
112 fi
113 AM_PATH_PYTHON([2.3])
114
115 EMPATHY_ARG_VALGRIND
116
117
118 # -----------------------------------------------------------
119 # Error flags
120 # -----------------------------------------------------------
121 AS_COMPILER_FLAG(-Wall, ERROR_CFLAGS="-Wall", ERROR_CFLAGS="")
122 AS_COMPILER_FLAG(-Werror, werror=yes, werror=no)
123
124 AC_ARG_ENABLE(Werror,
125   AS_HELP_STRING([--disable-Werror],
126                  [compile without -Werror (normally enabled in development builds)]),
127     werror=$enableval, :)
128
129 AS_COMPILER_FLAG(-Wextra, wextra=yes, wextra=no)
130 AS_COMPILER_FLAG(-Wno-missing-field-initializers,
131         wno_missing_field_initializers=yes,
132         wno_missing_field_initializers=no)
133 AS_COMPILER_FLAG(-Wno-unused-parameter,
134         wno_unused_parameter=yes,
135         wno_unused_parameter=no)
136
137 ifelse(empathy_released, 1, [],
138     [
139         if test x$werror = xyes; then
140             ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
141         fi
142         if test x$wextra = xyes -a \
143             x$wno_missing_field_initializers = xyes -a \
144             x$wno_unused_parameter = xyes; then
145             ERROR_CFLAGS="$ERROR_CFLAGS -Wextra -Wno-missing-field-initializers -Wno-unused-parameter"
146         fi
147     ])
148
149 AS_COMPILER_FLAG(-Wdeclaration-after-statement, ERROR_CFLAGS="$ERROR_CFLAGS -Wdeclaration-after-statement")
150 AS_COMPILER_FLAG(-Wshadow, ERROR_CFLAGS="$ERROR_CFLAGS -Wshadow")
151 AS_COMPILER_FLAG(-Wmissing-prototypes, ERROR_CFLAGS="$ERROR_CFLAGS -Wmissing-prototypes")
152 AS_COMPILER_FLAG(-Wmissing-declarations, ERROR_CFLAGS="$ERROR_CFLAGS -Wmissing-declarations")
153 AS_COMPILER_FLAG(-Wstrict-prototypes, ERROR_CFLAGS="$ERROR_CFLAGS -Wstrict-prototypes")
154
155 AC_SUBST(ERROR_CFLAGS)
156
157 AC_ARG_ENABLE(gprof,
158             AS_HELP_STRING([--enable-gprof=@<:@no/yes@:>@],
159             [build with support for gprof]),,
160             [enable_gprof=no])
161 if test "x$enable_gprof" != "xno" ; then
162     CFLAGS="$CFLAGS -pg"
163     LDFLAGS="$LDFLAGS -pg"
164 fi
165
166 AC_SUBST(LDFLAGS)
167
168 # -----------------------------------------------------------
169 # Pkg-Config dependency checks
170 # -----------------------------------------------------------
171
172 AC_CHECK_LIBM
173 AC_SUBST(LIBM)
174
175 PKG_CHECK_MODULES(EMPATHY,
176 [
177    dbus-glib-1
178    folks >= $FOLKS_REQUIRED
179    folks-telepathy >= $FOLKS_REQUIRED
180    glib-2.0 >= $GLIB_REQUIRED
181    gio-2.0 >= $GLIB_REQUIRED
182    gio-unix-2.0 >= $GLIB_REQUIRED
183    gnome-keyring-1 >= $KEYRING_REQUIRED
184    gnutls >= $GNUTLS_REQUIRED
185    gmodule-export-2.0
186    gobject-2.0
187    gsettings-desktop-schemas
188    gstreamer-0.10 >= $GSTREAMER_REQUIRED
189    gstreamer-interfaces-0.10
190    libxml-2.0
191    telepathy-glib >= $TELEPATHY_GLIB_REQUIRED
192    telepathy-logger-0.2 >= $TELEPATHY_LOGGER
193    x11
194    gtk+-3.0 >= $GTK_REQUIRED
195    libcanberra-gtk3 >= $LIBCANBERRA_GTK_REQUIRED
196    libnotify >= $LIBNOTIFY_REQUIRED
197    gcr-3 >= $GCR_REQUIRED
198    libpulse
199    libpulse-mainloop-glib
200    webkitgtk-3.0 >= $WEBKIT_REQUIRED
201    libsoup-2.4
202 ])
203
204 PKG_CHECK_MODULES(EMPATHY_CALL,
205 [
206    farstream-0.1
207    telepathy-farstream >= $TELEPATHY_FARSTREAM_REQUIRED
208    clutter-1.0 >= $CLUTTER_REQUIRED
209    clutter-gtk-1.0 >= $CLUTTER_GTK_REQUIRED
210    clutter-gst-1.0 >= $CLUTTER_GST_REQUIRED
211 ])
212
213 AC_DEFINE(EMPATHY_GOA_PROVIDER, "org.gnome.OnlineAccounts",
214    [Name of provider for accounts imported from GOA])
215
216 # -----------------------------------------------------------
217 # Build empathy-av?
218 # -----------------------------------------------------------
219 AC_ARG_ENABLE(empathy-av,
220             AS_HELP_STRING([--enable-empathy-av=@<:@no/yes@:>@],
221             [build empathy-av (legacy call UI)]),,
222             [enable_empathy_av=no])
223 if test "x$enable_empathy_av" != "xno" ; then
224    PKG_CHECK_MODULES(EMPATHY_AV,
225    [
226       farstream-0.1
227       telepathy-farstream >= $TELEPATHY_FARSTREAM_REQUIRED
228    ])
229    AC_DEFINE(HAVE_EMPATHY_AV, 1, [Define if you have StreamedMedia channel support])
230    have_empathy_av=yes
231 fi
232 AM_CONDITIONAL(HAVE_EMPATHY_AV, test "x$have_empathy_av" = "xyes")
233
234 # -----------------------------------------------------------
235 # evolution-data-server (about-me)
236 # -----------------------------------------------------------
237 AC_ARG_WITH(eds,
238             AS_HELP_STRING([--with-eds],
239                            [build with evolution-data-server support]),,
240             [with_eds=yes])
241 if test x"$with_eds" = x"yes" ; then
242    PKG_CHECK_MODULES(EDS, [libebook-1.2])
243    AC_DEFINE(HAVE_EDS, 1, [Define if we have libebook])
244 fi
245
246 # -----------------------------------------------------------
247 # Enable debug
248 # -----------------------------------------------------------
249
250 AC_ARG_ENABLE(debug,
251   AS_HELP_STRING([--disable-debug],
252                  [compile without debug code]),
253     enable_debug=$enableval, enable_debug=yes )
254
255 if test x$enable_debug = xyes; then
256   AC_DEFINE(ENABLE_DEBUG, [], [Enable debug code])
257 fi
258
259 # -----------------------------------------------------------
260 # Language Support
261 # -----------------------------------------------------------
262 IT_PROG_INTLTOOL([0.40.0])
263
264 GETTEXT_PACKAGE=empathy
265 AC_SUBST(GETTEXT_PACKAGE)
266 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[Gettext package name])
267
268 # -----------------------------------------------------------
269 # Connectivity integration
270 # -----------------------------------------------------------
271 AC_ARG_WITH(connectivity,
272               AS_HELP_STRING([--with-connectivity=@<:@nm/connman/auto/no@:>@],
273                              [build with connectivity support]), ,
274                              with_connectivity=auto)
275
276 if test "x$with_connectivity" = "xno"; then
277    have_nm=no
278    have_connman=no
279
280 elif test "x$with_connectivity" = "xconnman"; then
281    have_nm=no
282
283    PKG_CHECK_MODULES(CONNMAN,
284    [
285       dbus-glib-1
286    ], have_connman="yes", have_connman="no")
287
288    if test "x$have_connman" = "xyes"; then
289       AC_DEFINE(HAVE_CONNMAN, 1, [Define if you have connman dependencies])
290    fi
291
292 else
293    have_connman=no
294
295    PKG_CHECK_MODULES(NETWORK_MANAGER,
296    [
297       libnm-glib >= $NETWORK_MANAGER_REQUIRED
298    ], have_nm="yes", have_nm="no")
299
300    if test "x$have_nm" = "xyes"; then
301       AC_DEFINE(HAVE_NM, 1, [Define if you have libnm-glib])
302    fi
303 fi
304
305 if test "x$with_connectivity" = "xconnman" -a "x$have_connman" != "xyes"; then
306    AC_MSG_ERROR([Couldn't find connman dependencies:
307
308 $CONNMAN_PKG_ERRORS])
309 fi
310
311 if test "x$with_connectivity" = "xnm" -a "x$have_nm" != "xyes"; then
312    AC_MSG_ERROR([Couldn't find Network Manager dependencies:
313
314 $NETWORK_MANAGER_PKG_ERRORS])
315 fi
316
317 AM_CONDITIONAL(HAVE_NM, test "x$have_nm" = "xyes")
318 AM_CONDITIONAL(HAVE_CONNMAN, test "x$have_connman" = "xyes")
319
320 # -----------------------------------------------------------
321 # gudev
322 # -----------------------------------------------------------
323 AC_ARG_ENABLE(gudev,
324               AS_HELP_STRING([--enable-gudev=@<:@no/yes/auto@:>@],
325                              [build with gudev support]), ,
326                              enable_gudev=auto)
327
328 if test "x$enable_gudev" != "xno"; then
329
330    PKG_CHECK_MODULES(UDEV, [gudev-1.0],
331         have_gudev="yes", have_gudev="no")
332
333    if test "x$have_gudev" = "xyes"; then
334       AC_DEFINE(HAVE_UDEV, 1, [Define if you have gudev])
335    fi
336 else
337    have_gudev=no
338 fi
339
340 if test "x$enable_gudev" = "xyes" -a "x$have_gudev" != "xyes"; then
341    AC_MSG_ERROR([Could not find gudev dependencies:
342
343 $UDEV_PKG_ERRORS])
344 fi
345 AM_CONDITIONAL(HAVE_UDEV, test "x$have_gudev" = "xyes")
346
347 # -----------------------------------------------------------
348 # spellchecking checks: enchant and iso-codes
349 # -----------------------------------------------------------
350 AC_ARG_ENABLE(spell,
351               AS_HELP_STRING([--enable-spell=@<:@no/yes/auto@:>@],
352                              [Enable spell checking]), ,
353                              enable_spell=auto)
354
355 if test "x$enable_spell" != "xno"; then
356    PKG_CHECK_MODULES(ENCHANT,
357    [
358       enchant >= $ENCHANT_REQUIRED,
359       iso-codes >= $ISO_CODES_REQUIRED
360    ], have_enchant="yes", have_enchant="no")
361
362    if test "x$have_enchant" = "xyes"; then
363       AC_MSG_CHECKING([whether iso-codes has iso-639 and iso-3166 domains])
364       if $PKG_CONFIG --variable=domains iso-codes | grep 639 > /dev/null && \
365          $PKG_CONFIG --variable=domains iso-codes | grep 3166 > /dev/null ; then
366             AC_DEFINE_UNQUOTED(ISO_CODES_PREFIX, ["`$PKG_CONFIG --variable=prefix iso-codes`"], [ISO codes prefix])
367             AC_DEFINE(HAVE_ENCHANT, [], [Define if you have libenchant])
368             result=yes
369       else
370             result=no
371             have_enchant="no"
372       fi
373       AC_MSG_RESULT([$result])
374    fi
375 else
376    have_enchant=no
377 fi
378
379 if test "x$enable_spell" = "xyes" -a "x$have_enchant" != "xyes"; then
380    AC_MSG_ERROR([Could not find spell-checking dependencies:
381
382 $ENCHANT_PKG_ERRORS])
383 fi
384
385 AM_CONDITIONAL(HAVE_ENCHANT, test "x$have_enchant" = "xyes")
386
387 # -----------------------------------------------------------
388 # Map view checks: libchamplain
389 # -----------------------------------------------------------
390 AC_ARG_ENABLE(map,
391               AS_HELP_STRING([--enable-map=@<:@no/yes/auto@:>@],
392                              [Enable map view]), ,
393                              enable_map=auto)
394
395 if test "x$enable_map" != "xno"; then
396
397    PKG_CHECK_MODULES(LIBCHAMPLAIN,
398     [
399        clutter-gtk-1.0
400        champlain-gtk-0.12
401        champlain-0.12 >= $CHAMPLAIN_REQUIRED
402     ], have_libchamplain="yes", have_libchamplain="no")
403
404    if test "x$have_libchamplain" = "xyes"; then
405       AC_DEFINE(HAVE_LIBCHAMPLAIN, 1, [Define if you have libchamplain])
406    fi
407 else
408    have_libchamplain=no
409 fi
410
411 if test "x$enable_map" = "xyes" -a "x$have_libchamplain" != "xyes"; then
412    AC_MSG_ERROR([Could not find map view dependencies:
413
414 $LIBCHAMPLAIN_PKG_ERRORS])
415 fi
416
417 AM_CONDITIONAL(HAVE_LIBCHAMPLAIN, test "x$have_libchamplain" = "xyes")
418
419 # -----------------------------------------------------------
420 # location checks: geoclue
421 # -----------------------------------------------------------
422 AC_ARG_ENABLE(location,
423               AS_HELP_STRING([--enable-location=@<:@no/yes/auto@:>@],
424                              [Enable location awareness]), ,
425                              enable_location=auto)
426
427 if test "x$enable_location" != "xno"; then
428    PKG_CHECK_MODULES(GEOCLUE,
429    [
430       geoclue >= $GEOCLUE_REQUIRED
431    ], have_geoclue="yes", have_geoclue="no")
432
433    if test "x$have_geoclue" = "xyes"; then
434       AC_DEFINE(HAVE_GEOCLUE, 1, [Define if you have geoclue])
435    fi
436 else
437    have_geoclue="no"
438 fi
439
440 if test "x$enable_location" = "xyes" -a "x$have_geoclue" != "xyes"; then
441    AC_MSG_ERROR([Could not find location dependencies:
442
443 $GEOCLUE_PKG_ERRORS])
444 fi
445
446 AM_CONDITIONAL(HAVE_GEOCLUE, test "x$have_geoclue" = "xyes")
447 AC_SUBST(GEOCLUE_CFLAGS)
448 AC_SUBST(GEOCLUE_LIBS)
449
450 # -----------------------------------------------------------
451 # location checks: geocode-glib
452 # -----------------------------------------------------------
453 AC_ARG_ENABLE(geocode,
454               AS_HELP_STRING([--enable-geocode=@<:@no/yes/auto@:>@],
455                              [Enable geocode support]), ,
456                              enable_geocode=auto)
457
458 if test "x$enable_geocode" != "xno"; then
459    PKG_CHECK_MODULES(GEOCODE,
460    [
461       geocode-glib
462    ], have_geocode="yes", have_geocode="no")
463
464    if test "x$have_geocode" = "xyes"; then
465       AC_DEFINE(HAVE_GEOCODE, 1, [Define if you have geocode])
466    fi
467 else
468    have_geocode="no"
469 fi
470
471 if test "x$enable_geocode" = "xyes" -a "x$have_geocode" != "xyes"; then
472    AC_MSG_ERROR([Could not find geocode dependencies:
473
474 $GEOCODE_PKG_ERRORS])
475 fi
476
477 AM_CONDITIONAL(HAVE_GEOCODE, test "x$have_geocode" = "xyes")
478 AC_SUBST(GEOCODE_CFLAGS)
479 AC_SUBST(GEOCODE_LIBS)
480
481 # -----------------------------------------------------------
482 # nautilus-sendto
483 # -----------------------------------------------------------
484 AC_ARG_ENABLE(nautilus-sendto,
485               AS_HELP_STRING([--enable-nautilus-sendto=@<:@no/yes/auto@:>@],
486                              [build nautilus-sendto plugin]), ,
487                              enable_nautilus_sendto=auto)
488
489 if test "x$enable_nautilus_sendto" != "xno"; then
490    PKG_CHECK_MODULES(NST,
491     [
492        nautilus-sendto >= $NAUTILUS_SENDTO_REQUIRED
493     ], have_nst="yes", have_nst="no")
494 else
495    have_nst=no
496 fi
497
498 if test "x$enable_nautilus_sendto" = "xyes" -a "x$have_nst" != "xyes"; then
499    AC_MSG_ERROR([Could not find nautilus-sendto dependencies:
500
501 $NST_PKG_ERRORS])
502 fi
503
504 AM_CONDITIONAL(HAVE_NST, test "x$have_nst" = "xyes")
505
506 # -----------------------------------------------------------
507 # goa-mc-plugin
508 # -----------------------------------------------------------
509 AC_ARG_ENABLE(goa,
510               AS_HELP_STRING([--enable-goa=@<:@no/yes/auto@:>@],
511                              [build GOA MC plugin]), ,
512                              enable_goa=auto)
513
514 if test "x$enable_goa" != "xno"; then
515    PKG_CHECK_MODULES(GOA,
516     [
517        mission-control-plugins
518        goa-1.0 >= $GOA_REQUIRED
519     ], have_goa="yes", have_goa="no")
520
521    AC_MSG_CHECKING([Mission Control plugins dir])
522    MISSION_CONTROL_PLUGINS_DIR=`pkg-config --variable=plugindir mission-control-plugins`
523
524    AC_MSG_RESULT([$MISSION_CONTROL_PLUGINS_DIR])
525    AC_SUBST(MISSION_CONTROL_PLUGINS_DIR)
526 else
527    have_goa=no
528 fi
529
530 if test "x$enable_goa" = "xyes" -a "x$have_goa" != "xyes"; then
531    AC_MSG_ERROR([Could not find GOA dependencies.])
532 fi
533
534 if test "x$have_goa" = "xyes"; then
535    AC_DEFINE(HAVE_GOA, 1, [Define to 1 to enable GNOME Online Accounts])
536 fi
537
538 AM_CONDITIONAL(HAVE_GOA, test "x$have_goa" = "xyes")
539
540 # Optional dependency for avatar selection
541 AC_ARG_WITH([cheese],
542             AS_HELP_STRING([--with-cheese],
543                            [enable cheese webcam support]),,
544             with_cheese=auto)
545
546 if test x"$with_cheese" != x"no" ; then
547    PKG_CHECK_MODULES(CHEESE, gstreamer-0.10 cheese-gtk >= 2.91.91.1, [have_cheese=yes], [have_cheese=no])
548    if test x${have_cheese} = xyes; then
549      AC_DEFINE(HAVE_CHEESE, 1, [Define to 1 to enable cheese webcam support])
550    fi
551    if test x${with_cheese} = xyes && test x${have_cheese} = xno; then
552      AC_MSG_ERROR([Cheese configured but not found:
553
554 $CHEESE_PKG_ERRORS])
555    fi
556 else
557    have_cheese=no
558 fi
559 AM_CONDITIONAL(BUILD_CHEESE, test x${have_cheese} = xyes)
560
561 # Help documentation
562 YELP_HELP_INIT
563
564 # -----------------------------------------------------------
565 # Coding style checks
566 # -----------------------------------------------------------
567 AC_ARG_ENABLE(coding-style-checks,
568   AS_HELP_STRING([--disable-coding-style-checks],
569                  [do not check coding style using grep]),
570     [ENABLE_CODING_STYLE_CHECKS=$enableval],
571     [ENABLE_CODING_STYLE_CHECKS=yes])
572
573 AC_SUBST([ENABLE_CODING_STYLE_CHECKS])
574 # -----------------------------------------------------------
575
576 AC_CONFIG_FILES([
577    Makefile
578    data/Makefile
579    data/empathy.desktop.in
580    data/empathy-accounts.desktop.in
581    data/icons/Makefile
582    extensions/Makefile
583    po/Makefile.in
584    libempathy/Makefile
585    libempathy-gtk/Makefile
586    src/Makefile
587    nautilus-sendto-plugin/Makefile
588    goa-mc-plugin/Makefile
589    help/Makefile
590    tests/Makefile
591    tests/interactive/Makefile
592    tests/xml/Makefile
593    tools/Makefile
594 ])
595 AC_OUTPUT
596
597 echo "
598 Configure summary:
599
600         Compiler....................:  ${CC}
601         Compiler Flags..............:  ${CFLAGS} ${ERROR_CFLAGS}
602         Linker Flags................:  ${LDFLAGS}
603         Prefix......................:  ${prefix}
604         Coding style checks.........:  ${ENABLE_CODING_STYLE_CHECKS}
605
606     Features:
607         Spell checking (enchant)....:  ${have_enchant}
608         Display maps (libchamplain).:  ${have_libchamplain}
609         Location awareness (Geoclue):  ${have_geoclue}
610         Geocode support (Geocode)...:  ${have_geocode}
611         Cheese webcam support ......:  ${have_cheese}
612         Camera monitoring...........:  ${have_gudev}
613
614     Connectivity:
615         NetworkManager integration..:  ${have_nm}
616         ConnMan integration.........:  ${have_connman}
617
618     Extras:
619         Nautilus-sendto plugin......:  ${have_nst}
620         GOA MC plugin...............:  ${have_goa}
621         Salut E-D-S support.........:  ${with_eds}
622         empathy-av (legacy).........:  ${enable_empathy_av}
623 "