INSTALL

You need to tell it where to find the libjpeg header and library via environment variables:

$ CPPFLAGS=-I$HOME/local/includes LDFLAGS=-L$HOME/local/lib \ lconfigure