Compiling and Enabling GD in PHP 4.3
Subject:   avoiding long configuration line
Date:   2007-02-22 10:21:21
From:   webofunni
if we use --prefix=/home/user/gdlib in gd configuration and make the install to that dir we can avoid the long line in php configuration by

./configure --with-gd=/home/user/gdlib

it's worked for me hope it will work for you also