Commit 0774db33 authored by Ian Goldberg's avatar Ian Goldberg

We may need to run autoreconf twice in bootstrap

The first time you run autoreconf (which runs automake), automake will
not find config/depconf (because it doesn't exist yet), and will not
put it into DIST_COMMON in Makefile.in.  So if it's not in there, run
autoreconf again.

With this fix, "make dist" is reproducible.  Untarring the tarball it
produces, and running "./configure; make dist" then produces a
byte-for-byte identical tarball.
parent 2a0c5e97
......@@ -7,3 +7,11 @@ if [ ! -e config ]; then
fi
autoreconf -i
# The first time you run autoreconf (which runs automake), automake will
# not find config/depconf (because it doesn't exist yet), and will not
# put it into DIST_COMMON in Makefile.in. So if it's not in there, run
# autoreconf again
if ! grep -q config/depcomp Makefile.in; then
autoreconf -i
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment