Import upstream fixes that remove the need for GNU m4.
Stop disabling the assembly code on powerpc64. The original problem
has been fixed in 3.8. Alas, the optimized assembly code will not
be used at runtime since we lack an API to query instruction set
extensions on powerpc64.
ok ajacoutot@