Hi Ludo, > The ‘iconv’ modules fails to build on NetBSD 5.1 (see gcc70 of the GCC > Compile Farm):
Can you show the gnulib-tool invocations that you used when builting the tarball of your package? In particular, which of the modules 'iconv', 'iconv-h', 'iconv_open' are used, and which --avoid options are used? > The problem is: > > --8<---------------cut here---------------start------------->8--- > $ grep ICONV_CONST config.status > S["ICONV_CONST"]="" > D["ICONV_CONST"]=" const" > --8<---------------cut here---------------end--------------->8--- This shouldn't be. > Indeed: > > --8<---------------cut here---------------start------------->8--- > $ grep ICONV_CONST= configure > ICONV_CONST=; > --8<---------------cut here---------------end--------------->8--- This shouldn't be either. Can you 'grep serial aclocal.m4' ? > So it seems that this snippet doesn’t get expanded: > > --8<---------------cut here---------------start------------->8--- > m4_ifdef([gl_ICONV_H_DEFAULTS], > [AC_REQUIRE([gl_ICONV_H_DEFAULTS]) > if test -n "$am_cv_proto_iconv_arg1"; then > ICONV_CONST="const" > fi > ]) > --8<---------------cut here---------------end--------------->8--- ... or maybe you are using a version of iconv.m4 that doesn't contain this snippet...? Bruno -- In memoriam Jan Hus <http://en.wikipedia.org/wiki/Jan_Hus>