+ # Even worse than binutils: GCC does not come with configure
+ # script anymore, but also enforces an obsolete autoconf version
+ # to create it. This is a poster child of how autotools help make
+ # software portable.
+ cd gcc-${GCC_VERSION}
+ sed '/dnl Ensure exactly this Autoconf version is used/d' \
+ config/override.m4 > config/override.m4.new
+ autoconf_version=`autoconf -V | grep "autoconf" | tr ' ' '\n' | tail -1`
+ sed "s/${GCC_AUTOCONF_VERSION}/${autoconf_version}/g" \
+ config/override.m4.new > config/override.m4
+ autoconf
+ cd ..
+ # Now, finally, we can build gcc: