dnl= ########################################################################## dnl= # abiword-plugins: autogen.sh header dnl= # this file is executed as a shell script dnl= dnl= # 1. abi_plugin_macro is the name of the main macro defined here: dnl= abi_plugin_macro="ABIPGN_ABISCAN" dnl= dnl= # 2. abi_plugin_files is the list of files that configure must generate: dnl= abi_plugin_files="GNUmakefile unix/GNUmakefile" dnl= dnl= # 3. abi_plugin_desc is a short description of the plugin dnl= abi_plugin_desc="Add OCR feature on top of Gnome Scan and Ocropus." dnl= dnl= # 4. abi_plugin_enable - whether plugin should be enabled by default dnl= abi_plugin_enable="yes" dnl= dnl= return dnl= ########################################################################## AC_DEFUN([ABIPGN_ABISCAN],[ # Checks for GnomeScan. GNOME_SCAN_REQUIRED_VERSION=0.5.1 PKG_CHECK_MODULES(GNOMESCAN, [gnome-scan >= $GNOME_SCAN_REQUIRED_VERSION],[ ABI_PLUGIN_REPORT([abiscan: okay]) ],[ ABI_PLUGIN_REPORT([abiscan: error gnome-scan >= $GNOME_SCAN_REQUIRED_VERSION required]) abi_plugin_disable=yes ]) AC_LANG(C++) AC_LANG(C) AC_SUBST(GNOMESCAN_CFLAGS) AC_SUBST(GNOMESCAN_LIBS) ])