diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-10-30 21:41:39 +0000 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-10-30 22:26:01 +0000 |
commit | 9b156829b0ffac5e657b801b1f852608cfe8fc97 (patch) | |
tree | 752fbdd07be990591130301f4ea9fd54e24be87b /t | |
parent | 608d1a7908893b2896f5efd2a4ed22d7901262ed (diff) | |
download | automake-9b156829b0ffac5e657b801b1f852608cfe8fc97.tar.gz |
distcheck: don't allow overriding of --prefix and --srcdir by the user
Not through AM_DISTCHECK_FLAGS, nor through DISTCHECK_FLAGS. Apparently,
some packages got in the habit of relaying all the options passed to the
original ./configure invocation through to the configure invocations
in "make distcheck". This was causing problems, because it also passed
through the original --srcdir and --prefix options.
Fixes: expose bug#14991 (relates to 'distcheck')
* lib/am/distdir.am (distcheck): Pass the hard-coded --srcdir and
--prefix options *after* both the developer-defined options in
$(AM_DISTCHECK_FLAGS) and the user-defined options in $(DISTCHECK_FLAGS).
* t/list-of-tests.mk (XFAIL_TESTS): Remove the now-passing test
'distcheck-no-destdist-or-srcdir-override.sh'.
* doc/automake.texi (Checking the Distribution): Update.
* NEWS: Likewise.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't')
-rw-r--r-- | t/list-of-tests.mk | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/t/list-of-tests.mk b/t/list-of-tests.mk index 8bdbdc089..75f303a24 100644 --- a/t/list-of-tests.mk +++ b/t/list-of-tests.mk @@ -35,7 +35,6 @@ t/gcj6.sh \ t/override-conditional-2.sh \ t/override-conditional-pr13940.sh \ t/dist-pr109765.sh \ -t/distcheck-no-prefix-or-srcdir-override.sh \ t/instdir-cond2.sh \ t/java-nobase.sh \ t/objext-pr10128.sh \ |