--- config.orig	2007-03-31 14:44:29.000000000 -0500
+++ config	2007-03-31 14:44:41.000000000 -0500
@@ -1,10 +1,15 @@
 # config file used for the Makefile only
 
-# define to 1 to use Altivec instructions
-USE_ALTIVEC ?= 0
-
-# define to 1 to use SSE2 instructions
-USE_SSE ?= 0
+export PROCESSOR = $(shell uname -p)
+ifeq ($(PROCESSOR), powerpc)
+    # define to 1 to use Altivec instructions
+    USE_ALTIVEC ?= 1
+    USE_SSE ?= 0
+else
+    # define to 1 to use SSE2 instructions
+    USE_ALTIVEC ?= 0
+    USE_SSE ?= 1
+endif
 
 # default flags
 CXXFLAGS ?= -O2
