[kaffe] sound related configure "bug"

Timothy Stack stack at cs.utah.edu
Thu Jan 23 09:36:01 PST 2003


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




More information about the kaffe mailing list