Return to cpp.sh CVS log | Up to [local] / src / usr.bin / cpp |
version 1.2, 1996/06/26 05:32:24 | version 1.3, 1998/02/18 15:16:48 | ||
---|---|---|---|
|
|
||
CPP=/usr/libexec/cpp | CPP=/usr/libexec/cpp | ||
if [ ! -x $CPP ]; then | if [ ! -x $CPP ]; then | ||
CPP=`cc -print-libgcc-file-name | sed -e 's/libgcc\.a/cpp/'`; | CPP=`cc -print-search-dirs | sed -ne '/^install: /s/install: \(.*\)/\1cpp/p'`; | ||
if [ ! -x $CPP ]; then | |||
echo "$0: installation problem: $CPP not found/executable" >&2 | |||
exit 1 | |||
fi | |||
fi | fi | ||
while [ $# -gt 0 ] | while [ $# -gt 0 ] |