hi,

I'm having problems building from the current CVS repository.  The
configure script is detecting libesd in /usr/local/lib, but
/usr/local/include isn't in the include directory list when compiling.  
So, it goes boom.

Looking at configure.in, it defaults to adding /usr/local/lib if 
--with-libraries isn't specified.  So, i would suggest doing a similar 
thing for --with-includes.

AC_ARG_WITH(includes,
  [  --with-includes=dirs    Search specified directories for header files],
  [ CPPFLAGS="$CPPFLAGS"`echo " $withval" |
        sed -e 's/ / -I/g' -e 's/-I //g' -e 's/-I$//'` ],
  [ CPPFLAGS="$CPPFLAGS" ])

Changes to:

AC_ARG_WITH(includes,
  [  --with-includes=dirs    Search specified directories for header files],
  [ CPPFLAGS="$CPPFLAGS"`echo " $withval" |
        sed -e 's/ / -I/g' -e 's/-I //g' -e 's/-I$//'` ],
  [ CPPFLAGS="$CPPFLAGS -I/usr/local/include" ])


How's that sound?

thanks,

tim stack

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to