[master] 8abc20da6 Enable automake maintainer mode for development

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Feb 13 21:45:09 UTC 2020


commit 8abc20da6066dc14b410e94c48c464c2639cbb49
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Thu Feb 13 20:20:43 2020 +0100

    Enable automake maintainer mode for development
    
    In maintainer mode, whenever a file managed by autoconf or automake is
    changed it is regenerated on the fly. For Makefile.am files this also
    applies to any fragment .am file referenced by the include directive.
    
    The configure script disables the maintainer mode by default, which is
    probably a sane behavior because downstream usage of dist archives don't
    need the various autotools to be present, unless a Makefile or similar
    is patched.
    
    This is explicitly enabled by the autogen.des script, in order to make
    this change only impact development, saving most of the time a configure
    step after amending something in the build.
    
    Refs #3184

diff --git a/autogen.des b/autogen.des
index ecb24d9fa..6fe0dcbca 100755
--- a/autogen.des
+++ b/autogen.des
@@ -34,6 +34,7 @@ export CONFIG_SHELL
 # env MAKE=gmake \
 $SRCDIR/configure \
     $DST \
+    --enable-maintainer-mode \
     --enable-developer-warnings \
     --enable-debugging-symbols \
     --enable-dependency-tracking \


More information about the varnish-commit mailing list