From: foobar Date: Tue, 28 Nov 2000 08:06:30 +0000 (+0000) Subject: AC_CHECK_LIB prints out yes/no itself. X-Git-Tag: php-4.0.4RC3~40 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c16c9fa1a04136d3d314cbbd030a211a01af73e;p=php AC_CHECK_LIB prints out yes/no itself. --- diff --git a/ext/gd/config.m4 b/ext/gd/config.m4 index e7bb4522d5..f2add0eee3 100644 --- a/ext/gd/config.m4 +++ b/ext/gd/config.m4 @@ -232,12 +232,8 @@ if test "$with_gd" != "no" && test "$ac_cv_lib_gd_gdImageLine" = "yes"; then 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 diff --git a/ext/gd/php_gd.h b/ext/gd/php_gd.h index 5444cfb68d..53c2117712 100644 --- a/ext/gd/php_gd.h +++ b/ext/gd/php_gd.h @@ -130,7 +130,6 @@ PHP_FUNCTION(imagepsextendfont); 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)()); @@ -138,6 +137,8 @@ static void _php_image_output(INTERNAL_FUNCTION_PARAMETERS, int image_type, char 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 #define GDG(v) (gd_globals->v)