[chronojump] [autotools]Check if gettext is installed
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [chronojump] [autotools]Check if gettext is installed
- Date: Wed, 26 Aug 2009 18:57:33 +0000 (UTC)
commit 76f2737b505757169fac8cce465db369820b748a
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Aug 26 20:53:31 2009 +0200
[autotools]Check if gettext is installed
chronojump_server/bin/chronojumpServer.dll | Bin 271872 -> 271872 bytes
configure.ac | 8 +++++++-
po/Makefile.am | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/chronojump_server/bin/chronojumpServer.dll b/chronojump_server/bin/chronojumpServer.dll
index 12dca01..c5d63e5 100755
Binary files a/chronojump_server/bin/chronojumpServer.dll and b/chronojump_server/bin/chronojumpServer.dll differ
diff --git a/configure.ac b/configure.ac
index dd9a7f4..7cde4f7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@ AC_PATH_PROG(MCS, gmcs, no)
if test "x$MCS" = "xno"; then
AC_PATH_PROG(MCS2, gmcs2,no)
if test "x$MCS2" = "xno"; then
- AC_MSG_ERROR([gmcs Not found])
+ AC_MSG_ERROR([gmcs not found])
else
AC_SUBST(GMCS,[gmcs2])
fi
@@ -29,6 +29,12 @@ else
AC_SUBST(GMCS,[gmcs])
fi
+AC_PATH_PROG(MSGFMT, msgfmt, no)
+if test "x$MSGFMT" = "xno"; then
+ AC_MSG_ERROR([gettext not found])
+else
+ AC_SUBST(MSGFMT,[msgfmt])
+fi
AC_ARG_ENABLE(debug,
AC_HELP_STRING([--enable-debug],
diff --git a/po/Makefile.am b/po/Makefile.am
index da925be..98427ff 100644
--- a/po/Makefile.am
+++ b/po/Makefile.am
@@ -42,7 +42,7 @@ uninstall:
$(GMO_FILES): $(BUILD_DIR)/%.gmo: %.po
mkdir -p $(BUILD_DIR)
- msgfmt '$<' -o '$@'
+ $(MSGFMT) '$<' -o '$@'
$(MO_FILES): $(INSTALL_DIR)/%/LC_MESSAGES/$(PACKAGE).mo : $(BUILD_DIR)/%.gmo
mkdir -p $(dir $@)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]