]> granicus.if.org Git - php/commitdiff
Remove -DPIC preprocessor macros. This is defined by libtool
authorSascha Schumann <sas@php.net>
Sun, 10 Oct 1999 12:41:56 +0000 (12:41 +0000)
committerSascha Schumann <sas@php.net>
Sun, 10 Oct 1999 12:41:56 +0000 (12:41 +0000)
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.

ext/gd/gd.c
ext/pgsql/pgsql.c
ext/snmp/snmp.c

index a0a7eb9fe9e0cb2b927afb964403569731826d19..f3d3eae22e40962c9ec87292c5bfa55e9d9be672 100644 (file)
 
 /* 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"
 #include <math.h>
index b0705a8475e83c204ea2b6ce40016a3d42ed346f..d09d474940194f428474c5d9e345ac7593e953ef 100644 (file)
 
 #include <stdlib.h>
 
-#ifdef PIC
-# define COMPILE_DL 1
-#endif
-
 #include "php.h"
 #include "php3_pgsql.h"
 #include "ext/standard/php3_standard.h"
index 8127468071d5929a386fd20a730c5533c42dd187..d0d22a6b652bcc84a9961468627a38d99d14fbb3 100644 (file)
 */
 /* $Id$ */
 
-#ifdef PIC
-# define COMPILE_DL 1
-#endif
-
 #include "php.h"
 #if defined(COMPILE_DL)
 #include "dl/phpdl.h"