public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-libs/ccaudio2/files: disable_gsm_automagic.patch
@ 2012-02-26 19:43 Maxim Koltsov (maksbotan)
  0 siblings, 0 replies; only message in thread
From: Maxim Koltsov (maksbotan) @ 2012-02-26 19:43 UTC (permalink / raw
  To: gentoo-commits

maksbotan    12/02/26 19:43:35

  Added:                disable_gsm_automagic.patch
  Log:
  Add media-libs/ccaudio2, bug #109034. Thanks to slepnoga
  
  (Portage version: 2.1.10.49/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-libs/ccaudio2/files/disable_gsm_automagic.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/ccaudio2/files/disable_gsm_automagic.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/ccaudio2/files/disable_gsm_automagic.patch?rev=1.1&content-type=text/plain

Index: disable_gsm_automagic.patch
===================================================================
--- configure.ac.orig	2011-05-15 21:40:14.000000000 +0300
+++ configure.ac	2011-05-15 21:46:11.000000000 +0300
@@ -138,6 +138,9 @@
 ac_gsm_codec=false
 ac_spx_codec=false
 
+AC_ARG_ENABLE(gsm, [ --disable-gsm          disable gsm support])
+if test "$enable_gsm" != "no" ; then
+
 AC_CHECK_HEADER(gsm/gsm.h, [
     ac_gsm_codec=true
     AC_DEFINE(HAVE_GSM_GSM_H, [1], [gsm header found])
@@ -145,9 +148,11 @@
 ],[
     AC_CHECK_HEADER(gsm.h, [
         AUDIO_LIBS="$AUDIO_LIBS -lgsm"
-        AC_DEFINE(HAVE_GSM_H, [1], [gsm default header])
+	AC_DEFINE(HAVE_GSM_H, [1], [gsm default header])
+
     ])
 ])
+fi
 
 AC_ARG_ENABLE(speex, [ --disable-speex          disable speex support])
 if test "$enable_speex" != "no" ; then






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-26 19:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-26 19:43 [gentoo-commits] gentoo-x86 commit in media-libs/ccaudio2/files: disable_gsm_automagic.patch Maxim Koltsov (maksbotan)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox