configure: Allow capstone=git only if git update is not disabled
PATCH 1/1 configure: Allow capstone=git only if git update is not disabled
Even with --disable-git-update, ./configure tries updating the capstone submodule instead of marking it "no"; this disables capstone submodule if git update is disabled.
--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
@@ -4502,7 +4502,7 @@ case "$capstone" in "" | yes) if $pkg_config capstone; then capstone=system - elif test -e "${source_path}/.git" ; then + elif test -e "${source_path}/.git" -a $git_update = 'yes' ; then capstone=git elif test -e "${source_path}/capstone/Makefile" ; then capstone=internal
Signature · 1 line
2.11.0
Quoted 15 lines · Alexey Kardashevskiy
Even with --disable-git-update, ./configure tries updating the capstone submodule instead of marking it "no"; this disables capstone submodule if git update is disabled.
Signed-off-by Alexey Kardashevskiy <[email protected]>--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure +0
-0
configure case "$capstone" in · line 4508
Quoted 8 lines
configure +1
-1@@ -4502,7 +4502,7 @@ case "$capstone" in "" | yes) if $pkg_config capstone; then capstone=system - elif test -e "${source_path}/.git" ; then + elif test -e "${source_path}/.git" -a $git_update = 'yes' ; then capstone=git elif test -e "${source_path}/capstone/Makefile" ; then capstone=internal
Quoted 10 lines · Thomas Huth
Quoted 9 lines · Alexey Kardashevskiy
Even with --disable-git-update, ./configure tries updating the capstone submodule instead of marking it "no"; this disables capstone submodule if git update is disabled.
Signed-off-by Alexey Kardashevskiy <[email protected]>--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 16 lines
Quoted 6 lines
configure +0
-0configure case "$capstone" in · line 4508
Quoted 8 lines
configure +1
-1@@ -4502,7 +4502,7 @@ case "$capstone" in "" | yes) if $pkg_config capstone; then capstone=system - elif test -e "${source_path}/.git" ; then + elif test -e "${source_path}/.git" -a $git_update = 'yes' ; then capstone=git elif test -e "${source_path}/capstone/Makefile" ; then capstone=internalReviewed-by Thomas Huth <[email protected]>
Thanks mate. What's next? :)
Signature · 1 line
Alexey
Quoted 28 lines · Alexey Kardashevskiy
Quoted 10 lines · Thomas Huth
Quoted 9 lines · Alexey Kardashevskiy
Even with --disable-git-update, ./configure tries updating the capstone submodule instead of marking it "no"; this disables capstone submodule if git update is disabled.
Signed-off-by Alexey Kardashevskiy <[email protected]>--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 16 lines
Quoted 6 lines
configure +0
-0configure case "$capstone" in · line 4508
Quoted 8 lines
configure +1
-1@@ -4502,7 +4502,7 @@ case "$capstone" in "" | yes) if $pkg_config capstone; then capstone=system - elif test -e "${source_path}/.git" ; then + elif test -e "${source_path}/.git" -a $git_update = 'yes' ; then capstone=git elif test -e "${source_path}/capstone/Makefile" ; then capstone=internalReviewed-by Thomas Huth <[email protected]>
Quoted 1 line
Thanks mate. What's next? :)
Put Paolo on CC in the hope that he can take it through the misc tree? Or wait for the next trivial PULL request...
Thomas
Michael Tokarev
AppliedQuoted 3 lines · Alexey Kardashevskiy
Even with --disable-git-update, ./configure tries updating the capstone submodule instead of marking it "no"; this disables capstone submodule if git update is disabled.
Applied to -trivial, thanks!
/mjt