From: Lutz <lu...@us...> - 2005-05-04 18:12:46
|
> Lutz M=C3=BCller <lu...@us...> writes: >> What about creating a >> libexif/exif-config.h file with those variables? >> >> /* >> * You need to call bindtextdomain & friends first >> * with those variables if you would like to >> * get proper translations. >> */ >> #define EXIF_GETTEXT_PACKAGE "libexif-12" >> #define EXIF_GETTEXT_LOCALEDIR "/some/path" >> >> /* Name, version... */ >> #define EXIF_PACKAGE_NAME "..." >> #define EXIF_PACKAGE_VERSION "..." > > Bad idea. What if any of these values changes from one library version > to another? You would have to recompile (relink doesn't help here) all > applications. Ok. Then what about: const char *exif_gettext_package (void); const char *exif_gettext_localedir (void); const char *exif_package_name (void); const char *exif_package_version (void); ? Lutz |