PHP 4.0 Bug #6050: -I$SNMP_INCDIR missing when checking for default_store.h
| From: | peter dot marschall at mayn dot de | Date: | Thu, 10 Aug 2000 01:58:52 +0000 |
| Subject: | PHP 4.0 Bug #6050: -I$SNMP_INCDIR missing when checking for default_store.h | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28258@lists.php.net to get a copy of this message | ||
From: peter.marschall@mayn.de
Operating system: Linux 2.2
PHP version: 4.0.1pl2
PHP Bug Type: Installation problem
Bug description: -I$SNMP_INCDIR missing when checking for default_store.h
When configuring PHP4 with --with-snmp=/path/to/snmp, the given path is not honoured when doing the
checks for the include file default_store.h
The problem may be cured in two ways:
* Adding -I$SNMP_INCDIR to $INCLUDES before doing the test
* Apllying the following patch
--- configure
+++ configure Tue Aug 8 13:02:39 2000
@@ -34010,7 +34010,7 @@
old_CPPFLAGS="$CPPFLAGS"
- CPPFLAGS="$INCLUDES $CPPFLAGS"
+ CPPFLAGS="$INCLUDES -I$SNMP_INCDIR $CPPFLAGS"
for ac_hdr in default_store.h
do
ac_safe=
echo "$ac_hdr" | sed 'y%./+-%__p_%'