blob: 9636d87222a102e67a90c553842d8a5ac50d2643 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
localedir="@localedir@"
build_alias="@build_alias@"
host_alias="@host_alias@"
binlocaledir="`@PRINT_LOCALEDIR@ 2> /dev/null`"
if test "${localedir}" = "${binlocaledir}"; then
echo "Makefile and binary agree on localedir \`${localedir}'. Good."
exit 0
else
echo "Makefile and binary disagree on localedir. Bad."
echo " - Makefile says \`${localedir}'."
echo " - binary says \`${binlocaledir}'."
if test "${build_alias}" != "${host_alias}"; then
echo "However, you are cross-compiling, so this does not necessarily"
echo "have consequences."
exit 0
else
echo "Error: Could not determine binary localedir."
exit 1
fi
fi
|