bhyve-fw: drop CSM
[oi-userland.git] / components / library / libvisual / patches / 03-amd64.patch
blobd66104dd8b0d06785e01f97429949e58a3e1b44c
1 --- libvisual-0.4.2/configure.ac.orig
2 +++ libvisual-0.4.2/configure.ac
3 @@ -37,7 +37,24 @@
4 mips) lv_mips=yes;;
5 alpha) lv_alpha=yes;;
6 sparc) lv_sparc=yes;;
7 - i*86) lv_ix86=yes;;
8 + i*86)
9 + case $host_os in
10 + solaris*)
11 + AC_CHECK_DECL([__i386], [I386_ABI="yes"], [I386_ABI="no"])
12 + AC_CHECK_DECL([__amd64], [AMD64_ABI="yes"], [AMD64_ABI="no"])
14 + if test "x$I386_ABI" = "xyes" ; then
15 + lv_ix86=yes
16 + fi
17 + if test "x$AMD64_ABI" = "xyes" ; then
18 + lv_x86_64=yes
19 + fi
20 + ;;
21 + *)
22 + lv_ix86=yes
23 + ;;
24 + esac
25 + ;;
26 x86_64*) lv_x86_64=yes;;
27 powerpc|ppc) lv_powerpc=yes;;
28 *) lv_arch_unknown=yes;;