| 6 |
# ANY KIND, either express or implied. See the file COPYRIGHT for |
# ANY KIND, either express or implied. See the file COPYRIGHT for |
| 7 |
# details. |
# details. |
| 8 |
|
|
| 9 |
# $Id: Install,v 1.24 2002/12/14 20:20:03 weaselp Exp $ |
# $Id: Install,v 1.25 2002/12/14 20:45:48 weaselp Exp $ |
| 10 |
|
|
| 11 |
#whereis program default-path |
#whereis program default-path |
| 12 |
whereis() |
whereis() |
| 154 |
if [ "$type" = system ] |
if [ "$type" = system ] |
| 155 |
then |
then |
| 156 |
LIB= |
LIB= |
| 157 |
LDFLAG=-l`echo $lib | sed 's/^lib//;s/\.a$//'` |
LDFLAG="-l`echo $lib | sed 's/^lib//;s/\.a$//'` -L$found" |
| 158 |
|
if [ "$found" = "/usr/local/lib" ] |
| 159 |
|
then |
| 160 |
|
INCDIR="/usr/local/include $INCDIR" |
| 161 |
|
fi |
| 162 |
fi |
fi |
| 163 |
|
|
| 164 |
incdir=$INCDIR |
incdir=$INCDIR |