Mercurial > pidgin.yaz
comparison configure.ac @ 30954:48f70e888c04
propagate from branch 'im.pidgin.pidgin' (head 8cc16fcb41111aae817fe10168b40d82990895c5)
to branch 'im.pidgin.cpw.malu.xmpp.google_relay' (head 72d65c944b0cad18592ac527559d320f9fd32e58)
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Sun, 14 Feb 2010 22:26:14 +0000 |
parents | 6288bbd53f44 |
children | d77ecfe2b2c9 1eeeb20f0b9f 5dec9d90fb51 1e4781fb144b |
comparison
equal
deleted
inserted
replaced
30952:d873eeaccfc2 | 30954:48f70e888c04 |
---|---|
142 ;; | 142 ;; |
143 *) | 143 *) |
144 ;; | 144 ;; |
145 esac | 145 esac |
146 | 146 |
147 ALL_LINGUAS="af am ar az be@latin bg bn 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 mk mn ms_MY my_MM nb ne nl nn oc 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" | 147 ALL_LINGUAS="af am ar az be@latin bg bn 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 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" |
148 AM_GLIB_GNU_GETTEXT | 148 AM_GLIB_GNU_GETTEXT |
149 | 149 |
150 dnl If we don't have msgfmt, then po/ is going to fail -- ensure that | 150 dnl If we don't have msgfmt, then po/ is going to fail -- ensure that |
151 dnl AM_GLIB_GNU_GETTEXT found it. | 151 dnl AM_GLIB_GNU_GETTEXT found it. |
152 | 152 |
424 [AC_MSG_RESULT(no) | 424 [AC_MSG_RESULT(no) |
425 if test "x$x_incpath_add" != "x" -a "x$x_libpath_add" != "x"; then | 425 if test "x$x_incpath_add" != "x" -a "x$x_libpath_add" != "x"; then |
426 X11_LIBS="$x_libpath_add" | 426 X11_LIBS="$x_libpath_add" |
427 X11_CFLAGS="$x_incpath_add" | 427 X11_CFLAGS="$x_incpath_add" |
428 else | 428 else |
429 with_x="no" | |
429 if test "x$force_deps" = "xyes" ; then | 430 if test "x$force_deps" = "xyes" ; then |
430 AC_MSG_ERROR([ | 431 AC_MSG_ERROR([ |
431 X11 development headers not found. | 432 X11 development headers not found. |
432 Use --without-x if you do not need X11 support. | 433 Use --without-x if you do not need X11 support. |
433 ]) | 434 ]) |
526 dnl # Check for startup notification | 527 dnl # Check for startup notification |
527 dnl ####################################################################### | 528 dnl ####################################################################### |
528 if test "x$enable_startup_notification" = "xyes"; then | 529 if test "x$enable_startup_notification" = "xyes"; then |
529 PKG_CHECK_MODULES(STARTUP_NOTIFICATION, [libstartup-notification-1.0 >= 0.5], , [ | 530 PKG_CHECK_MODULES(STARTUP_NOTIFICATION, [libstartup-notification-1.0 >= 0.5], , [ |
530 AC_MSG_RESULT(no) | 531 AC_MSG_RESULT(no) |
532 enable_startup_notification="no" | |
531 if test "x$force_deps" = "xyes" ; then | 533 if test "x$force_deps" = "xyes" ; then |
532 AC_MSG_ERROR([ | 534 AC_MSG_ERROR([ |
533 Startup notification development headers not found. | 535 Startup notification development headers not found. |
534 Use --disable-startup-notification if you do not need it. | 536 Use --disable-startup-notification if you do not need it. |
535 ]) | 537 ]) |
546 dnl # Check for GtkSpell | 548 dnl # Check for GtkSpell |
547 dnl ####################################################################### | 549 dnl ####################################################################### |
548 if test "x$enable_gtkspell" = "xyes" ; then | 550 if test "x$enable_gtkspell" = "xyes" ; then |
549 PKG_CHECK_MODULES(GTKSPELL, gtkspell-2.0 >= 2.0.2, , [ | 551 PKG_CHECK_MODULES(GTKSPELL, gtkspell-2.0 >= 2.0.2, , [ |
550 AC_MSG_RESULT(no) | 552 AC_MSG_RESULT(no) |
553 enable_gtkspell="no" | |
551 if test "x$force_deps" = "xyes" ; then | 554 if test "x$force_deps" = "xyes" ; then |
552 AC_MSG_ERROR([ | 555 AC_MSG_ERROR([ |
553 GtkSpell development headers not found. | 556 GtkSpell development headers not found. |
554 Use --disable-gtkspell if you do not need it. | 557 Use --disable-gtkspell if you do not need it. |
555 ]) | 558 ]) |
596 dnl # Check for libsqlite3 (for the Contact Availability Prediction plugin) | 599 dnl # Check for libsqlite3 (for the Contact Availability Prediction plugin) |
597 dnl ####################################################################### | 600 dnl ####################################################################### |
598 if test "x$enable_cap" = "xyes"; then | 601 if test "x$enable_cap" = "xyes"; then |
599 PKG_CHECK_MODULES(SQLITE3, sqlite3 >= 3.3,,[ | 602 PKG_CHECK_MODULES(SQLITE3, sqlite3 >= 3.3,,[ |
600 AC_MSG_RESULT(no) | 603 AC_MSG_RESULT(no) |
604 enable_cap="no" | |
601 if test "x$force_deps" = "xyes" ; then | 605 if test "x$force_deps" = "xyes" ; then |
602 AC_MSG_ERROR([ | 606 AC_MSG_ERROR([ |
603 sqlite3 development headers not found. | 607 sqlite3 development headers not found. |
604 Use --disable-cap if you do not need the Contact Availability Prediction plugin. | 608 Use --disable-cap if you do not need the Contact Availability Prediction plugin. |
605 ]) | 609 ]) |
744 [ AC_DEFINE(GST_CAN_DISABLE_FORKING, [], | 748 [ AC_DEFINE(GST_CAN_DISABLE_FORKING, [], |
745 [Define if gst_registry_fork_set_enabled exists])], | 749 [Define if gst_registry_fork_set_enabled exists])], |
746 [], [$GSTREAMER_LIBS]) | 750 [], [$GSTREAMER_LIBS]) |
747 ], [ | 751 ], [ |
748 AC_MSG_RESULT(no) | 752 AC_MSG_RESULT(no) |
753 enable_gst="no" | |
749 if test "x$force_deps" = "xyes" ; then | 754 if test "x$force_deps" = "xyes" ; then |
750 AC_MSG_ERROR([ | 755 AC_MSG_ERROR([ |
751 GStreamer development headers not found. | 756 GStreamer development headers not found. |
752 Use --disable-gstreamer if you do not need GStreamer (sound) support. | 757 Use --disable-gstreamer if you do not need GStreamer (sound) support. |
753 ]) | 758 ]) |
824 AC_DEFINE(USE_IDN, 1, [Use GNU Libidn for stringprep and IDN]) | 829 AC_DEFINE(USE_IDN, 1, [Use GNU Libidn for stringprep and IDN]) |
825 AC_SUBST(IDN_CFLAGS) | 830 AC_SUBST(IDN_CFLAGS) |
826 AC_SUBST(IDN_LIBS) | 831 AC_SUBST(IDN_LIBS) |
827 ], [ | 832 ], [ |
828 AC_MSG_RESULT(no) | 833 AC_MSG_RESULT(no) |
834 enable_idn="no" | |
829 if test "x$force_deps" = "xyes" ; then | 835 if test "x$force_deps" = "xyes" ; then |
830 AC_MSG_ERROR([ | 836 AC_MSG_ERROR([ |
831 GNU Libidn development headers not found. | 837 GNU Libidn development headers not found. |
832 Use --disable-idn if you do not need it. | 838 Use --disable-idn if you do not need it. |
833 ]) | 839 ]) |
896 AVAHI_LIBS="-L$ac_avahi_client_libs -lavahi-common -lavahi-client -lavahi-glib " | 902 AVAHI_LIBS="-L$ac_avahi_client_libs -lavahi-common -lavahi-client -lavahi-glib " |
897 fi | 903 fi |
898 AC_CHECK_LIB(avahi-client, avahi_client_new, [avahilibs=yes], [avahilibs=no], $AVAHI_LIBS) | 904 AC_CHECK_LIB(avahi-client, avahi_client_new, [avahilibs=yes], [avahilibs=no], $AVAHI_LIBS) |
899 fi | 905 fi |
900 | 906 |
901 if test "x$enable_avahi" = "xyes" -a "x$force_deps" = "xyes" -a \( "x$avahiincludes" = "xno" -o "x$avahilibs" = "xno" \); then | 907 if test "x$enable_avahi" = "xyes" -a \( "x$avahiincludes" = "xno" -o "x$avahilibs" = "xno" \); then |
902 AC_MSG_ERROR([ | 908 enable_avahi="no" |
909 if test "x$force_deps" = "xyes"; then | |
910 AC_MSG_ERROR([ | |
903 avahi development headers not found. | 911 avahi development headers not found. |
904 Use --disable-avahi if you do not need avahi (Bonjour) support. | 912 Use --disable-avahi if you do not need avahi (Bonjour) support. |
905 ]) | 913 ]) |
914 fi | |
906 fi | 915 fi |
907 AC_SUBST(AVAHI_CFLAGS) | 916 AC_SUBST(AVAHI_CFLAGS) |
908 AC_SUBST(AVAHI_LIBS) | 917 AC_SUBST(AVAHI_LIBS) |
909 | 918 |
910 | 919 |
2380 struct tm tm; | 2389 struct tm tm; |
2381 tm.tm_gmtoff = 1; | 2390 tm.tm_gmtoff = 1; |
2382 ], ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no)) | 2391 ], ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no)) |
2383 if test $ac_cv_struct_tm_gmtoff = yes; then | 2392 if test $ac_cv_struct_tm_gmtoff = yes; then |
2384 AC_DEFINE(HAVE_TM_GMTOFF, 1, [Define if you have a tm_gmtoff member in struct tm]) | 2393 AC_DEFINE(HAVE_TM_GMTOFF, 1, [Define if you have a tm_gmtoff member in struct tm]) |
2385 fi | |
2386 | |
2387 AC_CACHE_CHECK([whether va_lists can be copied by value], ac_cv_va_val_copy,[ | |
2388 AC_TRY_RUN([#include <stdarg.h> | |
2389 #include <stdlib.h> | |
2390 void f (int i, ...) { | |
2391 va_list args1, args2; | |
2392 va_start (args1, i); | |
2393 args2 = args1; | |
2394 if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42) | |
2395 exit (1); | |
2396 va_end (args1); va_end (args2); | |
2397 } | |
2398 int main() { | |
2399 f (0, 42); | |
2400 return 0; | |
2401 }], | |
2402 [ac_cv_va_val_copy=yes], | |
2403 [ac_cv_va_val_copy=no], | |
2404 [ac_cv_va_val_copy=yes]) | |
2405 ]) | |
2406 | |
2407 if test "x$ac_cv_va_val_copy" = "xno"; then | |
2408 AC_DEFINE(VA_COPY_AS_ARRAY, 1, ['va_lists' cannot be copied as values]) | |
2409 fi | 2394 fi |
2410 | 2395 |
2411 dnl ####################################################################### | 2396 dnl ####################################################################### |
2412 dnl # Check for check | 2397 dnl # Check for check |
2413 dnl ####################################################################### | 2398 dnl ####################################################################### |