summaryrefslogtreecommitdiff
path: root/tests/localization.at
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2008-06-19 19:35:52 +0200
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2008-06-19 19:35:52 +0200
commit2133b11083c9b7c671c2ee175461d9a206c87a29 (patch)
treeabfb02bc07e1beb841dc785c38b9640bce3837c3 /tests/localization.at
parent6f7136fb2a221db66a53a5415da80e760dc80e6c (diff)
downloadlibtool-2133b11083c9b7c671c2ee175461d9a206c87a29.tar.gz
Newer Intel compilers do not grok -KPIC any more.
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <icc, icpc>: Use -fPIC, newer Intel compilers (icc 10, ifort 9) reject -KPIC. * tests/localization.at: Skip test if the compiler fails merely due to the locale setting. * THANKS: Update. Report by Vincent Lefevre. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'tests/localization.at')
-rw-r--r--tests/localization.at4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/localization.at b/tests/localization.at
index 311aca74..d489fefa 100644
--- a/tests/localization.at
+++ b/tests/localization.at
@@ -38,6 +38,10 @@ AT_DATA([b.c],
[[int y;
]])
+# First see if setting a locale is accepted at all.
+AT_CHECK([$CC $CPPFLAGS $CFLAGS -c b.c || exit 77], [], [stdout], [stderr])
+
+# Find out about expected output.
AT_CHECK([$CC $CPPFLAGS $CFLAGS -c a.c || exit 1], [1], [stdout], [stderr])
mv -f stdout expected-stdout
mv -f stderr expected-stderr