gtk+ patch

The following patch makes gtk+ configure correctly fail with an error if
libpng cannot be found instead of build later breaking.

Ok to commit?


	I see a dark sail on the horizon
	Set under a dark cloud that hides the sun
	Bring me my Broadsword and clear understanding

	----------% cut here %------------

RCS file: /cvs/gnome/gtk+/,v
retrieving revision 1.244
diff -u -r1.244
---	2002/01/14 01:39:24	1.244
+++	2002/01/15 20:07:17
@@ -642,7 +642,7 @@
-      AC_MSG_WARN(*** PNG loader will not be built (PNG library not found) ***), -lz -lm)
+      AC_MSG_ERROR(*** PNG loader can not be built (PNG library not found) ***), -lz -lm)
     if test "$png_ok" = yes; then
       AC_MSG_CHECKING([for png_structp in png.h])
       AC_TRY_COMPILE([#include <png.h>],

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]