Mercurial > pidgin
comparison configure.ac @ 24056:1de1494a13e5
propagate from branch 'im.pidgin.pidgin' (head e685599ddcc769d157547685b5498df0662de8a2)
to branch 'im.pidgin.xmpp.custom_smiley' (head 110555eba89887adcf842166213ffc82770c0ee4)
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 04 Sep 2008 21:27:33 +0000 |
parents | 3273b22b6a7b |
children | 156913375b3f |
comparison
equal
deleted
inserted
replaced
23781:c45d05bd58ed | 24056:1de1494a13e5 |
---|---|
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], [5]) | 46 m4_define([purple_lt_current], [5]) |
47 m4_define([purple_major_version], [2]) | 47 m4_define([purple_major_version], [2]) |
48 m4_define([purple_minor_version], [5]) | 48 m4_define([purple_minor_version], [5]) |
49 m4_define([purple_micro_version], [0]) | 49 m4_define([purple_micro_version], [2]) |
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], [5]) | 55 m4_define([gnt_lt_current], [5]) |
56 m4_define([gnt_major_version], [2]) | 56 m4_define([gnt_major_version], [2]) |
57 m4_define([gnt_minor_version], [5]) | 57 m4_define([gnt_minor_version], [5]) |
58 m4_define([gnt_micro_version], [0]) | 58 m4_define([gnt_micro_version], [2]) |
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 |
72 ]) | 72 ]) |
73 fi | 73 fi |
74 | 74 |
75 AC_CANONICAL_SYSTEM | 75 AC_CANONICAL_SYSTEM |
76 AM_CONFIG_HEADER(config.h) | 76 AM_CONFIG_HEADER(config.h) |
77 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) | 77 AM_INIT_AUTOMAKE([dist-bzip2 check-news]) |
78 #AM_INIT_AUTOMAKE([foreign dist-bzip2]) | |
79 | 78 |
80 PURPLE_MAJOR_VERSION=purple_major_version | 79 PURPLE_MAJOR_VERSION=purple_major_version |
81 PURPLE_MINOR_VERSION=purple_minor_version | 80 PURPLE_MINOR_VERSION=purple_minor_version |
82 PURPLE_MICRO_VERSION=purple_micro_version | 81 PURPLE_MICRO_VERSION=purple_micro_version |
83 PURPLE_VERSION=[purple_display_version] | 82 PURPLE_VERSION=[purple_display_version] |
143 ;; | 142 ;; |
144 *) | 143 *) |
145 ;; | 144 ;; |
146 esac | 145 esac |
147 | 146 |
148 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 gl gu he hi hu id it ja ka kn ko ku lo lt mk my_MM nb ne nl nn oc pa pl pt_BR pt ps ro ru si sk sl sq sr sr@latin sv 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 id it ja ka kn ko ku lo lt mk my_MM nb ne nl nn oc pa pl pt_BR pt ps ro ru si sk sl sq sr sr@latin sv ta te th tr uk ur vi xh zh_CN zh_HK zh_TW" |
149 AM_GLIB_GNU_GETTEXT | 148 AM_GLIB_GNU_GETTEXT |
150 | 149 |
151 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 |
152 dnl AM_GLIB_GNU_GETTEXT found it. | 151 dnl AM_GLIB_GNU_GETTEXT found it. |
153 | 152 |
334 AC_DEFINE_UNQUOTED(DISPLAY_VERSION, "$VERSION-$EXTRA_VERSION", [display version info]) | 333 AC_DEFINE_UNQUOTED(DISPLAY_VERSION, "$VERSION-$EXTRA_VERSION", [display version info]) |
335 else | 334 else |
336 AC_DEFINE_UNQUOTED(DISPLAY_VERSION, "$VERSION", [display version info]) | 335 AC_DEFINE_UNQUOTED(DISPLAY_VERSION, "$VERSION", [display version info]) |
337 fi | 336 fi |
338 | 337 |
338 AC_ARG_ENABLE(missing-dependencies, [AC_HELP_STRING([--disable-missing-dependencies], | |
339 [skip missing dependencies instead of aborting configure])], | |
340 force_deps="$enableval", force_deps="yes") | |
341 | |
339 AC_ARG_WITH(x, [], | 342 AC_ARG_WITH(x, [], |
340 with_x="$withval", with_x="yes") | 343 with_x="$withval", with_x="yes") |
341 AC_ARG_ENABLE(gtkui, [AC_HELP_STRING([--disable-gtkui], | 344 AC_ARG_ENABLE(gtkui, [AC_HELP_STRING([--disable-gtkui], |
342 [compile without GTK+ user interface])], | 345 [compile without GTK+ user interface])], |
343 enable_gtkui="$enableval", enable_gtkui="yes") | 346 enable_gtkui="$enableval", enable_gtkui="yes") |
417 [AC_MSG_RESULT(no) | 420 [AC_MSG_RESULT(no) |
418 if test "x$x_incpath_add" != "x" -a "x$x_libpath_add" != "x"; then | 421 if test "x$x_incpath_add" != "x" -a "x$x_libpath_add" != "x"; then |
419 X11_LIBS="$x_libpath_add" | 422 X11_LIBS="$x_libpath_add" |
420 X11_CFLAGS="$x_incpath_add" | 423 X11_CFLAGS="$x_incpath_add" |
421 else | 424 else |
422 AC_MSG_ERROR([ | 425 if test "x$force_deps" = "xyes" ; then |
426 AC_MSG_ERROR([ | |
423 X11 development headers not found. | 427 X11 development headers not found. |
424 Use --without-x if you do not need X11 support. | 428 Use --without-x if you do not need X11 support. |
425 ]) | 429 ]) |
430 fi | |
426 fi | 431 fi |
427 ]) | 432 ]) |
428 AC_SUBST(X11_LIBS) | 433 AC_SUBST(X11_LIBS) |
429 AC_SUBST(X11_CFLAGS) | 434 AC_SUBST(X11_CFLAGS) |
430 else | 435 else |
459 | 464 |
460 if test "x$enable_screensaver" = "xyes" ; then | 465 if test "x$enable_screensaver" = "xyes" ; then |
461 AC_DEFINE(USE_SCREENSAVER, 1, [Define if we're using XScreenSaver.]) | 466 AC_DEFINE(USE_SCREENSAVER, 1, [Define if we're using XScreenSaver.]) |
462 AC_SUBST(XSS_LIBS) | 467 AC_SUBST(XSS_LIBS) |
463 else | 468 else |
464 AC_MSG_ERROR([ | 469 if test "x$force_deps" = "xyes" ; then |
470 AC_MSG_ERROR([ | |
465 XScreenSaver extension development headers not found. | 471 XScreenSaver extension development headers not found. |
466 Use --disable-screensaver if you do not need XScreenSaver extension support, | 472 Use --disable-screensaver if you do not need XScreenSaver extension support, |
467 this is required for detecting idle time by mouse and keyboard usage. | 473 this is required for detecting idle time by mouse and keyboard usage. |
468 ]) | 474 ]) |
475 fi | |
469 fi | 476 fi |
470 else | 477 else |
471 AC_MSG_ERROR([X support is required to build with XScreenSaver extensions]) | 478 AC_MSG_ERROR([X support is required to build with XScreenSaver extensions]) |
472 fi | 479 fi |
473 fi | 480 fi |
488 | 495 |
489 if test "x$enable_sm" = "xyes"; then | 496 if test "x$enable_sm" = "xyes"; then |
490 AC_DEFINE(USE_SM, 1, [Define if we're using X Session Management.]) | 497 AC_DEFINE(USE_SM, 1, [Define if we're using X Session Management.]) |
491 AC_SUBST(SM_LIBS) | 498 AC_SUBST(SM_LIBS) |
492 else | 499 else |
493 AC_MSG_ERROR([ | 500 if test "x$force_deps" = "xyes" ; then |
501 AC_MSG_ERROR([ | |
494 X session management development headers not found. | 502 X session management development headers not found. |
495 Use --disable-sm if you do not need session management support. | 503 Use --disable-sm if you do not need session management support. |
496 ]) | 504 ]) |
505 fi | |
497 fi | 506 fi |
498 else | 507 else |
499 AC_MSG_ERROR([X support is required to build with X session management support]) | 508 AC_MSG_ERROR([X support is required to build with X session management support]) |
500 fi | 509 fi |
501 fi | 510 fi |
513 dnl # Check for startup notification | 522 dnl # Check for startup notification |
514 dnl ####################################################################### | 523 dnl ####################################################################### |
515 if test "x$enable_startup_notification" = "xyes"; then | 524 if test "x$enable_startup_notification" = "xyes"; then |
516 PKG_CHECK_MODULES(STARTUP_NOTIFICATION, [libstartup-notification-1.0 >= 0.5], , [ | 525 PKG_CHECK_MODULES(STARTUP_NOTIFICATION, [libstartup-notification-1.0 >= 0.5], , [ |
517 AC_MSG_RESULT(no) | 526 AC_MSG_RESULT(no) |
518 AC_MSG_ERROR([ | 527 if test "x$force_deps" = "xyes" ; then |
528 AC_MSG_ERROR([ | |
519 Startup notification development headers not found. | 529 Startup notification development headers not found. |
520 Use --disable-startup-notification if you do not need it. | 530 Use --disable-startup-notification if you do not need it. |
521 ])]) | 531 ]) |
532 fi]) | |
522 | 533 |
523 if test "x$enable_startup_notification" = "xyes"; then | 534 if test "x$enable_startup_notification" = "xyes"; then |
524 AC_DEFINE(HAVE_STARTUP_NOTIFICATION, 1, [Define if we're using libstartup-notification.]) | 535 AC_DEFINE(HAVE_STARTUP_NOTIFICATION, 1, [Define if we're using libstartup-notification.]) |
525 AC_SUBST(STARTUP_NOTIFICATION_CFLAGS) | 536 AC_SUBST(STARTUP_NOTIFICATION_CFLAGS) |
526 AC_SUBST(STARTUP_NOTIFICATION_LIBS) | 537 AC_SUBST(STARTUP_NOTIFICATION_LIBS) |
531 dnl # Check for GtkSpell | 542 dnl # Check for GtkSpell |
532 dnl ####################################################################### | 543 dnl ####################################################################### |
533 if test "x$enable_gtkspell" = "xyes" ; then | 544 if test "x$enable_gtkspell" = "xyes" ; then |
534 PKG_CHECK_MODULES(GTKSPELL, gtkspell-2.0 >= 2.0.2, , [ | 545 PKG_CHECK_MODULES(GTKSPELL, gtkspell-2.0 >= 2.0.2, , [ |
535 AC_MSG_RESULT(no) | 546 AC_MSG_RESULT(no) |
536 AC_MSG_ERROR([ | 547 if test "x$force_deps" = "xyes" ; then |
548 AC_MSG_ERROR([ | |
537 GtkSpell development headers not found. | 549 GtkSpell development headers not found. |
538 Use --disable-gtkspell if you do not need it. | 550 Use --disable-gtkspell if you do not need it. |
539 ])]) | 551 ]) |
552 fi]) | |
540 if test "x$enable_gtkspell" = "xyes" ; then | 553 if test "x$enable_gtkspell" = "xyes" ; then |
541 AC_DEFINE(USE_GTKSPELL, 1, [Define if we're using GtkSpell]) | 554 AC_DEFINE(USE_GTKSPELL, 1, [Define if we're using GtkSpell]) |
542 AC_SUBST(GTKSPELL_CFLAGS) | 555 AC_SUBST(GTKSPELL_CFLAGS) |
543 AC_SUBST(GTKSPELL_LIBS) | 556 AC_SUBST(GTKSPELL_LIBS) |
544 fi | 557 fi |
564 if test "x$enable_gevolution" = "xyes"; then | 577 if test "x$enable_gevolution" = "xyes"; then |
565 AC_DEFINE(HAVE_EVOLUTION_ADDRESSBOOK, 1, [Define if we're using evolution addressbook.]) | 578 AC_DEFINE(HAVE_EVOLUTION_ADDRESSBOOK, 1, [Define if we're using evolution addressbook.]) |
566 AC_SUBST(EVOLUTION_ADDRESSBOOK_CFLAGS) | 579 AC_SUBST(EVOLUTION_ADDRESSBOOK_CFLAGS) |
567 AC_SUBST(EVOLUTION_ADDRESSBOOK_LIBS) | 580 AC_SUBST(EVOLUTION_ADDRESSBOOK_LIBS) |
568 else | 581 else |
569 AC_MSG_ERROR([ | 582 if test "x$force_deps" = "xyes" ; then |
583 AC_MSG_ERROR([ | |
570 Evolution development headers not found. | 584 Evolution development headers not found. |
571 Use --disable-gevolution if you do not need it. | 585 Use --disable-gevolution if you do not need it. |
572 ]) | 586 ]) |
587 fi | |
573 fi | 588 fi |
574 fi | 589 fi |
575 | 590 |
576 dnl ####################################################################### | 591 dnl ####################################################################### |
577 dnl # Check for libsqlite3 (for the Contact Availability Prediction plugin) | 592 dnl # Check for libsqlite3 (for the Contact Availability Prediction plugin) |
578 dnl ####################################################################### | 593 dnl ####################################################################### |
579 if test "x$enable_cap" = "xyes"; then | 594 if test "x$enable_cap" = "xyes"; then |
580 PKG_CHECK_MODULES(SQLITE3, sqlite3 >= 3.3,,[ | 595 PKG_CHECK_MODULES(SQLITE3, sqlite3 >= 3.3,,[ |
581 AC_MSG_RESULT(no) | 596 AC_MSG_RESULT(no) |
582 AC_MSG_ERROR([ | 597 if test "x$force_deps" = "xyes" ; then |
598 AC_MSG_ERROR([ | |
583 sqlite3 development headers not found. | 599 sqlite3 development headers not found. |
584 Use --disable-cap if you do not need the Contact Availability Prediction plugin. | 600 Use --disable-cap if you do not need the Contact Availability Prediction plugin. |
585 ])]) | 601 ]) |
602 fi]) | |
586 fi | 603 fi |
587 | 604 |
588 | 605 |
589 else # GTK | 606 else # GTK |
590 enable_cap=no | 607 enable_cap=no |
717 [ AC_DEFINE(GST_CAN_DISABLE_FORKING, [], | 734 [ AC_DEFINE(GST_CAN_DISABLE_FORKING, [], |
718 [Define if gst_registry_fork_set_enabled exists])], | 735 [Define if gst_registry_fork_set_enabled exists])], |
719 [], [$GSTREAMER_LIBS]) | 736 [], [$GSTREAMER_LIBS]) |
720 ], [ | 737 ], [ |
721 AC_MSG_RESULT(no) | 738 AC_MSG_RESULT(no) |
722 AC_MSG_ERROR([ | 739 if test "x$force_deps" = "xyes" ; then |
740 AC_MSG_ERROR([ | |
723 GStreamer development headers not found. | 741 GStreamer development headers not found. |
724 Use --disable-gstreamer if you do not need GStreamer (sound) support. | 742 Use --disable-gstreamer if you do not need GStreamer (sound) support. |
725 ])]) | 743 ]) |
744 fi]) | |
726 fi | 745 fi |
727 | 746 |
728 dnl ####################################################################### | 747 dnl ####################################################################### |
729 dnl # Check for Meanwhile headers (for Sametime) | 748 dnl # Check for Meanwhile headers (for Sametime) |
730 dnl ####################################################################### | 749 dnl ####################################################################### |
735 if test "x$enable_meanwhile" = "xyes"; then | 754 if test "x$enable_meanwhile" = "xyes"; then |
736 PKG_CHECK_MODULES(MEANWHILE, [meanwhile >= 1.0.0 meanwhile < 2.0.0], [ | 755 PKG_CHECK_MODULES(MEANWHILE, [meanwhile >= 1.0.0 meanwhile < 2.0.0], [ |
737 have_meanwhile="yes" | 756 have_meanwhile="yes" |
738 ], [ | 757 ], [ |
739 have_meanwhile="no" | 758 have_meanwhile="no" |
740 AC_MSG_ERROR([ | 759 if test "x$force_deps" = "xyes" ; then |
760 AC_MSG_ERROR([ | |
741 Meanwhile development headers not found. | 761 Meanwhile development headers not found. |
742 Use --disable-meanwhile if you do not need meanwhile (Sametime) support. | 762 Use --disable-meanwhile if you do not need meanwhile (Sametime) support. |
743 ])]) | 763 ]) |
764 fi]) | |
744 fi | 765 fi |
745 AC_SUBST(MEANWHILE_CFLAGS) | 766 AC_SUBST(MEANWHILE_CFLAGS) |
746 AC_SUBST(MEANWHILE_LIBS) | 767 AC_SUBST(MEANWHILE_LIBS) |
747 | 768 |
748 dnl ####################################################################### | 769 dnl ####################################################################### |
781 if test "$ac_avahi_client_libs" != "no"; then | 802 if test "$ac_avahi_client_libs" != "no"; then |
782 AVAHI_LIBS="-L$ac_avahi_client_libs -lavahi-common -lavahi-client -lavahi-glib " | 803 AVAHI_LIBS="-L$ac_avahi_client_libs -lavahi-common -lavahi-client -lavahi-glib " |
783 fi | 804 fi |
784 AC_CHECK_LIB(avahi-client, avahi_client_new, [avahilibs=yes], [avahilibs=no], $AVAHI_LIBS) | 805 AC_CHECK_LIB(avahi-client, avahi_client_new, [avahilibs=yes], [avahilibs=no], $AVAHI_LIBS) |
785 | 806 |
786 if test "x$enable_avahi" = "xyes" -a \( "x$avahiincludes" = "xno" -o "x$avahilibs" = "xno" \); then | 807 if test "x$enable_avahi" = "xyes" -a "x$force_deps" = "xyes" -a \( "x$avahiincludes" = "xno" -o "x$avahilibs" = "xno" \); then |
787 AC_MSG_ERROR([ | 808 AC_MSG_ERROR([ |
788 avahi development headers not found. | 809 avahi development headers not found. |
789 Use --disable-avahi if you do not need avahi (Bonjour) support. | 810 Use --disable-avahi if you do not need avahi (Bonjour) support. |
790 ]) | 811 ]) |
791 fi | 812 fi |
953 AM_CONDITIONAL(USE_INTERNAL_LIBGADU, test "x$gadu_libs" != "xyes") | 974 AM_CONDITIONAL(USE_INTERNAL_LIBGADU, test "x$gadu_libs" != "xyes") |
954 | 975 |
955 AC_SUBST(GADU_LIBS) | 976 AC_SUBST(GADU_LIBS) |
956 AC_SUBST(GADU_CFLAGS) | 977 AC_SUBST(GADU_CFLAGS) |
957 | 978 |
958 # change the next line to make MSNP14 the default (s/enable/disable/; s/no/yes/;) | 979 # change the next line to not make MSNP15 the default (s/disable/enable/; s/yes/no/;) |
959 AC_ARG_ENABLE(msnp14,[AC_HELP_STRING([--enable-msnp14], [Enable the newer MSNP14 protocol (unsupported)])],,enable_msnp14=no) | 980 AC_ARG_ENABLE(msnp15,[AC_HELP_STRING([--disable-msnp15], [Disable the newer MSNP15 protocol])],enable_msnp15=$enableval,enable_msnp15=yes) |
960 | 981 |
961 AC_ARG_ENABLE(distrib,,,enable_distrib=no) | 982 AC_ARG_ENABLE(distrib,,,enable_distrib=no) |
962 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes") | 983 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes") |
963 DYNAMIC_PRPLS=all | 984 DYNAMIC_PRPLS=all |
964 AC_ARG_WITH(static-prpls, [AC_HELP_STRING([--with-static-prpls], [Link to certain protocols statically])], [STATIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`], [STATIC_PRPLS=""]) | 985 AC_ARG_WITH(static-prpls, [AC_HELP_STRING([--with-static-prpls], [Link to certain protocols statically])], [STATIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`], [STATIC_PRPLS=""]) |
973 STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/sametime//'` | 994 STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/sametime//'` |
974 fi | 995 fi |
975 if test "x$avahiincludes" != "xyes" -o "x$avahilibs" != "xyes"; then | 996 if test "x$avahiincludes" != "xyes" -o "x$avahilibs" != "xyes"; then |
976 STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/bonjour//'` | 997 STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/bonjour//'` |
977 fi | 998 fi |
978 if test "x$enable_msnp14" != "xyes" ; then | 999 if test "x$enable_msnp15" != "xyes" ; then |
979 STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/msn/msnp9/'` | 1000 STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/msn/msnp9/'` |
980 fi | 1001 fi |
981 if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then | 1002 if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then |
982 STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/silc/silc10/'` | 1003 STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/silc/silc10/'` |
983 fi | 1004 fi |
1060 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/sametime//'` | 1081 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/sametime//'` |
1061 fi | 1082 fi |
1062 if test "x$avahiincludes" != "xyes" -o "x$avahilibs" != "xyes"; then | 1083 if test "x$avahiincludes" != "xyes" -o "x$avahilibs" != "xyes"; then |
1063 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/bonjour//'` | 1084 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/bonjour//'` |
1064 fi | 1085 fi |
1065 if test "x$enable_msnp14" != "xyes" ; then | 1086 if test "x$enable_msnp15" != "xyes" ; then |
1066 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/msn/msnp9/'` | 1087 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/msn/msnp9/'` |
1067 fi | 1088 fi |
1068 if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then | 1089 if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then |
1069 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/silc/silc10/'` | 1090 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/silc/silc10/'` |
1070 fi | 1091 fi |
1153 "-Wextra -Wno-sign-compare -Wno-unused-parameter" \ | 1174 "-Wextra -Wno-sign-compare -Wno-unused-parameter" \ |
1154 "-Winit-self" \ | 1175 "-Winit-self" \ |
1155 "-Wmissing-declarations" \ | 1176 "-Wmissing-declarations" \ |
1156 "-Wmissing-noreturn" \ | 1177 "-Wmissing-noreturn" \ |
1157 "-Wmissing-prototypes" \ | 1178 "-Wmissing-prototypes" \ |
1158 "-Wnested-externs" \ | |
1159 "-Wpointer-arith" \ | 1179 "-Wpointer-arith" \ |
1160 "-Wundef" \ | 1180 "-Wundef" \ |
1161 ; do | 1181 ; do |
1162 orig_CFLAGS="$CFLAGS" | 1182 orig_CFLAGS="$CFLAGS" |
1163 CFLAGS="$CFLAGS $newflag" | 1183 CFLAGS="$CFLAGS $newflag" |
1218 PKG_CHECK_MODULES(DBUS, [dbus-1 >= 0.60 dbus-glib-1 >= 0.60], [ | 1238 PKG_CHECK_MODULES(DBUS, [dbus-1 >= 0.60 dbus-glib-1 >= 0.60], [ |
1219 AC_SUBST(DBUS_CFLAGS) | 1239 AC_SUBST(DBUS_CFLAGS) |
1220 AC_SUBST(DBUS_LIBS) | 1240 AC_SUBST(DBUS_LIBS) |
1221 enable_dbus=yes | 1241 enable_dbus=yes |
1222 ], [ | 1242 ], [ |
1243 if test "x$force_deps" = "xyes" ; then | |
1223 AC_MSG_ERROR([ | 1244 AC_MSG_ERROR([ |
1224 D-Bus development headers not found. | 1245 D-Bus development headers not found. |
1225 Use --disable-dbus if you do not need D-Bus support. | 1246 Use --disable-dbus if you do not need D-Bus support. |
1226 ])]) | 1247 ]) |
1248 fi]) | |
1249 fi | |
1227 | 1250 |
1228 dnl Check for NetworkManager.h; if we don't have it, oh well | 1251 dnl Check for NetworkManager.h; if we don't have it, oh well |
1252 if test "x$enable_dbus" = "xyes" ; then | |
1229 if test "x$enable_nm" = "xyes" ; then | 1253 if test "x$enable_nm" = "xyes" ; then |
1230 PKG_CHECK_MODULES(NETWORKMANAGER, [NetworkManager], [ | 1254 PKG_CHECK_MODULES(NETWORKMANAGER, [NetworkManager >= 0.5.0], [ |
1231 AC_SUBST(NETWORKMANAGER_CFLAGS) | 1255 AC_SUBST(NETWORKMANAGER_CFLAGS) |
1232 AC_SUBST(NETWORKMANAGER_LIBS) | 1256 AC_SUBST(NETWORKMANAGER_LIBS) |
1233 AC_DEFINE(HAVE_NETWORKMANAGER, 1, [Define if we have NetworkManager.]) | 1257 AC_DEFINE(HAVE_NETWORKMANAGER, 1, [Define if we have NetworkManager.]) |
1234 ], [ | 1258 ], [ |
1235 AC_MSG_ERROR([ | 1259 if test "x$force_deps" = "xyes" ; then |
1260 AC_MSG_ERROR([ | |
1236 NetworkManager development headers not found. | 1261 NetworkManager development headers not found. |
1237 Use --disable-nm if you do not need NetworkManager support. | 1262 Use --disable-nm if you do not need NetworkManager support. |
1238 ])]) | 1263 ]) |
1239 fi | 1264 fi]) |
1240 else | 1265 fi |
1241 enable_nm=no | |
1242 fi | 1266 fi |
1243 | 1267 |
1244 dnl ####################################################################### | 1268 dnl ####################################################################### |
1245 dnl # Check for Python | 1269 dnl # Check for Python |
1246 dnl ####################################################################### | 1270 dnl ####################################################################### |
1546 PERL_CFLAGS= | 1570 PERL_CFLAGS= |
1547 PERL_LIBS= | 1571 PERL_LIBS= |
1548 AM_CONDITIONAL(USE_PERL, false) | 1572 AM_CONDITIONAL(USE_PERL, false) |
1549 fi | 1573 fi |
1550 | 1574 |
1551 if test "x$looked_for_perl" = "xyes" -a "x$enable_perl" = "xno"; then | 1575 if test "x$looked_for_perl" = "xyes" -a "x$enable_perl" = "xno" -a "x$force_deps" = "xyes"; then |
1552 AC_MSG_ERROR([ | 1576 AC_MSG_ERROR([ |
1553 Perl development headers not found. | 1577 Perl development headers not found. |
1554 Use --disable-perl if you do not need Perl scripting support. | 1578 Use --disable-perl if you do not need Perl scripting support. |
1555 ]) | 1579 ]) |
1556 fi | 1580 fi |
1957 msg_ssl="$msg_nss and $msg_gnutls" | 1981 msg_ssl="$msg_nss and $msg_gnutls" |
1958 elif test "x$msg_nss" != "x"; then | 1982 elif test "x$msg_nss" != "x"; then |
1959 msg_ssl=$msg_nss | 1983 msg_ssl=$msg_nss |
1960 elif test "x$msg_gnutls" != "x"; then | 1984 elif test "x$msg_gnutls" != "x"; then |
1961 msg_ssl=$msg_gnutls | 1985 msg_ssl=$msg_gnutls |
1962 elif test "x$looked_for_gnutls" = "xyes" -a "x$looked_for_nss" = "xyes"; then | 1986 elif test "x$looked_for_gnutls" = "xyes" -a "x$looked_for_nss" = "xyes" -a "x$force_deps" = "xyes" ; then |
1963 AC_MSG_ERROR([ | 1987 AC_MSG_ERROR([ |
1964 Neither GnuTLS or NSS SSL development headers found. | 1988 Neither GnuTLS or NSS SSL development headers found. |
1965 Use --disable-nss --disable-gnutls if you do not need SSL support. | 1989 Use --disable-nss --disable-gnutls if you do not need SSL support. |
1966 MSN, Novell Groupwise and Google Talk will not work without GnuTLS or NSS. OpenSSL is NOT usable! | 1990 MSN, Novell Groupwise and Google Talk will not work without GnuTLS or NSS. OpenSSL is NOT usable! |
1967 ]) | 1991 ]) |
1968 elif test "x$looked_for_gnutls" = "xyes"; then | 1992 elif test "x$looked_for_gnutls" = "xyes" -a "x$force_deps" = "xyes" ; then |
1969 AC_MSG_ERROR([ | 1993 AC_MSG_ERROR([ |
1970 GnuTLS SSL development headers not found. | 1994 GnuTLS SSL development headers not found. |
1971 Use --disable-gnutls if you do not need SSL support. | 1995 Use --disable-gnutls if you do not need SSL support. |
1972 MSN, Novell Groupwise and Google Talk will not work without SSL support. | 1996 MSN, Novell Groupwise and Google Talk will not work without SSL support. |
1973 ]) | 1997 ]) |
1974 elif test "x$looked_for_nss" = "xyes"; then | 1998 elif test "x$looked_for_nss" = "xyes" -a "x$force_deps" = "xyes" ; then |
1975 AC_MSG_ERROR([ | 1999 AC_MSG_ERROR([ |
1976 NSS SSL development headers not found. | 2000 NSS SSL development headers not found. |
1977 Use --disable-nss if you do not need SSL support. | 2001 Use --disable-nss if you do not need SSL support. |
1978 MSN, Novell Groupwise and Google Talk will not work without SSL support. | 2002 MSN, Novell Groupwise and Google Talk will not work without SSL support. |
1979 ]) | 2003 ]) |
1994 if test "$enable_tcl" = yes; then | 2018 if test "$enable_tcl" = yes; then |
1995 AC_MSG_CHECKING([for tclConfig.sh]) | 2019 AC_MSG_CHECKING([for tclConfig.sh]) |
1996 TCLCONFIG=no | 2020 TCLCONFIG=no |
1997 TCLCONFIGDIRS="/usr/lib \ | 2021 TCLCONFIGDIRS="/usr/lib \ |
1998 /usr/lib64 \ | 2022 /usr/lib64 \ |
2023 /usr/lib/tcl8.5 \ | |
1999 /usr/lib/tcl8.4 \ | 2024 /usr/lib/tcl8.4 \ |
2000 /usr/lib/tcl8.3 \ | 2025 /usr/lib/tcl8.3 \ |
2001 /usr/lib/tcl8.2 \ | 2026 /usr/lib/tcl8.2 \ |
2027 /usr/lib64/tcl8.5 \ | |
2028 /usr/lib64/tcl8.4 \ | |
2002 /System/Library/Tcl/8.3 \ | 2029 /System/Library/Tcl/8.3 \ |
2003 /usr/local/lib" | 2030 /usr/local/lib" |
2004 for dir in $with_tclconfig $TCLCONFIGDIRS; do | 2031 for dir in $with_tclconfig $TCLCONFIGDIRS; do |
2005 if test -f $dir/tclConfig.sh; then | 2032 if test -f $dir/tclConfig.sh; then |
2006 TCLCONFIG=$dir/tclConfig.sh | 2033 TCLCONFIG=$dir/tclConfig.sh |
2008 fi | 2035 fi |
2009 done | 2036 done |
2010 if test "$TCLCONFIG" = "no"; then | 2037 if test "$TCLCONFIG" = "no"; then |
2011 AC_MSG_RESULT([no]) | 2038 AC_MSG_RESULT([no]) |
2012 enable_tcl=no | 2039 enable_tcl=no |
2013 AC_MSG_ERROR([ | 2040 if test "x$force_deps" = "xyes" ; then |
2041 AC_MSG_ERROR([ | |
2014 Tcl development headers not found. | 2042 Tcl development headers not found. |
2015 Use --disable-tcl if you do not need Tcl scripting support. | 2043 Use --disable-tcl if you do not need Tcl scripting support. |
2016 ]) | 2044 ]) |
2045 fi | |
2017 else | 2046 else |
2018 . $TCLCONFIG | 2047 . $TCLCONFIG |
2019 AC_MSG_CHECKING([Tcl version compatability]) | 2048 AC_MSG_CHECKING([Tcl version compatability]) |
2020 if test "$TCL_MAJOR_VERSION" -ne 8 -o "$TCL_MINOR_VERSION" -lt 3; then | 2049 if test "$TCL_MAJOR_VERSION" -ne 8 -o "$TCL_MINOR_VERSION" -lt 3; then |
2021 AC_MSG_RESULT([bad, $TCL_VERSION found but 8.3 or later required]) | 2050 AC_MSG_RESULT([bad, $TCL_VERSION found but 8.3 or later required]) |
2076 fi | 2105 fi |
2077 done | 2106 done |
2078 if test "$TKCONFIG" = "no"; then | 2107 if test "$TKCONFIG" = "no"; then |
2079 AC_MSG_RESULT([no]) | 2108 AC_MSG_RESULT([no]) |
2080 enable_tk=no | 2109 enable_tk=no |
2081 AC_MSG_ERROR([ | 2110 if test "x$force_deps" = "xyes" ; then |
2111 AC_MSG_ERROR([ | |
2082 Tk development headers not found. | 2112 Tk development headers not found. |
2083 Use --disable-tk if you do not need Tk scripting support. | 2113 Use --disable-tk if you do not need Tk scripting support. |
2084 ]) | 2114 ]) |
2115 fi | |
2085 else | 2116 else |
2086 . $TKCONFIG | 2117 . $TKCONFIG |
2087 eval "TK_LIB_SPEC=\"$TK_LIB_SPEC\"" | 2118 eval "TK_LIB_SPEC=\"$TK_LIB_SPEC\"" |
2088 AC_MSG_CHECKING([for Tk linkability]) | 2119 AC_MSG_CHECKING([for Tk linkability]) |
2089 oldCPPFLAGS=$CPPFLAGS | 2120 oldCPPFLAGS=$CPPFLAGS |
2221 AC_CHECK_HEADERS(sys/file.h sys/filio.h sys/ioctl.h sys/msgbuf.h) | 2252 AC_CHECK_HEADERS(sys/file.h sys/filio.h sys/ioctl.h sys/msgbuf.h) |
2222 AC_CHECK_HEADERS(sys/select.h sys/uio.h sys/utsname.h sys/wait.h) | 2253 AC_CHECK_HEADERS(sys/select.h sys/uio.h sys/utsname.h sys/wait.h) |
2223 AC_CHECK_HEADERS(termios.h) | 2254 AC_CHECK_HEADERS(termios.h) |
2224 | 2255 |
2225 # sys/sysctl.h on OpenBSD 4.2 requires sys/param.h | 2256 # sys/sysctl.h on OpenBSD 4.2 requires sys/param.h |
2257 # sys/sysctl.h on FreeBSD requires sys/types.h | |
2226 AC_CHECK_HEADERS(sys/param.h) | 2258 AC_CHECK_HEADERS(sys/param.h) |
2227 AC_CHECK_HEADERS(sys/sysctl.h, [], [], | 2259 AC_CHECK_HEADERS(sys/sysctl.h, [], [], |
2228 [[ | 2260 [[ |
2261 #include <sys/types.h> | |
2229 #ifdef HAVE_PARAM_H | 2262 #ifdef HAVE_PARAM_H |
2230 # include <sys/param.h> | 2263 # include <sys/param.h> |
2231 #endif | 2264 #endif |
2232 ]]) | 2265 ]]) |
2233 | 2266 |
2342 pidgin.apspec | 2375 pidgin.apspec |
2343 pidgin/Makefile | 2376 pidgin/Makefile |
2344 pidgin/pidgin.pc | 2377 pidgin/pidgin.pc |
2345 pidgin/pidgin-uninstalled.pc | 2378 pidgin/pidgin-uninstalled.pc |
2346 pidgin/pixmaps/Makefile | 2379 pidgin/pixmaps/Makefile |
2347 pidgin/pixmaps/buddy_icons/qq/Makefile | |
2348 pidgin/pixmaps/emotes/default/24/Makefile | 2380 pidgin/pixmaps/emotes/default/24/Makefile |
2349 pidgin/pixmaps/emotes/none/Makefile | 2381 pidgin/pixmaps/emotes/none/Makefile |
2350 pidgin/plugins/Makefile | 2382 pidgin/plugins/Makefile |
2351 pidgin/plugins/cap/Makefile | 2383 pidgin/plugins/cap/Makefile |
2352 pidgin/plugins/gestures/Makefile | 2384 pidgin/plugins/gestures/Makefile |