config_query PY2K "Use Python 2 as primary version on the system?" y &&

config_query_option PYTHON_OPTS \
                    "Enable IPv6?" y \
                    "--enable-ipv6" \
                    "--disable-ipv6" &&

config_query_option PYTHON_OPTS \
                    "Enable signal module?" y \
                    "--with-signal-module" \
                    "--without-signal-module" &&

config_query_option PYTHON_OPTS \
                    "Enable threads support?" y \
                    "--with-threads" \
                    "--without-threads" &&

if list_find "$PYTHON_OPTS" "--with-threads"; then
  config_query_option PYTHON_OPTS \
                      "Enable POSIX threads (pthreads) support?" n \
                      "--with-pth" \
                      "--without-pth"
fi
