a2ps-commit
[Top][All Lists]
Advanced

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

CVS: a2ps/lib Makefile.am,1.2,1.3 liba2ps.h,1.3,1.4 system.h,1.2,1.3


From: Akim Demaille <address@hidden>
Subject: CVS: a2ps/lib Makefile.am,1.2,1.3 liba2ps.h,1.3,1.4 system.h,1.2,1.3
Date: Mon, 25 Mar 2002 12:20:17 -0500

Update of /cvsroot/a2ps/a2ps/lib
In directory subversions:/tmp/cvs-serv19234/lib

Modified Files:
        Makefile.am liba2ps.h system.h 
Log Message:
Gettext 0.11.1.
* lib/Makefile.am (noinst_HEADERS): Add gettext.h.
* lib/system.h: Use lib/gettext.h.
* src/Makefile.am, contrib/sample/Makefile.am: @LIBINTL@ instead
of @address@hidden


Index: Makefile.am
===================================================================
RCS file: /cvsroot/a2ps/a2ps/lib/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** Makefile.am 22 Mar 2002 14:53:13 -0000      1.2
--- Makefile.am 25 Mar 2002 17:20:13 -0000      1.3
***************
*** 79,83 ****
  
  noinst_HEADERS = $(liba2psheaders) $(libitheaders) $(mylibitheaders)   \
! $(libitpureheaders)
  
  
--- 79,83 ----
  
  noinst_HEADERS = $(liba2psheaders) $(libitheaders) $(mylibitheaders)   \
! $(libitpureheaders) gettext.h
  
  

Index: liba2ps.h
===================================================================
RCS file: /cvsroot/a2ps/a2ps/lib/liba2ps.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4

Index: system.h
===================================================================
RCS file: /cvsroot/a2ps/a2ps/lib/system.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** system.h    22 Mar 2002 14:53:14 -0000      1.2
--- system.h    25 Mar 2002 17:20:13 -0000      1.3
***************
*** 421,440 ****
  `---------------------------*/
  
! #if HAVE_LOCALE_H
  # include <locale.h>
  #endif
! #if !HAVE_SETLOCALE
! # define setlocale(Category, Locale) /* empty */
  #endif
  
! #if ENABLE_NLS
! # include <libintl.h>
! # define _(Text) gettext (Text)
! #else
! # define bindtextdomain(Domain, Directory) /* empty */
! # define textdomain(Domain) /* empty */
! # define _(Text) Text
! #endif
! #define N_(Text) Text
  
  
--- 421,434 ----
  `---------------------------*/
  
! #ifdef HAVE_LOCALE_H
  # include <locale.h>
  #endif
! #ifndef HAVE_SETLOCALE
! # define setlocale(Category, Locale)
  #endif
  
! #include "gettext.h"
! #define _(Msgid)  gettext (Msgid)
! #define N_(Msgid) (Msgid)
  
  




reply via email to

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