diff options
| author | JiHO <jiho-sf@users.sourceforge.net> | 2007-04-30 21:01:16 +0000 |
|---|---|---|
| committer | jiho-sf <jiho-sf@users.sourceforge.net> | 2007-04-30 21:01:16 +0000 |
| commit | b874ce32ee882d16b91b5e1ed6bad35428bed3f8 (patch) | |
| tree | 87ef488839ad9a19feeaf2d767515c9b9535ce4b | |
| parent | committed patch 1702352 from John Faith. (diff) | |
| download | inkscape-b874ce32ee882d16b91b5e1ed6bad35428bed3f8.tar.gz inkscape-b874ce32ee882d16b91b5e1ed6bad35428bed3f8.zip | |
Committed patch 1710210 from John Faith
On OS X 10.3.9, the generated po/Makefile has no values for GMSGFMT and MSGFMT. This causes the build to fail with '-o: command not found' when the empty $(MSGFMT) is used.
In the configure output, msgfmt is found in the PATH, but for some reason it does not make it to po/Makefile.
This patch works around the missing variables by adding AC_PATH_PROG in configure.ac.
(bzr r2970)
| -rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f5eafa6b2..6dab04287 100644 --- a/configure.ac +++ b/configure.ac @@ -92,6 +92,10 @@ if test "x$PKG_CONFIG" = "xno"; then AC_MSG_ERROR(You have to install pkg-config to compile inkscape.) fi +dnl Find msgfmt. Without this, po/Makefile fails to set MSGFMT on some platforms. +AC_PATH_PROG(MSGFMT, msgfmt, msgfmt) +AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) + dnl ****************************** dnl Check for libpng dnl ****************************** |
