Skip to content

Commit

Permalink
CI: Do not use buildconf. Instead, just use: autoreconf -fi
Browse files Browse the repository at this point in the history
Closes #8596
  • Loading branch information
pheiduck authored and bagder committed Mar 15, 2022
1 parent 94fb241 commit 22d3395
Show file tree
Hide file tree
Showing 14 changed files with 29 additions and 29 deletions.
10 changes: 5 additions & 5 deletions .azure-pipelines.yml
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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"
Expand Down
14 changes: 7 additions & 7 deletions .circleci/config.yml
Expand Up @@ -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:
Expand All @@ -69,7 +69,7 @@ commands:
steps:
- run:
command: |
./buildconf
autoreconf -fi
./configure --enable-warnings --enable-werror --with-openssl --with-libssh
install-wolfssl:
Expand Down Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions .cirrus.yml
Expand Up @@ -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
Expand Down Expand Up @@ -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*)
Expand Down Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux-hyper.yml
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Expand Up @@ -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 }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mbedtls.yml
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nss.yml
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rustls.yml
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wolfssl.yml
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .lgtm.yml
Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion .lift/setup.sh
@@ -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"
2 changes: 1 addition & 1 deletion appveyor.yml
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion scripts/zuul/before_script.sh
Expand Up @@ -22,7 +22,7 @@
###########################################################################
set -eo pipefail

./buildconf
autoreconf -fi

if [ "$NGTCP2" = yes ]; then
if [ "$TRAVIS_OS_NAME" = linux -a "$GNUTLS" ]; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/zuul/script.sh
Expand Up @@ -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
Expand Down

0 comments on commit 22d3395

Please sign in to comment.