]> git.pld-linux.org Git - packages/mythtv.git/blame - mythtv-x86_64-configure.patch
- get it going on amd64
[packages/mythtv.git] / mythtv-x86_64-configure.patch
CommitLineData
5249cc7d
ER
1based from gentoo
2http://bugs.gentoo.org/show_bug.cgi?id=94664
3
4--- ./configure.orig 2005-05-05 08:15:43.000000000 +0100
5+++ ./configure 2005-05-31 23:32:26.000000000 +0100
6@@ -9,6 +9,7 @@
7 x86_cpus="i386,i486,i586,i686,pentium,pentiumpro,${x86_mmx_cpus}"
8 x86_cmov_cpus="i686,pentiumpro,pentium2,pentium3,pentium3m,pentium-m,pentium4,"
9 x86_cmov_cpus="pentium4m,prescott,athlon,athlon-xp,c3-2"
10+x86_64_cpus="x86-64,athlon64,k8,opteron,athlon-fx"
11
12 # default parameters
13 compile_type="release"
14@@ -223,6 +224,14 @@
15 cpu="x86"
16 fi
17
18+is_x86_64_cpu() {
19+ expr ",${x86_64_cpus}," : ".*,$1," > /dev/null
20+}
21+
22+if is_x86_64_cpu "$cpu" ; then
23+ cpu="x86_64"
24+fi
25+
26 case "$cpu" in
27 x86)
28 ;;
This page took 0.074992 seconds and 4 git commands to generate.