From: foobar Date: Thu, 9 Nov 2000 00:16:28 +0000 (+0000) Subject: Fixed bug: #5460 X-Git-Tag: php-4.0.4RC3~269 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=443d2893800c8d5ae797de3b91f30ae05faa95b4;p=php Fixed bug: #5460 --- diff --git a/ext/gd/config.m4 b/ext/gd/config.m4 index 47742a2b1b..b09bcdb9c1 100644 --- a/ext/gd/config.m4 +++ b/ext/gd/config.m4 @@ -29,7 +29,7 @@ AC_DEFUN(PHP_GD_XPM,[ withval="/usr/X11R6" fi old_LIBS=$LIBS - LIBS="$LIBS -L$withval/lib" + LIBS="$LIBS -lX11 -L$withval/lib" AC_CHECK_LIB(Xpm,XpmFreeXpmImage, [LIBS="$LIBS -L$withval/lib -lXpm"],[AC_MSG_RESULT(no)],) LIBS=$old_LIBS AC_ADD_LIBRARY_WITH_PATH(Xpm, $withval/lib)