Problems in configure.in re testing for iconv ...
rsharpe at richardsharpe.com
Tue Jul 1 22:19:25 GMT 2003
Here is what we do in configure.in:
LOOK_DIRS="/usr /usr/local /sw"
for i in $LOOK_DIRS ; do
dnl Try to find iconv(3)
if test -n "$ICONV_FOUND" ; then
export LDFLAGS LIBS CPPFLAGS
Now, test -n tests for a non-zero string, but "no" is a non-zero string,
so the loop will look no further than the first directory in LOOK_DIRS ...
If there is some agreement that this is wrong, I will submit a patch.
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org,
More information about the samba-technical