# HG changeset patch # User jwe # Date 797651919 0 # Node ID d5a341c3d9814f653867d4c1700745f14d112e3c # Parent 1ef158ab5d98d48cc9fb7c06acdfb120a8bc01da [project @ 1995-04-12 01:57:25 by jwe] diff -r 1ef158ab5d98 -r d5a341c3d981 configure.in --- a/configure.in Wed Apr 12 01:42:29 1995 +0000 +++ b/configure.in Wed Apr 12 01:58:39 1995 +0000 @@ -20,7 +20,7 @@ ### along with Octave; see the file COPYING. If not, write to the Free ### Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -AC_REVISION($Revision: 1.117 $) +AC_REVISION($Revision: 1.118 $) AC_PREREQ(2.0) AC_INIT(src/octave.cc) AC_CONFIG_HEADER(config.h) @@ -80,24 +80,37 @@ ### Allow the user disable support for GNU info. +INFO_DIR=info USE_GNU_INFO=true LIBINFO=../info/libinfo.a AC_ARG_ENABLE(info, [ --enable-info use GNU info (default is yes)], - [if test $enableval = no; then USE_GNU_INFO=false; LIBINFO=""; fi], []) + [if test $enableval = no; then + USE_GNU_INFO=false; + LIBINFO=""; + INFO_DIR=""; + fi], []) AC_SUBST(USE_GNU_INFO) AC_SUBST(LIBINFO) +AC_SUBST(INFO_DIR) + ### Allow the user disable support for command line editing using GNU ### readline. +READLINE_DIR=readline USE_READLINE=true LIBREADLINE=../readline/libreadline.a AC_ARG_ENABLE(readline, [ --enable-readline use readline library (default is yes)], - [if test "$enableval" = no; then USE_READLINE=false; LIBREADLINE=""; fi], []) + [if test "$enableval" = no; then + USE_READLINE=false; + LIBREADLINE=""; + READLINE_DIR=""; + fi], []) AC_SUBST(USE_READLINE) AC_SUBST(LIBREADLINE) +AC_SUBST(READLINE_DIR) ### some defaults @@ -760,11 +773,7 @@ ### Run configure in subdirectories. -info_subdir= -if $USE_GNU_INFO; then - info_subdir=info -fi -AC_CONFIG_SUBDIRS(kpathsea libcruft scripts $info_subdir) +AC_CONFIG_SUBDIRS(kpathsea libcruft scripts $INFO_DIR) ### Do the substitutions in all the Makefiles. diff -r 1ef158ab5d98 -r d5a341c3d981 octMakefile.in --- a/octMakefile.in Wed Apr 12 01:42:29 1995 +0000 +++ b/octMakefile.in Wed Apr 12 01:58:39 1995 +0000 @@ -30,8 +30,8 @@ DISTDIRS = kpathsea make # Subdirectories in which to run `make all'. -SUBDIRS = libcruft liboctave @DLD_DIR@ info readline kpathsea src \ - scripts doc +SUBDIRS = libcruft liboctave @DLD_DIR@ @INFO_DIR@ @READLINE_DIR@ \ + kpathsea src scripts doc # Subdirectories in which to run `make dist'. DISTSUBDIRS = libcruft liboctave info readline src scripts dld test doc