[kaffe] CVS kaffe (robilad): fix for #76

Kaffe CVS cvs-commits at kaffe.org
Sun Nov 19 07:37:16 PST 2006


PatchSet 7445 
Date: 2006/11/19 15:36:16
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
fix for #76

2006-11-19  Dalibor Topic  <robilad at kaffe.org>

        Fix for #76.

        * configure.ac: Check if lib(un)gif header is installed,
        when building kaffe X AWT and error out if it isn't.

Members: 
	ChangeLog:1.4945->1.4946 
	configure:1.579->1.580 
	configure.ac:1.257->1.258 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4945 kaffe/ChangeLog:1.4946
--- kaffe/ChangeLog:1.4945	Thu Nov 16 23:46:45 2006
+++ kaffe/ChangeLog	Sun Nov 19 15:36:16 2006
@@ -1,3 +1,10 @@
+2006-11-19  Dalibor Topic  <robilad at kaffe.org>
+
+	Fix for #76.
+
+	* configure.ac: Check if lib(un)gif header is installed,
+	when building kaffe X AWT and error out if it isn't.
+
 2006-11-17  Dalibor Topic  <robilad at kaffe.org>
 
 	* WHATSNEW: Added port to GNU/kFreeBSD.
Index: kaffe/configure
diff -u kaffe/configure:1.579 kaffe/configure:1.580
--- kaffe/configure:1.579	Tue Nov  7 03:37:31 2006
+++ kaffe/configure	Sun Nov 19 15:36:16 2006
@@ -50444,6 +50444,10 @@
 LIBS="$KSAVE_LIBS"
 
            fi
+	else
+	   { { echo "$as_me:$LINENO: error: No gif_lib.h found. Please install libungif or libgif." >&5
+echo "$as_me: error: No gif_lib.h found. Please install libungif or libgif." >&2;}
+   { (exit 1); exit 1; }; }
         fi
 
 	LIBS=$OLIBS
Index: kaffe/configure.ac
diff -u kaffe/configure.ac:1.257 kaffe/configure.ac:1.258
--- kaffe/configure.ac:1.257	Tue Nov  7 03:37:32 2006
+++ kaffe/configure.ac	Sun Nov 19 15:36:17 2006
@@ -1863,6 +1863,8 @@
 	   if test x"$ac_cv_lib_ungif_DGifOpen" != x"yes"; then
 	     AC_CHECK_LIBRARY(gif,DGifOpen,GIF_LIBS)
            fi
+	else
+	   AC_ERROR([No gif_lib.h found. Please install libungif or libgif.])
         fi
 
 	LIBS=$OLIBS




More information about the kaffe mailing list