Jamie Jones wrote:
> | /bin/rm -f utf8.o
> | cc -c -I../.. -I.. -I/usr/local/include/glib12   -DCURDIR=src/lib -O utf8.c
> | utf8.c:40: iconv.h: No such file or directory

The missing iconv.h should have been detected by Configure. There doesn't
seem to be any check for the presence of iconv.h currently. Although there
is a check for libiconv and it should have failed.

> The GNU libconv iconv.h file is in /usr/local/include on both FreeBSD 4 & 5

On FreeBSD you probably want to add

        -Dccflags="-I/usr/local/include"
and
        -Dldflags="-L/usr/local/lib -R/usr/local/lib"

I'm not font of adding such system-dependent library and include paths
automagically if there's no portable way (e.g., glib-config) to detect
them. Maybe it helps Joe Average but it becomes an endless pain when
you want to compile against an alternate library in a different location.
The right place to add those headers would be the FreeBSD ports system.
IMHO, that is. OTOH, as long as there's a documented Configure switch to
turn auto-detection off, I wouldn't object.

-- 
Christian

Attachment: pgp3AFY5kC1u1.pgp
Description: PGP signature

Reply via email to