2009/4/30 Ralf Wildenhues <ralf.wildenh...@gmx.de>: > Hello Priit, > > please keep the mailing list in Cc:, thanks.
Mailer-Daemon answered to the list letter, telling me that The following address(es) failed: bug-autoc...@gnu.org > > * Priit Pääsukene wrote on Wed, Apr 29, 2009 at 10:39:11AM CEST: >> > Which Autoconf version was the configure script created with? >> >> not 100% sure, but configure script contains > > Just run > ./configure --version > > it should tell you. configure generated by autoconf version 2.13 > >> # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- >> ## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 >> ## Free Software Foundation, Inc >> >> # autoconf 2.13 compatibility > > This bit is macro code from Libtool, it doesn't really tell you about > the Autoconf version you use. > >> >> Solution: use [:alpha:] instead a-zA-z in various regular expressions. >> > >> > No, sorry; these classes are unfortunately not portable enough yet. The >> > configure script already sets LANGUAGE and LC_ALL to sane values. If >> > that is not sufficient, then I suppose we need to set LANG, too. What >> > system does this happen on, which sed version, and why does it not honor >> > LC_ALL=C? >> >> I experienced it under Ubuntu 9.04, but earlier versions of ubuntu are >> also affected. >> >> bash is: >> GNU bash, version 3.2.48(1)-release (i486-pc-linux-gnu) >> >> from shell the system honors LANG, LANGUAGE and LC_ALL variables: >> >> pri...@vidrik:~$ export LANG=et_EE.UTF-8 >> pri...@vidrik:~$ echo abcdefghijklmnopqrsztuvwxy | egrep "^[a-z]+$" >> pri...@vidrik:~$ export LANG=C >> pri...@vidrik:~$ echo abcdefghijklmnopqrsztuvwxy | egrep "^[a-z]+$" >> abcdefghijklmnopqrsztuvwxy >> pri...@vidrik:~$ set |grep LC_ALL >> pri...@vidrik:~$ export LANG=et_EE.UTF-8 >> pri...@vidrik:~$ export LC_ALL=C >> pri...@vidrik:~$ echo abcdefghijklmnopqrsztuvwxy | egrep "^[a-z]+$" >> abcdefghijklmnopqrsztuvwxy >> pri...@vidrik:~$ > > This tests the egrep program, but not really the shell, and neither the > sed program, which is what caused the issues you reported previously. > >> in configure script generated by autoconf, the LANG and LC_ALL >> variables are set to C, but too late - >> >> on line 2066: >> if test "${LANG+set}" = set; then LANG=C; export LANG; fi >> if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi >> >> first regex comparisions are made on line 50, when LANG/LC_ALL >> variables are in the default state. > > I don't think this particular text ever came from Autoconf at all. > >> I'm attaching the generated configure script. hope it helps. > > You didn't do that, but that was a good idea. I'm not too interested in > the whole configure contents. cheers, Priit Pääsukene