#! /bin/sh
# @(#)arch	1.3	4/14/93
# shell script to figure out architecture, using C preprocessor
# works on the architectures we support.
/lib/cpp << EOF | grep '^X' | sed s/X//
#ifdef sun
#ifdef sparc
Xsun4
#else
Xsun3
#endif
#endif
#ifdef vax
Xvax
#endif
#ifdef mips
Xmips
#endif
#ifdef hppa
Xhppa
#endif
EOF
