aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/atlocal.in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/atlocal.in')
-rw-r--r--tests/atlocal.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 47137bb..e9bb908 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -16,4 +16,12 @@ G_ENABLE_DIAGNOSTIC=1
# For the Unicode tests - makes sure that UTF-8 characters
# are accepted on command lines.
-LC_ALL=C.UTF-8
+case $host in
+*-*-darwin*)
+ LANG=C
+ LC_CTYPE=UTF-8
+ ;;
+*)
+ LC_ALL=C.UTF-8
+ ;;
+esac