]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Skip localization test when setlocale is not functional.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 2 May 2009 08:55:23 +0000 (10:55 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 2 May 2009 08:55:23 +0000 (10:55 +0200)
* tests/localization.at (localized compiler messages): Skip
test when there is a warning about `LC_ALL'.
* THANKS: Update.
Report by Maciej Helminiak.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
THANKS
tests/localization.at

index 56db8d9fbac031de6668a23227f768479b8516ac..4e3ceb2fc4fc6df7632ddc3113a01ea3e9367636 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Skip localization test when setlocale is not functional.
+       * tests/localization.at (localized compiler messages): Skip
+       test when there is a warning about `LC_ALL'.
+       * THANKS: Update.
+       Report by Maciej Helminiak.
+
 2009-05-02  Alan Hourihane  <alanh@fairlite.co.uk>  (tiny change)
 
        Improved support for FreeMiNT.
diff --git a/THANKS b/THANKS
index 2b8ad377144650984e592f3ed8e287f7ae5e975f..d16133bc1cea5722ed4365c29f0a1f9f7414d945 100644 (file)
--- a/THANKS
+++ b/THANKS
   Kenneth Albanowski           kjahds@kjahds.com
   Kevin Ryde                   user42@zip.com.au
   Kurt D. Zeilenga             Kurt@OpenLDAP.Org
+  Maciej Helminiak             dion2@wp.pl
   Maciej W. Rozycki            macro@linux-mips.org
   Manfred Weichel              Manfred.Weichel@pdb.siemens.de
   Marc Espie                   espie@nerim.net
index 119b38daca52ff0dd3839ad4337b5e0b0efe0faa..1d689aac1dd9fa96ee7594a892b900e22efa4be3 100644 (file)
@@ -49,6 +49,9 @@ AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC $CPPFLAGS $CFLAGS -c a.c || exit
         [1], [stdout], [stderr])
 LT_AT_NORMALIZE_COMPILER_OUTPUT([stdout], [libtool-stdout])
 LT_AT_NORMALIZE_COMPILER_OUTPUT([stderr], [libtool-stderr])
+# Avoid this error:
+#   /bin/sh: warning: setlocale: LC_ALL: cannot change locale (de_DE)
+AT_CHECK([grep LC_ALL stdout stderr && exit 77], [1])
 AT_CHECK([diff expected-stderr libtool-stderr])
 AT_CHECK([diff expected-stdout libtool-stdout])