Re: [GnomeMeeting-devel-list] Building gnomemeeting



Le samedi 20 novembre 2004 à 11:36 +0100, Damien Sandras a écrit :
> > Would it be possible to get rid of the toplevel config.h entirely?
> 
> No, it is required for translations.

Are you sure the translations are using a C header file?

Here is what the various defines in config.h are used for (with my
previous patch applied, which adds VERSION_NUMBER):
* BUILD_NUMBER, VERSION, VERSION_NUMBER, MAJOR_VERSION, MINOR_VERSION,
BUILD_TYPE: used in src/gnomemeeting.cpp, src/ils.cpp,
src/main_window.cpp, src/druid.cpp, src/callbacks.cpp to determine the
type of version in different ways.
* GETTEXT_PACKAGE: src/main_window.cpp to initialize gettext.
* HAVE_DECL_STRCASECMP, HAVE_XMLREGISTERNODEDEFAULT,
HAVE_XMLSAXHANDLERV1: lib/xdap/xdap.h, lib/xdap/xdap.c, src/ils.cpp
* ENABLE_NLS, HAVE_BIND_TEXTDOMAIN_CODESET, HAVE_DCGETTEXT,
HAVE_DLFCN_H, HAVE_GETTEXT, HAVE_INTTYPES_H, HAVE_LC_MESSAGES,
HAVE_LIBXML2, HAVE_LOCALE_H, HAVE_MEMORY_H, HAVE_STDINT_H,
HAVE_STDLIB_H, HAVE_STRINGS_H, HAVE_STRING_H, HAVE_SYS_STAT_H,
HAVE_SYS_TYPES_H, HAVE_UNISTD_H, PACKAGE, PACKAGE_BUGREPORT,
PACKAGE_LOCALE_DIR, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
PACKAGE_VERSION, STDC_HEADERS: unused in the sources.

Notice that for example GETTEXT_PACKAGE is specifically defined as
"gnomemeeting" in configure.in, so could probably go away in favor of
for example PACKAGE or PACKAGE_NAME, which have the same value...

Snark




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