1// vim:ft=javascript 2 3ARG_WITH("pspell", "pspell/aspell (whatever it's called this month) support", "no"); 4 5if (PHP_PSPELL != "no") { 6 7 if (CHECK_HEADER_ADD_INCLUDE("pspell.h", "CFLAGS_PSPELL", PHP_PHP_BUILD + "\\include\\pspell;" + PHP_PSPELL) && 8 CHECK_LIB("aspell*.lib", "pspell", PHP_PSPELL)) { 9 EXTENSION('pspell', 'pspell.c'); 10 AC_DEFINE('HAVE_PSPELL', 1); 11 } else { 12 WARNING("pspell not enabled; libraries and headers not found"); 13 } 14} 15