summaryrefslogtreecommitdiff
path: root/m4/locale-ar.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-08-16 08:37:39 +0200
committerBruno Haible <bruno@clisp.org>2020-08-16 08:37:39 +0200
commit5d6b0e74da4c6a21aa8d3675d6ff7fde589f9a6a (patch)
treecf7ad9fb21dd55ddb3cfd06b200403e58e284670 /m4/locale-ar.m4
parentc863cc75571098bf0aac1c2fb87b74cb9016dc68 (diff)
downloadgnulib-5d6b0e74da4c6a21aa8d3675d6ff7fde589f9a6a.tar.gz
Fix quoting of AC_LANG_SOURCE arguments.
* m4/printf.m4 (gl_PRINTF_ENOMEM): Fix an m4 quoting bug in the GL_NOCRASH expansion. * m4/locale-ar.m4 (gt_LOCALE_AR): Simplify m4 quoting. * m4/locale-fr.m4 (gt_LOCALE_FR, gt_LOCALE_FR_UTF8): Likewise. * m4/locale-ja.m4 (gt_LOCALE_JA): Likewise. * m4/locale-tr.m4 (gt_LOCALE_TR_UTF8): Likewise. * m4/locale-zh.m4 (gt_LOCALE_ZH_CN): Likewise.
Diffstat (limited to 'm4/locale-ar.m4')
-rw-r--r--m4/locale-ar.m48
1 files changed, 3 insertions, 5 deletions
diff --git a/m4/locale-ar.m4 b/m4/locale-ar.m4
index a754b29b5c..e59181dbf5 100644
--- a/m4/locale-ar.m4
+++ b/m4/locale-ar.m4
@@ -1,4 +1,4 @@
-# locale-ar.m4 serial 8
+# locale-ar.m4 serial 9
dnl Copyright (C) 2003, 2005-2020 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -12,8 +12,7 @@ AC_DEFUN([gt_LOCALE_AR],
AC_REQUIRE([AC_CANONICAL_HOST])
AC_REQUIRE([AM_LANGINFO_CODESET])
AC_CACHE_CHECK([for a traditional Arabic locale], [gt_cv_locale_ar], [
- AC_LANG_CONFTEST([AC_LANG_SOURCE([
-changequote(,)dnl
+ AC_LANG_CONFTEST([AC_LANG_SOURCE([[
#include <locale.h>
#include <time.h>
#if HAVE_LANGINFO_CODESET
@@ -61,8 +60,7 @@ int main () {
return 0;
#endif
}
-changequote([,])dnl
- ])])
+ ]])])
if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then
case "$host_os" in
# Handle native Windows specially, because there setlocale() interprets