Signed-off-by: Đoàn Trần Công Danh <congdanhqx@xxxxxxxxx> --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 5a73a592e1..896996e177 100644 --- a/configure.ac +++ b/configure.ac @@ -632,9 +632,12 @@ fi GIT_STASH_FLAGS($EXPATDIR) +# Respect --without-expat +if test -z "$NO_EXPAT"; then AC_CHECK_LIB([expat], [XML_ParserCreate], [NO_EXPAT=], [NO_EXPAT=YesPlease]) +fi GIT_UNSTASH_FLAGS($EXPATDIR) -- 2.26.0.rc2.234.g969ad452ca