ccaudio-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ccaudio-devel] [PATCH]configure.ac fix


From: Zhang Le
Subject: [Ccaudio-devel] [PATCH]configure.ac fix
Date: Fri, 18 Aug 2006 11:31:56 +0800

BTW, it seems that libgsm's header is in /usr/include instead of /usr/include/gsm.
At least it is the case in Gentoo, the gsm version is 1.0.10. As a result configure script can't detect gsm in Gentoo, even if it is already installed.
Is there a way to detect both places, "gsm.h" and "gsm/gsm.h"?

--- configure.ac.orig   2006-07-21 00:37:09.000000000 +0800
+++ configure.ac        2006-08-18 11:08:30.000000000 +0800
@@ -206,11 +206,11 @@
 AC_SUBST(STAGE2)

 gsm_format="false"
-if test "$ac_gsm_codec" ; then
+if test "$ac_gsm_codec" == true; then
        gsm_format="true" ; fi

 speex_format="false"
-if test "$ac_spx_codec" ; then
+if test "$ac_spx_codec" == true; then
        speex_format="true" ; fi

 AC_SUBST(gsm_format)


--
Zhang Le, Robert
Linux Engineer/Trainer
http://zhllg.blogspot.com
http://zh.gentoo-wiki.com
http://savannah.nongnu.org/projects/pgubook
http://groups.google.com/group/gentoo-china
http://groups.google.com/group/szlug


--
Zhang Le, Robert
Linux Engineer/Trainer
http://zhllg.blogspot.com
http://zh.gentoo-wiki.com
http://savannah.nongnu.org/projects/pgubook
http://groups.google.com/group/gentoo-china
http://groups.google.com/group/szlug
reply via email to

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