Mercurial > pidgin.yaz
comparison configure.ac @ 31823:d72d728226dc
propagate from branch 'im.pidgin.pidgin' (head fb4d2b014576462db99d919dea15fbed03f1f48a)
to branch 'im.pidgin.pidgin.next.minor' (head 4a5878f91c824f207ed343b57b36ae74e1baa438)
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Sun, 13 Mar 2011 18:14:04 +0000 |
parents | 17a4b32f4d46 53dab522ea30 |
children | 7281d151e492 49b278fa51db 0bde876402d2 |
comparison
equal
deleted
inserted
replaced
31822:6c660dc7cb6a | 31823:d72d728226dc |
---|---|
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], [8]) | 55 m4_define([gnt_lt_current], [8]) |
56 m4_define([gnt_major_version], [2]) | 56 m4_define([gnt_major_version], [2]) |
57 m4_define([gnt_minor_version], [8]) | 57 m4_define([gnt_minor_version], [8]) |
58 m4_define([gnt_micro_version], [6]) | 58 m4_define([gnt_micro_version], [8]) |
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 |
261 # Fallback for Cross Compiling... | 261 # Fallback for Cross Compiling... |
262 # This will enable the compatibility code. | 262 # This will enable the compatibility code. |
263 AC_MSG_RESULT(no) | 263 AC_MSG_RESULT(no) |
264 ]) | 264 ]) |
265 | 265 |
266 # before gettexting, in case iconv matters | |
267 case "$host_os" in | |
268 darwin*) | |
269 AC_CHECK_LIB(resolv, res_query) | |
270 | |
271 AC_CHECK_HEADER(CoreFoundation/CoreFoundation.h, [ | |
272 AC_CHECK_HEADER(IOKit/IOKitLib.h, [ | |
273 AC_DEFINE(HAVE_IOKIT, 1, [Define if we have IOKit]) | |
274 LIBS="$LIBS -framework IOKit -framework CoreFoundation" | |
275 ], []) | |
276 ], []) | |
277 | |
278 AC_MSG_CHECKING([for fink]) | |
279 if test -d /sw; then | |
280 AC_MSG_RESULT([found, adding /sw to search paths]) | |
281 CPPFLAGS="$CPPFLAGS -I/sw/include" | |
282 LDFLAGS="$LDFLAGS -L/sw/lib" | |
283 else | |
284 AC_MSG_RESULT([not found]) | |
285 fi | |
286 ;; | |
287 *) | |
288 ;; | |
289 esac | |
290 | |
266 dnl ####################################################################### | 291 dnl ####################################################################### |
267 dnl # Disable creation and installation of translation files | 292 dnl # Disable creation and installation of translation files |
268 dnl ####################################################################### | 293 dnl ####################################################################### |
269 AC_ARG_ENABLE(nls, AC_HELP_STRING([--disable-nls], [disable installation of translation files]), enable_i18n="$enableval", enable_i18n=yes) | 294 AC_ARG_ENABLE(nls, AC_HELP_STRING([--disable-nls], [disable installation of translation files]), enable_i18n="$enableval", enable_i18n=yes) |
270 | 295 |
271 if test x$enable_i18n = xyes; then | 296 if test x$enable_i18n = xyes; then |
272 AC_PROG_INTLTOOL | 297 AC_PROG_INTLTOOL |
273 GETTEXT_PACKAGE=pidgin | 298 GETTEXT_PACKAGE=pidgin |
274 AC_SUBST(GETTEXT_PACKAGE) | 299 AC_SUBST(GETTEXT_PACKAGE) |
275 | |
276 | |
277 # before gettexting, in case iconv matters | |
278 case "$host_os" in | |
279 darwin*) | |
280 AC_CHECK_LIB(resolv, res_query) | |
281 | |
282 AC_CHECK_HEADER(CoreFoundation/CoreFoundation.h, [ | |
283 AC_CHECK_HEADER(IOKit/IOKitLib.h, [ | |
284 AC_DEFINE(HAVE_IOKIT, 1, [Define if we have IOKit]) | |
285 LIBS="$LIBS -framework IOKit -framework CoreFoundation" | |
286 ], []) | |
287 ], []) | |
288 | |
289 AC_MSG_CHECKING([for fink]) | |
290 if test -d /sw; then | |
291 AC_MSG_RESULT([found, adding /sw to search paths]) | |
292 CPPFLAGS="$CPPFLAGS -I/sw/include" | |
293 LDFLAGS="$LDFLAGS -L/sw/lib" | |
294 else | |
295 AC_MSG_RESULT([not found]) | |
296 fi | |
297 ;; | |
298 *) | |
299 ;; | |
300 esac | |
301 | 300 |
302 ALL_LINGUAS="af am ar az be@latin bg bn bn_IN bs ca ca@valencia cs da de dz el en_AU en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hu hy id it ja ka km kn ko ku lo lt mai mhr mk mn mr ms_MY my_MM nb ne nl nn oc or pa pl pt_BR pt ps ro ru si sk sl sq sr sr@latin sv sw ta te th tr uk ur vi xh zh_CN zh_HK zh_TW" | 301 ALL_LINGUAS="af am ar az be@latin bg bn bn_IN bs ca ca@valencia cs da de dz el en_AU en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hu hy id it ja ka km kn ko ku lo lt mai mhr mk mn mr ms_MY my_MM nb ne nl nn oc or pa pl pt_BR pt ps ro ru si sk sl sq sr sr@latin sv sw ta te th tr uk ur vi xh zh_CN zh_HK zh_TW" |
303 AM_GLIB_GNU_GETTEXT | 302 AM_GLIB_GNU_GETTEXT |
304 | 303 |
305 dnl If we don't have msgfmt, then po/ is going to fail -- ensure that | 304 dnl If we don't have msgfmt, then po/ is going to fail -- ensure that |
535 dnl # Check for X11 to allow the gestures plugin | 534 dnl # Check for X11 to allow the gestures plugin |
536 dnl ####################################################################### | 535 dnl ####################################################################### |
537 if test "x$enable_gestures" = "xyes"; then | 536 if test "x$enable_gestures" = "xyes"; then |
538 if test "x$with_x" = "xno" ; then | 537 if test "x$with_x" = "xno" ; then |
539 enable_gestures=no | 538 enable_gestures=no |
540 fi | |
541 fi | |
542 | |
543 dnl ####################################################################### | |
544 dnl # Check for startup notification | |
545 dnl ####################################################################### | |
546 if test "x$enable_startup_notification" = "xyes"; then | |
547 PKG_CHECK_MODULES(STARTUP_NOTIFICATION, [libstartup-notification-1.0 >= 0.5], , [ | |
548 AC_MSG_RESULT(no) | |
549 enable_startup_notification="no" | |
550 if test "x$force_deps" = "xyes" ; then | |
551 AC_MSG_ERROR([ | |
552 Startup notification development headers not found. | |
553 Use --disable-startup-notification if you do not need it. | |
554 ]) | |
555 fi]) | |
556 | |
557 if test "x$enable_startup_notification" = "xyes"; then | |
558 AC_DEFINE(HAVE_STARTUP_NOTIFICATION, 1, [Define if we're using libstartup-notification.]) | |
559 AC_SUBST(STARTUP_NOTIFICATION_CFLAGS) | |
560 AC_SUBST(STARTUP_NOTIFICATION_LIBS) | |
561 fi | 539 fi |
562 fi | 540 fi |
563 | 541 |
564 dnl ####################################################################### | 542 dnl ####################################################################### |
565 dnl # Check for GtkSpell | 543 dnl # Check for GtkSpell |
2573 pidgin/plugins/gevolution/Makefile | 2551 pidgin/plugins/gevolution/Makefile |
2574 pidgin/plugins/musicmessaging/Makefile | 2552 pidgin/plugins/musicmessaging/Makefile |
2575 pidgin/plugins/perl/Makefile | 2553 pidgin/plugins/perl/Makefile |
2576 pidgin/plugins/perl/common/Makefile.PL | 2554 pidgin/plugins/perl/common/Makefile.PL |
2577 pidgin/plugins/ticker/Makefile | 2555 pidgin/plugins/ticker/Makefile |
2556 libpurple/ciphers/Makefile | |
2578 libpurple/example/Makefile | 2557 libpurple/example/Makefile |
2579 libpurple/gconf/Makefile | 2558 libpurple/gconf/Makefile |
2580 libpurple/purple.pc | 2559 libpurple/purple.pc |
2581 libpurple/purple-uninstalled.pc | 2560 libpurple/purple-uninstalled.pc |
2582 libpurple/purple-2.pc | 2561 libpurple/purple-2.pc |