aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/grep/grep-2.5.1a/0001-Fix-builds-with-gettext-0.20.patch
blob: a8042eb11d6ac938c460f1136e9ffe5c72d271f8 (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
From e11be23d694c8bd4e62252874d163d06b6de3117 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Tue, 17 Dec 2019 16:46:05 +0100
Subject: [PATCH] Fix builds with gettext 0.20

Upstream-Status: Inappropriate [fixing an old version]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 Makefile.am  | 2 +-
 configure.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index e4b58c4..a851b9d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,7 @@
 ## Process this file with automake to create Makefile.in
 AUTOMAKE_OPTIONS = no-dependencies
 
-SUBDIRS = intl po lib doc src tests m4 vms bootstrap
+SUBDIRS = po lib doc src tests m4 vms bootstrap
 
 EXTRA_DIST = TODO README README-alpha PATCHES.AC PATCHES.AM
 
diff --git a/configure.in b/configure.in
index 2fa6c71..c042a10 100644
--- a/configure.in
+++ b/configure.in
@@ -70,7 +70,7 @@ esac
 
 dnl I18N feature
 ALL_LINGUAS="cs de el eo es et fr gl hr id it ja ko nl no pl pt_BR ru sl sv"
-AM_GNU_GETTEXT
+AM_GNU_GETTEXT([external])
 
 dnl DOS file name convention
 dnl sets HAVE_DOS_FILE_NAMES