From: Bruno Haible Date: Mon, 3 Aug 2009 21:10:08 +0000 (+0200) Subject: Fix displayed message with autoconf-2.64. X-Git-Tag: v0.18~168 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cff591ebe790c40fa91039eb9953d740ccd7ba1f;p=thirdparty%2Fgettext.git Fix displayed message with autoconf-2.64. --- diff --git a/gettext-tools/m4/ChangeLog b/gettext-tools/m4/ChangeLog index 8d9ffae6b..285314171 100644 --- a/gettext-tools/m4/ChangeLog +++ b/gettext-tools/m4/ChangeLog @@ -1,3 +1,8 @@ +2009-08-03 Bruno Haible + + * setlocale.m4 (gt_SETLOCALE): Fix displayed message with + autoconf-2.64. + 2009-04-11 Bruno Haible * exported.m4: New file, extracted from ../configure.ac. diff --git a/gettext-tools/m4/setlocale.m4 b/gettext-tools/m4/setlocale.m4 index dfa2b7c3a..5b8fff020 100644 --- a/gettext-tools/m4/setlocale.m4 +++ b/gettext-tools/m4/setlocale.m4 @@ -1,5 +1,5 @@ -# setlocale.m4 serial 3 (gettext-0.15) -dnl Copyright (C) 2001-2002, 2006 Free Software Foundation, Inc. +# setlocale.m4 serial 4 (gettext-0.18) +dnl Copyright (C) 2001-2002, 2006, 2009 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -24,8 +24,8 @@ char *setlocale(); ], [], gt_cv_proto_setlocale_arg1="", gt_cv_proto_setlocale_arg1="const") gt_cv_proto_setlocale="extern char *setlocale (int category, $gt_cv_proto_setlocale_arg1 char *locale);"]) gt_cv_proto_setlocale=`echo "[$]gt_cv_proto_setlocale" | tr -s ' ' | sed -e 's/( /(/'` -AC_MSG_RESULT([$]{ac_t:- - }[$]gt_cv_proto_setlocale) +AC_MSG_RESULT([ + $gt_cv_proto_setlocale]) AC_DEFINE_UNQUOTED(SETLOCALE_CONST,$gt_cv_proto_setlocale_arg1, [Define as const if the declaration of setlocale() needs const.]) ])