add guards in config.h to avoid multiple inclusions

raster: may I rename elementary_config.h to config.h ? If I
add macros for all the init stuff, it would be nice to have
consistent name for that file


SVN revision: 55952
This commit is contained in:
Vincent Torri 2011-01-06 19:01:34 +00:00
parent 2f8ac1c9b3
commit 640754ae71
1 changed files with 9 additions and 1 deletions

View File

@ -26,8 +26,16 @@ AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_CONFIG_HEADERS([elementary_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([elementary_config.h])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_GNU_SOURCE