mirror of
https://https.git.savannah.gnu.org/git/gettext.git
synced 2026-01-26 15:39:11 +00:00
build: Remove unused -I options from AM_CPPFLAGS.
* gnulib-local/modules/gettext-runtime-misc (Makefile.am): Remove -I$(top_srcdir)/intl from AM_CPPFLAGS. * gettext-runtime/tests/Makefile.am (AM_CPPFLAGS): Set to empty. * gettext-tools/gnulib-lib/Makefile.am (AM_CPPFLAGS): Remove -I$(top_srcdir)/../gettext-runtime/intl. * gettext-tools/gnulib-tests/Makefile.am (AM_CPPFLAGS): Update comment. * gettext-tools/src/Makefile.am (AM_CPPFLAGS): Add comment. * gettext-tools/libgettextpo/Makefile.am (AM_CPPFLAGS): Likewise. * libtextstyle/lib/Makefile.am (AM_CPPFLAGS): Remove -I$(top_srcdir).
This commit is contained in:
parent
7797a29e9c
commit
599c8ac2b5
@ -1,5 +1,5 @@
|
||||
## Makefile for the gettext-runtime/tests subdirectory of GNU gettext
|
||||
## Copyright (C) 2005-2006, 2008-2009, 2014-2015, 2019 Free Software Foundation, Inc.
|
||||
## Copyright (C) 2005-2023 Free Software Foundation, Inc.
|
||||
##
|
||||
## This program is free software: you can redistribute it and/or modify
|
||||
## it under the terms of the GNU General Public License as published by
|
||||
@ -21,9 +21,9 @@ EXTRA_DIST =
|
||||
|
||||
TESTS =
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I.. \
|
||||
-I$(srcdir)/../intl
|
||||
# Note that Automake's $(DEFAULT_INCLUDES) already contains
|
||||
# -I. -I$(srcdir) -I$(top_builddir).
|
||||
AM_CPPFLAGS =
|
||||
|
||||
check_PROGRAMS =
|
||||
|
||||
|
||||
@ -36,8 +36,8 @@ pkgdata_DATA =
|
||||
|
||||
AM_CPPFLAGS =
|
||||
|
||||
# Hmm... is this still necessary?
|
||||
AM_CPPFLAGS += -I$(top_builddir)/../gettext-runtime/intl -I$(top_srcdir)/../gettext-runtime/intl
|
||||
# Needed for the gnulib source code that does '#include "gettext.h"'.
|
||||
AM_CPPFLAGS += -I../../gettext-runtime/intl
|
||||
# Needed so that config.h and woe32dll/export.h are found.
|
||||
AM_CPPFLAGS += -I$(top_builddir) -I$(top_srcdir)
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
## Makefile for the gettext-tools/gnulib-tests subdirectory of GNU gettext
|
||||
## Copyright (C) 2007, 2009-2010, 2019, 2021 Free Software Foundation, Inc.
|
||||
## Copyright (C) 2007-2023 Free Software Foundation, Inc.
|
||||
##
|
||||
## This program is free software: you can redistribute it and/or modify
|
||||
## it under the terms of the GNU General Public License as published by
|
||||
@ -21,7 +21,7 @@ include Makefile.gnulib
|
||||
|
||||
AUTOMAKE_OPTIONS += 1.11 color-tests
|
||||
|
||||
# Ensure that test-quotearg.c finds libintl.h.
|
||||
# Ensure that copy-acl.c, set-acl.c find libintl.h.
|
||||
AM_CPPFLAGS += -I../../gettext-runtime/intl
|
||||
|
||||
|
||||
|
||||
@ -34,6 +34,7 @@ noinst_LTLIBRARIES =
|
||||
|
||||
nodist_noinst_HEADERS = config.h
|
||||
|
||||
# The option -I$(top_srcdir) is needed so that woe32dll/export.h is found.
|
||||
AM_CPPFLAGS = \
|
||||
-I. -I$(srcdir) \
|
||||
-I.. -I$(top_srcdir) \
|
||||
|
||||
@ -90,6 +90,7 @@ projectsdir = $(pkgdatadir)/projects
|
||||
pkglibdir = $(libdir)/gettext
|
||||
pkglibexecdir = $(libexecdir)/gettext
|
||||
|
||||
# The option -I$(top_srcdir) is needed so that woe32dll/export.h is found.
|
||||
AM_CPPFLAGS = \
|
||||
-I. -I$(srcdir) \
|
||||
-I.. -I$(top_srcdir) \
|
||||
|
||||
@ -9,8 +9,8 @@ configure.ac:
|
||||
Makefile.am:
|
||||
AUTOMAKE_OPTIONS += no-dependencies
|
||||
|
||||
# Hmm... is this still necessary?
|
||||
AM_CPPFLAGS += -I$(top_builddir)/intl -I$(top_srcdir)/intl
|
||||
# Needed for the gnulib source code that does '#include "gettext.h"'.
|
||||
AM_CPPFLAGS += -I$(top_builddir)/intl
|
||||
|
||||
# Parametrization of the 'relocatable' module.
|
||||
AM_CPPFLAGS += -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1
|
||||
|
||||
@ -38,7 +38,7 @@ noinst_HEADERS = notinline.h
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I. -I$(srcdir) \
|
||||
-I$(top_builddir) -I$(top_srcdir) \
|
||||
-I$(top_builddir) \
|
||||
-Iglib \
|
||||
-DIN_LIBTEXTSTYLE
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user