Mercurial > pidgin
comparison configure.ac @ 29315:7b1cfd48beab
propagate from branch 'im.pidgin.cpw.attention_ui' (head 3d97b094123bd082b1438ea44cb25169aa41315c)
to branch 'im.pidgin.pidgin.next.minor' (head d00241305ccc36eef5bd6723980b66a2e6108856)
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Mon, 16 Nov 2009 22:06:27 +0000 |
parents | be31e811cb26 |
children | 45a94940c122 |
comparison
equal
deleted
inserted
replaced
29314:c783f9e66171 | 29315:7b1cfd48beab |
---|---|
41 # For code under development: [devel] | 41 # For code under development: [devel] |
42 # For production releases: [] | 42 # For production releases: [] |
43 # | 43 # |
44 # Make sure to update finch/libgnt/configure.ac with libgnt version changes. | 44 # Make sure to update finch/libgnt/configure.ac with libgnt version changes. |
45 # | 45 # |
46 m4_define([purple_lt_current], [6]) | 46 m4_define([purple_lt_current], [7]) |
47 m4_define([purple_major_version], [2]) | 47 m4_define([purple_major_version], [2]) |
48 m4_define([purple_minor_version], [6]) | 48 m4_define([purple_minor_version], [7]) |
49 m4_define([purple_micro_version], [4]) | 49 m4_define([purple_micro_version], [0]) |
50 m4_define([purple_version_suffix], [devel]) | 50 m4_define([purple_version_suffix], [devel]) |
51 m4_define([purple_version], | 51 m4_define([purple_version], |
52 [purple_major_version.purple_minor_version.purple_micro_version]) | 52 [purple_major_version.purple_minor_version.purple_micro_version]) |
53 m4_define([purple_display_version], purple_version[]m4_ifdef([purple_version_suffix],[purple_version_suffix])) | 53 m4_define([purple_display_version], purple_version[]m4_ifdef([purple_version_suffix],[purple_version_suffix])) |
54 | 54 |
55 m4_define([gnt_lt_current], [6]) | 55 m4_define([gnt_lt_current], [7]) |
56 m4_define([gnt_major_version], [2]) | 56 m4_define([gnt_major_version], [2]) |
57 m4_define([gnt_minor_version], [6]) | 57 m4_define([gnt_minor_version], [7]) |
58 m4_define([gnt_micro_version], [4]) | 58 m4_define([gnt_micro_version], [0]) |
59 m4_define([gnt_version_suffix], [devel]) | 59 m4_define([gnt_version_suffix], [devel]) |
60 m4_define([gnt_version], | 60 m4_define([gnt_version], |
61 [gnt_major_version.gnt_minor_version.gnt_micro_version]) | 61 [gnt_major_version.gnt_minor_version.gnt_micro_version]) |
62 m4_define([gnt_display_version], gnt_version[]m4_ifdef([gnt_version_suffix],[gnt_version_suffix])) | 62 m4_define([gnt_display_version], gnt_version[]m4_ifdef([gnt_version_suffix],[gnt_version_suffix])) |
63 | 63 |
308 AC_MSG_RESULT(no) | 308 AC_MSG_RESULT(no) |
309 ] | 309 ] |
310 ) | 310 ) |
311 | 311 |
312 dnl ####################################################################### | 312 dnl ####################################################################### |
313 dnl # Check for GLib 2.0 (required) | 313 dnl # Check for GLib 2.12 (required) |
314 dnl ####################################################################### | 314 dnl ####################################################################### |
315 PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.4.0 gobject-2.0 gmodule-2.0 gthread-2.0], , [ | 315 PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.12.0 gobject-2.0 gmodule-2.0 gthread-2.0], , [ |
316 AC_MSG_RESULT(no) | 316 AC_MSG_RESULT(no) |
317 AC_MSG_ERROR([ | 317 AC_MSG_ERROR([ |
318 | 318 |
319 You must have GLib 2.4.0 or newer development headers installed to build. | 319 You must have GLib 2.4.0 or newer development headers installed to build. |
320 | 320 |
350 AC_ARG_ENABLE(consoleui, [AC_HELP_STRING([--disable-consoleui], | 350 AC_ARG_ENABLE(consoleui, [AC_HELP_STRING([--disable-consoleui], |
351 [compile without console user interface])], | 351 [compile without console user interface])], |
352 [enable_consoleui=$enableval force_finch=$enableval], [enable_consoleui=yes force_finch=no]) | 352 [enable_consoleui=$enableval force_finch=$enableval], [enable_consoleui=yes force_finch=no]) |
353 | 353 |
354 dnl ####################################################################### | 354 dnl ####################################################################### |
355 dnl # Check for GTK+ 2.0 and other things used by the GTK UI | 355 dnl # Check for GTK+ 2.10 and other things used by the GTK UI |
356 dnl ####################################################################### | 356 dnl ####################################################################### |
357 AC_ARG_ENABLE(screensaver, | 357 AC_ARG_ENABLE(screensaver, |
358 [AC_HELP_STRING([--disable-screensaver], | 358 [AC_HELP_STRING([--disable-screensaver], |
359 [compile without X screensaver extension (used to detect idleness)])], | 359 [compile without X screensaver extension (used to detect idleness)])], |
360 enable_screensaver="$enableval", enable_screensaver="yes") | 360 enable_screensaver="$enableval", enable_screensaver="yes") |
397 else | 397 else |
398 x_incpath_add="-I$x_includes" | 398 x_incpath_add="-I$x_includes" |
399 fi | 399 fi |
400 | 400 |
401 if test "x$enable_gtkui" = "xyes" ; then | 401 if test "x$enable_gtkui" = "xyes" ; then |
402 PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.4.0], , [ | 402 PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.10.0], , [ |
403 AC_MSG_RESULT(no) | 403 AC_MSG_RESULT(no) |
404 AC_MSG_ERROR([ | 404 AC_MSG_ERROR([ |
405 | 405 |
406 You must have GTK+ 2.4.0 or newer development headers installed to compile | 406 You must have GTK+ 2.10.0 or newer development headers installed to compile |
407 Pidgin. If you want to build only Finch then specify --disable-gtkui when | 407 Pidgin. If you want to build only Finch then specify --disable-gtkui when |
408 running configure. | 408 running configure. |
409 ])]) | 409 ])]) |
410 | 410 |
411 AC_SUBST(GTK_CFLAGS) | 411 AC_SUBST(GTK_CFLAGS) |