mirror of https://github.com/fltk/fltk
Don't use readlink, it is non-standard.
Sorry, no symlink support for fltk-config, you'll need to use wrapper scripts. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4689 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
bed8043ef2
commit
6936751308
|
@ -35,12 +35,7 @@ VERSION="$MAJOR_VERSION.$MINOR_VERSION.$PATCH_VERSION"
|
|||
APIVERSION="$MAJOR_VERSION.$MINOR_VERSION"
|
||||
|
||||
### BEGIN fltk-config
|
||||
symlink=`readlink $0`
|
||||
if test -n "$symlink"; then
|
||||
selfdir=`dirname $symlink`
|
||||
else
|
||||
selfdir=`dirname $0`
|
||||
fi
|
||||
selfdir=`dirname $0`
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
|
|
Loading…
Reference in New Issue