[GRASS5] [bug #983] (grass) configure does not recognize libiconv

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

Subject: configure does not recognize libiconv

Platform: netbsd/i386 v1.5
Xwindows version: Xfree 4.0.x
Xwindows manager: WindowMaker
TclTk version: tcl/tk 8.3
grass downloaded at: Baylor site
grass binary for platform: I compiled the sources myself
grass sources source: no, I got a source code package from the server
c compiler name: gcc

The new configure script for GRASS 5.0.0pre3 fails at the iconv() function.
Previous versions of GRASS worked. I am running libiconv version 1.7.

Output from configure.....

...checking for atan... no
checking for atan in -lm... yes
checking for dlsym... yes
checking for iconv... no
checking for iconv in -lgiconv... no
configure: warning: *** Unable to locate iconv() function.
checking for location of zlib includes...
checking for zlib.h... yes
.....

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

Request Tracker wrote:

Subject: configure does not recognize libiconv

The new configure script for GRASS 5.0.0pre3 fails at the iconv() function.
Previous versions of GRASS worked.

This version of GRASS will also work.

The only adverse side-effect of failing to detect iconv() is that
d.text.freetype won't compile (note: d.text.freetype isn't built
unless you explicitly specify --with-freetype).

I will add a check for iconv() with "-liconv".

--
Glynn Clements <glynn.clements@virgin.net>