mirror of
https://github.com/curl/curl.git
synced 2026-04-14 23:51:42 +03:00
configure: prefer dependency-specific variables over $withval
Tidy up, for robustness and consistency. Ref: #20943 Cherry-picked from #20920 Closes #20944
This commit is contained in:
parent
3ba48ee9ef
commit
8423cc8e3b
1 changed files with 3 additions and 3 deletions
|
|
@ -3090,7 +3090,7 @@ case "$OPT_H2" in
|
|||
dnl --with-nghttp2 option used with path
|
||||
want_nghttp2="yes"
|
||||
want_nghttp2_path="$withval"
|
||||
want_nghttp2_pkg_config_path="$withval/lib/pkgconfig"
|
||||
want_nghttp2_pkg_config_path="$OPT_H2/lib/pkgconfig"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
@ -3186,7 +3186,7 @@ case "$OPT_TCP2" in
|
|||
*)
|
||||
dnl --with-ngtcp2 option used with path
|
||||
want_tcp2="yes"
|
||||
want_tcp2_path="$withval/lib/pkgconfig"
|
||||
want_tcp2_path="$OPT_TCP2/lib/pkgconfig"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
@ -3634,7 +3634,7 @@ case "$OPT_NGHTTP3" in
|
|||
*)
|
||||
dnl --with-nghttp3 option used with path
|
||||
want_nghttp3="yes"
|
||||
want_nghttp3_path="$withval/lib/pkgconfig"
|
||||
want_nghttp3_path="$OPT_NGHTTP3/lib/pkgconfig"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue