[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 buil
From: |
Tatsuro MATSUOKA |
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: |
Tue, 6 Oct 2009 06:32:07 +0900 (JST) |
Hello
--- Benjamin Lindner wrote:
> You can avoid the code duplication in the call to fltk-config by doing
>
> 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>
Thanks!!
Regards
Tatsuro
--------------------------------------
GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
http://pr.mail.yahoo.co.jp/gyao/