summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2003-09-14 14:28:22 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2003-09-14 14:28:22 +0000
commitaed1a916133b46285e4bad4116ddaa50a93a367b (patch)
tree1e663dbc7265b4c897803d91c9b0156d6c2414a9
parentf6769cebc6734ac38b4732da4997751f6d4cc94c (diff)
Add --with-links configure option.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--CHANGES3
-rw-r--r--configure.in19
2 files changed, 18 insertions, 4 deletions
diff --git a/CHANGES b/CHANGES
index aa2524122..f965db9eb 100644
--- a/CHANGES
+++ b/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.
diff --git a/configure.in b/configure.in
index 17d469d66..7e51d4862 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.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
@@ -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...
@@ -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*)
@@ -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"
@@ -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
@@ -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