linphone-users
[Top][All Lists]
Advanced

[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: Fri, 28 Dec 2007 13:26:29 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de-AT; rv:1.8.1.11) Gecko/20071205 SeaMonkey/1.1.7

Simon Morlat schrieb:
>> The configure script does not recognize a "--disable-gsm" or
>> "--without-gsm" parameter, it will detect and compile in gsm no matter
>> what. How can I disable gsm in configure?
>>     
> Unfortunately this is not possible. You can workaround by temporarily 
> renaming /usr/include/gsm/gsm.h into /usr/include/gsm/gsm.h.bak in order to 
> run configure, and revert back once linphone is compiled.
>   

No problem, I have hacked the configure script to obey --disable-gsm.
Patch is attached.

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 "$enable_gsm" != "no" ; then
        build_gsm=yes
 fi
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]