summaryrefslogtreecommitdiff
path: root/macros2/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'macros2/autogen.sh')
-rw-r--r--macros2/autogen.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/macros2/autogen.sh b/macros2/autogen.sh
index 7be40a7..735b5fa 100644
--- a/macros2/autogen.sh
+++ b/macros2/autogen.sh
@@ -153,7 +153,17 @@ do
fi
echo "Running aclocal $aclocalinclude ..."
- aclocal-1.4 $aclocalinclude
+ aclocal-1.4 $aclocalinclude || {
+ echo
+ echo "**Error**: \`aclocal' failed. Please fix the warnings"
+ echo "(probably missing development files) and try again"
+ DIE=1
+ }
+
+ if test "$DIE" -eq 1; then
+ exit 1
+ fi
+
if grep "^AM_CONFIG_HEADER" $bn >/dev/null; then
echo "Running autoheader..."
autoheader