bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

adapt to latest gnulib: two patches


From: Jim Meyering
Subject: adapt to latest gnulib: two patches
Date: Mon, 29 Mar 2010 08:40:46 +0200

Just pushed:

>From 56f59c42bf09d4affabe4c89af4c55a1bc0775f6 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Mon, 29 Mar 2010 08:32:01 +0200
Subject: [PATCH 1/2] tests: disable new texinfo-acronym syntax-check from gnulib

* cfg.mk (local-checks-to-skip): Add new sc_texinfo_acronym, to skip it.
---
 cfg.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cfg.mk b/cfg.mk
index 7f0aebe..db988eb 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -23,6 +23,7 @@ gpg_key_ID = B9AB9A16
 # Tests not to run as part of "make distcheck".
 local-checks-to-skip =                 \
   sc_prohibit_strcmp                   \
+  sc_texinfo_acronym                   \
   sc_useless_cpp_parens

 # Tools used to bootstrap this package, used for "announcement".
--
1.7.0.3.448.g82eeb


>From c2b9a4fed35d198b8af8f38af877b8d1d52ec6f1 Mon Sep 17 00:00:00 2001
From: Bruno Haible <address@hidden>
Date: Mon, 29 Mar 2010 08:33:11 +0200
Subject: [PATCH 2/2] build: update after change in gnulib's lib-ignore module

* src/Makefile.am (AM_LDFLAGS): Define.  Use gnulib's new
$(IGNORE_UNUSED_LIBRARIES_CFLAGS).
---
 src/Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index f0264b0..73f3b18 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -18,6 +18,9 @@ LN = ln

 AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)

+# Tell the linker to omit references to unused shared libraries.
+AM_LDFLAGS = $(IGNORE_UNUSED_LIBRARIES_CFLAGS)
+
 bin_PROGRAMS = grep egrep fgrep
 grep_SOURCES  = grep.c
 egrep_SOURCES = egrep.c
--
1.7.0.3.448.g82eeb




reply via email to

[Prev in Thread] Current Thread [Next in Thread]