]> sigrok.org Git - libserialport.git/commitdiff
configure.ac: Add #include guard to config.h.
authorUwe Hermann <redacted>
Wed, 15 Apr 2015 19:15:04 +0000 (21:15 +0200)
committerUwe Hermann <redacted>
Sat, 18 Apr 2015 19:54:42 +0000 (21:54 +0200)
configure.ac

index b8589d05fd6404860e72921f920acfd2e6ec5f77..5818778912c6e033fb8aa039b353f85db08983d0 100644 (file)
@@ -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])])