X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=b2a12937ff7c85db3c4af1d15eb66311e9ff7b9f;hb=0838c979ccbf88bbad6598250237c248da790029;hp=bbc4b3b162e2100a7ac283451475b74000a6ceb8;hpb=f6e32b2dfa322aa4bd4a279a46d588e0e73ea238;p=libserialport.git diff --git a/Makefile.am b/Makefile.am index bbc4b3b..b2a1293 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,6 +24,9 @@ GNUMAKEFLAGS = --no-print-directory # Enable more compiler warnings. AM_CFLAGS = -std=c99 -Wall -Wextra -pedantic -Wmissing-prototypes -Wshadow +# Set flag used in libserialport.h to indicate we are building the library +# using autotools. +AM_CFLAGS += -DLIBSERIALPORT_ATBUILD lib_LTLIBRARIES = libserialport.la