add guards in config.h to avoid multiple inclusions

SVN revision: 55936
This commit is contained in:
Vincent Torri 2011-01-06 18:06:00 +00:00
parent 253e85c95b
commit 7fa0268487
1 changed files with 11 additions and 1 deletions

View File

@ -17,9 +17,19 @@ AC_PREREQ([2.52])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
AC_CANONICAL_HOST
AH_TOP([
#ifndef EFL_CONFIG_H__
#define EFL_CONFIG_H__
])
AH_BOTTOM([
#endif /* EFL_CONFIG_H__ */
])
### If the host is not Windows, or is ceGCC, we exit
AC_CANONICAL_HOST
case "$host_os" in
cegcc*)
AC_MSG_ERROR([ceGCC compiler is not supported anymore. Exiting...])