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