comparison configure.ac @ 31130:1830fa548302

propagate from branch 'im.pidgin.pidgin' (head b0098e2250f135d121960d8152e144e7e344125e) to branch 'im.pidgin.cpw.qulogic.msnp16' (head 03b7207e3af73e90ff9aea7c633dec9dd9d3ed1a)
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 06 Feb 2010 05:15:35 +0000
parents 4d7499dc540d
children 31d9677b0c36 1b040b79da38 422889fb57e0
comparison
equal deleted inserted replaced
31129:b27d2e8f137e 31130:1830fa548302
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], [6])
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], [6])
49 m4_define([purple_micro_version], [5]) 49 m4_define([purple_micro_version], [6])
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], [6])
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], [6])
58 m4_define([gnt_micro_version], [5]) 58 m4_define([gnt_micro_version], [6])
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
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 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 ])
810 fi 815 fi
811 fi 816 fi
812 fi 817 fi
813 AM_CONDITIONAL(USE_VV, test "x$enable_gstreamer" != "xno" -a "x$enable_gstinterfaces" != "xno" -a "x$enable_farsight" != "xno") 818 AM_CONDITIONAL(USE_VV, test "x$enable_gstreamer" != "xno" -a "x$enable_gstinterfaces" != "xno" -a "x$enable_farsight" != "xno")
814 819
820 dnl #######################################################################
821 dnl # Check for Internationalized Domain Name support
822 dnl #######################################################################
823
815 AC_ARG_ENABLE(idn, 824 AC_ARG_ENABLE(idn,
816 [AC_HELP_STRING([--disable-idn], [compile without IDN support])], 825 [AC_HELP_STRING([--disable-idn], [compile without IDN support])],
817 [enable_idn="$enableval" force_idn=$enableval], [enable_idn="yes" force_idn=no]) 826 [enable_idn="$enableval" force_idn=$enableval], [enable_idn="yes" force_idn=no])
818 if test "x$enable_idn" != "xno"; then 827 if test "x$enable_idn" != "xno"; then
819 PKG_CHECK_MODULES(IDN, libidn >= 0.0.0, [ 828 PKG_CHECK_MODULES(IDN, libidn >= 0.0.0, [
820 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])
821 AC_SUBST(IDN_CFLAGS) 830 AC_SUBST(IDN_CFLAGS)
822 AC_SUBST(IDN_LIBS) 831 AC_SUBST(IDN_LIBS)
823 ], [ 832 ], [
824 AC_MSG_RESULT(no) 833 AC_MSG_RESULT(no)
834 enable_idn="no"
825 if test "x$force_deps" = "xyes" ; then 835 if test "x$force_deps" = "xyes" ; then
826 AC_MSG_ERROR([ 836 AC_MSG_ERROR([
827 GNU Libidn development headers not found. 837 GNU Libidn development headers not found.
828 Use --disable-idn if you do not need it. 838 Use --disable-idn if you do not need it.
829 ]) 839 ])
892 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 "
893 fi 903 fi
894 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)
895 fi 905 fi
896 906
897 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
898 AC_MSG_ERROR([ 908 enable_avahi="no"
909 if test "x$force_deps" = "xyes"; then
910 AC_MSG_ERROR([
899 avahi development headers not found. 911 avahi development headers not found.
900 Use --disable-avahi if you do not need avahi (Bonjour) support. 912 Use --disable-avahi if you do not need avahi (Bonjour) support.
901 ]) 913 ])
914 fi
902 fi 915 fi
903 AC_SUBST(AVAHI_CFLAGS) 916 AC_SUBST(AVAHI_CFLAGS)
904 AC_SUBST(AVAHI_LIBS) 917 AC_SUBST(AVAHI_LIBS)
905 918
906 919