java/5688: cross compiler build fails in libjava

Alexandre Oliva aoliva@redhat.com
Tue Jun 4 12:04:00 GMT 2002


On Jun  3, 2002, "H . J . Lu" <hjl@lucon.org> wrote:

> +   if test x$build = x$host && test x$host = x$target; then
> +     AC_CHECK_FILES(/proc/self/exe, [
> +       AC_DEFINE(HAVE_PROC_SELF_EXE)])
> +   else
> +     case $target in
> +     *-linux*)
> +       AC_DEFINE(HAVE_PROC_SELF_EXE)
> +       ;;
> +     esac

One more nit: I wonder if, in the `else' branch, if $target doesn't
match, we should assume HAVE_PROC_SELF_EXE is not present, or bail out
asking the user to let us know by setting some environment variable.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Gcc-bugs mailing list