bug-grep
[Top][All Lists]
Advanced

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

Re: working strerror_r not properly detected


From: exg
Subject: Re: working strerror_r not properly detected
Date: Thu, 10 Aug 2006 18:20:05 +0200
User-agent: Mutt/1.5.11-2006-06-08

> address@hidden wrote:
> > > This happens because in line 170 of lib/error.c
> > > HAVE_WORKING_STRERROR_R appears not to be defined.
> >
> > That's because it is not using the macro in m4/strerror_r.m4 but
> > the one included in autoconf-2.5, which defines STRERROR_R_CHAR_P
> > instead; the attached patch should fix it.
> 
> Thanks, that fixes it for me.  But would this work on a really, 
> really old system?  Wouldn't the general solution be to check for 
> both HAVE_WORKING_STRERROR_R and STRERROR_R_CHAR_P?

No need to, configure.in has an AC_PREREQ(2.53).

> As you are apparently at home in the auto* stuff, something else: 
> autogen.sh fails to make a symlink to the mkinstalldirs script.  
> Any idea what's the cause of that?

automake is responsible for that; no clue about it but you can add the
'-c' option to its invocation to copy missing files instead of doing a
symlink.

-- 
Emanuele Giaquinta




reply via email to

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