projects
/
kopensolaris-gnu
/
glibc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4a62f1e5ae1a5aaa6be5ed0f261949023aebb574
[kopensolaris-gnu/glibc.git]
/
scripts
/
cpp
1
#! /bin/sh
2
cpp=`which cpp 2>/dev/null`
3
if test $? -ne 0; then
4
cpp=`type cpp 2>/dev/null | awk '{ print $NF }'`
5
if test $? -ne 0; then
6
cpp=`gcc -print-file-name=cpp 2>/dev/null`
7
if test $? -ne 0; then
8
if test -x /lib/cpp; then
9
cpp=/lib/cpp
10
else
11
echo "cpp not found" 1>&2
12
exit 1
13
fi
14
fi
15
fi
16
fi
17
18
exec $cpp $*
19
Local Variables:
20
mode: sh
21
End: