If InterViews is not installed in a directory relative to the sources as
../iv  or in /usr/local/iv then use the --with-iv=/where/you/installed/it

If you want the java use the

With no prefix option the installation directory will be /usr/local/nrn
however I ALWAYS use --prefix=`pwd` to install in place so that a mere
removal of the directory uninstalls everything.

Here are the options recognized by configure

 ./configure --help
`configure' configures this package to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX

By default, `make install' will install all the files in
`/usr/local/nrn/bin', `/usr/local/nrn/lib' etc.  You can specify
an installation prefix other than `/usr/local/nrn' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR           user executables [EPREFIX/bin]
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  --libexecdir=DIR       program executables [EPREFIX/libexec]
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  --libdir=DIR           object code libraries [EPREFIX/lib]
  --includedir=DIR       C header files [PREFIX/include]
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  --infodir=DIR          info documentation [PREFIX/info]
  --mandir=DIR           man documentation [PREFIX/man]

Program names:
  --program-prefix=PREFIX            prepend PREFIX to installed program names
  --program-suffix=SUFFIX            append SUFFIX to installed program names
  --program-transform-name=PROGRAM   run sed PROGRAM on installed
program names

X features:
  --x-includes=DIR    X include files are in DIR
  --x-libraries=DIR   X library files are in DIR

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]

Optional Features:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --enable-rpm-rules       Try to create rpm make rules (defaults to yes
for Linux)  --enable-shared=PKGS  build shared libraries default=yes
  --enable-static=PKGS  build static libraries default=no
  --disable-dependency-tracking Speeds up one-time builds
  --enable-dependency-tracking  Do not reject slow dependency extractors
  --enable-fast-install=PKGS  optimize for fast installation default=yes
  --disable-libtool-lock  avoid locking (might break parallel builds)

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-rpm-prog=PROG   Which rpm to use (optional)
  --with-rpm-extra-args=ARGS       Run rpm with extra arguments 
defaults to none)
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
  --with-pic              try to use only PIC/non-PIC objects default
use both
  --without-neosim  This is the default
  --with-neosim Compile with USENEOSIM defined

  --with-nrnjava            Must explicitly use it if you want it.
                             Enable the java interface. This builds
                             libnrnjava.so and makes the NrnJava
                             class available in hoc.

  --without-nrnjava          No java interface. This is the default

  -with-readline=dir      Specify the location of the readline library.  You
                          must specify this option if readline is not located
                          in a standard place.  The configure script looks
			  for the library in the subdirectory lib underneath
			  the directory you specify.

  --with-x                use the X Window System
  --without-x         disable everything depending on x11
              equivalent to --without-iv --without-nrnoc-x11 --without-x

  --with-nrniv              This is the default.
                             Build as much of nrniv as is consistent
                             with the existence or non-existence
                             of InterViews. I.e if InterViews is not found
                             List, Vector, File, Impedance, SaveState, etc.
                             will still be built.

  --without-nrniv            Build only nrnoc

  --with-iv=dir           Specify the location of the InterViews graphics
                          package.  You must specify this option if you
                          do not have them installed in a standard place.
			  The standard places are (from high to low precedence)
                            prefix/../iv  /usr/local/iv  /usr/local
  --without-iv            Do not compile graphics into neuron.

  --with-mpi           Also compile the parallel code in src/sundials/shared
  --without-mpi         This is the default. Do not compile the parallel
sundials code

  --with-nrnoc-x11              This is the default
                                Add the x11 window code to NRNOC to allow
                                the old style x11 window for plot, axis, etc.
  --without-nrnoc-x11		Do not compile the old style nrnoc x11 window

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L if you have libraries in a
              nonstandard directory 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I if you have
              headers in a nonstandard directory 
  CPP         C preprocessor
  CXX         C++ compiler command
  CXXFLAGS    C++ compiler flags
  CXXCPP      C++ preprocessor

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.