[MPlayer-cvslog] r32724 - trunk/configure

reimar subversion at mplayerhq.hu
Sun Dec 19 23:02:53 CET 2010


Author: reimar
Date: Sun Dec 19 23:02:52 2010
New Revision: 32724

Log:
Compilation fixes for currentl Cygwin.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sun Dec 19 15:19:04 2010	(r32723)
+++ trunk/configure	Sun Dec 19 23:02:52 2010	(r32724)
@@ -1519,6 +1519,12 @@ if win32 ; then
   def_priority="#define CONFIG_PRIORITY 1"
 fi
 
+if cygwin ; then
+  # e.g. priority.c needs _WIN32 define, but
+  # latest cygwin no longer defines it
+  extra_cflags="-D_WIN32 $extra_cflags"
+fi
+
 if mingw32 ; then
   _getch=getch2-win.c
   _need_shmem=no
@@ -6622,7 +6628,10 @@ echores "$_faac"
 
 echocheck "FAAD2 support"
 if test "$_faad_internal" = auto ; then
-  if x86_32 && test cc_vendor=gnu; then
+  if cygwin ; then
+    _faad_internal=no
+    res_comment="does not compile on cygwin"
+  elif x86_32 && test cc_vendor=gnu; then
     case $cc_version in
       3.1*|3.2) # ICE/insn with these versions
         _faad_internal=no


More information about the MPlayer-cvslog mailing list