From bb9fed57e3fd5ff3aa0599a9e42dba0d9a4531c0 Mon Sep 17 00:00:00 2001 From: Jean-Pierre Flori Date: Thu, 1 Aug 2013 19:01:03 +0200 Subject: [PATCH] Fix for PIC code on Darwin. Originally fixed at http://trac.sagemath.org/ticket/13137 --- configure.ac | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index 3575b6f2..6359d5d3 100644 --- a/configure.ac +++ b/configure.ac @@ -1131,12 +1131,10 @@ case $host in # 32bit apple darwin doesn't like our PIC format asm code case $host in - core2-apple-darwin* | penryn-apple-darwin*) path="x86/applenopic/core2 x86/applenopic" ;; - prescott-apple-darwin* | pentium4-apple-darwin*) path="x86/applenopic" ;; - pentium3-apple-darwin* | pentium2-apple-darwin*) path="x86/applenopic" ;; - i686-apple-darwin* | pentiumpro-apple-darwin*) path="x86/applenopic" ;; - core-apple-darwin*) path="x86/applenopic" ;; - *) ;; + i[34567]86-apple-darwin* | pentium*-apple-darwin* | prescott-apple-darwin* | core-apple-darwin* ) path="x86/applenopic" ;; + # assume Core2 or later + *-apple-darwin* ) path="x86/applenopic/core2 x86/applenopic" ;; + *) ;; esac # If the user asked for a fat build, override the path set above