--- Begin Message ---
Subject: |
Re: AM_ICONV check fails with some shells |
Date: |
Wed, 2 Jul 2008 01:06:54 +0900 |
Dear Sir,
> > What is the shell that you are using (& version number)?
>
> Apparently FreeBSD 7.0R or 6.3R without bash? Coud you answer Yasushi?
I use fdsh 3.00a as a login shell. fdsh can be installed by the
package name "fdclone" on Debian GNU/Linux or Ubuntu Linux.
Unfortunately, the top page of this program is only written in
Japanese. Some documents are available in English
http://hp.vector.co.jp/authors/VA012337/soft/fd/fd_e.txt
http://hp.vector.co.jp/authors/VA012337/soft/fd/README.eng.txt
http://hp.vector.co.jp/authors/VA012337/soft/fd/FAQ.eng.txt
http://hp.vector.co.jp/authors/VA012337/soft/fd/Install.eng.txt
Source code of the program can be downloaded from the below host.
ftp://ftp.unixusers.net/src/fdclone/
I send you an email because the author of fdsh teach me what happened
when I tried to compile dovecot 1.1.1 under above-mentioned
environment. He explained:
1. Syntax error
--
checking how to link with libiconv... /usr/local/lib/libiconv.so
-Wl,-rpath -Wl,/usr/local/lib
checking for iconv declaration... ./configure: "$as_me:$LINENO: result:
${ac_t:- }
$am_cv_proto_iconv": bad substitution
--
occurred because there is a line feed between the line 21808 and 21810
in configure script. "Ash" and "fdsh" treat these lines as a "syntax
error". This error can be avoided by making the three lines into one.
2. "=="
Builtin test command of bash use "==" and "=" is prepated for the
compatibility of POSIX. However "==" is a slang of bash. Bourne shell
and some other bsh compatible shells use "=" instead of "==".
# I checked man pages of "test" and "bash".
Anyway, I do not would not like you to bother you and the author of
fdclone. If my email was troublesome, please throw it away and forget
it.
With best regard,
--
Yasushi Imao
mailto: address@hidden
--- End Message ---