helly           Fri Dec  6 11:33:58 2002 EDT

  Modified files:              
    /php4/ext/cpdf      cpdf.c 
  Log:
  cpdf + bundled gd
  #maybe someone finds a better solution (perhaps in config) and comitts it
  
  
Index: php4/ext/cpdf/cpdf.c
diff -u php4/ext/cpdf/cpdf.c:1.43 php4/ext/cpdf/cpdf.c:1.44
--- php4/ext/cpdf/cpdf.c:1.43   Tue Aug 13 17:35:54 2002
+++ php4/ext/cpdf/cpdf.c        Fri Dec  6 11:33:57 2002
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: cpdf.c,v 1.43 2002/08/13 21:35:54 kalowsky Exp $ */
+/* $Id: cpdf.c,v 1.44 2002/12/06 16:33:57 helly Exp $ */
 /* cpdflib.h -- C language API definitions for ClibPDF library
  * Copyright (C) 1998 FastIO Systems, All Rights Reserved.
 */
@@ -37,8 +37,12 @@
 #include "ext/standard/php_standard.h"
 #include "ext/standard/head.h"
 #include <math.h>
-#if HAVE_LIBGD13
-#include <gd.h>
+#if HAVE_GD_BUNDLED
+# include "../gd/libgd/gd.h"
+#else
+# if HAVE_LIBGD13
+#  include <gd.h>
+# endif
 #endif
 
 #ifdef HAVE_UNISTD_H



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to