comparison configure.ac @ 16950: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 b668951121d8
children 481e8da0d6a2
comparison
equal deleted inserted replaced
16949:30b906ba3974 16950:9133ce89c9d7
136 ;; 136 ;;
137 esac 137 esac
138 138
139 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" 139 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"
140 AM_GLIB_GNU_GETTEXT 140 AM_GLIB_GNU_GETTEXT
141
142 dnl If we don't have msgfmt, then po/ is going to fail -- ensure that
143 dnl AM_GLIB_GNU_GETTEXT found it.
144
145 if test x$MSGFMT = xno -o x$GMSGFMT = x
146 then
147 AC_ERROR([
148
149 The msgfmt command is required to build libpurple. If it is installed
150 on your system, ensure that it is in your path. If it is not, install
151 GNU gettext to continue.
152 ])
153 fi
141 154
142 dnl we don't use autobreak on cygwin!! 155 dnl we don't use autobreak on cygwin!!
143 dnl AC_CYGWIN 156 dnl AC_CYGWIN
144 157
145 dnl Checks for header files. 158 dnl Checks for header files.