octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54247] [MXE-Octave] Don't warn about missing


From: Rik
Subject: [Octave-bug-tracker] [bug #54247] [MXE-Octave] Don't warn about missing Java installation when built with --disable-java
Date: Wed, 4 Jul 2018 18:48:21 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #1, bug #54247 (project octave):

Actually, this doesn't look too hard to resolve, although I don't know the
exact syntax.

In tools/makeinst-script.sh.in there is the following


Function .onInit
  Call CheckWinVer
  Call CheckCurrVersion
  Call CheckJRE
  InitPluginsDir
FunctionEnd


The only thing that needs to be done is to make "Call CheckJRE" conditional on
wether the build was configured with Java.

Since this file is processed by configure to make the file makeinst-script.sh
the necessary information is in @address@hidden  So, in pseudo-code



Function .onInit
  Call CheckWinVer
  Call CheckCurrVersion
  if (@ENABLE_JAVA@)
    Call CheckJRE
  endif
  InitPluginsDir
FunctionEnd




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54247>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]