I was going to submit this via bugzilla, but it didn't seem to be working for me today.
Problem:
messages.c fails to compile on systems lacking iconv.
Steps to reproduce:
- Install a FreeBSD (or, I presume, Linux) system with only the bare supporting libraries required for Citadel (no iconv).
- As of source available in svn today, obtain the latest webcit source.
- ./configure, making sure that iconv has not been defined.
- "make".
Expected result:
Webcit is built, but without support for iconv.
Actual result:
Webcit fails to build at line 663 of messages.c, complaining of an undefined reference to utf8ify_rfc822_string.
NOTE:
utf8ify_rfc822_string is only defined in HAVE_ICONV is defined. The line in question presumes HAVE_ICONV is always defined.
