barnowl_perlaimdebianowlrelease-1.10release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
|
Last change
on this file since 6e9e50e was
d09e5a1,
checked in by James M. Kretchmar <kretch@mit.edu>, 22 years ago
|
|
Added libfaim
Added basic AIM support, including the "aimlogin", "aimwrite" and
"aimlogout" commands
|
-
Property mode set to
100755
|
|
File size:
637 bytes
|
| Rev | Line | |
|---|
| [601a9e0] | 1 | #!/bin/sh |
|---|
| 2 | # $Id$ |
|---|
| 3 | |
|---|
| 4 | # Usage: athstatic progname options ... |
|---|
| 5 | |
|---|
| 6 | # Replaces -lfoo options with /usr/athena/lib/libfoo.a if it exists, |
|---|
| 7 | # thus preferring static libraries to shared libraries for stuff in |
|---|
| 8 | # /usr/athena/lib. |
|---|
| 9 | |
|---|
| 10 | progname=$1 |
|---|
| 11 | shift |
|---|
| 12 | |
|---|
| 13 | options= |
|---|
| 14 | for arg do |
|---|
| 15 | case $arg in |
|---|
| 16 | -l*) |
|---|
| 17 | # Chop off the first two characters to get the library name. |
|---|
| 18 | lib=`expr "$arg" : '..\(.*\)$'` |
|---|
| 19 | if [ -f /usr/athena/lib/lib${lib}.a ]; then |
|---|
| 20 | options="$options /usr/athena/lib/lib${lib}.a" |
|---|
| 21 | else |
|---|
| 22 | options="$options $arg" |
|---|
| 23 | fi |
|---|
| 24 | ;; |
|---|
| 25 | *) |
|---|
| 26 | options="$options $arg" |
|---|
| 27 | ;; |
|---|
| 28 | esac |
|---|
| 29 | done |
|---|
| 30 | |
|---|
| [d09e5a1] | 31 | echo "$progname" $options |
|---|
| [601a9e0] | 32 | exec "$progname" $options |
|---|
Note: See
TracBrowser
for help on using the repository browser.