summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index cc7210006971..444d970e51d9 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -91,7 +91,9 @@ $aclocal_flags = "-I ./m4/mac" if (($aclocal_flags eq "") && ($system eq 'Darwin
$ENV{AUTOMAKE_EXTRA_FLAGS} = '--warnings=no-portability' if (!($system eq 'Darwin'));
system ("aclocal $aclocal_flags") && die "Failed to run aclocal";
+unlink ("configure");
system ("autoconf") && die "Failed to run autoconf";
+die "failed to generate configure" if (! -x "configure");
if (defined $ENV{NOCONFIGURE}) {
print "Skipping configure process.";