HTTP3.md: always run nghttp3 submodule init

- For consistency change all 'build nghttp3' commands to run submodule
  init after cloning, even if the branch does not have submodules.

Follow-up to 5a4b2f93 and 4f794558.

Closes https://github.com/curl/curl/pull/12928
This commit is contained in:
Karthikdasari0423 2024-02-12 15:22:39 +05:30 коммит произвёл Jay Satiro
Родитель ee92f3d227
Коммит 64283119fe
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -102,6 +102,7 @@ Build nghttp3
% cd .. % cd ..
% git clone -b v1.1.0 https://github.com/ngtcp2/nghttp3 % git clone -b v1.1.0 https://github.com/ngtcp2/nghttp3
% cd nghttp3 % cd nghttp3
% git submodule update --init
% autoreconf -fi % autoreconf -fi
% ./configure --prefix=<somewhere2> --enable-lib-only % ./configure --prefix=<somewhere2> --enable-lib-only
% make % make
@ -143,6 +144,7 @@ Build nghttp3
% cd .. % cd ..
% git clone -b v1.1.0 https://github.com/ngtcp2/nghttp3 % git clone -b v1.1.0 https://github.com/ngtcp2/nghttp3
% cd nghttp3 % cd nghttp3
% git submodule update --init
% autoreconf -fi % autoreconf -fi
% ./configure --prefix=<somewhere2> --enable-lib-only % ./configure --prefix=<somewhere2> --enable-lib-only
% make % make