summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2018-02-25 14:40:05 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2018-02-25 14:40:05 +0000
commitff64d09cf7ad6d11e3f702e4317f46d69b384468 (patch)
treea7958d854541669f14a16823b364e3f4fe896679
parent7049da0445eaf2b811b001c3989245ea5ef24075 (diff)
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
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 30505d4ec..616e31962 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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"