diff --git a/configure b/configure
index 9e91e3e0349239365fabdd535955dc8c8c848f41..07599b03f24dbf8faccb3dbae8d96a87a8ced85a 100755
--- a/configure
+++ b/configure
@@ -35,6 +35,10 @@ case "$cpu" in
     cpu="armv4l"
     mmx="no"
   ;;
+  alpha)
+    cpu="alpha"
+    mmx="no"
+  ;;
   *)
     mmx="no"
   ;;
@@ -146,6 +150,10 @@ if [ "$cpu" = "armv4l" ]; then
   echo "TARGET_ARCH_ARMV4L=yes" >> config.mak
   echo "#define ARCH_ARMV4L 1" >> config.h
 fi
+if [ "$cpu" = "alpha" ]; then
+  echo "TARGET_ARCH_ALPHA=yes" >> config.mak
+  echo "#define ARCH_ALPHA 1" >> config.h
+fi
 if [ "$mmx" = "yes" ] ; then
   echo "TARGET_MMX=yes" >> config.mak
   echo "#define HAVE_MMX 1" >> config.h