cvs: /php3 configure.in /php3/functions snmp.c
| From: | Kristian K�hntopp | Date: | Sat, 04 Sep 1999 13:39:54 +0000 |
| Subject: | cvs: /php3 configure.in /php3/functions snmp.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-10549@lists.php.net to get a copy of this message | ||
kk Sat Sep 4 09:39:54 1999 EDT
Modified files:
/php3 configure.in
/php3/functions snmp.c
Log:
- Include directory named differently in Suse. We can handle this.
- Symbol renamed, then renamed back, but SET requests forgotten.
Index: php3/configure.in
diff -u php3/configure.in:1.458 php3/configure.in:1.459
--- php3/configure.in:1.458 Sat Sep 4 09:28:05 1999
+++ php3/configure.in Sat Sep 4 09:39:54 1999
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.458 1999/09/04 13:28:05 kk Exp $
+dnl $Id: configure.in,v 1.459 1999/09/04 13:39:54 kk Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(main.c)
@@ -1612,6 +1612,7 @@
test -f /usr/lib/libsnmp.a && SNMP_LIBDIR=/usr/lib
else
SNMP_INCDIR=$withval/include
+ test -d $withval/include/snmp && SNMP_INCDIR=$withval/include/snmp
test -d $withval/include/ucd-snmp && SNMP_INCDIR=$withval/include/ucd-snmp
SNMP_LIBDIR=$withval/lib
fi
Index: php3/functions/snmp.c
diff -u php3/functions/snmp.c:1.20 php3/functions/snmp.c:1.21
--- php3/functions/snmp.c:1.20 Tue Jul 13 10:08:00 1999
+++ php3/functions/snmp.c Sat Sep 4 09:39:54 1999
@@ -28,7 +28,7 @@
| Steven Lawrance <slawrance@technologist.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: snmp.c,v 1.20 1999/07/13 14:08:00 slawrance Exp $ */
+/* $Id: snmp.c,v 1.21 1999/09/04 13:39:54 kk Exp $ */
#include "php.h"
#include "internal_functions.h"
@@ -79,6 +79,7 @@
#ifndef SNMP_MSG_GET
#define SNMP_MSG_GET GET_REQ_MSG
#define SNMP_MSG_GETNEXT GETNEXT_REQ_MSG
+#define SNMP_MSG_SET SET_REQ_MSG
#endif
void _php3_snmp(INTERNAL_FUNCTION_PARAMETERS, int st);