]> git.pld-linux.org Git - packages/gmp.git/blob - gmp-asmcpu.patch
- updated asmcpu patch is back (it wasn't obsolete!), --host doesn't work
[packages/gmp.git] / gmp-asmcpu.patch
1 --- gmp-4.0.1/configure.in.orig Fri Nov 30 23:36:49 2001
2 +++ gmp-4.0.1/configure.in      Mon Jan 28 20:37:05 2002
3 @@ -43,8 +43,11 @@
4  
5  AC_CANONICAL_HOST
6  tmp_host=`echo $host_cpu | sed 's/\./_/'`
7 +if test -z "$with_cpu" ; then
8 +    with_cpu = $tmp_host
9 +fi
10  AC_DEFINE_UNQUOTED(HAVE_HOST_CPU_$tmp_host)
11 -GMP_DEFINE_RAW("define_not_for_expansion(\`HAVE_HOST_CPU_$tmp_host')", POST)
12 +GMP_DEFINE_RAW("define_not_for_expansion(\`HAVE_HOST_CPU_$with_cpu')", POST)
13  
14  AM_INIT_AUTOMAKE(gmp, GMP_VERSION)
15  AM_CONFIG_HEADER(config.h:config.in)
16 @@ -777,17 +780,17 @@
17          ;;
18      esac
19  
20 -    case $host in
21 -      i486*-*-*)                  path="x86/i486 x86" ;;
22 -      i586*-*-* | pentium-*-*)    path="x86/pentium x86" ;;
23 -      pentiummmx-*-*)             path="x86/pentium/mmx x86/pentium x86" ;;
24 -      i686*-*-* | pentiumpro-*-*) path="x86/p6 x86" ;;
25 -      pentium2-*-*)   path="x86/p6/mmx x86/p6 x86" ;;
26 -      pentium3-*-*)   path="x86/p6/p3mmx x86/p6/mmx x86/p6 x86";;
27 -      [k6[23]*-*-*])  path="x86/k6/k62mmx x86/k6/mmx x86/k6 x86" ;;
28 -      k6*-*-*)        path="x86/k6/mmx x86/k6 x86" ;;
29 -      athlon-*-*)     path="x86/k7/mmx x86/k7 x86" ;;
30 -      pentium4-*-*)   path="x86/pentium4/sse2 x86/pentium4/mmx x86/pentium4 x86" ;;
31 +    case $with_cpu in
32 +      i486*)                  path="x86/i486 x86" ;;
33 +      i586* | pentium*)    path="x86/pentium x86" ;;
34 +      pentiummmx*)             path="x86/pentium/mmx x86/pentium x86" ;;
35 +      i686* | pentiumpro*) path="x86/p6 x86" ;;
36 +      pentium2*)   path="x86/p6/mmx x86/p6 x86" ;;
37 +      pentium3*)   path="x86/p6/p3mmx x86/p6/mmx x86/p6 x86";;
38 +      [k6[23]*])  path="x86/k6/k62mmx x86/k6/mmx x86/k6 x86" ;;
39 +      k6*)        path="x86/k6/mmx x86/k6 x86" ;;
40 +      athlon*)     path="x86/k7/mmx x86/k7 x86" ;;
41 +      pentium4*)   path="x86/pentium4/sse2 x86/pentium4/mmx x86/pentium4 x86" ;;
42      esac
43      ;;
44  
This page took 0.063259 seconds and 3 git commands to generate.