comparison configure.ac @ 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 13868ea67c71
children 6fcc4179c178
comparison
equal deleted inserted replaced
9802:9b4a301d88ed 9803:f5126ea721e2
852 warn_fltk_config="FLTK config script not found. Native graphics will be disabled." 852 warn_fltk_config="FLTK config script not found. Native graphics will be disabled."
853 else 853 else
854 FLTK_CFLAGS="`$FLTK_CONFIG $fltkconf_args --use-gl --cflags`" 854 FLTK_CFLAGS="`$FLTK_CONFIG $fltkconf_args --use-gl --cflags`"
855 FLTK_LDFLAGS="`$FLTK_CONFIG $fltkconf_args --use-gl --ldflags`" 855 FLTK_LDFLAGS="`$FLTK_CONFIG $fltkconf_args --use-gl --ldflags`"
856 856
857 case "$canonical_host_type" in
858 *-*-mingw*)
859 FLTK_LDFLAGS="`echo $FLTK_LDFLAGS | sed -e 's/-mwindows//g'`"
860 ;;
861 esac
862
857 AC_MSG_CHECKING(for OpenGL support in FLTK) 863 AC_MSG_CHECKING(for OpenGL support in FLTK)
858 cat > conftest.cc <<EOF 864 cat > conftest.cc <<EOF
859 #include <FL/gl.h> 865 #include <FL/gl.h>
860 int nothing=0; 866 int nothing=0;
861 EOF 867 EOF