Bug 6471 - libhal requires libintl
Summary: libhal requires libintl
Status: RESOLVED FIXED
Alias: None
Product: hal
Classification: Unclassified
Component: libhal (show other bugs)
Version: unspecified
Hardware: x86 (IA32) NetBSD
: high normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-03 02:03 UTC by Julio Merino
Modified: 2006-08-02 16:02 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Sample patch. (1.15 KB, patch)
2006-04-03 02:03 UTC, Julio Merino
Details | Splinter Review

Description Julio Merino 2006-04-03 02:03:28 UTC
libhal uses i18n functions such as bindtextdomain.  These functions are not
always provided by the standard C library (as happens in Linux).  For example,
NetBSD has the i18n functions in libintl.

Therefore, libhal should be linked against the appropriate library that provides
the missing functions.  This library is available in the INTLLIBS variable
thanks to the AM_GLIB_GNU_GETTEXT variable used in configure.

If libhal is not linked to libintl, any program using libhal fails to build
because the missing functions cannot be found.  This happens while trying to
build the tools directory.
Comment 1 Julio Merino 2006-04-03 02:03:54 UTC
Created attachment 5167 [details] [review]
Sample patch.
Comment 2 David Zeuthen (not reading bugmail) 2006-08-02 16:02:16 UTC
Committed:

 http://gitweb.freedesktop.org/?p=hal;a=commit;h=b0402cb222a6f9966947a750d1be39fb04582ff7

Thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.