diff options
author | SVN Migration <svn@php.net> | 2004-04-21 09:59:53 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2004-04-21 09:59:53 +0000 |
commit | a82e4c40a2a16232c9e77b24331d8db218aaa46c (patch) | |
tree | 9c60b971f81377fc32657c7e1e549c5f371da644 /ext/enchant/config.m4 | |
parent | 40c20d3d722e35e22849f0429ea89f809b071ba8 (diff) | |
download | php-git-php-5.0.0RC2RC2.tar.gz |
This commit was manufactured by cvs2svn to create tag 'php_5_0_0RC2RC2'.php-5.0.0RC2RC2
Diffstat (limited to 'ext/enchant/config.m4')
-rwxr-xr-x | ext/enchant/config.m4 | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/ext/enchant/config.m4 b/ext/enchant/config.m4 deleted file mode 100755 index b59cd8fb3c..0000000000 --- a/ext/enchant/config.m4 +++ /dev/null @@ -1,36 +0,0 @@ -dnl -dnl $Id$ -dnl - -PHP_ARG_WITH(enchant,for ENCHANT support, -[ --with-enchant[=DIR] Include enchant support. - GNU Aspell version 1.1.3 or higher required.]) - -if test "$PHP_ENCHANT" != "no"; then - PHP_NEW_EXTENSION(enchant, enchant.c, $ext_shared) - if test "$PHP_ENCHANT" != "yes"; then - ENCHANT_SEARCH_DIRS=$PHP_ENCHANT - else - ENCHANT_SEARCH_DIRS="/usr/local /usr" - fi - for i in $ENCHANT_SEARCH_DIRS; do - if test -f $i/include/enchant/enchant.h; then - ENCHANT_DIR=$i - ENCHANT_INCDIR=$i/include/enchant - elif test -f $i/include/enchant.h; then - ENCHANT_DIR=$i - ENCHANT_INCDIR=$i/include - fi - done - - if test -z "$ENCHANT_DIR"; then - AC_MSG_ERROR(Cannot find enchant) - fi - - ENCHANT_LIBDIR=$ENCHANT_DIR/lib - - AC_DEFINE(HAVE_ENCHANT,1,[ ]) - PHP_SUBST(ENCHANT_SHARED_LIBADD) - PHP_ADD_LIBRARY_WITH_PATH(enchant, $ENCHANT_LIBDIR, ENCHANT_SHARED_LIBADD) - PHP_ADD_INCLUDE($ENCHANT_INCDIR) -fi |