summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-09-09 06:05:21 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-09-09 06:05:21 -0700
commit64ed411ed0747d1faf8284409ba858450baa2028 (patch)
treeb773ecd2d0941cd0ca63d381077c6bbb91367a30 /configure
parent0ebd8772c407370e4a135388a0682c32cc85fea0 (diff)
downloadtxr-64ed411ed0747d1faf8284409ba858450baa2028.tar.gz
txr-64ed411ed0747d1faf8284409ba858450baa2028.tar.bz2
txr-64ed411ed0747d1faf8284409ba858450baa2028.zip
Missing termination and else clause in configure.
* configure: If we don't have alloca, we must not only print "no", but bail, because we depend on it now. If termios is not found, print no.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 7be5cffa..36992329 100755
--- a/configure
+++ b/configure
@@ -2129,6 +2129,8 @@ done
if [ -z "$have_alloca" ] ; then
printf "no\n"
+ printf "TXR requires the alloca function.\n"
+ exit 1
fi
printf "Checking for termios ... "
@@ -2147,6 +2149,8 @@ if conftest ; then
printf "yes\n"
printf "#define HAVE_TERMIOS 1\n" >> $config_h
have_termios=y
+else
+ printf "no\n"
fi
#