[MPlayer-dev-eng] [PATCH] faac check fails without fontconfig

Gianluigi Tiesi mplayer at netfarm.it
Wed Mar 28 00:05:18 CEST 2007


faac check in configure inherits _ld_tmp from fontconfig
check so if the system misses one of these libs:
-lfontconfig -lexpat -lfreetype -lz
faac check fails.
trivial patch attached.

Regards
-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
-------------- next part --------------
Index: configure
===================================================================
--- configure	(revision 22834)
+++ configure	(working copy)
@@ -5911,7 +5911,7 @@
 EOF
   _faac=no
   for _ld_faac in "-lfaac" "-lfaac -lmp4v2 -lstdc++" ; do
-    cc_check -O4 $_ld_faac $_ld_tmp $_ld_lm && _libs_mencoder="$_libs_mencoder $_ld_faac" && _faac=yes && break
+    cc_check -O4 $_ld_faac $_ld_lm && _libs_mencoder="$_libs_mencoder $_ld_faac" && _faac=yes && break
   done
 fi
 if test "$_faac" = yes ; then


More information about the MPlayer-dev-eng mailing list