diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-10-25 21:12:17 -0400 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-10-25 21:12:17 -0400 |
commit | 4e61cfe45d3fa26f73870c0242798c9d42eb5baf (patch) | |
tree | 4d74bce0b13fa71c72e0811879f1de5ed27db729 | |
parent | 541bb26bb74c136800bb2725f5feb7aa8a0bf2dd (diff) | |
download | txr-4e61cfe45d3fa26f73870c0242798c9d42eb5baf.tar.gz txr-4e61cfe45d3fa26f73870c0242798c9d42eb5baf.tar.bz2 txr-4e61cfe45d3fa26f73870c0242798c9d42eb5baf.zip |
* configure: put in set -u to trap unbound variables,
and fixed resulting errors that were found.
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | configure | 11 |
2 files changed, 16 insertions, 0 deletions
@@ -1,5 +1,10 @@ 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. (v_filter): New function. (syms_init): New symbol variable initialized. @@ -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 |