View | Details | Raw Unified | Return to bug 217222 | Differences between
and this patch

Collapse All | Expand All

(-)config.m4 (-2 / +2 lines)
Lines 359-363 Link Here
359
  if test "$GD_MODULE_TYPE" = "builtin"; then 
359
  if test "$GD_MODULE_TYPE" = "builtin"; then 
360
    PHP_ADD_BUILD_DIR($ext_builddir/libgd)
360
    PHP_ADD_BUILD_DIR($ext_builddir/libgd)
361
    GDLIB_CFLAGS="-I$ext_srcdir/libgd $GDLIB_CFLAGS"
361
    GDLIB_CFLAGS="-I../.. -I$ext_srcdir/libgd $GDLIB_CFLAGS"
362
    GD_HEADER_DIRS="ext/gd/ ext/gd/libgd/"
362
    GD_HEADER_DIRS="ext/gd/ ext/gd/libgd/"
363
363
Lines 367-371 Link Here
367
  else
367
  else
368
    GD_HEADER_DIRS="ext/gd/"
368
    GD_HEADER_DIRS="ext/gd/"
369
    GDLIB_CFLAGS="-I$GD_INCLUDE $GDLIB_CFLAGS"
369
    GDLIB_CFLAGS="-I../.. -I$GD_INCLUDE $GDLIB_CFLAGS"
370
    PHP_ADD_INCLUDE($GD_INCLUDE)
370
    PHP_ADD_INCLUDE($GD_INCLUDE)
371
    PHP_CHECK_LIBRARY(gd, gdImageCreate, [], [
371
    PHP_CHECK_LIBRARY(gd, gdImageCreate, [], [

Return to bug 217222