From: Hartmut Holzgraefe Date: Sat, 27 May 2000 21:09:00 +0000 (+0000) Subject: should make SuSE 6.x users happy (and anybody else with gh.d in X-Git-Tag: PRE_EIGHT_BYTE_ALLOC_PATCH~222 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=636b8927c60be3609d02d1cc1987c5c63a7092ce;p=php should make SuSE 6.x users happy (and anybody else with gh.d in /usr/include/gd ... ) --- diff --git a/ext/gd/config.m4 b/ext/gd/config.m4 index 07d89d1dba..918162d967 100644 --- a/ext/gd/config.m4 +++ b/ext/gd/config.m4 @@ -230,6 +230,9 @@ AC_ARG_WITH(t1lib, if test -f /usr/pkg/include/gd/gd.h -a -z "$GD_INCLUDE" ; then GD_INCLUDE="/usr/pkg/include/gd" fi + if test -f /usr/include/gd/gd.h -a -z "$GD_INCLUDE" ; then + GD_INCLUDE="/usr/include/gd" + fi AC_MSG_CHECKING(whether to enable 4bit antialias hack with FreeType2) AC_ARG_ENABLE(freetype-4bit-antialias-hack,