From: Uwe Hermann Date: Wed, 15 Apr 2015 19:15:04 +0000 (+0200) Subject: configure.ac: Add #include guard to config.h. X-Git-Tag: libserialport-0.1.1~59 X-Git-Url: https://sigrok.org/gitweb/?a=commitdiff_plain;h=5ca38cdfe07f5c8b92564c2934e65cda5cae9a8e;hp=613c48f19198f53a8241114d89958c720fbc924a;p=libserialport.git configure.ac: Add #include guard to config.h. --- diff --git a/configure.ac b/configure.ac index b8589d0..5818778 100644 --- a/configure.ac +++ b/configure.ac @@ -33,6 +33,10 @@ AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([autostuff]) AC_CONFIG_AUX_DIR([autostuff]) +AH_TOP([#ifndef SP_CONFIG_H +#define SP_CONFIG_H]) +AH_BOTTOM([#endif]) + # We require at least automake 1.11 (needed for 'silent rules'). AM_INIT_AUTOMAKE([1.11 -Wall -Werror check-news]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])