[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Findutils-patches] [PATCH 1/8] maint: Remove --I../intl from AM_CPPFLAG
From: |
James Youngman |
Subject: |
[Findutils-patches] [PATCH 1/8] maint: Remove --I../intl from AM_CPPFLAGS; the directory is gone. |
Date: |
Sat, 2 Jan 2016 23:54:51 +0000 |
* find/Makefile.am (AM_CPPFLAGS): Remove -I../intl, since that
directory does not exist; it was removed in 2006 by Paul Eggert
(commit 9499a434f9da547373fa9d236cb397717ebb0c50).
* locate/Makefile.am (AM_CPPFLAGS): Likewise.
* xargs/Makefile.am (AM_CPPFLAGS): Likewise.
---
find/Makefile.am | 2 +-
locate/Makefile.am | 2 +-
xargs/Makefile.am | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/find/Makefile.am b/find/Makefile.am
index 3431787..3207fc5 100644
--- a/find/Makefile.am
+++ b/find/Makefile.am
@@ -15,7 +15,7 @@ oldfind_SOURCES = oldfind.c
man_MANS = find.1
EXTRA_DIST = defs.h sharefile.h print.h $(man_MANS)
-AM_CPPFLAGS = -I../gl/lib -I$(top_srcdir)/lib -I$(top_srcdir)/gl/lib -I../intl
-DLOCALEDIR=\"$(localedir)\"
+AM_CPPFLAGS = -I../gl/lib -I$(top_srcdir)/lib -I$(top_srcdir)/gl/lib
-DLOCALEDIR=\"$(localedir)\"
LDADD = ./libfindtools.a ../lib/libfind.a ../gl/lib/libgnulib.a $(LIBINTL)
$(LIB_CLOCK_GETTIME) $(LIB_EACCESS) $(LIB_SELINUX) $(LIB_CLOSE) $(MODF_LIBM)
$(FINDLIBS) $(GETHOSTNAME_LIB) $(LIB_EACCESS)
# gnulib advises we link against <first> because we use <second>:
# $(GETHOSTNAME_LIB) uname
diff --git a/locate/Makefile.am b/locate/Makefile.am
index a8efb79..ba30d01 100644
--- a/locate/Makefile.am
+++ b/locate/Makefile.am
@@ -21,7 +21,7 @@ locate_SOURCES = locate.c word_io.c
code_SOURCES = code.c word_io.c
nodist_locate_TEXINFOS = dblocation.texi
-AM_CPPFLAGS = -I$(top_srcdir)/lib -I../gl/lib -I$(top_srcdir)/gl/lib -I../intl
-DLOCATE_DB=\"$(LOCATE_DB)\" -DLOCALEDIR=\"$(localedir)\"
+AM_CPPFLAGS = -I$(top_srcdir)/lib -I../gl/lib -I$(top_srcdir)/gl/lib
-DLOCATE_DB=\"$(LOCATE_DB)\" -DLOCALEDIR=\"$(localedir)\"
LDADD = ../lib/libfind.a ../gl/lib/libgnulib.a $(LIB_CLOSE) $(LIBINTL)
diff --git a/xargs/Makefile.am b/xargs/Makefile.am
index e002334..41e8942 100644
--- a/xargs/Makefile.am
+++ b/xargs/Makefile.am
@@ -3,7 +3,7 @@ AM_CFLAGS = $(WARN_CFLAGS)
localedir = $(datadir)/locale
bin_PROGRAMS = xargs
man_MANS = xargs.1
-AM_CPPFLAGS = -I.. -I../gl/lib -I$(top_srcdir)/gl/lib -I$(top_srcdir)/lib
-I../intl -DLOCALEDIR=\"$(localedir)\"
+AM_CPPFLAGS = -I.. -I../gl/lib -I$(top_srcdir)/gl/lib -I$(top_srcdir)/lib
-DLOCALEDIR=\"$(localedir)\"
LDADD = ../lib/libfind.a ../gl/lib/libgnulib.a $(LIB_CLOSE) $(LIBINTL)
EXTRA_DIST = $(man_MANS)
SUBDIRS = . testsuite
--
2.1.4
- [Findutils-patches] (no subject), James Youngman, 2016/01/02
- [Findutils-patches] [PATCH 1/8] maint: Remove --I../intl from AM_CPPFLAGS; the directory is gone.,
James Youngman <=
- [Findutils-patches] [PATCH 4/8] xargs: Avoid unused-macro warnings., James Youngman, 2016/01/02
- [Findutils-patches] [PATCH 5/8] lib: Update the width of the st_nlink field and fix some compiler warnings., James Youngman, 2016/01/02
- [Findutils-patches] [PATCH 3/8] find: Fix a number of compiler warnings (mostly const-correctness)., James Youngman, 2016/01/02
- [Findutils-patches] [PATCH 2/8] maint: Don't define the gettext-related macro N_ where it is not needed., James Youngman, 2016/01/02
- [Findutils-patches] [PATCH 6/8] locate: Fix compiler warnings., James Youngman, 2016/01/02
- [Findutils-patches] [PATCH 8/8] configure: Add option --enable-compiler-warnings-are-errors, limit --enable-compiler-warnings., James Youngman, 2016/01/02
- [Findutils-patches] [PATCH 7/8] find: fix some compiler warnings., James Youngman, 2016/01/02