add guards in config.h to avoid multiple inclusions

SVN revision: 55951
This commit is contained in:
Vincent Torri 2011-01-06 18:58:09 +00:00
parent 67b1000afa
commit 5cfb046aa9
1 changed files with 9 additions and 1 deletions

View File

@ -26,8 +26,16 @@ AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_ISC_POSIX
AC_CONFIG_HEADERS([config.h])
AH_TOP([
#ifndef EFL_CONFIG_H__
#define EFL_CONFIG_H__
])
AH_BOTTOM([
#endif /* EFL_CONFIG_H__ */
])
AM_INIT_AUTOMAKE([1.6 dist-bzip2])
AM_CONFIG_HEADER([config.h])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_GNU_SOURCE