From 33f4e1f52466d5f0a3a0b4b3b300b4f2d96a1322 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 23 Feb 2001 16:09:29 +0000 Subject: [PATCH] Handle configuration arguments correctly; previously was ignoring user's arguments. --- v7/doc/configure.in | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/v7/doc/configure.in b/v7/doc/configure.in index 54a198bd9..4dc2d4d1b 100644 --- a/v7/doc/configure.in +++ b/v7/doc/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -dnl Copyright (c) 2000 Massachusetts Institute of Technology +dnl Copyright (c) 2000-2001 Massachusetts Institute of Technology dnl dnl This program is free software; you can redistribute it and/or dnl modify it under the terms of the GNU General Public License as @@ -16,7 +16,7 @@ dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, write to the Free Software dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -AC_REVISION([$Id: configure.in,v 1.3 2000/12/08 21:15:51 cph Exp $]) +AC_REVISION([$Id: configure.in,v 1.4 2001/02/23 16:09:29 cph Exp $]) AC_INIT(ref-manual/scheme.texinfo) AC_PROG_INSTALL @@ -25,9 +25,8 @@ AC_PROG_MAKE_SET INST_TARGETS= -enable_html=yes AC_ARG_ENABLE(html, [generate HTML documentation]) -if test "${enable_html}" = "yes"; then +if test "${enable_html:-yes}" = "yes"; then htmldir="${libdir}/mit-scheme/doc" elif test "${enable_html}" = "no"; then htmldir= @@ -37,9 +36,8 @@ fi test "${htmldir}" = "" || INST_TARGETS="${INST_TARGETS} install-html" AC_SUBST(htmldir) -enable_pdf=yes AC_ARG_ENABLE(pdf, [generate PDF documentation]) -if test "${enable_pdf}" = "yes"; then +if test "${enable_pdf:-yes}" = "yes"; then pdfdir="${libdir}/mit-scheme/doc" elif test "${enable_pdf}" = "no"; then pdfdir= @@ -49,9 +47,8 @@ fi test "${pdfdir}" = "" || INST_TARGETS="${INST_TARGETS} install-pdf" AC_SUBST(pdfdir) -enable_ps=yes AC_ARG_ENABLE(ps, [generate Postscript documentation]) -if test "${enable_ps}" = "yes"; then +if test "${enable_ps:-yes}" = "yes"; then psdir="${libdir}/mit-scheme/doc" elif test "${enable_ps}" = "no"; then psdir= -- 2.25.1