changeset 20340:c4d86acb82e7

applied changes from ef97aa9259d77504bb07c2dff5ec0750d498e847 through eaca7bcddbde5dc407ddc81c557e7722cca3e35d
author Luke Schierer <lschiere@pidgin.im>
date Sun, 21 Oct 2007 04:30:45 +0000
parents 136ded231700
children 754603796c1e
files configure.ac
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Sun Oct 21 04:30:20 2007 +0000
+++ b/configure.ac	Sun Oct 21 04:30:45 2007 +0000
@@ -142,13 +142,21 @@
 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
+if test x$MSGFMT = xno -o x$MSGFMT$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.
+
+If you have msgfmt installed, but for some reason this error message
+is still displayed, you have encountered what appears to be a bug in
+third-party configure macros.  Try setting the MSGFMT environment
+variable to the absolute path to your msgfmt binary and trying
+configure again, like this:
+
+MSGFMT=/path/to/msgfmt ./configure ...
 ])
 fi