Re: [PATCH] physmem: use sysinfo on linux for physmem_total

2014-04-16 Thread Pádraig Brady
On 04/15/2014 03:49 PM, Pádraig Brady wrote: > On 04/15/2014 03:43 PM, Natanael Copa wrote: >> * lib/physmem.c (physmem_total): Some systems like musl libc does not >> (yet) support _SC_PHYS_PAGES. Use the linux syscall sysinfo first and >> fallback to sysconf with _SC_PHYS_PAGES and _SC_PAGESIZE.

Re: How to force using a module in Gnulib? (expl() on OpenBSD)

2014-04-16 Thread Pádraig Brady
On 04/16/2014 09:25 PM, Assaf Gordon wrote: > On 04/16/2014 03:31 PM, Pádraig Brady wrote: >> On 04/16/2014 06:33 PM, Paul Eggert wrote: >>> Pádraig Brady wrote: + [case $host_os in +mingw*) gl_cv_func_expl_buggy="guessing no";; +*) gl_cv_f

Re: How to force using a module in Gnulib? (expl() on OpenBSD)

2014-04-16 Thread Assaf Gordon
On 04/16/2014 03:31 PM, Pádraig Brady wrote: On 04/16/2014 06:33 PM, Paul Eggert wrote: Pádraig Brady wrote: + [case $host_os in +mingw*) gl_cv_func_expl_buggy="guessing no";; +*) gl_cv_func_expl_buggy="guessing yes";; + esac]) Sorry, w

Re: How to force using a module in Gnulib? (expl() on OpenBSD)

2014-04-16 Thread Pádraig Brady
On 04/16/2014 06:33 PM, Paul Eggert wrote: > Pádraig Brady wrote: >> + [case $host_os in >> +mingw*) gl_cv_func_expl_buggy="guessing no";; >> +*) gl_cv_func_expl_buggy="guessing yes";; >> + esac]) > > Sorry, what does this have to do with mi

Re: How to force using a module in Gnulib? (expl() on OpenBSD)

2014-04-16 Thread Paul Eggert
Pádraig Brady wrote: + [case $host_os in +mingw*) gl_cv_func_expl_buggy="guessing no";; +*) gl_cv_func_expl_buggy="guessing yes";; + esac]) Sorry, what does this have to do with mingw? Why would we guess yes for (say) glibc? Instead,

Re: How to force using a module in Gnulib? (expl() on OpenBSD)

2014-04-16 Thread Pádraig Brady
On 04/16/2014 04:44 PM, Assaf Gordon wrote: > Hello, > > On 04/15/2014 01:34 PM, Pádraig Brady wrote: >> On 04/15/2014 05:18 PM, Assaf Gordon wrote: >>> + dnl On some systems (OpenBSD5.4) the system's native expl() is buggy: >>> + dnl it returns 'nan' for small values. This test compares expl()

Re: How to force using a module in Gnulib? (expl() on OpenBSD)

2014-04-16 Thread Assaf Gordon
Hello, On 04/15/2014 01:34 PM, Pádraig Brady wrote: On 04/15/2014 05:18 PM, Assaf Gordon wrote: + dnl On some systems (OpenBSD5.4) the system's native expl() is buggy: + dnl it returns 'nan' for small values. This test compares expl() to exp() . You might assume that fabs is in the same lib