Hi all,

I think the following checking broke libgd support in gschem:

http://cvs.seul.org/viewcvs/viewcvs.cgi/eda/geda/gaf/gschem/Attic/configure.ac?r1=1.32&r2=1.33

It removes AC_DEFINE(HAS_LIBGD, 1, [Define if you have libgd installed])

Which is still required to enable libgd support.

The attached patch corrects it for me. (Applies to the new
configure.ac.in).

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
diff --git a/gschem/configure.ac.in b/gschem/configure.ac.in
index 8bc6aa4..dd4b1d0 100644
--- a/gschem/configure.ac.in
+++ b/gschem/configure.ac.in
@@ -252,6 +252,7 @@ must recompile libgeda with gdlib suppor
 	else
 		AC_MSG_RESULT([yes])
 		LIBGD=yes
+		AC_DEFINE(HAS_LIBGD, 1, [If gd has been installed, define this])
 	fi
 else
 	LIBGD=no

_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to