depends -sub CXX gcc && if [[ "$CIMG_EXAMPLES" == "y" ]] then optional_depends xorg-libs \ "" \ "" \ "to enable the use of the X11 library" && optional_depends libxext \ "" \ "" \ "to enable fast image display, using the XSHM library" && optional_depends libxrandr \ "" \ "" \ "to enable screen mode switching, using the XRandr library" optional_depends fftw \ "" \ "" \ "to enable faster Discrete Fourier Transform computation, using the FFTW3 library" && optional_depends imagemagick \ "" \ "" \ "to enable native support of most classical image file formats, using the Magick++ library" && optional_depends JPEG \ "" \ "" \ "for JPEG support" && optional_depends libpng \ "" \ "" \ "for PNG support" && optional_depends tiff \ "" \ "" \ "for TIFF support" fi