From 47b348850af4575a41bb15cce2d51ecad9dc5cac Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 13 Apr 2009 17:30:19 +0000 Subject: Fixed make install for Windows/Cygwin with --enable-x11 (no symlinks) (STR #2183). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6761 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- CHANGES | 4 ++-- configure.in | 10 +++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 40bc24385..432651b09 100644 --- a/CHANGES +++ b/CHANGES @@ -20,8 +20,8 @@ CHANGES IN FLTK 1.3.0 anymore before drawing itself and its children. - All draw() methods of widgets are now protected (STR #2142). - The new configure option --enable-x11 (lowercase 'x') enables - cygwin builds under Windows (with --enable-cygwin) to use X11 - instead of GDI drawing (STR #2147) and is ignored otherwise. + Cygwin builds under Windows (with --enable-cygwin) to use X11 + instead of GDI drawing (STR #2147, #2183) and is ignored otherwise. - Added Fl_Scroll::bbox() documentation (STR #1893) - Removed an XForms compatibility "feature" that prevented the down array of Fl_Menu_Button from drawing (STR #2141). diff --git a/configure.in b/configure.in index c3360aeff..2da2818e6 100644 --- a/configure.in +++ b/configure.in @@ -944,7 +944,15 @@ case $uname_GUI in AC_DEFINE(HAVE_OVERLAY) fi - # Make symlinks since UNIX/Linux is case sensitive. + # Make symlinks since UNIX/Linux is case sensitive, + # but cygwin in general not. + case $uname in + CYGWIN*) + HLINKS="#" + ;; + *) + ;; + esac if test "x$with_links" = xno; then HLINKS="#" fi -- cgit v1.2.3