From 4e61cfe45d3fa26f73870c0242798c9d42eb5baf Mon Sep 17 00:00:00 2001 From: Kaz Kylheku <kaz@kylheku.com> Date: Tue, 25 Oct 2011 21:12:17 -0400 Subject: * configure: put in set -u to trap unbound variables, and fixed resulting errors that were found. --- ChangeLog | 5 +++++ configure | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/ChangeLog b/ChangeLog index a64ba81f..d4cbb8ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-10-25 Kaz Kylheku <kaz@kylheku.com> + + * configure: put in set -u to trap unbound variables, + and fixed resulting errors that were found. + 2011-10-25 Kaz Kylheku <kaz@kylheku.com> * match.c (filter_s): New symbol variable. diff --git a/configure b/configure index 95905f11..fce59e28 100755 --- a/configure +++ b/configure @@ -31,6 +31,8 @@ # in the arguments, oops. # +set -u + cmdline= for arg in "$0" "$@" ; do [ -n "$cmdline" ] && cmdline="$cmdline " @@ -96,6 +98,14 @@ done # This way they can be overridden more flexibly at make time. # +# +# non-config +# +help=${help-} + +# +# config +# prefix=${prefix-/usr/local} install_prefix=${install_prefix-} bindir=${datadir-'$(prefix)/bin'} @@ -124,6 +134,7 @@ remove_flags=${remove_flags-} lex_dbg_flags=${lex_dbg_flags-} txr_dbg_opts=${txr_dbg_opts---gc-debug} valgrind=${valgrind-} +lit_align=${lit_align-} # # If --help was given (or --help=<nonempty> or help=<nonempty>) then -- cgit v1.2.3