]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CI: Do not use buildconf. Instead, just use: autoreconf -fi
authorPhilip H <47042125+pheiduck@users.noreply.github.com>
Tue, 15 Mar 2022 09:25:25 +0000 (10:25 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 15 Mar 2022 13:15:35 +0000 (14:15 +0100)
Closes #8596

14 files changed:
.azure-pipelines.yml
.circleci/config.yml
.cirrus.yml
.github/workflows/linux-hyper.yml
.github/workflows/macos.yml
.github/workflows/mbedtls.yml
.github/workflows/nss.yml
.github/workflows/rustls.yml
.github/workflows/wolfssl.yml
.lgtm.yml
.lift/setup.sh
appveyor.yml
scripts/zuul/before_script.sh
scripts/zuul/script.sh

index 97afbd189b341e8f333f7d9284a414007ab42835..2603605cf67cb71cea19da6d366c0e6d508cf25c 100644 (file)
@@ -80,7 +80,7 @@ stages:
     - script: sudo apt-get update && sudo apt-get install -y stunnel4 python3-impacket libzstd-dev libbrotli-dev $(install)
       displayName: 'apt install'
 
-    - script: ./buildconf && ./configure --enable-warnings --enable-werror $(configure)
+    - script: autoreconf -fi && ./configure --enable-warnings --enable-werror $(configure)
       displayName: 'configure $(name)'
 
     - script: make V=1 && make V=1 examples && cd tests && make V=1
@@ -107,7 +107,7 @@ stages:
           name: default
           install:
     steps:
-    - script: ./buildconf && ./configure --without-ssl
+    - script: autoreconf -fi && ./configure --without-ssl
       displayName: 'configure $(name)'
 
     - script: make && ./maketgz 99.98.97
@@ -169,8 +169,8 @@ stages:
     - script: sudo apt-get update && sudo apt-get install -y clang-tools-10 clang-9 libssl-dev libssh2-1-dev libpsl-dev libbrotli-dev libzstd-dev
       displayName: 'apt install'
 
-    - script: ./buildconf
-      displayName: 'buildconf'
+    - script: autoreconf -fi
+      displayName: 'autoreconf'
 
     - script: scan-build-10 ./configure --enable-debug --enable-werror --with-openssl --with-libssh2
       displayName: 'configure'
@@ -285,7 +285,7 @@ stages:
       displayName: 'prepare'
       condition: variables.prepare
 
-    - script: $(container_cmd) -l -c "cd $(echo '%cd%') && ./buildconf && ./configure $(configure)"
+    - script: $(container_cmd) -l -c "cd $(echo '%cd%') && autoreconf -fi && ./configure $(configure)"
       displayName: 'configure $(name)'
 
     - script: $(container_cmd) -l -c "cd $(echo '%cd%') && make V=1 && make V=1 examples && cd tests && make V=1"
index 8af8fb69cb19cf69225bb65e8f1242be8fbc1f8c..1443c19f22ed07e8e95d8339bf2bad69f82e4ef5 100644 (file)
@@ -30,21 +30,21 @@ commands:
     steps:
       - run:
           command: |
-            ./buildconf
+            autoreconf -fi
             ./configure --enable-warnings --enable-werror --with-openssl
 
   configure-openssl-no-verbose:
     steps:
       - run:
           command: |
-            ./buildconf
+            autoreconf -fi
             ./configure --disable-verbose --enable-werror --with-openssl
 
   configure-no-proxy:
     steps:
       - run:
           command: |
-            ./buildconf
+            autoreconf -fi
             ./configure --disable-proxy --enable-werror --with-openssl
 
   install-cares:
@@ -69,7 +69,7 @@ commands:
     steps:
       - run:
           command: |
-            ./buildconf
+            autoreconf -fi
             ./configure --enable-warnings --enable-werror --with-openssl --with-libssh
 
   install-wolfssl:
@@ -98,21 +98,21 @@ commands:
     steps:
       - run:
           command: |
-            ./buildconf
+            autoreconf -fi
             ./configure --enable-warnings --enable-werror --with-openssl --enable-ares
 
   configure-wolfssh:
     steps:
       - run:
           command: |
-            ./buildconf
+            autoreconf -fi
             LDFLAGS="-Wl,-rpath,$HOME/wssh/lib" ./configure --enable-warnings --enable-werror --with-wolfssl=$HOME/wssl --with-wolfssh=$HOME/wssh
 
   configure-cares-debug:
     steps:
       - run:
           command: |
-            ./buildconf
+            autoreconf -fi
             ./configure --enable-debug --enable-werror --with-openssl --enable-ares
 
   build:
index 85fcc53825d59571353f3ea18a4acbac4448399b..102a27db03b9492dd681ce4595825ce7a3a19539 100644 (file)
@@ -5,7 +5,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
 #
 # This software is licensed as described in the file COPYING, which
 # you should have received as part of this distribution. The terms
@@ -46,7 +46,7 @@ freebsd_task:
     - easy_install "pyOpenSSL<20.0"
     - easy_install "impacket"
   configure_script:
-    - ./buildconf
+    - autoreconf -fi
     # Building with the address sanitizer is causing unexplainable test issues due to timeouts
     #- case `uname -r` in
     #    12.2*)
@@ -120,7 +120,7 @@ windows_task:
   prepare_script: |
     %container_cmd% -l -c "cd $(echo '%cd%') && %prepare%"
   configure_script: |
-    %container_cmd% -l -c "cd $(echo '%cd%') && ./buildconf && ./configure %configure%"
+    %container_cmd% -l -c "cd $(echo '%cd%') && autoreconf -fi && ./configure %configure%"
   compile_script: |
     %container_cmd% -l -c "cd $(echo '%cd%') && make V=1 && make V=1 examples && cd tests && make V=1"
   install_script: |
index ba3cf97818afd75d2fa6883c64ec62f2d1826b4d..01b8e801127b3b205342030d2f6fd41e421d3bf5 100644 (file)
@@ -43,7 +43,7 @@ jobs:
 
     - uses: actions/checkout@v2
 
-    - run: ./buildconf && LDFLAGS="-Wl,-rpath,$HOME/hyper/target/debug" ./configure --enable-warnings --enable-werror ${{ matrix.build.configure }} && make V=1
+    - run: autoreconf -fi && LDFLAGS="-Wl,-rpath,$HOME/hyper/target/debug" ./configure --enable-warnings --enable-werror ${{ matrix.build.configure }} && make V=1
       name: 'configure and build'
 
     - run: make V=1 test-ci
index ee31f07e017f6503926a03653f5b83c67a64a3b3..18c4ca4b8852aa29dc3dd151913f9fb62c667547 100644 (file)
@@ -85,8 +85,8 @@ jobs:
 
     - uses: actions/checkout@v2
 
-    - run: ./buildconf && ./configure --enable-warnings --enable-werror ${{ matrix.build.configure }}
-      name: 'configure'
+    - run: autoreconf -fi && ./configure --enable-warnings --enable-werror ${{ matrix.build.configure }}
+      name: 'configure and build'
       env:
         # -Wvla is caused by brotli
         CFLAGS: "-Wno-vla -mmacosx-version-min=${{ matrix.build.macosx-version-min }}"
index 140b601b99a33c33bf05ce5cdb0769325a45208d..aa1aa29e97d32f0902872acee3eb4db7443847bf 100644 (file)
@@ -42,7 +42,7 @@ jobs:
 
     - uses: actions/checkout@v2
 
-    - run: ./buildconf && LDFLAGS="-Wl,-rpath,$HOME/mbed/lib" ./configure --enable-warnings --enable-werror ${{ matrix.build.configure }} && make V=1
+    - run: autoreconf -fi && LDFLAGS="-Wl,-rpath,$HOME/mbed/lib" ./configure --enable-warnings --enable-werror ${{ matrix.build.configure }} && make V=1
       name: 'configure and build'
 
     - run: make V=1 test-ci
index 6e4a9ee093aefaa0df064ea2f1a3af9a2009391b..82dd006dfdb2147c9b65a9c07c85cd9898804022 100644 (file)
@@ -32,8 +32,8 @@ jobs:
 
     - uses: actions/checkout@v2
 
-    - run: ./buildconf
-      name: 'buildconf'
+    - run: autoreconf -fi
+      name: 'autoreconf'
 
     - run: CC=clang-9 CPPFLAGS="-isystem /usr/include/nss" ./configure ${{ matrix.build.configure }}
       name: 'configure with clang'
index d02e37170940423762c3b14bb803db44000a3c4c..c7c1e9cd08be229aaf7984b1e1b94b718ccde492 100644 (file)
@@ -41,7 +41,7 @@ jobs:
 
     - uses: actions/checkout@v2
 
-    - run: ./buildconf && ./configure --enable-warnings --enable-werror ${{ matrix.build.configure }} && make V=1
+    - run: autoreconf -fi && ./configure --enable-warnings --enable-werror ${{ matrix.build.configure }} && make V=1
       name: 'configure and build'
 
     - run: make V=1 test-ci
index ea1fdeb29c5cf589f4f5e2e0bfbd5e2c08591184..c78a9b74c38c9a8f0772ed023f577de71ebf6bb1 100644 (file)
@@ -46,7 +46,7 @@ jobs:
 
     - uses: actions/checkout@v2
 
-    - run: ./buildconf && LDFLAGS="-Wl,-rpath,$HOME/wssl/lib" ./configure --enable-warnings --enable-werror ${{ matrix.build.curl-configure }} && make V=1
+    - run: autoreconf -fi && LDFLAGS="-Wl,-rpath,$HOME/wssl/lib" ./configure --enable-warnings --enable-werror ${{ matrix.build.curl-configure }} && make V=1
       name: 'configure and build'
 
     - run: make V=1 test-ci
index 932e9c0b5233924aa7e9dbd35bf8a5c486d1819e..63eb43c46d258a8bffdf857fc6373180fddeb304 100644 (file)
--- a/.lgtm.yml
+++ b/.lgtm.yml
@@ -5,7 +5,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
 #
 # This software is licensed as described in the file COPYING, which
 # you should have received as part of this distribution. The terms
@@ -26,6 +26,6 @@ extraction:
         - libssl-dev
     after_prepare: # make sure lgtm.com doesn't use CMake (which generates and runs tests)
       - rm -f CMakeLists.txt
-      - ./buildconf
+      - autoreconf -fi
     configure: # enable as many optional features as possible
       command: ./configure --enable-ares --with-libssh2 --with-gssapi --with-librtmp --with-openssl
index a9bc873b3262f912ffdc2e6ab36dd74a1165735d..62f609f5a4e35ac91f92cfcee7764d71fc6a0817 100755 (executable)
@@ -1,4 +1,4 @@
 #!/usr/bin/env bash
-./buildconf
+autoreconf -fi
 ./configure --with-openssl
 echo "Ran the setup script for Lift including autoconf and executing ./configure --with-openssl"
index 696e9601f910c782131a4a36477769852d3356ef..4bedcba9e9a4ee0599632ca9e4fed04206f177a1 100644 (file)
@@ -289,7 +289,7 @@ build_script:
         ..\builds\libcurl-vc15-x64-%PATHPART%-dll-ssl-dll-ipv6-sspi\bin\curl.exe -V
       ) else (
       if %BUILD_SYSTEM%==autotools (
-        bash.exe -e -l -c "cd /c/projects/curl && ./buildconf && ./configure %CONFIG_ARGS% && make V=1 && make V=1 examples && cd tests && make V=1"
+        bash.exe -e -l -c "cd /c/projects/curl && autoreconf -fi && ./configure %CONFIG_ARGS% && make V=1 && make V=1 examples && cd tests && make V=1"
       )))))
     - if %TESTING%==ON (
         if %BUILD_SYSTEM%==CMake (
index 10f79f13d4b0e4b24876c1a778110bbc68121826..91b8403d5042ab48f2501d73bc0a897fa7a90e1d 100755 (executable)
@@ -22,7 +22,7 @@
 ###########################################################################
 set -eo pipefail
 
-./buildconf
+autoreconf -fi
 
 if [ "$NGTCP2" = yes ]; then
   if [ "$TRAVIS_OS_NAME" = linux -a "$GNUTLS" ]; then
index 1a6bc810911e15bfab6ab26bf83ed3ad2ecf200c..3aed44b9da8c0aa54ccd565bdf6f6b5dd625b07e 100755 (executable)
@@ -22,7 +22,7 @@
 ###########################################################################
 set -eo pipefail
 
-./buildconf
+autoreconf -fi
 
 if [ "$T" = "coverage" ]; then
   ./configure --enable-debug --disable-shared --disable-threaded-resolver --enable-code-coverage --enable-werror --with-libssh2