To make a point :
export CFLAGS=-static export LDFLAGS=-static export CPPFLAGS=-static export CFLAGS_APPEND=-static export LDFLAGS_APPEND=-static export CPPFLAGS_APPEND=-static ./configure && make
How to compile statically linux binary
To make a point :
export CFLAGS=-static export LDFLAGS=-static export CPPFLAGS=-static export CFLAGS_APPEND=-static export LDFLAGS_APPEND=-static export CPPFLAGS_APPEND=-static ./configure && make