Mercurial > pidgin.yaz
changeset 16961:9133ce89c9d7
With this change, if autoconf doesn't find msgfmt, configure will fail
with an (hopefully) informative message. This should take care of all
the build failures in po/ that we've been seeing.
Fixes: #785
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Tue, 08 May 2007 21:05:30 +0000 |
parents | 30b906ba3974 |
children | 88444e60ea95 |
files | configure.ac |
diffstat | 1 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Tue May 08 20:16:24 2007 +0000 +++ b/configure.ac Tue May 08 21:05:30 2007 +0000 @@ -139,6 +139,19 @@ ALL_LINGUAS="af am ar az bg bn bs ca ca@valencia cs da de dz el en_AU en_CA en_GB eo es et eu fa fi fr gl gu he hi hu id it ja ka kn ko ku lt mk my_MM nb ne nl nn pa pl pt_BR pt ps ro ru sk sl sq sr sr@Latn sv ta te th tr uk vi xh zh_CN zh_HK zh_TW" AM_GLIB_GNU_GETTEXT +dnl If we don't have msgfmt, then po/ is going to fail -- ensure that +dnl AM_GLIB_GNU_GETTEXT found it. + +if test x$MSGFMT = xno -o x$GMSGFMT = x +then + AC_ERROR([ + +The msgfmt command is required to build libpurple. If it is installed +on your system, ensure that it is in your path. If it is not, install +GNU gettext to continue. +]) +fi + dnl we don't use autobreak on cygwin!! dnl AC_CYGWIN