From 04c2ef634daed119d68313731064bd96099d5c1a Mon Sep 17 00:00:00 2001 From: jiho-sf Date: Mon, 30 Apr 2007 21:01:16 +0000 Subject: [PATCH] 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. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) 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 ****************************** -- 2.30.2