comparison configure.ac @ 23860:7ff380f97abc

propagate from branch 'im.pidgin.pidgin' (head c7c882ce933f14ae4b89d4c9782a84accaec53b5) to branch 'im.pidgin.soc.2008.vv' (head d462febbc44194afbda3bdd17d63a3777dd21ee5)
author Mike Ruprecht <maiku@soc.pidgin.im>
date Fri, 18 Jul 2008 22:05:55 +0000
parents 6083c36f68d6 e23b447aa5ca
children e22bcca9f2b2
comparison
equal deleted inserted replaced
23566:0fd0c52364a2 23860:7ff380f97abc
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], [0])
50 m4_define([purple_version_suffix], [devel]) 50 m4_define([purple_version_suffix], [vv-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])
323 I can find them. 323 I can find them.
324 ])]) 324 ])])
325 AC_SUBST(GLIB_CFLAGS) 325 AC_SUBST(GLIB_CFLAGS)
326 AC_SUBST(GLIB_LIBS) 326 AC_SUBST(GLIB_LIBS)
327 327
328 GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
329 AC_SUBST(GLIB_GENMARSHAL)
330
328 AC_ARG_WITH([extraversion], 331 AC_ARG_WITH([extraversion],
329 AC_HELP_STRING([--with-extraversion=STRING], 332 AC_HELP_STRING([--with-extraversion=STRING],
330 [extra version number to be displayed in Help->About and --help (for packagers)]), 333 [extra version number to be displayed in Help->About and --help (for packagers)]),
331 EXTRA_VERSION=$withval) 334 EXTRA_VERSION=$withval)
332 335
741 AC_MSG_ERROR([ 744 AC_MSG_ERROR([
742 GStreamer development headers not found. 745 GStreamer development headers not found.
743 Use --disable-gstreamer if you do not need GStreamer (sound) support. 746 Use --disable-gstreamer if you do not need GStreamer (sound) support.
744 ]) 747 ])
745 fi]) 748 fi])
749 fi
750
751 dnl #######################################################################
752 dnl # Check for Farsight
753 dnl #######################################################################
754 AC_ARG_ENABLE(farsight,
755 [AC_HELP_STRING([--disable-farsight], [compile without farsight support])],
756 enable_farsight="$enableval", enable_farsight="yes")
757 if test "x$enable_farsight" != "xno"; then
758 PKG_CHECK_MODULES(FARSIGHT, [farsight2-0.10 gstreamer-0.10 gstreamer-plugins-base-0.10 libxml-2.0], [
759 AC_DEFINE(USE_FARSIGHT, 1, [Use Farsight for voice and video])
760 AC_SUBST(FARSIGHT_CFLAGS)
761 AC_SUBST(FARSIGHT_LIBS)
762 ], [
763 enable_farsight="no"
764 ])
765 fi
766
767 dnl #######################################################################
768 dnl # Check for GStreamer-properties
769 dnl #######################################################################
770 AC_ARG_ENABLE(gstprops,
771 [AC_HELP_STRING([--disable-gstprops], [compile without gstreamer props])],
772 enable_gstprops="$enableval", enable_gstprops="yes")
773 if test "x$enable_gstprops" != "xno";
774 then
775 dnl gstreamer-libs-$GST_MAJORMINOR
776 dnl gstreamer-gconf-$GST_MAJORMINOR
777 PKG_CHECK_MODULES(GSTPROPS, [gstreamer-0.10 gstreamer-plugins-base-0.10 libxml-2.0], [
778 GSTPROPS_LIBS="$GSTPROPS_LIBS -lgstinterfaces-0.10"
779 AC_DEFINE(USE_GSTPROPS, 1, [Use GStreamer property probe for finding devices])
780 AC_SUBST(GSTPROPS_LIBS)
781 AC_SUBST(GSTPROPS_CFLAGS)
782 ], [
783 enable_gstprops="no"
784 ])
785 fi
786
787 dnl #######################################################################
788 dnl # Check for Voice and Video support
789 dnl #######################################################################
790 AC_ARG_ENABLE(vv,
791 [AC_HELP_STRING([--disable-vv], [compile without voice and video support])],
792 enable_vv="$enableval", enable_vv="yes")
793 if test "x$enable_vv" != "xno"; then
794 if test "x$enable_farsight" != "xno" -a "x$enable_gstprops" != "xno"; then
795 AC_DEFINE(USE_VV, 1, [Use voice and video])
796 else
797 enable_vv="no"
798 fi
746 fi 799 fi
747 800
748 dnl ####################################################################### 801 dnl #######################################################################
749 dnl # Check for Meanwhile headers (for Sametime) 802 dnl # Check for Meanwhile headers (for Sametime)
750 dnl ####################################################################### 803 dnl #######################################################################
2445 echo Protocols to build dynamically : $DYNAMIC_PRPLS 2498 echo Protocols to build dynamically : $DYNAMIC_PRPLS
2446 echo Protocols to link statically.. : $STATIC_PRPLS 2499 echo Protocols to link statically.. : $STATIC_PRPLS
2447 echo 2500 echo
2448 echo Build with GStreamer support.. : $enable_gst 2501 echo Build with GStreamer support.. : $enable_gst
2449 echo Build with D-Bus support...... : $enable_dbus 2502 echo Build with D-Bus support...... : $enable_dbus
2503 echo Build with voice and video.... : $enable_vv
2450 if test "x$enable_dbus" = "xyes" ; then 2504 if test "x$enable_dbus" = "xyes" ; then
2451 eval eval echo D-Bus services directory...... : $DBUS_SERVICES_DIR 2505 eval eval echo D-Bus services directory...... : $DBUS_SERVICES_DIR
2452 fi 2506 fi
2453 echo Build with NetworkManager..... : $enable_nm 2507 echo Build with NetworkManager..... : $enable_nm
2454 echo SSL Library/Libraries......... : $msg_ssl 2508 echo SSL Library/Libraries......... : $msg_ssl