From 7fa0268487862e0da64cbcb9609ca483c0ee074b Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Thu, 6 Jan 2011 18:06:00 +0000 Subject: [PATCH] add guards in config.h to avoid multiple inclusions SVN revision: 55936 --- legacy/evil/configure.ac | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/legacy/evil/configure.ac b/legacy/evil/configure.ac index b25b5d0a0c..6c8ed54ed6 100644 --- a/legacy/evil/configure.ac +++ b/legacy/evil/configure.ac @@ -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...])