[master] 0b4a90c07 Soft retirement of autogen.sh

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Jun 11 14:34:06 UTC 2020


commit 0b4a90c07882af3e41d4ce921283c2af8232591d
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Thu Jun 11 16:18:54 2020 +0200

    Soft retirement of autogen.sh
    
    We shouldn't need to care about all the details when autoreconf(1) can
    do that for us. The autoworld has changed over the last decade and this
    only affects Varnish developers since we ship release archives with a
    turnkey configure script. So let's see how much wreckage this change will
    cause.
    
    The script remains until its refcount drops to zero.
    
    In order to get early feedback for MacOS the relevant Travis CI job is
    already updated.

diff --git a/.travis.yml b/.travis.yml
index b3c37356e..0c0318393 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -86,7 +86,7 @@ jobs:
           update: true
       before_script:
         - export PATH="/usr/local/opt/sphinx-doc/bin:$PATH"
-        - ./autogen.sh
+        - autoreconf -i
         - ./configure
       script: *script-common
     - <<: *test-linux
diff --git a/autogen.des b/autogen.des
index 6fe0dcbca..7ef93d968 100755
--- a/autogen.des
+++ b/autogen.des
@@ -23,7 +23,7 @@ else
 fi
 
 rm -f configure
-(cd $SRCDIR && . ./autogen.sh 2>&1 | egrep -v "(subdir-objects|is in a subdirectory)")
+(cd $SRCDIR && autoreconf -i 2>&1 | egrep -v "(subdir-objects|is in a subdirectory)")
 
 # autoconf prior to 2.62 has issues with zsh 4.2 and newer
 CONFIG_SHELL=/bin/sh


More information about the varnish-commit mailing list