* gettext-tools/tests/lang-bash: Add comment.
* gettext-tools/tests/lang-sh: Likewise.
* gettext-tools/tests/lang-c: Likewise.
* gettext-tools/tests/lang-c++: Likewise.
* gettext-tools/tests/lang-objc: Likewise.
# output when accessing any .mo file not generated from a .po file in UTF-8
# encoding.
+# This test fails if the gettext package was configured with --disable-nls,
+# because in this case the gettext-runtime/src/gettext program does not do
+# any message catalog lookups.
+
cat <<\EOF > prog.bash
#! /bin/bash
# Assumes an fr_FR locale is installed.
# Assumes the following packages are installed: gcc.
+# This test fails if the gettext package was configured with --disable-nls,
+# because in this case the gettext-runtime/intl/ directory does not produce
+# a <libintl.h> header file.
+
cat <<\EOF > prog.c
#include "config.h"
#include <libintl.h>
# Assumes an fr_FR locale is installed.
# Assumes the following packages are installed: gcc g++.
+# This test fails if the gettext package was configured with --disable-nls,
+# because in this case the gettext-runtime/intl/ directory does not produce
+# a <libintl.h> header file.
+
# Test whether a C++ compiler is found and libasprintf is built.
test "${CXX}" != "no" || {
echo "Skipping test: no C++ compiler found"
# Assumes an fr_FR locale is installed.
# Assumes the following packages are installed: gcc.
+# This test fails if the gettext package was configured with --disable-nls,
+# because in this case the gettext-runtime/intl/ directory does not produce
+# a <libintl.h> header file.
+
# Test whether an ObjectiveC compiler is found.
cat <<\EOF > hello.m
#include <stdio.h>
# Note: This test fails on BeOS because there all locales use the UTF-8
# encoding, even the locale fr_FR, thus the output comes out in UTF-8.
+# This test fails if the gettext package was configured with --disable-nls,
+# because in this case the gettext-runtime/src/gettext program does not do
+# any message catalog lookups.
+
cat <<\EOF > prog.sh
#! /bin/sh