* Bug 15450 fixed: compilation: support to ppc64le added 15/20015/3
Gilles Filippini [Fri, 4 May 2018 21:19:46 +0000 (23:19 +0200)]
  http://bugzilla.scilab.org/15450

  Patch pushed.

Change-Id: I9955128c565865589408fd5d0b8f1c8c802ba6d9

scilab/CHANGES.md
scilab/bin/scilab
scilab/m4/java.m4

index 6bcbb1c..27d7087 100644 (file)
@@ -466,6 +466,7 @@ Known issues
 * [#15447](http://bugzilla.scilab.org/show_bug.cgi?id=15447): The scilab.appdata.xml file deserved some refreshment.
 * [#15448](http://bugzilla.scilab.org/show_bug.cgi?id=15448): The Linux desktop files needed to be refreshed.
 * [#15449](http://bugzilla.scilab.org/show_bug.cgi?id=15449): Some small changes were required to ease the compilation with gcc >= 7.
+* [#15450](http://bugzilla.scilab.org/show_bug.cgi?id=15450): Scilab's compilation did not support the ppc64le architecture.
 * [#15464](http://bugzilla.scilab.org/show_bug.cgi?id=15464): Xcos C-blocks could not link dlls on Windows.
 * [#15484](http://bugzilla.scilab.org/show_bug.cgi?id=15484): On Windows, `isdir("w:")`, `isdir("w:/")`, and `isdir("w:\")` returned %T whenever the W: drive does not exist.
 * [#15489](http://bugzilla.scilab.org/show_bug.cgi?id=15489): Help pages of `covStart`, `covStop`, `covWrite` and `covMerge` were not built for the fr, ja, pt and ru languages, and were unreachable from a session in non `en_US` language.
index eff34c5..d0d0971 100755 (executable)
@@ -538,9 +538,12 @@ detect_java_vm() {
                         "ppc"|"powerpc")
                             proc="ppc"
                             ;;
-                        "ppc64"|"ppc64el")
+                        "ppc64")
                             proc="ppc64"
                             ;;
+                        "ppc64le")
+                            proc="ppc64le"
+                            ;;
                         "s390")
                             proc="s390"
                             ;;
index a338b5b..a2724ad 100644 (file)
@@ -480,7 +480,10 @@ AC_DEFUN([AC_JAVA_JNI_LIBS], [
         powerpc)
           machine=ppc
           ;;
-        ppc64|ppc64le)
+        ppc64le)
+          machine=ppc64le
+          ;;
+        ppc64)
           machine=ppc64
           ;;
         armv*)