3 sigcontextpath
=/usr
/include
/bits
/sigcontext.h
4 if [ ! -f $sigcontextpath ] ; then
5 sigcontextpath
=/usr
/include
/${CPU}-linux-gnu/bits
/sigcontext.h
6 if [ ! -f $sigcontextpath ] ; then
7 echo "Could not find bits/sigcontext.h"
12 type=`${CC} -D_SIGNAL_H -E ${sigcontextpath} | grep "^struct sigcontext" | sed 's/{//'`
13 handler
=__sighandler_t
15 sed "s/@sigcontext@/$type/;s/@sighandler@/$handler/" ${1-.}/sigcore.h.${CPU}.src > ${2}