Subject: Re: [PATCH] autoconf: Add tests for memmem, strtoumax and mkdtemp functions

From: Matt Kraai <[email-masked]>
Date: Tue, 20 Nov 2007 16:08:24 -0800

On Tue, Nov 20, 2007 at 01:00:44AM -0800, Junio C Hamano wrote:
> Jakub Narebski <[email-masked]> writes:
> > * Define NO_R_TO_GCC_LINKER if your gcc does not like "-R/path/lib"
> >   that tells runtime paths to dynamic libraries;
> >   "-Wl,-rpath=/path/lib" is used instead.
> 
> Try with -R/path/lib and see if it complains, perhaps?
> 
> 206488774238c94ff337dd5c997be441dbde5112 (Correct the name of
> NO_R_TO_GCC_LINKER in the comment describing it.)

I don't know how to test this, unfortunately.  I'll be happy to test
any tests you'd like me to try, though.

> >   MakeMaker (e.g. using ActiveState under Cygwin).
> 
> f848718a6980ebda0eb5afb2ca49c3bc1e7b2b1d (Make perl/ build
> procedure ActiveState friendly.)
> 
> Alex CC'ed.
> 
> > * Define ASCIIDOC8 if you want to format documentation with AsciiDoc 8
> 
>         case "$(asciidoc --version)" in
>         asciidoc' '7*)	: not def ;;
>         asciidoc' '8)	: def ;;
>         esac
> 
> > * Define DOCBOOK_XSL_172 if you want to format man pages with DocBook XSL v1.72.
> >
> >   - it needs some portable way to check asciidoc and docbook-xsl version
> 
> Hmmm.
> 
> > * Define OLD_ICONV if your library has an old iconv(), where the second
> >   (input buffer pointer) parameter is declared with type (const char **).
> >
> >   - perhaps compile with new iconv and check for compile errors?
> 
> Yeah, with appropriate includes,
> 
>         char *ibp, *obp;
>         size_t insz, outsz;
>         iconv(conv, &ibp, &insz, &obp, &outsz);
> 
> would cause compilation trouble if iconv() wants "const char *"
> for ibp.

-- 
Matt