aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsf-exg <sf-exg>2017-10-13 17:13:48 +0000
committersf-exg <sf-exg>2017-10-13 17:13:48 +0000
commitb4a2ed39db681d8cca191466433ea8e6d5362b19 (patch)
tree5e810d45343954d259e047373fb406eaf8d0a5b6
parentdfee767e673b6f87c1c1d03aed5c0b93b599aa1e (diff)
downloadrxvt-unicode-b4a2ed39db681d8cca191466433ea8e6d5362b19.tar
rxvt-unicode-b4a2ed39db681d8cca191466433ea8e6d5362b19.tar.gz
autogen.sh: Add check for libptytty directory
Patch by Petr Vorel.
-rwxr-xr-xautogen.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 915feb3e..6a646c4e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -12,6 +12,18 @@ EOF
exit 1
fi
+if ! [ -e libptytty/ptytty.m4 ]; then
+ cat <<EOF
+**
+** libptytty/ directory is missing
+**
+** you need a checkout of libptytty (http://software.schmorp.de/pkg/libptytty.html)
+** in the top-level build directory.
+**
+EOF
+ exit 1
+fi
+
if autoheader && autoconf; then
rm -rf autom4te.cache
echo "Now run ./configure"