case $THIS_SUB_DEPENDS in
  CAIRO_DEVEL) echo "Devel release needed, forcing it."  &&
       CAIRO_DEVEL="y"                          ;;
  PDF) return 0;;
  XCB) message "Cairo with XCB support requested, forcing xcb-util dependency" &&
       depends xcb-util "--enable-xcb";;
  PNG) message "Cairo with PNG support requested, forcing libpng dependency" &&
       depends libpng "--enable-png --enable-svg";;
   PS) return 0;;
  SVG) message "Cairo with SVG support requested, forcing libpng dependency" &&
       depends libpng "--enable-png --enable-svg";;
    X) message "Cairo with Xlib support requested, forcing libx11 dependency" &&
       depends libx11 "--enable-xlib";;
    *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}"
       return 1;;
esac
