Remove "convenience header" "gettext.h" and use <libintl.h> instead.

gettextize provides a local file called "gettext.h".  Remove this and
use <libintl.h> from glibc headers instead.

Most of this change is mechanical: #include <libintl.h> in every C
file which uses any gettext function.  But also we remove the
gettext.h file, and adjust the "_" macros.

Note that this effectively removes the ./configure --disable-nls
option, although we don't know if that ever worked.
This commit is contained in:
Richard W.M. Jones
2012-04-30 16:23:05 +01:00
parent ea74856d95
commit 6aa95e87c1
39 changed files with 40 additions and 321 deletions

View File

@@ -23,6 +23,7 @@
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <libintl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/un.h>