Mercurial > pidgin
comparison configure.ac @ 23840:3da0957e7821
propagate from branch 'im.pidgin.pidgin' (head 868098fbe53290a8abcc3307c6fec2c6054a5e00)
to branch 'im.pidgin.soc.2008.vv' (head eb4a2834050e39f5387e97121b534adb7ffd1234)
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Thu, 26 Jun 2008 20:25:38 +0000 |
parents | b175f6441bba 10f5a529d2a6 |
children | e23b447aa5ca |
comparison
equal
deleted
inserted
replaced
23392:eac0561dfd55 | 23840:3da0957e7821 |
---|---|
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 |
721 AC_MSG_RESULT(no) | 724 AC_MSG_RESULT(no) |
722 AC_MSG_ERROR([ | 725 AC_MSG_ERROR([ |
723 GStreamer development headers not found. | 726 GStreamer development headers not found. |
724 Use --disable-gstreamer if you do not need GStreamer (sound) support. | 727 Use --disable-gstreamer if you do not need GStreamer (sound) support. |
725 ])]) | 728 ])]) |
729 fi | |
730 | |
731 dnl ####################################################################### | |
732 dnl # Check for Farsight | |
733 dnl ####################################################################### | |
734 AC_ARG_ENABLE(farsight, | |
735 [AC_HELP_STRING([--disable-farsight], [compile without farsight support])], | |
736 enable_farsight="$enableval", enable_farsight="yes") | |
737 if test "x$enable_farsight" != "xno"; then | |
738 PKG_CHECK_MODULES(FARSIGHT, [farsight2-0.10 gstreamer-0.10 gstreamer-plugins-base-0.10 libxml-2.0], [ | |
739 AC_DEFINE(USE_FARSIGHT, 1, [Use Farsight for voice and video]) | |
740 AC_SUBST(FARSIGHT_CFLAGS) | |
741 AC_SUBST(FARSIGHT_LIBS) | |
742 ], [ | |
743 enable_farsight="no" | |
744 ]) | |
745 fi | |
746 | |
747 | |
748 dnl ####################################################################### | |
749 dnl # Check for GStreamer-properties | |
750 dnl ####################################################################### | |
751 AC_ARG_ENABLE(gstprops, | |
752 [AC_HELP_STRING([--disable-gstprops], [compile without gstreamer props])], | |
753 enable_gstprops="$enableval", enable_gstprops="yes") | |
754 if test "x$enable_gstprops" != "xno"; | |
755 then | |
756 dnl gstreamer-libs-$GST_MAJORMINOR | |
757 dnl gstreamer-gconf-$GST_MAJORMINOR | |
758 PKG_CHECK_MODULES(GSTPROPS, [gstreamer-0.10 gstreamer-plugins-base-0.10 libxml-2.0], [ | |
759 GSTPROPS_LIBS="$GSTPROPS_LIBS -lgstinterfaces-0.10" | |
760 AC_DEFINE(USE_GSTPROPS, 1, [Use GStreamer property probe for finding devices]) | |
761 AC_SUBST(GSTPROPS_LIBS) | |
762 AC_SUBST(GSTPROPS_CFLAGS) | |
763 ], [ | |
764 enable_gstprops="no" | |
765 ]) | |
766 fi | |
767 | |
768 dnl ####################################################################### | |
769 dnl # Check for Voice and Video support | |
770 dnl ####################################################################### | |
771 AC_ARG_ENABLE(vv, | |
772 [AC_HELP_STRING([--disable-vv], [compile without voice and video support])], | |
773 enable_vv="$enableval", enable_vv="yes") | |
774 if test "x$enable_vv" != "xno"; then | |
775 if test "x$enable_farsight" != "xno" -a "x$enable_gstprops" != "xno"; then | |
776 AC_DEFINE(USE_VV, 1, [Use voice and video]) | |
777 else | |
778 enable_vv="no" | |
779 fi | |
726 fi | 780 fi |
727 | 781 |
728 dnl ####################################################################### | 782 dnl ####################################################################### |
729 dnl # Check for Meanwhile headers (for Sametime) | 783 dnl # Check for Meanwhile headers (for Sametime) |
730 dnl ####################################################################### | 784 dnl ####################################################################### |
2415 echo Enable Gestures............... : $enable_gestures | 2469 echo Enable Gestures............... : $enable_gestures |
2416 echo Protocols to build dynamically : $DYNAMIC_PRPLS | 2470 echo Protocols to build dynamically : $DYNAMIC_PRPLS |
2417 echo Protocols to link statically.. : $STATIC_PRPLS | 2471 echo Protocols to link statically.. : $STATIC_PRPLS |
2418 echo | 2472 echo |
2419 echo Build with GStreamer support.. : $enable_gst | 2473 echo Build with GStreamer support.. : $enable_gst |
2474 echo Build with voice and video.... : $enable_vv | |
2420 echo Build with D-Bus support...... : $enable_dbus | 2475 echo Build with D-Bus support...... : $enable_dbus |
2421 if test "x$enable_dbus" = "xyes" ; then | 2476 if test "x$enable_dbus" = "xyes" ; then |
2422 eval eval echo D-Bus services directory...... : $DBUS_SERVICES_DIR | 2477 eval eval echo D-Bus services directory...... : $DBUS_SERVICES_DIR |
2423 fi | 2478 fi |
2424 echo Build with NetworkManager..... : $enable_nm | 2479 echo Build with NetworkManager..... : $enable_nm |