This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: java/5688: cross compiler build fails in libjava


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]