[MPlayer-cvslog] r37942 - trunk/configure
al
subversion at mplayerhq.hu
Mon Jun 19 01:14:08 EEST 2017
Author: al
Date: Mon Jun 19 01:14:07 2017
New Revision: 37942
Log:
configure: Fix build on cygwin
Some essential #defines like M_PI went missing on newer cygwin.
Pass additional flags to activate those again.
Patch by Stephen Sheldon >sfsheldo gmail<
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Tue Jun 13 01:03:41 2017 (r37941)
+++ trunk/configure Mon Jun 19 01:14:07 2017 (r37942)
@@ -2861,6 +2861,10 @@ cpp_condition_check features.h "defined
CFLAGS="-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 $CFLAGS" &&
HOSTCFLAGS="-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 $HOSTCFLAGS"
+if cygwin; then
+ CFLAGS="-D_XOPEN_SOURCE=600 $CFLAGS"
+fi
+
if test "$cc_vendor" = "gnu" ; then
cflag_check -fno-tree-vectorize && CFLAGS="$CFLAGS -fno-tree-vectorize"
cflag_check -Wundef && WARNFLAGS="-Wundef $WARNFLAGS"
More information about the MPlayer-cvslog
mailing list