bug-gnulib
[Top][All Lists]
Advanced

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

[Bug-gnulib] requirements of 'getopt' module


From: Bruno Haible
Subject: [Bug-gnulib] requirements of 'getopt' module
Date: Thu, 20 Nov 2003 22:31:49 +0100
User-agent: KMail/1.5

Simon Josefsson wrote:
> getopt: depends on gettext which adds ~15 additional files even if I
> don't use gettext.

getopt is about parsing command line arguments. And they come from a user,
even when used in your library, right? If getopt didn't use gettext, the
error message comes out in English. And what shall an average Chinese or
Japanese user do with an English error message?

So, yes, it's on purpose that getopt uses gettext, and this may force you
to link your library with -lintl on some systems.

Bruno





reply via email to

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