# HG changeset patch # User Bruno Haible # Date 1544912869 -3600 # Node ID 8850daca13bd133dbd559867d344169e20039498 # Parent 4a3cb97ca34cf3cad4f90cad712edbd0a08d65f4 localename: Fix use of uninitialized shell variable. * m4/intl-thread-locale.m4 (gt_INTL_THREAD_LOCALE_NAME): Initialize gt_cv_locale_solaris114 always before use. Remove assignment without effect. diff -r 4a3cb97ca34c -r 8850daca13bd ChangeLog --- a/ChangeLog Sat Dec 15 22:01:27 2018 +0100 +++ b/ChangeLog Sat Dec 15 23:27:49 2018 +0100 @@ -1,3 +1,10 @@ +2018-12-15 Bruno Haible + + localename: Fix use of uninitialized shell variable. + * m4/intl-thread-locale.m4 (gt_INTL_THREAD_LOCALE_NAME): Initialize + gt_cv_locale_solaris114 always before use. Remove assignment without + effect. + 2018-12-15 Bruno Haible dfa tests: Avoid test failure on Alpine Linux. diff -r 4a3cb97ca34c -r 8850daca13bd m4/intl-thread-locale.m4 --- a/m4/intl-thread-locale.m4 Sat Dec 15 22:01:27 2018 +0100 +++ b/m4/intl-thread-locale.m4 Sat Dec 15 23:27:49 2018 +0100 @@ -1,4 +1,4 @@ -# intl-thread-locale.m4 serial 1 +# intl-thread-locale.m4 serial 2 dnl Copyright (C) 2015-2018 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -48,9 +48,10 @@ *) gt_cv_locale_solaris114=no ;; esac ]) + else + gt_cv_locale_solaris114=no fi if test $gt_cv_locale_solaris114 = yes; then - gt_nameless_locales=yes AC_DEFINE([HAVE_SOLARIS114_LOCALES], [1], [Define if the locale_t type is as on Solaris 11.4.]) fi