Mercurial > hg > octave-max
changeset 424:9056cee2487d
[project @ 1994-05-23 21:21:34 by jwe]
author | jwe |
---|---|
date | Mon, 23 May 1994 21:21:34 +0000 |
parents | 49345c503741 |
children | 4eb46050dba3 |
files | configure.in |
diffstat | 1 files changed, 18 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in +++ b/configure.in @@ -21,10 +21,10 @@ dnl along with Octave; see the file COPYING. If not, write to the Free dnl Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. dnl -AC_REVISION($Revision: 1.29 $)dnl +AC_REVISION($Revision: 1.30 $)dnl AC_PREREQ(1.8)dnl AC_INIT(src/octave.cc) -AC_CONFIG_HEADER(config.h)dnl +AC_CONFIG_HEADER(config.h) dnl AC_DEFINE(OCTAVE_SOURCE, 1)dnl dnl @@ -73,6 +73,22 @@ dnl AC_ENABLE(dld, use_dld=true, use_dld=false)dnl dnl +dnl Makes Octave look for info and function files in the same +dnl directory tree as the sources +dnl +AC_ENABLE(run-in-place, run_in_place=true, run_in_place=false)dnl +if test -n "$prefix" + AC_DEFINE(OCTAVE_HOME, $prefix)dnl +else + AC_DEFINE(OCTAVE_HOME, /usr/local)dnl +fi +if $run_in_place + AC_DEFINE(RUN_IN_PLACE, 1)dnl + AC_DEFINE(OCTAVE_HOME, $srcdir)dnl + AC_DEFINE(OCTAVE_LIB_DIR, $srcdir/scripts)dnl + AC_DEFINE(OCTAVE_INFO_DIR, $srcdir/doc)dnl +fi +dnl DYNAMIC_LD_OBJ= DLD_DIR= LIBDLD=