This file is part of mingw-cross-env. See doc/index.html for further information. This patch has been taken from http://lists.nongnu.org/archive/html/openexr-devel/2010-08/msg00011.html Here, we just patch configure to save an autoconf diff -ur ilmbase-1.0.2.orig/configure ilmbase-1.0.2/configure --- ilmbase-1.0.2.orig/configure 2010-07-23 11:13:13.000000000 +1000 +++ ilmbase-1.0.2/configure 2010-09-27 00:01:17.000000000 +1000 @@ -20374,7 +20374,6 @@ case "$host" in *darwin*) - CXXFLAGS="$CXXFLAGS -Wno-long-double" # Check whether --enable-osx-arch or --disable-osx-arch was given. if test "${enable_osx_arch+set}" = set; then