summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-12-07 20:13:12 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-12-07 20:13:12 +0000
commit693675130871448088e2375de092690a7b12775e (patch)
tree6da2561ae673184964bec73f7adc267dcdfb5d0f
parentbed8043ef2ae6f8fe461ce85c5ce4c12cc354f6e (diff)
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
-rwxr-xr-xfltk-config.in7
1 files changed, 1 insertions, 6 deletions
diff --git a/fltk-config.in b/fltk-config.in
index e4d68bd83..d7dceea7e 100755
--- a/fltk-config.in
+++ b/fltk-config.in
@@ -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@