Package: libgd-dev

"libgd-dev" package binaries on Debian:

/usr/bin/gdlib-config

You may install this package on Debian with apt-get install libgd-dev