Compiling with --disable-iconv

Rob Bosch
2008-02-03T23:07:12Z

I've been trying to compile 3.0.0pre8 under cygwin.  I was getting a problem
with the iconv functions which I think are related to the cygwin environment and
its iconv.h.

To bypass it I wanted to compile with the --disable-iconv function.  I'm
still getting the following errors during compile:

/usr/src/rsync-3.0.0pre8/rsync.c:85: undefined reference to
`_iconv_open'rsync.o: In function
`iconvbufs':/usr/src/rsync-3.0.0pre8/rsync.c:193: undefined reference to
`_iconv'/usr/src/rsync-3.0.0pre8/rsync.c:163: undefined reference to
`_iconv'collect2: ld returned 1 exit statusmake: *** [rsync.exe] Error 1

It looks like the line 85 and 163 are not conditionalized for the
--disable-iconv option.  I'm not sure why line 193 is showing the error.

Any suggestions?  Am I missing something (as usual)?Rob