From e9b56ab1f6105a4edd3b16f07cffa157b02c280d Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 24 Mar 2012 00:07:56 +0900 Subject: [PATCH] Added @DEFS@ to CPPFLAGS/CFLAGS. --- examples/Makefile.am | 2 +- lib/Makefile.am | 2 +- tests/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index f064548..ea7504d 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -23,7 +23,7 @@ AM_CFLAGS = -Wall AM_CPPFLAGS = -Wall -I$(srcdir)/../lib/includes -I$(builddir)/../lib/includes \ - @OPENSSL_CFLAGS@ + @OPENSSL_CFLAGS@ @DEFS@ AM_LDFLAGS = @OPENSSL_LIBS@ LDADD = $(top_builddir)/lib/libspdylay.la diff --git a/lib/Makefile.am b/lib/Makefile.am index 7c756f8..7b94796 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -23,7 +23,7 @@ SUBDIRS = includes AM_CFLAGS = -Wall -AM_CPPFLAGS = -I$(srcdir)/includes -I$(builddir)/includes +AM_CPPFLAGS = -I$(srcdir)/includes -I$(builddir)/includes @DEFS@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libspdylay.pc diff --git a/tests/Makefile.am b/tests/Makefile.am index 0c89f46..6b88052 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -38,7 +38,7 @@ main_SOURCES = $(HFILES) $(OBJECTS) main_LDADD = ${top_builddir}/lib/libspdylay.la main_LDFLAGS = -static @CUNIT_LIBS@ AM_CFLAGS = -Wall -g -O2 -I${top_srcdir}/lib -I${top_srcdir}/lib/includes -I${top_builddir}/lib/includes \ - @CUNIT_CFLAGS@ + @CUNIT_CFLAGS@ @DEFS@ TESTS = main end_to_end.py