#!/bin/sh

MACHINE=$(uname -m)

rm -f config.h

echo "checking for MMX instruction set"
if test "$MACHINE" = "i686" \
     -o "$MACHINE" = "i786"; then
  echo "result: yes"
  echo "#define HAVE_X86_MMX 1" >> config.h
else
  echo "result: no"
  echo "#define HAVE_X86_MMX 0" >> config.h
fi
