small bug toolkit.h: but in img.c

Godmar Back gback at cs.utah.edu
Tue Jul 14 11:48:12 PDT 1998


> 
> 
> On Tue, 14 Jul 1998, Peter C.Mehlitz wrote:
> 
> > Marcus,
> > 
> > try to get libjpeg-6b (e.g. via ftp.uu.net/graphics), you need it in order to
> > load images via file or URL.
> > 
> > -- Peter
> > 
> Marcus,
> 
> I had the same error and have libjpeg installed.  I noticed that the 
> include file is installed on my machine in /usr/local/include and that
> that needed to be added to the INCLUDES in the Makefile.
> 
> kaffe-1.0.b1/libraries/clib/awt/Makefile
> 
> I haven't tried to go further with what part of configure is broken
> but guess that this is becuase I chose not to install in /usr/local.
> 

The following is a temporary hack/fix to configure.in to work around that
problem.  Don't forget that you must run autoconf after changing configure.in.

	- Godmar

---
diff -u -r1.10 configure.in
--- configure.in        1998/07/14 14:02:07     1.10
+++ configure.in        1998/07/14 18:46:18
@@ -419,6 +419,8 @@
 fi
 if test "${x_includes}" != NONE && test -n "${x_includes}"; then
        X_INCLUDES=-I`echo ${x_includes} | sed -e "s/:/ -I/g"`
+       # XXX
+       X_INCLUDES="$X_INCLUDES -I/usr/local/include"
 fi
 AC_SUBST(X_INCLUDES)
 AC_SUBST(X_LIBRARIES)



More information about the kaffe mailing list