blob: 0f2239b5cff956caf008014c39cc0f0487214bfb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
This file is part of mingw-cross-env.
See doc/index.html for further information.
This patch has been taken from:
https://bugzilla.gnome.org/show_bug.cgi?id=617004#c8
diff -r 3241a43cfc79 configure.in
--- a/configure.in Sun May 16 16:38:34 2010 +0200
+++ b/configure.in Sun May 16 17:02:59 2010 +0200
@@ -477,8 +477,8 @@
GLIB_GNU_GETTEXT
if test "$gt_cv_have_gettext" != "yes" ; then
- AC_MSG_ERROR([
-*** You must have either have gettext support in your C library, or use the
+ AC_MSG_WARN([
+*** You should either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
])
fi
diff -r 3241a43cfc79 glib/gi18n.h
--- a/glib/gi18n.h Sun May 16 16:38:34 2010 +0200
+++ b/glib/gi18n.h Sun May 16 17:02:59 2010 +0200
@@ -22,7 +22,12 @@
#include <glib.h>
+#ifdef ENABLE_NLS
#include <libintl.h>
+#else
+#define gettext(String) (String)
+#endif
+
#include <string.h>
#define _(String) gettext (String)
|