- m4_sinclude(config/plugin.ac)
- dnl Add code here to read set plugin lists and set drizzled_default_plugin_list
- AC_DEFINE_UNQUOTED([PANDORA_PLUGIN_LIST],[$pandora_default_plugin_list],
- [List of plugins that should be loaded on startup if no
- value is given for --plugin-load])
+ dnl We do this to prime the files from a fresh checkout. Normally we want
+ dnl these commands to be executed by make. Perhaps we should split them into
+ dnl a few shell script snippets in config and make Make call them... we're
+ dnl going to get there...
+ dnl ANYWAY - syscmd gets called during aclocal - so before automake. It will
+ dnl get called probably during autoconf too, so it's important to protect
+ dnl with test -f ... if the files exist, we don't have the chicken/egg
+ dnl problem and therefore don't need to do anything here
+ m4_syscmd([python config/pandora-plugin > /dev/null])
+ m4_syscmd([test -f config/plugin.stamp || touch config/plugin.stamp aclocal.m4])
+
+ m4_sinclude(config/pandora-plugin.ac)