[gjs: 14/26] build: Remove GETTEXT_PACKAGE variable



commit beea06eb379ec27fb6f05a2929afd3c8ffd8a418
Author: Philip Chimento <philip chimento gmail com>
Date:   Sun Mar 17 21:29:47 2019 -0700

    build: Remove GETTEXT_PACKAGE variable
    
    GJS doesn't use gettext for translations, so we don't need to have this
    variable defined.

 configure.ac            | 3 ---
 gi/gjs_gi_trace.h       | 4 ++--
 win32/config.h.win32.in | 3 ---
 3 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 71bdffb4..fa4e136e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,9 +19,6 @@ AC_REQUIRE_AUX_FILE([tap-driver.sh])
 AC_SUBST(GJS_VERSION, m4_eval(pkg_int_version))
 AC_DEFINE([GJS_VERSION], pkg_int_version, [The gjs version as an integer])
 
-AC_SUBST([GETTEXT_PACKAGE], [gjs])
-AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [The name of the gettext domain])
-
 AM_MAINTAINER_MODE([enable])
 AM_SILENT_RULES([yes])
 
diff --git a/gi/gjs_gi_trace.h b/gi/gjs_gi_trace.h
index 30f6f740..2b8b15de 100644
--- a/gi/gjs_gi_trace.h
+++ b/gi/gjs_gi_trace.h
@@ -27,8 +27,8 @@
 #ifndef __GJS_TRACE_H__
 #define __GJS_TRACE_H__
 
-#ifndef GETTEXT_PACKAGE
-#error "config.h must be included prior to gjs_trace.h"
+#ifndef GJS_VERSION
+#    error "config.h must be included prior to gjs_trace.h"
 #endif
 
 #ifdef HAVE_DTRACE
diff --git a/win32/config.h.win32.in b/win32/config.h.win32.in
index da79c6a8..d9a526ad 100644
--- a/win32/config.h.win32.in
+++ b/win32/config.h.win32.in
@@ -9,9 +9,6 @@
 /* Define if you want to build with GTK+ support */
 /* #undef ENABLE_GTK */
 
-/* The name of the gettext domain */
-#define GETTEXT_PACKAGE "gjs"
-
 /* The gjs version as an integer */
 #define GJS_VERSION @GJS_VERSION@
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]