summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafal Luzynski <digitalfreak@lingonborough.com>2019-05-10 00:40:27 +0200
committerPhilip Withnall <withnall@endlessm.com>2019-05-10 11:55:56 +0100
commitaeb68d5349b25a9f7a3c0eb089d6568aa1b25e2b (patch)
treedb6e03ee71bbc073fee60b2496d6d974b7568524
parent2b42205193271d48741199c3f45d4340a8988faf (diff)
downloadglib-aeb68d5349b25a9f7a3c0eb089d6568aa1b25e2b.tar.gz
build: Fix a typo in the test whether _NL_ABALTMON_n is supported
The correct spelling is "_NL_ABALTMON_n" rather than "_NL_ALTMON_n". The typo made Meson build think that _NL_ABALTMON_n constants are not supported which was totally wrong. This made g_date_time_format() output incorrect abbreviated month names in some languages. The old configure.ac script was correct here. Bug introduced in commit be4f96b6502c01d2a51d60b7a669c8ef82e22a4d. Closes: #1759
-rw-r--r--meson.build26
1 files changed, 13 insertions, 13 deletions
diff --git a/meson.build b/meson.build
index b57b2d605..976ab732a 100644
--- a/meson.build
+++ b/meson.build
@@ -986,20 +986,20 @@ if cc.links('''#ifndef _GNU_SOURCE
#include <langinfo.h>
int main (int argc, char ** argv) {
char *str;
- str = nl_langinfo (_NL_ALTMON_1);
- str = nl_langinfo (_NL_ALTMON_2);
- str = nl_langinfo (_NL_ALTMON_3);
- str = nl_langinfo (_NL_ALTMON_4);
- str = nl_langinfo (_NL_ALTMON_5);
- str = nl_langinfo (_NL_ALTMON_6);
- str = nl_langinfo (_NL_ALTMON_7);
- str = nl_langinfo (_NL_ALTMON_8);
- str = nl_langinfo (_NL_ALTMON_9);
- str = nl_langinfo (_NL_ALTMON_10);
- str = nl_langinfo (_NL_ALTMON_11);
- str = nl_langinfo (_NL_ALTMON_12);
+ str = nl_langinfo (_NL_ABALTMON_1);
+ str = nl_langinfo (_NL_ABALTMON_2);
+ str = nl_langinfo (_NL_ABALTMON_3);
+ str = nl_langinfo (_NL_ABALTMON_4);
+ str = nl_langinfo (_NL_ABALTMON_5);
+ str = nl_langinfo (_NL_ABALTMON_6);
+ str = nl_langinfo (_NL_ABALTMON_7);
+ str = nl_langinfo (_NL_ABALTMON_8);
+ str = nl_langinfo (_NL_ABALTMON_9);
+ str = nl_langinfo (_NL_ABALTMON_10);
+ str = nl_langinfo (_NL_ABALTMON_11);
+ str = nl_langinfo (_NL_ABALTMON_12);
return 0;
- }''', name : 'nl_langinfo (_NL_ALTMON_n)')
+ }''', name : 'nl_langinfo (_NL_ABALTMON_n)')
glib_conf.set('HAVE_LANGINFO_ABALTMON', 1)
endif