
On Thu, Jan 13, 2005 at 07:10:44AM +0000, Timo Geusch wrote:
Jonathan Wakely wrote:
On Wed, Jan 12, 2005 at 09:49:46PM +0000, Timo Geusch wrote:
The attached patch to boost_1_32_0/libs/config/tools/configure.in fixes that problem for the price of dumbing down the tr invocation.
- namespace=`echo $macroname | tr [[:upper:]] [[:lower:]]` + namespace=`echo $macroname | tr [[A-Z]] [[a-z]]`
should that be this instead? + namespace=`echo $macroname | tr [A-Z] [a-z]`
This is what the code generated by autoconf should look like - the original line above reads as namespace=`echo $macroname | tr [:upper:] [:lower:]` in the configure script that is enclosed with 1.32.0 so I - not being anywhere near an autoconf expert - assumed that the additional [] get stripped out. Can someone please either check or confirm this?
OK, I'm wrong then, sorry. SysV tr required "[a-z]" for a range, whereas POSIX tr only needs "a-z" but will still work with the brackets, so as long as the final output is "[a-z]" then that should work everywhere. I'll get back to work, jon -- "More computing sins are committed in the name of efficiency (without necessarily achieving it) than for any other single reason - including blind stupidity." - W.A. Wulf