autoconf
[Top][All Lists]
Advanced

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

Re: avoiding undesired macro expansion after AS_TR_CPP


From: Bruno Haible
Subject: Re: avoiding undesired macro expansion after AS_TR_CPP
Date: Fri, 4 Jun 2010 00:11:38 +0200
User-agent: KMail/1.9.9

Hi Eric,

Thanks for the help, but...

> >   AM_CONDITIONAL([LIBUNISTRING_]AS_TR_CPP([$1]), [true])
> 
> AM_CONDITIONAL([LIBUNISTRING_]AS_TR_CPP([[$1]]), [true])

This does not work either:

  $ autoconf
  configure.ac:11: error: AC_SUBST: `LIBUNISTRING_undesired substitution_TRUE' 
is not a valid shell variable name
  aclocal.m4:125: AM_CONDITIONAL is expanded from...
  configure.ac:6: MYCOND is expanded from...
  configure.ac:11: the top level

I get the impression that AS_TR_CPP is removing more quotes than it should.

Bruno



reply via email to

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