if test "$1" = --help ; then cat <<EOF
Run the compiled octave without installing it. Make sure you are in
the octave root directory before running.
This may not work if octave is configured using --enable-shared --with-rpath,
and if you have already installed the current version. That's because the
rpath specified in the binary takes precedence over LD_LIBRARY_PATH. If
you encounter this problem, you can:
(a) use --preload as the first option to preload the libraries (this
works on Linux, but maybe not on other OSes),
(b) reconfigure using --enable-static --disable-shared --enable-dl,
(c) change OCTAVE_VERSION in src/version.h, reconfigure and recompile, or
(d) reconfigure using --without-rpath and recompile (but you will need to
reconfigure using --with-rpath and recompile before installing).
Octave is run without sourcing .octaverc first. You can do this explicitly
on startup using source("~/.octaverc").
if test ! -f src/octave.cc ; then
echo "Not in the octave root directory"