Need some m4 wizardry to quote s in configure.ac
jeremyhu at apple.com
Fri Mar 4 13:37:42 PST 2011
On Mar 4, 2011, at 11:42, Gaetan Nadon wrote:
> On Fri, 2011-03-04 at 10:50 -0800, Jeremy Huddleston wrote:
>> How do I quote s in m4? I've tried escaping with \, 's, "s, ... I'm out of tricks... I'm trying to update the poll() checks in libxcb and libXt to allow poll on darwin11, but the s are getting stripped. darwin* is becoming darwin789*, and the \([^ ]*\) in sed is becoming \(^ *\) ...
> Check this out:
> It is used in a few modules, I am not sure if this will solve the
> problem, I am not an expert but it's worth a look.
Thanks. That was it. Very odd, but it works. I pushed the changes to libXt and libxcb. Did you have any pending cleanup for libXt? If not, I'll push a release since it's seems to need one.
More information about the xorg-devel