On 28.03.2011 00:26, [email protected] wrote:
> From: Mark Brand<[email protected]>
>
> ---
> configure.in | 10 ----------
> 1 files changed, 0 insertions(+), 10 deletions(-)
>
> diff --git a/configure.in b/configure.in
> index 739c234..ab8a652 100644
> --- a/configure.in
> +++ b/configure.in
> @@ -72,16 +72,6 @@ case $uname in
> CYGWIN* | MINGW*)
> # Handle Cygwin option *first*, before all other tests.
> AC_ARG_ENABLE(cygwin, [ --enable-cygwin use the CygWin
> libraries [default=no]])
> - if test x$enable_cygwin != xyes; then
> - # NOTE: We can't use ARCHFLAGS for this, since it does not work
> - # with some of the function tests - Cygwin uses a
> - # different C library...
> - CFLAGS="$CFLAGS -mno-cygwin"
> - CPPFLAGS="$CPPFLAGS -mno-cygwin"
> - CXXFLAGS="$CXXFLAGS -mno-cygwin"
> - LDFLAGS="$LDFLAGS -mno-cygwin"
> - DSOFLAGS="$DSOFLAGS -mno-cygwin"
> - fi
> ;;
> Darwin*)
> # Starting with 10.6 (Snow Leopard), OS X does not support
FYI: Although I wrote about 5 weeks ago that the patch couldn't be
applied to FLTK 1.1 as-is, I finally decided to remove the -mno-cygwin
option from *MinGW* builds (only) with the following patch (svn r 8633):
Index: configure.in
===================================================================
--- configure.in (Revision 8632)
+++ configure.in (Revision 8633)
@@ -69,7 +69,7 @@
dnl OS-specific pre-tests...
case $uname in
- CYGWIN* | MINGW*)
+ CYGWIN*)
# Handle Cygwin option *first*, before all other tests.
AC_ARG_ENABLE(cygwin, [ --enable-cygwin use the CygWin
libraries [default=no]])
if test x$enable_cygwin != xyes; then
This will eventually be in FLTK 1.1.11 and should solve the issue for
MinGW. Thanks again for the patch.
Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev