configure: Fix pkg_config --exists parameter
PATCH 1/1 configure: Fix pkg_config --exists parameter
pkg_config parameter should be "--exists", not "--exist". This is probably a typo.
Fixes 3a67848134d0 ("configure: Enable test and libs for zstd")
Reviewed-by Bhavesh Davda <[email protected]>
Signed-off-by Liran Alon <[email protected]>
--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
@@ -2464,7 +2464,7 @@ fi # zstd check if test "$zstd" != "no" ; then - if $pkg_config --exist libzstd ; then + if $pkg_config --exists libzstd ; then zstd_cflags="$($pkg_config --cflags libzstd)" zstd_libs="$($pkg_config --libs libzstd)" LIBS="$zstd_libs $LIBS"
Signature · 1 line
2.20.1
Quoted 6 lines · * Liran Alon ([email protected]) wrote:
pkg_configparameter should be "--exists", not "--exist". This is probably a typo.Fixes 3a67848134d0 ("configure: Enable test and libs for zstd")Reviewed-by Bhavesh Davda <[email protected]>Signed-off-by Liran Alon <[email protected]>
That's the same as [email protected] from Denis yesterday.
Dave
Quoted 20 lines
--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure +1
-1@@ -2464,7 +2464,7 @@ fi # zstd check if test "$zstd" != "no" ; then - if $pkg_config --exist libzstd ; then + if $pkg_config --exists libzstd ; then zstd_cflags="$($pkg_config --cflags libzstd)" zstd_libs="$($pkg_config --libs libzstd)" LIBS="$zstd_libs $LIBS"Signature · 1 line
2.20.1
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK
Quoted 10 lines · Dr. David Alan Gilbert
Quoted 6 lines · * Liran Alon ([email protected]) wrote:
pkg_configparameter should be "--exists", not "--exist". This is probably a typo.Fixes 3a67848134d0 ("configure: Enable test and libs for zstd")Reviewed-by Bhavesh Davda <[email protected]>Signed-off-by Liran Alon <[email protected]>That's the same as [email protected] from Denis yesterday.
And Alex 2 days ago:
https://www.mail-archive.com/[email protected]/msg684754.html
Quoted 27 lines
Dave
Quoted 20 lines
--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure +1
-1@@ -2464,7 +2464,7 @@ fi # zstd check if test "$zstd" != "no" ; then - if $pkg_config --exist libzstd ; then + if $pkg_config --exists libzstd ; then zstd_cflags="$($pkg_config --cflags libzstd)" zstd_libs="$($pkg_config --libs libzstd)" LIBS="$zstd_libs $LIBS"Signature · 1 line
2.20.1--
Dr. David Alan Gilbert / [email protected] / Manchester, UK