summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 7d0382061..cd14e9fe8 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -48,6 +48,12 @@ rm libltdl/configure.tmp
autoheader
autoconf
+
+# Automake has a bug that will let it only add one copy of a missing
+# file. We need two mdate-sh, tho, one in doc/ref/ and one in
+# doc/tutorial/. We run automake twice as a workaround.
+
+automake --add-missing
automake --add-missing
# Make sure that libltdl uses the same autoconf version as the rest.