octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fltk-config for windows gives -mwindows flag (was octave-3.3.50 bui


From: John W. Eaton
Subject: Re: fltk-config for windows gives -mwindows flag (was octave-3.3.50 built by mingw-gcc-4.4.0 cannot be executed.)
Date: Wed, 11 Nov 2009 12:52:21 -0500

On 11-Oct-2009, Michael Goffioul wrote:

| On Sun, Oct 11, 2009 at 4:12 PM, John W. Eaton <address@hidden> wrote:
| > | diff -r a65c135a1deb configure.in
| > | --- a/configure.in      Mon Oct 05 19:22:13 2009 +0200
| > | +++ b/configure.in      Mon Oct 05 20:30:33 2009 +0200
| > | @@ -847,6 +847,11 @@
| > |     FLTK_CFLAGS="`$FLTK_CONFIG $fltkconf_args --use-gl --cflags`"
| > |     FLTK_LDFLAGS="`$FLTK_CONFIG $fltkconf_args --use-gl --ldflags`"
| > |
| > | +  case "$canonical_host_type" in
| > | +  *-*-mingw*)
| > | +    FLTK_LDFLAGS="`echo $FLTK_LDFLAGS | sed -e 's+-mwindows++g'`"
| > | +  esac
| > | +
| > |     AC_MSG_CHECKING(for OpenGL support in FLTK)
| > |     cat > conftest.cc <<EOF
| > |     #include <FL/gl.h>
| >
| > Only *-*-mingw*?  Would this also be a problem for *-*-msdosmsvc?
| 
| No. The -mwindows flag is only GCC specific.

I checked in the following change.

  http://hg.savannah.gnu.org/hgweb/octave/rev/f5126ea721e2

Is this OK?  Or should we be more careful and try to only match
-mwindows if it appears as a word by itself?  Or is this change even
needed now?

jwe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]