dnl To be used by plugins' configure.in scripts. dnl Defines substitution @ABI_CPPFLAGS@ dnl Defines substitution @ABI_PLUGIN_DIR@ dnl dnl Defines: dnl ABI_PLUGIN_VERSION - e.g., "0.9.5" (string) dnl ABI_PLUGIN_MAJOR - e.g., 0 (int) dnl ABI_PLUGIN_MINOR - e.g., 9 (int) dnl ABI_PLUGIN_MICRO - e.g., 5 (int) dnl AC_DEFUN([ABI_PLUGIN_SETUP],[ dnl C preprocessor defines and include path to AbiWord sources dnl ABI_CPPFLAGS="-DABI_PLUGIN_SOURCE=1" for i in af/xap/xp af/util/xp af/util/unix text/fmt/xp af/ev/xp text/ptbl/xp af/gr/xp wp/impexp/xp wp/ap/xp; do ABI_CPPFLAGS="$ABI_CPPFLAGS -I$abi_plugin_source/src/$i" done ABI_CPPFLAGS="$ABI_CPPFLAGS -DABI_PLUGIN_VERSION=\\\"$abi_plugin_version\\\" -DABI_PLUGIN_MAJOR=$abi_plugin_major -DABI_PLUGIN_MINOR=$abi_plugin_minor -DABI_PLUGIN_MICRO=$abi_plugin_micro" AC_SUBST(ABI_CPPFLAGS) dnl Installation directory for plugins dnl ABI_PLUGIN_DIR="$abi_plugin_target/plugins" AC_SUBST(ABI_PLUGIN_DIR) ])