summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh30
1 files changed, 30 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..6a646c4
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,30 @@
+#! /bin/sh
+
+if ! [ -e libev/ev++.h ]; then
+ cat <<EOF
+**
+** libev/ directory is missing
+**
+** you need a checkout of libev (http://software.schmorp.de/pkg/libev.html)
+** in the top-level build directory.
+**
+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"
+fi