Mercurial > hg > octave-nkf
view build-aux/OctJavaQry.java @ 17886:326963e47984
use stl_algo.h-fixed for GCC 4.8.0 and 4.8.1 if nth_element bug is detected
* acinclude.m4 (OCTAVE_CHECK_BROKEN_STL_ALGO_H): If nth_element test
fails and we are using GCC 4.8.0 or 4.8.1, then don't reset
octave_cv_broken_stl_algo_h. Someone may have patched their 4.8.0 or
4.8.1 GCC with the buggy performance patch for 4.8.2. Ubuntu, I'm
looking at you.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 08 Nov 2013 11:42:44 -0500 |
parents | fafd51a1b0f0 |
children |
line wrap: on
line source
// Code used by configure script to locate Java installation variables. // Only compiled code, OctJavaQry.class, is distributed. public class OctJavaQry { public static void main (String[] args) { if (args.length > 0) { if (args[0].equals ("JAVA_HOME")) { System.out.println (System.getProperty ("java.home")); } else if (args[0].equals ("JAVA_LDPATH")) { System.out.println (System.getProperty ("java.library.path")); } else if (args[0].equals ("JAVA_BOOTPATH")) { System.out.println (System.getProperty ("sun.boot.library.path")); } } } }