summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/gd/config.m46
-rw-r--r--ext/gd/php_gd.h3
2 files changed, 3 insertions, 6 deletions
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)