summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-05-19 16:14:13 +0200
committerJim Meyering <meyering@redhat.com>2008-05-26 08:37:08 +0200
commit7855cbfcac867621c18d1fc85abe5332f6aae1ec (patch)
tree26eb36b6769761b261ea8c7419c5ce4cea9d5a60 /src/system.h
parent29290d04856214345f966ccd8016aa0aaf758662 (diff)
downloadcoreutils-7855cbfcac867621c18d1fc85abe5332f6aae1ec.tar.xz
use gnulib's proper_name_utf8 function, but *not* proper_name
* bootstrap.conf (gnulib_modules): Add propername. (XGETTEXT_OPTIONS): Add options to tell xgettext about the functions. * src/cat.c, src/cp.c, src/df.c, src/du.c, src/split.c: Mark Torbjörn Granlund's name. * src/ptx.c: Mark François Pinard's name. Use "TRANSLATORS:" comment marker, rather than "Note to translators:". * src/system.h: Include propername.h. (proper_name): Define away. * src/Makefile.am (cat_LDADD, df_LDADD, du_LDADD, ptx_LDADD, split_LDADD): Initialize, so we can... (cat_LDADD, cp_LDADD, df_LDADD, du_LDADD, ptx_LDADD, split_LDADD): ...Use "+=" to append $(LIBICONV) for each program that uses proper_name_utf8.
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h
index b640c01df..f7c689f8e 100644
--- a/src/system.h
+++ b/src/system.h
@@ -454,6 +454,13 @@ enum
#include "closein.h"
#include "closeout.h"
#include "version-etc.h"
+#include "propername.h"
+/* Define away proper_name (leaving proper_name_utf8, which affects far
+ fewer programs), since it's not worth the cost of adding ~17KB to
+ the x86_64 text size of every single program. This avoids a 40%
+ (almost ~2MB) increase in the on-disk space utilization for the set
+ of the 100 binaries. */
+#define proper_name(x) (x)
#define case_GETOPT_VERSION_CHAR(Program_name, Authors) \
case GETOPT_VERSION_CHAR: \