Skip to content

Commit

Permalink
Add --with-links configure option.
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
michaelrsweet committed Sep 14, 2003
1 parent f6769ce commit aed1a91
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGES
@@ -1,5 +1,8 @@
CHANGES IN FLTK 1.1.5rc1

- Added "--with-links" configure option to control
whether symlinks are created for the FLTK header files
(STR #164)
- Added new hoverdelay() to Fl_Tooltip to control how
quickly recent tooltips appear (STR #126)
- FLUID now sets the size range when a window is shown.
Expand Down
19 changes: 15 additions & 4 deletions 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.105 2003/09/09 15:15:16 easysw Exp $"
dnl "$Id: configure.in,v 1.33.2.31.2.106 2003/09/14 14:28:22 easysw Exp $"
dnl
dnl Configuration script for the Fast Light Tool Kit (FLTK).
dnl
Expand Down Expand Up @@ -417,6 +417,8 @@ HLINKS=
POSTBUILD=:
THREADS=

AC_ARG_WITH(links, [ --with-links make header links for common misspellings])

case $uname in
CYGWIN* | MINGW*)
dnl Cygwin environment...
Expand Down Expand Up @@ -446,7 +448,9 @@ case $uname in
fi

# Don't make symlinks since Windows is not case sensitive.
HLINKS="#"
if test "x$with_links" != xyes; then
HLINKS="#"
fi
;;

Darwin*)
Expand All @@ -470,7 +474,9 @@ case $uname in
fi

# Don't make symlinks because HFS+ is not case sensitive...
HLINKS="#"
if test "x$with_links" != xyes; then
HLINKS="#"
fi

# Add a postbuild step after linking applications
POSTBUILD="/Developer/Tools/Rez -t APPL -o"
Expand Down Expand Up @@ -573,6 +579,11 @@ case $uname in
if test x$ac_cv_have_overlay = xyes; then
AC_DEFINE(HAVE_OVERLAY)
fi

# Make symlinks since UNIX/Linux is case sensitive.
if test "x$with_links" = xno; then
HLINKS="#"
fi
;;
esac

Expand Down Expand Up @@ -852,5 +863,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.105 2003/09/09 15:15:16 easysw Exp $".
dnl End of "$Id: configure.in,v 1.33.2.31.2.106 2003/09/14 14:28:22 easysw Exp $".
dnl

0 comments on commit aed1a91

Please sign in to comment.