Use LIBGCRYPT_CFLAGS if we have it.

svn path=/trunk/; revision=44758
This commit is contained in:
Jeff Morriss 2012-09-03 19:53:35 +00:00
parent f90f3f3438
commit 4c0b20f3bb
2 changed files with 5 additions and 2 deletions

View File

@ -29,6 +29,8 @@ if HAVE_WARNINGS_AS_ERRORS
AM_CFLAGS = -Werror
endif
AM_CPPFLAGS = $(LIBGCRYPT_CFLAGS)
noinst_LTLIBRARIES = libairpdcap.la
CLEANFILES = \
@ -48,7 +50,7 @@ libairpdcap_la_SOURCES = \
EXTRA_DIST = \
Custom.common \
Makefile.common \
Makefile.nmake
Makefile.nmake
checkapi:
$(PERL) ../../tools/checkAPIs.pl -g termoutput -build \

View File

@ -9,7 +9,8 @@ include Makefile.common
############### no need to modify below this line #########
CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
/I../.. $(GLIB_CFLAGS) $(GNUTLS_CFLAGS)
/I../.. $(GLIB_CFLAGS) $(GNUTLS_CFLAGS) \
$(LIBGCRYPT_CFLAGS)
.c.obj::
$(CC) $(CFLAGS) -Fd.\ -c $<