summaryrefslogtreecommitdiff
path: root/config/ac-macros/plugins.m4
diff options
context:
space:
mode:
authorunknown <serg@sergbook.mysql.com>2006-05-10 11:27:38 -0400
committerunknown <serg@sergbook.mysql.com>2006-05-10 11:27:38 -0400
commitbf6524db26cabf11c96898e58dbecf2694ee18fd (patch)
tree6ba8aa101847600d6b8facf3e64e7b3b4861b2b4 /config/ac-macros/plugins.m4
parentba71026e0374b97324a4a0f2887e2df846911c9d (diff)
downloadmariadb-git-bf6524db26cabf11c96898e58dbecf2694ee18fd.tar.gz
a workaround for aclocal-1.8 bug
Diffstat (limited to 'config/ac-macros/plugins.m4')
-rw-r--r--config/ac-macros/plugins.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/config/ac-macros/plugins.m4 b/config/ac-macros/plugins.m4
index c00741bcfc0..42f121149c6 100644
--- a/config/ac-macros/plugins.m4
+++ b/config/ac-macros/plugins.m4
@@ -750,7 +750,10 @@ dnl ---------------------------------------------------------------------------
AC_DEFUN([_MYSQL_INCLUDE_LIST],[
ifelse([$1], [], [], [
m4_define([__mysql_include__],[$1])
- sinclude($1)
+ dnl We have to use builtin(), because sinclude($1) generates an error
+ dnl "file $1 does not exists" in aclocal-1.8 - which is a bug, clearly
+ dnl violating m4 specs, and which is fixed in aclocal-1.9
+ builtin([include],$1)
m4_undefine([__mysql_include__])
_MYSQL_INCLUDE_LIST(m4_shift($@))
])