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 19:11:27 +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

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

                 Summary: enscript-1.6.5.2 fails to compile with
--disable-nls
                 Project: GNU Enscript
            Submitted by: None
            Submitted on: Tue 09 Nov 2010 07:11:26 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

ngettext is used in src/main.c so some replacement has to be defined when
configure was run with --disable-nls

*** src/gsint.h__dist   Wed Jun 02 00:17:25 MDT 2010
--- src/gsint.h Tue Nov 09 18:24:05 MET 2010
***************
*** 106,114 ****
--- 106,115 ----
  #if ENABLE_NLS
  #include <libintl.h>
  #define _(String) gettext (String)
  #else
  #define _(String) String
+ #define ngettext(String1,String2,Var) Var == 1 ? String1 : String2
  #endif
  
  #if HAVE_LC_MESSAGES
  #include <locale.h>





    _______________________________________________________

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]