cvs: php4(PHP_4_0_7) / configure.in
| From: | Jani Taskinen | Date: | Sat, 18 Aug 2001 18:15:23 +0000 |
| Subject: | cvs: php4(PHP_4_0_7) / configure.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6941@lists.php.net to get a copy of this message | ||
sniper Sat Aug 18 14:15:23 2001 EDT
Modified files: (Branch: PHP_4_0_7)
/php4 configure.in
Log:
MFH
Index: php4/configure.in
diff -u php4/configure.in:1.268.4.2 php4/configure.in:1.268.4.3
--- php4/configure.in:1.268.4.2 Wed Aug 15 17:41:01 2001
+++ php4/configure.in Sat Aug 18 14:15:22 2001
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.268.4.2 2001/08/15 21:41:01 sniper Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.268.4.3 2001/08/18 18:15:22 sniper Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -609,9 +609,14 @@
[ --enable-dmalloc Enable dmalloc])
if test "$PHP_DMALLOC" = "yes"; then
- AC_DEFINE(HAVE_DMALLOC,1,[Whether you have dmalloc])
- PHP_ADD_LIBRARY(dmalloc)
- CPPFLAGS="$CPPFLAGS -DDMALLOC_FUNC_CHECK"
+
+ AC_CHECK_LIB(dmalloc, dmalloc_error, [
+ PHP_ADD_LIBRARY(dmalloc)
+ AC_DEFINE(HAVE_DMALLOC,1,[Whether you have dmalloc])
+ CPPFLAGS="$CPPFLAGS -DDMALLOC_FUNC_CHECK"
+ ], [
+ AC_MSG_ERROR(Problem with enabling dmalloc. Please check config.log for details.)
+ ])
fi
# temporary until streams are better integrated