Mercurial > hg > octave-terminal
changeset 9803:f5126ea721e2
configure.ac: remove -mwindows from FLTK_LDFLAGS
author | Benjamin Lindner <lindnerb@users.sourceforge.net> |
---|---|
date | Wed, 11 Nov 2009 12:51:45 -0500 |
parents | 9b4a301d88ed |
children | 6fcc4179c178 |
files | ChangeLog configure.ac |
diffstat | 2 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-11-11 Benjamin Lindner <lindnerb@users.sourceforge.net> + + * configure.ac: Remove -mwindows from FLTK_LDFLAGS. + 2009-11-11 John W. Eaton <jwe@octave.org> * configure.ac: Fail if LT_INIT it is not defined.
--- a/configure.ac +++ b/configure.ac @@ -854,6 +854,12 @@ 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>