cvs: pecl /gdchart README config.m4
| From: | Rasmus Lerdorf | Date: | Fri, 22 Aug 2003 18:16:57 +0000 |
| Subject: | cvs: pecl /gdchart README config.m4 | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-420@lists.php.net to get a copy of this message | ||
rasmus Fri Aug 22 14:16:57 2003 EDT
Added files:
/pecl/gdchart README
Modified files:
/pecl/gdchart config.m4
Log:
Get rid of the hardcoded paths and add a little README
Index: pecl/gdchart/config.m4
diff -u pecl/gdchart/config.m4:1.1 pecl/gdchart/config.m4:1.2
--- pecl/gdchart/config.m4:1.1 Fri Aug 22 14:02:25 2003
+++ pecl/gdchart/config.m4 Fri Aug 22 14:16:57 2003
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.1 2003/08/22 18:02:25 rasmus Exp $
+dnl $Id: config.m4,v 1.2 2003/08/22 18:16:57 rasmus Exp $
dnl config.m4 for extension gdchart
extra_sources="gdchart-src/gdc.c gdchart-src/gdc_pie.c gdchart-src/array_alloc.c
gdchart-src/price_conv.c gdchart-src/gdchart.c"
@@ -6,10 +6,8 @@
PHP_ARG_ENABLE(gdchart, whether to enable gdchart support,
[ --enable-gdchart Enable gdchart support])
-
-PHP_ADD_INCLUDE(/home/rasmus/php43/ext/gd)
-PHP_ADD_INCLUDE(/home/rasmus/php43/ext/gd/libgd)
-
if test "$PHP_GDCHART" != "no"; then
+ PHP_ADD_INCLUDE($PHP_GDCHART)
+ PHP_ADD_INCLUDE(${PHP_GDCHART}/libgd)
PHP_NEW_EXTENSION(gdchart, gdchart.c $extra_sources, $ext_shared)
fi