aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautogen.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/autogen.sh b/autogen.sh
index ea1fd00..c290381 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -3,7 +3,9 @@
set -e
set -x
-aclocal
-autoheader
-autoconf
-automake --foreign --add-missing --force-missing --copy
+if ! autoreconf -fi; then
+ aclocal
+ autoheader
+ autoconf
+ automake --foreign --add-missing --force-missing --copy
+fi