FindGIF
: This module defines GIF_LIBRARIES - libraries to link to in order to use GIF GIF_FOUND, if false, do not try to link GIF_INCLUDE_DIR, where to find the headers
$GIF_DIR is an environment variable that would correspond to the ./configure --prefix=$GIF_DIR