From: Alan W. I. <ai...@us...> - 2005-11-01 15:56:56
|
Update of /cvsroot/plplot/plplot/cf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11886 Modified Files: gd.ac Log Message: The gd check unsets LDFLAGS and LIBS, so the check fails for gd installed in a non-standard location. This bug found by Peter O'Gorman, and I have applied his suggested fix. Thanks, Peter! Index: gd.ac =================================================================== RCS file: /cvsroot/plplot/plplot/cf/gd.ac,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- gd.ac 27 Apr 2005 06:43:40 -0000 1.6 +++ gd.ac 1 Nov 2005 15:56:47 -0000 1.7 @@ -215,9 +215,8 @@ LIBS_SAVE=$LIBS LDFLAGS_SAVE=$LDFLAGS - CFLAGS="$GDINCCMD" - LIBS="$GDLIBCMD" - LDFLAGS= + CFLAGS="$GDINCCMD $CFLAGS" + LIBS="$GDLIBCMD $LIBS" # This test for png support is made in case this is an ancient libgd that # only supported giff (e.g., the Redhat 6.2 version). |