summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-10-25 21:12:17 -0400
committerKaz Kylheku <kaz@kylheku.com>2011-10-25 21:12:17 -0400
commit4e61cfe45d3fa26f73870c0242798c9d42eb5baf (patch)
tree4d74bce0b13fa71c72e0811879f1de5ed27db729 /configure
parent541bb26bb74c136800bb2725f5feb7aa8a0bf2dd (diff)
downloadtxr-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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 11 insertions, 0 deletions
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