diff configure.ac @ 21222:6bbd66f67fa8

propagate from branch 'im.pidgin.pidgin' (head fa0e512d79dfe479bc36c2436089b51854ef3eb5) to branch 'im.pidgin.pidgin.next.minor' (head ea579831d8561ac6b0cde4b034383b02b3e51ae5)
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 12 Oct 2007 03:29:36 +0000
parents bc1e6ea98445
children f34539eb7a61 d604027959a5
line wrap: on
line diff
--- a/configure.ac	Fri Oct 12 02:57:26 2007 +0000
+++ b/configure.ac	Fri Oct 12 03:29:36 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