summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 7377a64a..6a2ecd8b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,6 +1,13 @@
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
+function errtrace {
+ echo 1>&2 \
+ "build requires autoconf automake libtool m4 pcre pcre-devel pkg-config"
+}
+
+trap errtrace ERR
+
set -e
if [ ! -f configure.ac -o ! -f COPYING ]; then