1
0
mirror of git://sigrok.org/libserialport synced 2023-08-10 21:13:24 +03:00

configure.ac: Add #include guard to config.h.

This commit is contained in:
Uwe Hermann 2015-04-15 21:15:04 +02:00
parent 613c48f191
commit 5ca38cdfe0

View File

@ -33,6 +33,10 @@ AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([autostuff]) AC_CONFIG_MACRO_DIR([autostuff])
AC_CONFIG_AUX_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'). # We require at least automake 1.11 (needed for 'silent rules').
AM_INIT_AUTOMAKE([1.11 -Wall -Werror check-news]) AM_INIT_AUTOMAKE([1.11 -Wall -Werror check-news])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])