summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 504c66e)
raw | patch | inline | side by side (parent: 504c66e)
author | jiho-sf <jiho-sf@users.sourceforge.net> | |
Mon, 30 Apr 2007 21:01:16 +0000 (21:01 +0000) | ||
committer | jiho-sf <jiho-sf@users.sourceforge.net> | |
Mon, 30 Apr 2007 21:01:16 +0000 (21:01 +0000) |
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.
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.
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index f5eafa6b2c1b9f6eb13129c03454298f88350ff3..6dab04287fadc8b5a5c05a034fdca52369d03a47 100644 (file)
--- a/configure.ac
+++ b/configure.ac
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 ******************************