. $SECTION_DIRECTORY/FUNCTIONS &&
default_configure_gcc &&

# only the system compiler is bootstrapped and only its flags are the
# ones the rest of the system is built with; a slot beside it takes
# the defaults for all three
if [[ $SLOT == 0 ]]; then
  config_query_list GCC_TARGET "Select what build to use" \
                                all \
                                bootstrap \
                                bootstrap-lean \
                                profiledbootstrap \
                                profiledbootstrap-lean    &&

  config_query GCC_NO_MARCH \
               "Make a generic/portable build (useful for distcc/icecream)?" n &&

  config_query_option GCC_OPTS \
                      "Build C/C++ transactional memory support (libitm)?" n \
                      --enable-libitm \
                      --disable-libitm
fi &&

config_query GCC_CLOOG "Use cloog loop vectorizer?" y
