On 04/15/2014 12:54 AM, Assaf Gordon wrote: > Hello, > > How do I force using the GnuLib implementation of a module, despite the > platform having the function ? > > Case in point: > It seems "expl()" is broken on OpenBSD5.4. > > Others have noticed the same: > http://openbsd.7691.n7.nabble.com/exp-expl-on-Linux-and-OpenBSD-expl-bug-td242556.html
You can set an override var for the configure run, whose name is best determined like: $ grep cv.*expl config.log ac_cv_have_decl_frexpl=yes ac_cv_have_decl_ldexpl=yes gl_cv_func_frexpl_no_libm=yes gl_cv_func_frexpl_works=yes gl_cv_func_ldexpl_no_libm=yes gl_cv_func_ldexpl_works=yes However, since you have a simple enough test it seems it would be better to incorporate that to the gnulib check, so that all can benefit. thanks, Pádraig.