diff --git a/configure b/configure
index 01717ab9e36d092b8d37b1a115624b982c880a97..4f24b8f864e051f8b227209549723c97325b1078 100755
--- a/configure
+++ b/configure
@@ -1332,13 +1332,13 @@ EOF
     sparc)
         arch="sparc"
     ;;
-    sh4)
+    sh4|sh)
         arch="sh4"
     ;;
-    parisc)
+    parisc|hppa)
         arch="parisc"
     ;;
-    parisc64)
+    parisc64|hppa64)
         arch="parisc"
         enable fast_64bit
     ;;