bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ‘iconv’ fails to build on NetBSD 5.1


From: Bruno Haible
Subject: Re: ‘iconv’ fails to build on NetBSD 5.1
Date: Wed, 6 Jul 2011 18:46:14 +0200
User-agent: KMail/1.9.9

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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]