Re: r2017 breaks build on !linux

Tobias Oetiker <[email protected]>
Newsgroups gmane.comp.db.rrdtool.devel
Message-ID <[email protected]>
Hi Kevin,

Today kevin brintnall wrote:

> Tobi,
>
> r2107 uses _NL_TIME_FIRST_WEEKDAY to determine the first weekday.
>
> As far as I can tell, this macro exists only on Linux systems.  FreeBSD
> and Solaris have no such macro.
>
> #ifdef(HAVE_NL_LANGINFO) is insufficient, since both of those systems do
> have a <langinfo.h>.

ok i'll make the configure test more robust.

do you know how to determine this info on freebsd/solaris ?

cheers
tobi

>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.