autoconf-patches
[Top][All Lists]
Advanced

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

Re: Broken makefile given Autoconf version mismatch


From: Stepan Kasal
Subject: Re: Broken makefile given Autoconf version mismatch
Date: Sun, 28 May 2006 21:46:33 +0200
User-agent: Mutt/1.4.2.1i

Hello,

On Sun, May 28, 2006 at 02:51:52PM +0200, Ralf Wildenhues wrote:
> ...and then I installed this further patch, to get rid of `grep' again.

what's wrong with grep?
I see no reason for the patch.

Stepan

>         * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
>         the output file in the `${datarootdir}' test.
> 
> Index: lib/autoconf/status.m4
> ===================================================================
> RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/status.m4,v
> retrieving revision 1.111
> diff -u -r1.111 status.m4
> --- lib/autoconf/status.m4    28 May 2006 12:38:49 -0000      1.111
> +++ lib/autoconf/status.m4    28 May 2006 12:44:32 -0000
> @@ -552,7 +552,7 @@
>  " $ac_file_inputs m4_defn([_AC_SED_CMDS])>$tmp/out
>  
>  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
> -  grep '\${datarootdir}' "$tmp/out" &&
> +  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
>    AC_MSG_WARN([$ac_file contains a reference to the variable `datarootdir'
>  which seems to be undefined.  Please make sure it is defined.])
>  




reply via email to

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