[jhbuild] build: disable gettext if not found and using simple autogen.sh
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] build: disable gettext if not found and using simple autogen.sh
- Date: Wed, 27 Jan 2016 15:33:40 +0000 (UTC)
commit 065396f5ed9d968e34ded90a488f594804d6ad2e
Author: John Ralls <jralls ceridwen us>
Date: Wed Jan 27 16:32:00 2016 +0100
build: disable gettext if not found and using simple autogen.sh
https://bugzilla.gnome.org/show_bug.cgi?id=686886
autogen.sh | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 326f6de..4b3624c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -135,6 +135,9 @@ configure_without_autotools()
echo "bindir=$bindir" >> $srcdir/Makefile.inc
echo "datarootdir=$datarootdir" >> $srcdir/Makefile.inc
echo "desktopdir=$desktopdir" >> $srcdir/Makefile.inc
+ if [ $msgfmtl_available -ne 0 ]; then
+ echo "DISABLE_GETTEXT=yes" >> $srcdir/Makefile.inc
+ fi
if [ ! -f $makefile ]; then
eval_gettext "Unable to read file \$makefile"; echo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]