[PATCH]configure.ac fix
"Zhang Le" <[email protected]> Fri, 18 Aug 2006 11:31:56 +0800
| Newsgroups | gmane.comp.gnu.ccaudio.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============1488323310==
Content-Type: multipart/alternative;
boundary="----=_Part_231690_23749364.1155871916248"
------=_Part_231690_23749364.1155871916248
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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
------=_Part_231690_23749364.1155871916248
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
BTW, it seems that libgsm's header is in /usr/include instead of /usr/include/gsm.<br>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.
<br>Is there a way to detect both places, "gsm.h" and "gsm/gsm.h"?<br><br><div>--- configure.ac.orig 2006-07-21 00:37:09.000000000 +0800<br>+++ <a href="http://configure.ac" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
configure.ac</a> 2006-08-18 11:08:30.000000000 +0800<br>@@ -206,11 +206,11 @@<br> AC_SUBST(STAGE2)<br><br> gsm_format="false"
<br>-if test "$ac_gsm_codec" ; then<br>+if test "$ac_gsm_codec" == true; then<br> gsm_format="true" ; fi<br><br> speex_format="false"<br>-if test "$ac_spx_codec" ; then
<br>+if test "$ac_spx_codec" == true; then<br> speex_format="true" ; fi<br><br> AC_SUBST(gsm_format)<br></div><div><span class="sg"><br clear="all"><br>-- <br>Zhang Le, Robert<br>Linux Engineer/Trainer
<br><a href="http://zhllg.blogspot.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://zhllg.blogspot.com</a><br><a href="http://zh.gentoo-wiki.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://zh.gentoo-wiki.com</a><br><a href="http://savannah.nongnu.org/projects/pgubook" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://savannah.nongnu.org/projects/pgubook</a><br><a href="http://groups.google.com/group/gentoo-china" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://groups.google.com/group/gentoo-china</a><br><a href="http://groups.google.com/group/szlug" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://groups.google.com/group/szlug</a>
</span></div><br clear="all"><br>-- <br>Zhang Le, Robert<br>Linux Engineer/Trainer<br><a href="http://zhllg.blogspot.com">http://zhllg.blogspot.com</a><br><a href="http://zh.gentoo-wiki.com">http://zh.gentoo-wiki.com</a>
<br><a href="http://savannah.nongnu.org/projects/pgubook">http://savannah.nongnu.org/projects/pgubook</a><br><a href="http://groups.google.com/group/gentoo-china">http://groups.google.com/group/gentoo-china</a><br><a href="http://groups.google.com/group/szlug">
http://groups.google.com/group/szlug</a>
------=_Part_231690_23749364.1155871916248--
--===============1488323310==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Ccaudio-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/ccaudio-devel
--===============1488323310==--