Remove obsolete -DUSE_OPENGL32 from configure and fltk-config.

This definition was introduced in svn r6657 (STR #2147) but never used.
The new driver model in FLTK 1.4 makes it (the intention described in
STR #2147) even more obsolete.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12689 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2018-02-25 14:40:05 +00:00
parent 7049da0445
commit ff64d09cf7
1 changed files with 4 additions and 2 deletions

View File

@ -861,10 +861,12 @@ case $host_os_gui in
# \n. Here we just force U32 to be defined to "unsigned"...
AC_DEFINE(U32,unsigned)
# We do no longer define WIN32 or _WIN32 (since FLTK 1.4.0)
# and we don't need to define USE_OPENGL32 (added in svn r6657
# but never used, see STR #2147)
# CFLAGS="-mwindows -D_WIN32 -DUSE_OPENGL32 $CFLAGS"
# CXXFLAGS="-mwindows -D_WIN32 -DUSE_OPENGL32 $CXXFLAGS"
CFLAGS="-mwindows -DUSE_OPENGL32 $CFLAGS"
CXXFLAGS="-mwindows -DUSE_OPENGL32 $CXXFLAGS"
CFLAGS="-mwindows $CFLAGS"
CXXFLAGS="-mwindows $CXXFLAGS"
LDFLAGS="-mwindows $LDFLAGS"
DSOFLAGS="-mwindows $DSOFLAGS"
LIBS="$LIBS -lole32 -luuid -lcomctl32"