From 4e61cfe45d3fa26f73870c0242798c9d42eb5baf Mon Sep 17 00:00:00 2001 From: Kaz Kylheku 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. --- configure | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'configure') 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= or help=) then -- cgit v1.2.3