cvs: pecl /statgrab config.m4
| From: | Ilia Alshanetsky | Date: | Tue, 05 Apr 2005 15:17:06 +0000 |
| Subject: | cvs: pecl /statgrab config.m4 | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-2923@lists.php.net to get a copy of this message | ||
iliaa Tue Apr 5 11:17:06 2005 EDT
Modified files:
/pecl/statgrab config.m4
Log:
Fixed bug #3566 (configure failure).
http://cvs.php.net/diff.php/pecl/statgrab/config.m4?r1=1.4&r2=1.5&ty=u
Index: pecl/statgrab/config.m4
diff -u pecl/statgrab/config.m4:1.4 pecl/statgrab/config.m4:1.5
--- pecl/statgrab/config.m4:1.4 Sun Feb 13 02:30:56 2005
+++ pecl/statgrab/config.m4 Tue Apr 5 11:17:05 2005
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.4 2005/02/13 07:30:56 hholzgra Exp $
+dnl $Id: config.m4,v 1.5 2005/04/05 15:17:05 iliaa Exp $
dnl config.m4 for extension statgrab
PHP_ARG_WITH(statgrab, for libstatgrab support,
@@ -9,7 +9,7 @@
])
if test "$PHP_STATGRAB" != "no"; then
- SEARCH_PATH="/usr/local /usr"
+ SEARCH_PATH="/usr/local /usr $PHP_STATGRAB"
SEARCH_FOR="/include/statgrab.h"
if test -r $PHP_STATGRAB/$SEARCH_FOR; then # path given as parameter
STATGRAB_DIR=$PHP_STATGRAB
@@ -39,7 +39,7 @@
],[
AC_MSG_ERROR([wrong libstatgrab version or lib not found, Statgrab version 0.10+ is required.])
],[
- -L$STATGRAB_DIR/lib -lm -ldl
+ -L$STATGRAB_DIR/lib -lm
])
dnl
PHP_SUBST(STATGRAB_SHARED_LIBADD)