case $THIS_SUB_DEPENDS in
  PDF) [[ -f "$INSTALL_ROOT/usr/include/cairo/cairo-pdf.h" ]];;
  XCB) is_depends_enabled $SPELL xcb-util;;
  PNG) is_depends_enabled $SPELL libpng;;
   PS) [[ -f "$INSTALL_ROOT/usr/include/cairo/cairo-ps.h" ]];;
  SVG) [[ -f "$INSTALL_ROOT/usr/include/cairo/cairo-svg.h" ]];;
    X) is_depends_enabled $SPELL libx11;;
    *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}"
       return 1;;
esac
