From: Sander Steffann Date: Wed, 24 Nov 1999 18:50:10 +0000 (+0000) Subject: Removed an empty -L from LDFLAGS which caused errors in configure when X-Git-Tag: PRE_RETURN_REF_PATCH~259 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ed5ad0c58f50620c9391e0bcdf5afe3820cab18;p=php Removed an empty -L from LDFLAGS which caused errors in configure when running it with --with-gd (without path). Because of this configure detected every GD as GD-1.2. --- diff --git a/ext/gd/config.m4 b/ext/gd/config.m4 index 51fac09457..aa7208b043 100644 --- a/ext/gd/config.m4 +++ b/ext/gd/config.m4 @@ -21,7 +21,6 @@ AC_ARG_WITH(gd, AC_ADD_LIBRARY(gd) fi old_LDFLAGS=$LDFLAGS - LDFLAGS="$LDFLAGS -L$GD_LIB" old_LIBS=$LIBS AC_CHECK_LIB(gd, gdImageString16, [ AC_DEFINE(HAVE_LIBGD13) ]) LIBS="$LIBS -lpng -lz"