Obviously not too many sparc users out there. That should probably be
changed to a -o instead of two tests.
dartmouth] Solaris 569 $ pwd
/export/home/kde/KBE/Dude/FFTW/3.1.2/Solaris
dartmouth] Solaris 570 $ svn diff
Index: configure.sh
===================================================================
--- configure.sh (revision 1770)
+++ configure.sh (working copy)
@@ -1,5 +1,17 @@
#!/bin/sh
+sse2="--enable-sse2"
+
+arch=`isainfo -k | awk '{print $1}'`
+
+if [ "x$arch" = "xsparc" ]; then
+ sse2=""
+fi
+
+if [ "x$arch" = "xsparcv9" ]; then
+ sse2=""
+fi
+
./configure --prefix=$PREFIX \
--bindir=${_bindir} \
--datadir=${_datadir} \
@@ -12,5 +24,5 @@
--sysconfdir=${_sysconfdir} \
--enable-shared --disable-static --with-pic --disable-libtool-lock
\
--disable-warnings --disable-debug --disable-dependency-tracking \
- --enable-sse2 --enable-threads --with-combined-threads
+ ${sse2} --enable-threads --with-combined-threads
dartmouth] Solaris 571 $
-- Dave