[MPlayer-cvslog] r31618 - trunk/configure

diego subversion at mplayerhq.hu
Fri Jul 2 12:02:35 CEST 2010


Author: diego
Date: Fri Jul  2 12:02:34 2010
New Revision: 31618

Log:
Use cflag_check utility function in cross-compilation check.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Fri Jul  2 11:38:46 2010	(r31617)
+++ trunk/configure	Fri Jul  2 12:02:34 2010	(r31618)
@@ -1658,11 +1658,8 @@ echores $_host_cc
 
 echocheck "cross compilation"
 if test $_cross_compile = auto ; then
-  cat > $TMPC << EOF
-int main(void) { return 0; }
-EOF
   _cross_compile=yes
-  cc_check && "$TMPEXE" && _cross_compile=no
+  cflag_check "" && "$TMPEXE" && _cross_compile=no
 fi
 echores $_cross_compile
 


More information about the MPlayer-cvslog mailing list