fixed executable stack

http://bugs.gentoo.org/115038

--- gmp-4.1.4/configure
+++ gmp-4.1.4/configure
@@ -21689,6 +21689,13 @@
 fi
 echo "')" >> $gmp_configm4
 echo "define(\`__CONFIG_M4_INCLUDED__')" >> $gmp_configm4
+# Gentoo hack
+case $host_os in
+	*linux*)
+		echo '.section .note.GNU-stack,"",%progbits' >> $gmp_configm4
+		echo '.previous' >> $gmp_configm4
+		;;
+esac
 
 # Create Makefiles
 # FIXME: Upcoming version of autoconf/automake may not like broken lines.
