mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 23:42:15 +08:00
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:
+1
-6
@@ -35,12 +35,7 @@ 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`
|
selfdir=`dirname $0`
|
||||||
if test -n "$symlink"; then
|
|
||||||
selfdir=`dirname $symlink`
|
|
||||||
else
|
|
||||||
selfdir=`dirname $0`
|
|
||||||
fi
|
|
||||||
|
|
||||||
prefix=@prefix@
|
prefix=@prefix@
|
||||||
exec_prefix=@exec_prefix@
|
exec_prefix=@exec_prefix@
|
||||||
|
|||||||
Reference in New Issue
Block a user