On Tue, Jul 25, 2000, [EMAIL PROTECTED] wrote:

> While trying to build pth (1.3.6) under Solaris I got an error in the
> definition of PTH_VERSION (it ended up being defined as 0x%X%02X%1X%02X).
> I tracked it down to an incompatability with awk; my path caused /usr/bin/awk
> to be used rather than /usr/xpg4/bin/awk. Changing my path fixed this, but
> I'm surprised configure didn't catch this one.

Ah, seems like this is the same problem another user reported today here.  Do
you know which portable shell command in Shtool we could use alternatively
instead of 

hex=`echo "$ver:$rev:$typnum:$levnum" |\
     awk -F: '{ printf("0x%X%02X%1X%02X", $1, $2, $3, $4); }'`

to achieve still the same result? Does perhaps replacing the "X" with "x"
already solve the problem? If yes, we can achieve the same by using "x" and
passing the result through "tr".
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
GNU Portable Threads (Pth)            http://www.gnu.org/software/pth/
User Support Mailing List                            [EMAIL PROTECTED]
Automated List Manager (Majordomo)           [EMAIL PROTECTED]

Reply via email to