Package: emacs Version: 24.3.50 The configure script fails to recognize the gif_lib.h header file for gif 5.0 and so prints an error that git support can not be found. The gif_lib.h header file has been reorganized for gif 5.0. There is no longer a EGifPutExtensionLast function. However there is a new GifMakeMapObject I used in my patch. A better way would probably be to look at the new GIFLIB_MAJOR define now in gif_lib.h. I have included a patch, but I do not have many OS/platforms that I can check. I am far from understanding autoconfig, but my attempt at a fix (git patch) is included below: