[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: How to get rid of sys_errlist and sys_nerr?

On Tue, 29 Apr 2008 21:42:30 +0200
Hallvard B Furuseth <h.b.furuseth@usit.uio.no> wrote:

> Michael B Allen writes:
> >> Why does libldap need these symbols?
> STRERROR() needs either sys_errlist + sys_nerr or strerror(), and it
> prefers the former since the latter may not be thread-safe.  (Ought to
> switch to use strerror_r() when someone feels like using time on it,
> but...)
> If you run configure on a system with sys_errlist, it'll use that.  To
> prevent it, run make distclean to get rid of the old build and then (I
> think)
>   ./configure --<your config params> ol_cv_have_sys_errlist=no

That didn't work. Any other idea as to how to turn off sys_errlist
through configure? I know very little about autoconf.