From: Taylor R. Campbell Date: Sat, 20 Jan 2007 21:59:32 +0000 (+0000) Subject: Enclose the argument to `test -n' in double-quotes in the tests for X-Git-Tag: 20090517-FFI~762 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=3efc6c759891f3e27bd99c968103438fc4b3378e;p=mit-scheme.git Enclose the argument to `test -n' in double-quotes in the tests for the `struct tm' member `tm_gmtoff' and the `timezone' variable. --- diff --git a/v7/src/microcode/configure.ac b/v7/src/microcode/configure.ac index 5c5925f2e..8cf8390ea 100644 --- a/v7/src/microcode/configure.ac +++ b/v7/src/microcode/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT([MIT/GNU Scheme microcode], [14.18], [bug-mit-scheme@gnu.org], [mit-scheme]) -AC_REVISION([$Id: configure.ac,v 1.32 2007/01/20 03:08:49 riastradh Exp $]) +AC_REVISION([$Id: configure.ac,v 1.33 2007/01/20 21:59:32 riastradh Exp $]) AC_CONFIG_SRCDIR([boot.c]) AC_CONFIG_HEADERS([config.h]) AC_PROG_MAKE_SET @@ -408,14 +408,14 @@ if test ${have_timezone_info} = no; then [SCM_INC_TIME]) fi -if test -n ${val_tm_gmtoff}; then +if test -n "${val_tm_gmtoff}"; then AC_DEFINE([HAVE_TM_GMTOFF], [1], [Define if `struct tm' has the `tm_gmtoff' member.]) AC_DEFINE_UNQUOTED([TM_GMTOFF], [${val_tm_gmtoff}], [Define to name of `tm_gmtoff' member if available.]) fi -if test -n ${val_timezone}; then +if test -n "${val_timezone}"; then AC_DEFINE([HAVE_TIMEZONE], [1], [Define if timezone variable is available.]) AC_DEFINE_UNQUOTED([TIMEZONE], [${val_timezone}],