cvs: php4 /ext/pspell config.m4
| From: | Vlad Krupin | Date: | Thu, 17 May 2001 00:26:12 +0000 |
| Subject: | cvs: php4 /ext/pspell config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5795@lists.php.net to get a copy of this message | ||
vlad Wed May 16 17:26:12 2001 EDT
Modified files:
/php4/ext/pspell config.m4
Log:
Fix for bug 10912.
Also, if you explicily specify path in --with-pspell, the directories
/usr, /usr/local will no longer be searched even if the library is not
found at the specified location (this seems to make more sense)
Index: php4/ext/pspell/config.m4
diff -u php4/ext/pspell/config.m4:1.3 php4/ext/pspell/config.m4:1.4
--- php4/ext/pspell/config.m4:1.3 Tue Mar 27 12:34:40 2001
+++ php4/ext/pspell/config.m4 Wed May 16 17:26:12 2001
@@ -1,11 +1,16 @@
-dnl $Id: config.m4,v 1.3 2001/03/27 20:34:40 sniper Exp $
+dnl $Id: config.m4,v 1.4 2001/05/17 00:26:12 vlad Exp $
PHP_ARG_WITH(pspell,whether to include pspell support,
[ --with-pspell[=DIR] Include PSPELL support.])
if test "$PHP_PSPELL" != "no"; then
PHP_EXTENSION(pspell, $ext_shared)
- for i in /usr/local /usr $PHP_PSPELL; do
+ if test "$PHP_PSPELL" != "yes"; then
+ PSPELL_SEARCH_DIRS=$PHP_PSPELL
+ else
+ PSPELL_SEARCH_DIRS="/usr/local /usr"
+ fi
+ for i in $PSPELL_SEARCH_DIRS; do
if test -f $i/include/pspell/pspell.h; then
PSPELL_DIR=$i
PSPELL_INCDIR=$i/include/pspell