build: Enable x86 assembler on Hurd.
authorAndreas Boll <andreas.boll.dev@gmail.com>
Sat, 16 Mar 2013 12:50:19 +0000 (13:50 +0100)
committerAndreas Boll <andreas.boll.dev@gmail.com>
Tue, 19 Mar 2013 17:12:38 +0000 (18:12 +0100)
Taken from downstream:
http://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/mesa.git;a=blob;f=debian/patches/10-hurd-configure-tweaks.diff;h=984e17df1b8afdf8e4b36bee96aa5ab6a5691021;hb=refs/heads/ubuntu%2B1

Thanks to Pino Toscano.

v2: Don't bother with x86_64. AFAICT GNU/Hurd doesn't support it so far.

NOTE: This is a candidate for stable branches.

Acked-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
Acked-by: Matt Turner <mattst88@gmail.com>
configure.ac

index 4b5b04576f86048228ad71ca7b6bdd08c46029d5..81d4a3f3ea3b6b30115c6573a79c2e7fdd4d394e 100644 (file)
@@ -452,6 +452,9 @@ if test "x$enable_asm" = xyes; then
         linux* | *freebsd* | dragonfly* | *netbsd*)
             test "x$enable_64bit" = xyes && asm_arch=x86_64 || asm_arch=x86
             ;;
+        gnu*)
+            asm_arch=x86
+            ;;
         esac
         ;;
     x86_64)