bug-enscript
[Top][All Lists]
Advanced

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

[bug-enscript] [bug #31607] enscript-1.6.5.2 fails to compile with --dis


From: anonymous
Subject: [bug-enscript] [bug #31607] enscript-1.6.5.2 fails to compile with --disable-nls
Date: Tue, 09 Nov 2010 20:11:07 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20060911 SUSE/1.5.0.10-0.2 Firefox/1.5.0.10

Follow-up Comment #1, bug #31607 (project enscript):

solaris may include libintl.h within locale.h, so a better one is:

--- src/gsint.h__dist   Wed Jun  2 00:17:25 2010
+++ src/gsint.h Tue Nov  9 21:02:54 2010
@@ -103,15 +103,18 @@
 #include "dummypwd.h"
 #endif
 
+#if HAVE_LC_MESSAGES
+#include <locale.h>
+#endif
+
 #if ENABLE_NLS
 #include <libintl.h>
 #define _(String) gettext (String)
 #else
 #define _(String) String
+#ifndef ngettext
+#define ngettext(String1,String2,Var) Var == 1 ? String1 : String2
 #endif
-
-#if HAVE_LC_MESSAGES
-#include <locale.h>
 #endif
 
 #ifndef HAVE_GETCWD


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31607>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]