autoconf-patches
[Top][All Lists]
Advanced

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

Re: unoptimized autoconf generated code


From: Ralf Wildenhues
Subject: Re: unoptimized autoconf generated code
Date: Tue, 2 Mar 2010 22:45:21 +0100
User-agent: Mutt/1.5.20 (2009-10-28)

Hi Eric,

* Eric Blake wrote on Tue, Mar 02, 2010 at 07:04:52AM CET:
> Here's an updated version of patch 2/3 of the previous post; I realized
> that ${a+b} should not be treated as a simple indirection, and added some
> documentation.  Patch 1/3 and 3/3 are unchanged.

This patch causes a number of testsuite regressions.  The AS_BOX patch
has a typo s/@var/@ovar/ in the manual causing a texinfo warning.

While working on AS_LITERAL_IF, you might want to fix the typo near the
beginning of the description:
  # If EXPRESSION has shell indirections ($var or `expr`), expand
  # IF-LITERAL, else IF-NOT-LITERAL.

That should be "has no shell indirections".

If you're really motivated, then you could also look into this code
snippet taken from the manual:

  header="sys/some file.h"
  AS_TR_SH([HAVE_$header])=yes
  if test "x$HAVE_sys_some_file_h" = xyes; then echo "Have it!"; fi

which has been broken presumably by one of the earlier AS_LITERAL_IF
changes already.  (This is not a recent regression, so feel free to
ignore right now.)

Thanks,
Ralf




reply via email to

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