cvs: /php4/ext/snmp snmp.c /php4/ext/pgsql pgsql.c /php4/ext/gd gd.c
| From: | Sascha Schumann | Date: | Sun, 10 Oct 1999 12:42:27 +0000 |
| Subject: | cvs: /php4/ext/snmp snmp.c /php4/ext/pgsql pgsql.c /php4/ext/gd gd.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-5449@lists.php.net to get a copy of this message | ||
sas Sun Oct 10 08:42:27 1999 EDT
Modified files:
/php4/ext/snmp snmp.c
/php4/ext/pgsql pgsql.c
/php4/ext/gd gd.c
Log:
Remove -DPIC preprocessor macros. This is defined by libtool
automatically, if a shared library is built. This would lead
to multiple definitions of get_module(). If you want to build
modules, add -DCOMPILE_DL to your CFLAGS.
Index: php4/ext/snmp/snmp.c
diff -u php4/ext/snmp/snmp.c:1.9 php4/ext/snmp/snmp.c:1.10
--- php4/ext/snmp/snmp.c:1.9 Fri Sep 3 12:04:28 1999
+++ php4/ext/snmp/snmp.c Sun Oct 10 08:41:55 1999
@@ -17,11 +17,7 @@
| Steven Lawrance <slawrance@technologist.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: snmp.c,v 1.9 1999/09/03 16:04:28 gorgo Exp $ */
-
-#ifdef PIC
-# define COMPILE_DL 1
-#endif
+/* $Id: snmp.c,v 1.10 1999/10/10 12:41:55 sas Exp $ */
#include "php.h"
#if defined(COMPILE_DL)
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.22 php4/ext/pgsql/pgsql.c:1.23
--- php4/ext/pgsql/pgsql.c:1.22 Wed Oct 6 09:15:23 1999
+++ php4/ext/pgsql/pgsql.c Sun Oct 10 08:41:56 1999
@@ -17,13 +17,9 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pgsql.c,v 1.22 1999/10/06 13:15:23 sas Exp $ */
+/* $Id: pgsql.c,v 1.23 1999/10/10 12:41:56 sas Exp $ */
#include <stdlib.h>
-
-#ifdef PIC
-# define COMPILE_DL 1
-#endif
#include "php.h"
#include "php3_pgsql.h"
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.16 php4/ext/gd/gd.c:1.17
--- php4/ext/gd/gd.c:1.16 Mon Sep 6 12:50:11 1999
+++ php4/ext/gd/gd.c Sun Oct 10 08:41:56 1999
@@ -18,16 +18,12 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.16 1999/09/06 16:50:11 gorgo Exp $ */
+/* $Id: gd.c,v 1.17 1999/10/10 12:41:56 sas Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
/* Note that there is no code from the gd package in this file */
-
-#ifdef PIC
-# define COMPILE_DL 1
-#endif
#include "php.h"
#include "ext/standard/head.h"