summaryrefslogtreecommitdiff
blob: 016e6dd40262c4ee8abfb5ed84b289f449d8774f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
gettext 0.22 removed BUILD_INCLUDED_LIBINTL and USE_INCLUDED_LIBINTL is 'no'

INSTOBJEXT was deprecated and removed, replace with .mo

Bug: https://bugs.gentoo.org/908861

--- a/intl/Makefile.in
+++ b/intl/Makefile.in
@@ -81,7 +81,7 @@
 
 INCLUDES = -I.. -I. -I$(top_srcdir)/intl -I$(top_srcdir)/lib
 
-all: all-@USE_INCLUDED_LIBINTL@
+all: all-no
 
 all-yes: libintl.$la intlh.inst
 all-no:
--- a/configure.in
+++ b/configure.in
@@ -98,7 +98,7 @@
 AM_PROG_AR
 AC_ISC_POSIX
 AC_USE_SYSTEM_EXTENSIONS
-AM_GNU_GETTEXT
+AM_GNU_GETTEXT([use-libtool])
 AC_C_CONST
 AC_C_INLINE
 
@@ -264,6 +264,8 @@
 AC_SUBST(LDFLAGS)
 AC_SUBST(LIBS)
 
+INTLLIBS="$LIBINTL"
+AC_SUBST(INTLLIBS)
 
 AC_DEFINE_UNQUOTED(LOCALEDIR,"$prefix/$DATADIRNAME", [LOCALEDIR])
 AC_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl)
--- a/po/Makefile.in.in
+++ b/po/Makefile.in.in
@@ -53,7 +53,7 @@
 
 CATALOGS = de.gmo
 CATOBJEXT = @CATOBJEXT@
-INSTOBJEXT = @INSTOBJEXT@
+INSTOBJEXT = .mo
 
 .SUFFIXES:
 .SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat