[PATCH libpciaccess 4/5] config: replace INCLUDES, which is deprecated, with AM_CPPFLAGS

Gaetan Nadon memsize at videotron.ca
Sun Oct 3 08:40:28 PDT 2010


Fixes an Automake warning.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 src/Makefile.am |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 0d774e0..523e4b1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -21,6 +21,7 @@
 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 # DEALINGS IN THE SOFTWARE.
 
+AM_CPPFLAGS = -I$(top_srcdir)/include
 AM_CFLAGS = $(CWARNFLAGS) @PCIACCESS_CFLAGS@
 
 lib_LTLIBRARIES = libpciaccess.la
@@ -67,8 +68,6 @@ libpciaccess_la_SOURCES = common_bridge.c \
 	$(VGA_ARBITER) \
 	$(OS_SUPPORT)
 
-INCLUDES = -I$(top_srcdir)/include
-
 libpciaccess_la_LIBADD = $(PCIACCESS_LIBS)
 
 libpciaccess_la_LDFLAGS = -version-number 0:10:8 -no-undefined
-- 
1.6.0.4



More information about the xorg-devel mailing list