summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES3
-rw-r--r--configure.in9
2 files changed, 9 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index 7065b6294..dfc75f845 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,8 @@
CHANGES IN FLTK 1.1.0b13
+ - The configure script didn't include the -mwindows or
+ -DWIN32 compiler options in the output of fltk-config
+ when using the Cygwin tools.
- Fl_Output didn't take input focus when needed, so it
was unable to support CTRL-C for copying text in the
field and did not unhighlight selections when the
diff --git a/configure.in b/configure.in
index c8d7167aa..a7f36ea2a 100644
--- a/configure.in
+++ b/configure.in
@@ -1,7 +1,7 @@
dnl -*- sh -*-
dnl the "configure" script is made from this by running GNU "autoconf"
dnl
-dnl "$Id: configure.in,v 1.33.2.31.2.55 2002/03/25 21:39:01 easysw Exp $"
+dnl "$Id: configure.in,v 1.33.2.31.2.56 2002/04/09 09:22:15 easysw Exp $"
dnl
dnl Configuration script for the Fast Light Tool Kit (FLTK).
dnl
@@ -324,8 +324,11 @@ THREADS=
case $uname in
CYGWIN*)
dnl Cygwin environment...
+ CFLAGS="-mwindows -DWIN32 $CFLAGS"
+ CXXFLAGS="-mwindows -DWIN32 $CXXFLAGS"
+ LDFLAGS="-mwindows $LDFLAGS"
LIBS="$LIBS -lcomctl32 -lwsock32"
- OPTIM="$OPTIM -mwindows -DWIN32"
+ OPTIM="$OPTIM"
if test x$enable_gl != xno; then
AC_CHECK_HEADER(GL/gl.h,
@@ -704,5 +707,5 @@ dnl Make sure the fltk-config script is executable...
chmod +x fltk-config
dnl
-dnl End of "$Id: configure.in,v 1.33.2.31.2.55 2002/03/25 21:39:01 easysw Exp $".
+dnl End of "$Id: configure.in,v 1.33.2.31.2.56 2002/04/09 09:22:15 easysw Exp $".
dnl