changeset 1152:8cb9792efbf4

[project @ 1995-02-27 00:08:00 by jwe]
author jwe
date Mon, 27 Feb 1995 00:08:00 +0000
parents 8b3d86f7d1da
children ce76086a3954
files configure.in
diffstat 1 files changed, 11 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Sun Feb 26 23:38:34 1995 +0000
+++ b/configure.in	Mon Feb 27 00:08:00 1995 +0000
@@ -21,7 +21,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.99 $)
+AC_REVISION($Revision: 1.100 $)
 AC_PREREQ(2.0)
 AC_INIT(src/octave.cc)
 AC_CONFIG_HEADER(config.h)
@@ -67,32 +67,30 @@
 ### Allow the user disable support for GNU info.
 
 USE_GNU_INFO=true
+LIBINFO=../info/libinfo.a
 AC_ARG_ENABLE(info,
   [  --enable-info           use GNU info (default is yes)],
-  USE_GNU_INFO=true, USE_GNU_INFO=false)
-AC_SUBST(USE_GNU_INFO)
-LIBINFO=../info/libinfo.a
-if $USE_GNU_INFO; then
-  true
-else
+  [])
+if test "$enableval" = no; then
+  USE_GNU_INFO=false
   LIBINFO=
 fi
+AC_SUBST(USE_GNU_INFO)
 AC_SUBST(LIBINFO)
 
 ### Allow the user disable support for command line editing using GNU
 ### readline.
 
 USE_READLINE=true
+LIBREADLINE=../readline/libreadline.a
 AC_ARG_ENABLE(readline,
   [  --enable-readline       use readline library (default is yes)],
-  USE_READLINE=true, USE_READLINE=false)
-AC_SUBST(USE_READLINE)
-LIBREADLINE=../readline/libreadline.a
-if $USE_READLINE; then
-  true
-else
+  [])
+if test "$enableval" = no; then
+  USE_READLINE=false
   LIBREADLINE=
 fi
+AC_SUBST(USE_READLINE)
 AC_SUBST(LIBREADLINE)
 
 ### some defaults