File 07_amd64_configure.patch of Package mpqc

## 07_amd64_configure.dpatch by Kurt Roeckx <Q@ping.be>
## DP: Only include <ams/fpu.h> on alpha machines
Index: mpqc-2.3.1/configure.in
===================================================================
--- mpqc-2.3.1.orig/configure.in
+++ mpqc-2.3.1/configure.in
@@ -725,6 +725,15 @@ changequote([, ])dnl
     fi
     AC_MSG_RESULT("i586 or i686")
   ;;
+  x86_64-*)
+    if test X$GCC != Xyes; then
+      COPTIONS_OPT="-O2"
+    fi
+    if test X$GXX = Xyes; then
+      CXXOPTIONS_OPT="-O2"
+    fi
+    AC_MSG_RESULT("x86_64")
+  ;;
   i860-intel-*)
     if test X$GCC != Xyes; then
       COPTIONS_OPT="-O3 -Knoieee"
Index: mpqc-2.3.1/configure
===================================================================
--- mpqc-2.3.1.orig/configure
+++ mpqc-2.3.1/configure
@@ -5184,6 +5184,16 @@ echo "${ECHO_T}\"mips*-sgi-irix\"" >&6
     echo "$as_me:$LINENO: result: \"i586 or i686\"" >&5
 echo "${ECHO_T}\"i586 or i686\"" >&6
   ;;
+  x86_64-*)
+    if test X$GCC != Xyes; then
+      COPTIONS_OPT="-O2"
+    fi
+    if test X$GXX = Xyes; then
+      CXXOPTIONS_OPT="-O2"
+    fi
+    echo "$as_me:$LINENO: result: \"x86_64\"" >&5
+echo "${ECHO_T}\"x86_64\"" >&6
+  ;;
   i860-intel-*)
     if test X$GCC != Xyes; then
       COPTIONS_OPT="-O3 -Knoieee"
openSUSE Build Service is sponsored by