LibGD is a graphics library (that is, a library which's target is graphic creation and manipulation).
It is used by aMule allthough it is not required. When compiling aMule, configure will search for LibGD. If it finds it, it will use it and compile normally. If it doesn't find it, two features will be disabled: