diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-04-09 09:22:15 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-04-09 09:22:15 +0000 |
| commit | d7b371bfe6f12af4890668d51d8699a2818e17f0 (patch) | |
| tree | 4b3db5f0d58034f7b90a15dbb181559016218756 | |
| parent | 84950c0af7f9cce03c0afd9895d139f379fa30c9 (diff) | |
Move -mwindows and -DWIN32 back to C*FLAGS and LDFLAGS for Cygwin builds.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2058 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | CHANGES | 3 | ||||
| -rw-r--r-- | configure.in | 9 |
2 files changed, 9 insertions, 3 deletions
@@ -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 |
