[GRASS5] [bug #2723] (grass) configure error with freetype option

this bug's URL: http://intevation.de/rt/webrt?serial_num=2723
-------------------------------------------------------------------------

Subject: configure error with freetype option

Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 5.7.0

CFLAGS="-g -Wall" ./configure --enable-shared --with-blas --with-lapack --with-freetype=/usr/lib --with-gdal=/usr/local/bin

checking for location of LAPACK library...
checking for dgesv_ in -llapack... yes
checking whether to use Motif... no
checking whether to use GLw... no
checking whether to use FreeType... /usr/lib
configure: error: *** You must answer yes or no.

-------------------------------------------- Managed by Request Tracker

Subject: configure error with freetype option

..

CFLAGS="-g -Wall" ./configure --enable-shared --with-blas
--with-lapack --with-freetype=/usr/lib --with-gdal=/usr/local/bin

checking for location of LAPACK library...
checking for dgesv_ in -llapack... yes
checking whether to use Motif... no
checking whether to use GLw... no
checking whether to use FreeType... /usr/lib
configure: error: *** You must answer yes or no.

You are using --with-freetype wrong. It is a true/false option and you
have given it a directory name. Try just:

--with-freetype

or with
--with-freetype-includes=/usr/include/freetype2
--with-freetype-libs= ...

same with --with-gdal.

see './configure --help | less' for help.

Hamish