cvs: php4 /ext/gd config.m4 php_gd.h
| From: | Jani Taskinen | Date: | Tue, 28 Nov 2000 08:06:31 +0000 |
| Subject: | cvs: php4 /ext/gd config.m4 php_gd.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2810@lists.php.net to get a copy of this message | ||
sniper Tue Nov 28 00:06:31 2000 EDT
Modified files:
/php4/ext/gd config.m4 php_gd.h
Log:
AC_CHECK_LIB prints out yes/no itself.
Index: php4/ext/gd/config.m4
diff -u php4/ext/gd/config.m4:1.48 php4/ext/gd/config.m4:1.49
--- php4/ext/gd/config.m4:1.48 Sat Nov 11 11:27:46 2000
+++ php4/ext/gd/config.m4 Tue Nov 28 00:06:30 2000
@@ -232,12 +232,8 @@
AC_ADD_INCLUDE("$withval/include")
fi
fi
+ AC_MSG_RESULT(yes)
AC_CHECK_LIB(t1, T1_GetExtend, [AC_DEFINE(HAVE_LIBT1,1,[ ])])
- if test "$ac_cv_lib_t1_T1_GetExtend" = "yes"; then
- AC_MSG_RESULT(yes)
- else
- AC_MSG_RESULT(no)
- fi
else
AC_MSG_RESULT(no)
fi
Index: php4/ext/gd/php_gd.h
diff -u php4/ext/gd/php_gd.h:1.18 php4/ext/gd/php_gd.h:1.19
--- php4/ext/gd/php_gd.h:1.18 Fri Nov 3 11:53:42 2000
+++ php4/ext/gd/php_gd.h Tue Nov 28 00:06:30 2000
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_gd.h,v 1.18 2000/11/03 19:53:42 mathieu Exp $ */
+/* $Id: php_gd.h,v 1.19 2000/11/28 08:06:30 sniper Exp $ */
#ifndef PHP_GD_H
#define PHP_GD_H
@@ -130,13 +130,14 @@
PHP_FUNCTION(imagepsslantfont);
PHP_FUNCTION(imagepstext);
PHP_FUNCTION(imagepsbbox);
-PHPAPI int phpi_get_le_gd(void);
gdImagePtr _php_image_create_from_string ( zval **Data, char *tn, gdImagePtr (*ioctx_func_p)() );
static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn,
gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)());
static void _php_image_output(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void
(*func_p)());
static void _php_image_output_wbmp(gdImagePtr im, FILE *fp);
static int _php_image_type ( char data[8] );
+
+PHPAPI int phpi_get_le_gd(void);
#ifdef ZTS
#define GDLS_D php_gd_globals *gd_globals