Commit 123ac0bb authored by Alexey Kardashevskiy's avatar Alexey Kardashevskiy Committed by Michael Tokarev
Browse files

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.

Signed-off-by: default avatarAlexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
parent d0081e8f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4568,7 +4568,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