summaryrefslogtreecommitdiff
path: root/legacy/evil
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-01-06 18:06:00 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-01-06 18:06:00 +0000
commit7fa0268487862e0da64cbcb9609ca483c0ee074b (patch)
treec7413fccc84bb0b7637620c6e20b0829ccc667f9 /legacy/evil
parent253e85c95b95076ab742bbd7a8662d640e39822b (diff)
add guards in config.h to avoid multiple inclusions
SVN revision: 55936
Diffstat (limited to 'legacy/evil')
-rw-r--r--legacy/evil/configure.ac12
1 files changed, 11 insertions, 1 deletions
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])
17AC_CONFIG_SRCDIR([configure.ac]) 17AC_CONFIG_SRCDIR([configure.ac])
18AC_CONFIG_MACRO_DIR([m4]) 18AC_CONFIG_MACRO_DIR([m4])
19AC_CONFIG_HEADERS([config.h]) 19AC_CONFIG_HEADERS([config.h])
20AC_CANONICAL_HOST 20AH_TOP([
21#ifndef EFL_CONFIG_H__
22#define EFL_CONFIG_H__
23])
24AH_BOTTOM([
25#endif /* EFL_CONFIG_H__ */
26])
27
21 28
22### If the host is not Windows, or is ceGCC, we exit 29### If the host is not Windows, or is ceGCC, we exit
30
31AC_CANONICAL_HOST
32
23case "$host_os" in 33case "$host_os" in
24 cegcc*) 34 cegcc*)
25 AC_MSG_ERROR([ceGCC compiler is not supported anymore. Exiting...]) 35 AC_MSG_ERROR([ceGCC compiler is not supported anymore. Exiting...])