[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-users] compile linphone without gsm
From: |
Chi-Thanh Christopher Nguyen |
Subject: |
Re: [Linphone-users] compile linphone without gsm |
Date: |
Sun, 16 Dec 2007 13:21:19 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; de-AT; rv:1.8.1.8) Gecko/20071008 Iceape/1.1.5 (Ubuntu-1.1.5-1ubuntu0.7.10) |
VoVaN schrieb:
AIK, this problem could be easy solved by recompiling gsm with -fPIC flag.
Yes, I am aware of that. But that is a rather ugly solution, as not only
the libraries but also the executables end up with position independent
code. And linphone should still make it possible to disable gsm support
at compile time.
Anyway, I hacked the configure script to obey --disable-gsm. Which may
be no less ugly.
Regards,
Chi-Thanh Christopher Nguyen
diff -ru a/mediastreamer2/configure b/mediastreamer2/configure
--- a/mediastreamer2/configure 2007-11-29 22:27:04.000000000 +0100
+++ b/mediastreamer2/configure 2007-12-15 18:24:36.000000000 +0100
@@ -22174,7 +22174,7 @@
-if test "$GSM_found" = "yes" ; then
+if test "$GSM_found" = "yes" && test "$disable_gsm" != "yes" ; then
build_gsm=yes
fi