[MPlayer-cvslog] r38009 - trunk/configure

al subversion at mplayerhq.hu
Sat Dec 23 01:47:21 EET 2017


Author: al
Date: Sat Dec 23 01:47:20 2017
New Revision: 38009

Log:
configure: MNG: Fix choosing the -l flags for the compiler

When looping through the variations use the first one that works.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Fri Dec  1 00:07:54 2017	(r38008)
+++ trunk/configure	Sat Dec 23 01:47:20 2017	(r38009)
@@ -5303,7 +5303,7 @@ echocheck "MNG support"
 if test "$_mng" = auto ; then
   _mng=no
   for mnglibs in '-lmng -lz' '-lmng -ljpeg -lz' ; do
-    return_statement_check libmng.h 'const char * p_ver = mng_version_text()' '!p_ver || p_ver[0] == 0' $mnglibs && _mng=yes
+    return_statement_check libmng.h 'const char * p_ver = mng_version_text()' '!p_ver || p_ver[0] == 0' $mnglibs && _mng=yes && break
   done
 fi
 echores "$_mng"


More information about the MPlayer-cvslog mailing list