The fltk-config script now handles invocation via a symlink (STR

#869)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4477 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2005-08-08 01:09:39 +00:00
parent 1eba6eb14b
commit 3b659149e6
2 changed files with 8 additions and 1 deletions

View File

@ -2,6 +2,8 @@ CHANGES IN FLTK 1.1.7
- Documentation fixes (STR #648, STR #692, STR #730, STR - Documentation fixes (STR #648, STR #692, STR #730, STR
#744, STR #745, STR #942, STR #931) #744, STR #745, STR #942, STR #931)
- The fltk-config script now handles invocation via a
symlink (STR #869)
- Updated WIN32 cut/paste code to consistently handle DOS - Updated WIN32 cut/paste code to consistently handle DOS
text (STR #961) text (STR #961)
- Added shared library support for Cygwin and MingW (STR - Added shared library support for Cygwin and MingW (STR

View File

@ -35,8 +35,13 @@ VERSION="$MAJOR_VERSION.$MINOR_VERSION.$PATCH_VERSION"
APIVERSION="$MAJOR_VERSION.$MINOR_VERSION" APIVERSION="$MAJOR_VERSION.$MINOR_VERSION"
### BEGIN fltk-config ### BEGIN fltk-config
symlink=`readlink $0`
if test -n "$symlink"; then
selfdir=`dirname $symlink`
else
selfdif=`dirname $0`
fi
selfdir=`dirname $0`
prefix=@prefix@ prefix=@prefix@
exec_prefix=@exec_prefix@ exec_prefix=@exec_prefix@
exec_prefix_set=no exec_prefix_set=no