[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/macros mad.m4
From: |
Markus Gothe |
Subject: |
[Gnash-commit] gnash/macros mad.m4 |
Date: |
Sun, 05 Nov 2006 11:30:47 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Markus Gothe <nihilus> 06/11/05 11:30:47
Modified files:
macros : mad.m4
Log message:
Fwd-poring
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/mad.m4?cvsroot=gnash&r1=1.20&r2=1.21
Patches:
Index: mad.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/mad.m4,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- mad.m4 5 Nov 2006 11:25:17 -0000 1.20
+++ mad.m4 5 Nov 2006 11:30:47 -0000 1.21
@@ -14,7 +14,7 @@
dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-dnl $Id: mad.m4,v 1.20 2006/11/05 11:25:17 nihilus Exp $
+dnl $Id: mad.m4,v 1.21 2006/11/05 11:30:47 nihilus Exp $
AC_DEFUN([GNASH_PATH_MAD],
[
@@ -74,7 +74,7 @@
AC_CACHE_VAL(ac_cv_path_mad_lib,[
if test x"${with_mad_lib}" != x ; then
if test -f ${with_mad_lib}/libmad.a -o -f ${with_mad_lib}/libmad.so;
then
- ac_cv_path_mad_lib=`(cd ${with_mad_incl}; pwd)`
+ ac_cv_path_mad_lib="-L`(cd ${with_mad_incl}; pwd)` -lmad"
else
AC_MSG_ERROR([${with_mad_lib} directory doesn't contain libmad.])
fi
@@ -92,10 +92,10 @@
for i in $libslist; do
if test -f $i/libmad.a -o -f $i/libmad.so; then
if test x"$i" != x"/usr/lib"; then
- ac_cv_path_mad_lib="-L$i"
+ ac_cv_path_mad_lib="-L$i -lmad"
break
else
- ac_cv_path_mad_lib=""
+ ac_cv_path_mad_lib="-lmad"
break
fi
fi