]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Oops, fix typo.
authorBruno Haible <bruno@clisp.org>
Sun, 16 Sep 2018 15:06:25 +0000 (17:06 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 16 Sep 2018 15:06:25 +0000 (17:06 +0200)
* gettext-runtime/m4/intlmacosx.m4 (gt_INTL_MACOSX): Fix variable name.

gettext-runtime/m4/intlmacosx.m4

index 2bc0df27464b115a80779337873689abad4278db..17c1bd4a0eea77cdfb9c578717bc6e2c36cdf313 100644 (file)
@@ -58,12 +58,14 @@ AC_DEFUN([gt_INTL_MACOSX],
        [gt_cv_func_CFLocaleCopyPreferredLanguages=yes],
        [gt_cv_func_CFLocaleCopyPreferredLanguages=no])
      LIBS="$gt_save_LIBS"])
-  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
+  if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
     AC_DEFINE([HAVE_CFLOCALECOPYPREFERREDLANGUAGES], [1],
       [Define to 1 if you have the Mac OS X function CFLocaleCopyPreferredLanguages in the CoreFoundation framework.])
   fi
   INTL_MACOSX_LIBS=
-  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
+  if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
+     || test $gt_cv_func_CFLocaleCopyCurrent = yes \
+     || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
   fi
   AC_SUBST([INTL_MACOSX_LIBS])