sym2num: add path to cpp on OpenBSD.

This commit is contained in:
Pascal Stumpf
2012-08-12 21:27:19 +02:00
committed by Jon Trulson
parent a1cbcd24db
commit 72c954e5b3

View File

@@ -58,6 +58,9 @@ awk '/^\$set/ { SET_NAME=$2; SET_COUNT++; MES_COUNT=0;
if [[ -f /usr/ccs/lib/cpp ]] #IBM & SUN
then
cpp_path=/usr/ccs/lib
elif [[ -f /usr/libexec/cpp ]] #BSD
then
cpp_path=/usr/libexec
elif [[ -f /lib/cpp ]] #HP
then
cpp_path=/lib