diff --git a/autogen.sh b/autogen.sh
index badec58d317ba09804ec35caf1838983950b15fd..4342a42756808454db552aa691f2372b16b454eb 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -12,6 +12,6 @@ fi
 ### použít jen když je třeba použít configure.h.in
 #autoheader
 
-aclocal
-automake -a -c
-autoconf
+aclocal \
+&& automake -a -c
+&& autoconf