7 +#ifdef _ /* fix libintl-stub */
10 /* gettext helper macros. */
11 #define _(Str) dgettext ("elfutils", Str)
20 +#ifdef _ /* fix libintl-stub */
23 /* gettext helper macros. */
24 #define _(Str) dgettext ("elfutils", Str)
26 --- a/libdwfl/libdwflP.h
27 +++ b/libdwfl/libdwflP.h
30 typedef struct Dwfl_Process Dwfl_Process;
32 +#ifdef _ /* fix libintl-stub */
35 /* gettext helper macros. */
36 #define _(Str) dgettext ("elfutils", Str)
38 --- a/libasm/libasmP.h
39 +++ b/libasm/libasmP.h
44 +#ifdef _ /* fix libintl-stub */
47 /* gettext helper macros. */
48 #define _(Str) dgettext ("elfutils", Str)
50 --- a/config/libelf.pc.in
51 +++ b/config/libelf.pc.in
52 @@ -8,7 +8,7 @@ Description: elfutils libelf library to
54 URL: http://elfutils.org/
56 -Libs: -L${libdir} -lelf
57 +Libs: -L${libdir} -lelf @intl_LDFLAGS@
58 Cflags: -I${includedir}
60 Requires.private: zlib
63 @@ -538,6 +538,9 @@ AC_CONFIG_FILES([config/libelf.pc config
64 AC_SUBST(USE_NLS, yes)
67 +case "$USE_NLS" in yes) intl_LDFLAGS="-lintl" ;; esac
68 +AC_SUBST([intl_LDFLAGS])
70 dnl Appended to the config.h file.
71 dnl We hide all kinds of configuration magic in lib/eu-config.h.
72 AH_BOTTOM([#include <eu-config.h>])