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
 
_______________________________________________
Linphone-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to