automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AM_DISTCHECK_CONFIGURE_FLAGS


From: Sergey Poznyakoff
Subject: AM_DISTCHECK_CONFIGURE_FLAGS
Date: Fri, 31 Jul 2009 12:38:04 +0300

Hello,

Sometimes it is necessary to always use certain configure
options during distcheck. For example, in GNU cpio we do
not build `mt' by default, but we'd like to always build
it during distcheck, to ensure that nothing went wrong with
it. That could be achieved if automake used
AM_DISTCHECK_CONFIGURE_FLAGS variable, along with
DISTCHECK_CONFIGURE_FLAGS. How about the attached patch?

Regards,
Sergey

diff --git a/lib/am/distdir.am b/lib/am/distdir.am
index e3294fb..485140f 100644
--- a/lib/am/distdir.am
+++ b/lib/am/distdir.am
@@ -472,7 +472,7 @@ distcheck: dist
 ?GETTEXT?          --with-included-gettext \
 ## Additional flags for configure.  Keep this last in the configure
 ## invocation so the user can override previous options.
-           $(DISTCHECK_CONFIGURE_FLAGS) \
+           $(AM_DISTCHECK_CONFIGURE_FLAGS) $(DISTCHECK_CONFIGURE_FLAGS) \
          && $(MAKE) $(AM_MAKEFLAGS) \
          && $(MAKE) $(AM_MAKEFLAGS) dvi \
          && $(MAKE) $(AM_MAKEFLAGS) check \

reply via email to

[Prev in Thread] Current Thread [Next in Thread]