changeset 12032:62955c595e49

[gaim-migrate @ 14325] <LSchiere2> seanegan: but --disable-vv shouldn't be necessary since I'm not using --enable-vv (which IS documented in configure --help) <seanegan> Good. Now make it --disable-vv unless you explicitly --enable-vv for me <LSchiere2> seanegan: I don't understand configure.ac I don't understand configure.ac much either, but this achieves the above There's also a little bit of gmp stuff here that I found necessary to allow sametime to load. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Wed, 09 Nov 2005 21:21:29 +0000
parents bef758a67e48
children 053dcb5bc15b
files configure.ac
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Wed Nov 09 19:02:48 2005 +0000
+++ b/configure.ac	Wed Nov 09 21:21:29 2005 +0000
@@ -140,8 +140,11 @@
         dnl AC_MSG_ERROR([GNU MP headers not found, $withval])
 	have_gmp=no
 fi
-
-GMP_CFLAGS=-I$try_prefix/include
+if test "$have_gmp" = "yes" ; then
+	GMP_CFLAGS=-I$try_prefix/include
+	dnl XXX: shouldn't we be checking where the libs are and adding -L if necessary?
+	GMP_LIBS="-lgmp"
+fi
 
 AC_SUBST(GMP_CFLAGS)
 AC_SUBST(GMP_LIBS)
@@ -1450,7 +1453,7 @@
 dnl ##############################################################################
 dnl ## Mediastreamer stuff #######################################################
 dnl ##############################################################################
-AC_ARG_ENABLE(vv,     [  --enable-vv         enable Voice and Video support],,enable_vv=yes)
+AC_ARG_ENABLE(vv,     [  --enable-vv         disable Voice and Video support],,enable_vv=no)
 if test "x$enable_vv" = xyes; then
     AC_DEFINE(HAVE_GLIB, 1, [Gaim always has GLib, but Linphone can be built without it])
     AM_CONDITIONAL(HAVE_VV, true)
@@ -1609,6 +1612,7 @@
 echo Build with Tk support......... : $enable_tk
 echo Build with Audio support...... : $enable_audio
 echo Build with GtkSpell support... : $enable_gtkspell
+echo Build with Voice/Video support : $enable_vv
 echo Build with DBUS support....... : $enable_dbus
 if test x$enable_dbus = xyes ; then
 echo DBUS session directory........ : $DBUS_SESSION_DIR